Summary: | X-KDE-Keywords[de] is missing in many (all?) kcm json files | ||
---|---|---|---|
Product: | [Translations] i18n | Reporter: | cwo <cwo.kde> |
Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, alexander.lohnau, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/sysadmin/l10n-scripty/-/commit/36d0fd64e9d69912bc9c36eafb53ecd1e7616385 | Version Fixed In: | |
Sentry Crash Report: |
Description
cwo
2024-06-25 13:59:37 UTC
After further investigation (and with help from @tsdgeos): - The translation for keywords is missing for many languages. I can't confirm it, but it seems to me like the languages that do have the field do not get updated with changes to the English version - The German translation does have fields corresponding to these keywords, marked as outdated, in the po for the desktop files - Apparently the kcm metadata format was changed from .desktop files to .json at some point (between 2020 and 2022? couldn't quite find it), and this broke i18n for these files. - extractrc can't extract the X-KDE-Keywords strings from the json files, as they're not contained in the Kplugin section - I have no idea why a remnant of the keyword translations remains for some languages but not others - possibly manual intervention? - Keyword searches in systemsettings are likely partially or completely broken for many languages extractrc is not involved here Alex you did the desktop to json translation of most of these things. Can you please work on making these fields extractable and mergeable back? We can either use extrajsontranslationkeys (which will be annoying because developers will obviously forget about it) or just possibly hardcode it in scripty's json file handling. Git commit 36d0fd64e9d69912bc9c36eafb53ecd1e7616385 by Alexander Lohnau. Committed on 11/09/2024 at 19:50. Pushed by aacid into branch 'master'. Add X-KDE-Keywords as default for extra translation values M +3 -3 createjsoncontext.py M +2 -2 filljsonfrompo.py M +1 -0 jsontranslationcommon.py https://invent.kde.org/sysadmin/l10n-scripty/-/commit/36d0fd64e9d69912bc9c36eafb53ecd1e7616385 |