5 Commits

Author SHA1 Message Date
Bas Couwenberg
b9f1da5b8e Fix AppStream metadata. 2024-12-06 09:16:26 +01:00
Aleix Pol
144db4bc70 appdata: be mindful of the xml elements depth when translating
We were doing a deep search for "name" which happened for the component
name _and_ and the developer name, which is in a deeper tag.
Instead of doing a deep search, just look for the elements we care about
among the component element's children.

Fixes this error from appstreamcli:
org.qgis.qgis.metainfo.xml
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=de)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=hu)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=lt)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=nb)
  E: org.qgis.qgis.desktop:88: tag-duplicated name (lang=zh-Hans)
2024-06-26 12:36:23 +10:00
Aleix Pol
c63d33e12c appdata: Provide new ordering for the description tag
We should mark as translated the paragraph, not the root element
2024-02-20 08:56:38 +10:00
Julien Cabieces
7bbb3e2511 fix qt version replacement var 2023-12-14 08:50:40 +01:00
Julien Cabieces
db30d294cb [PyQt6] make translations work with both Qt 6 and 5 2023-12-13 18:43:52 +01:00