Enhance translation sync script with ignore list management

Refactors and extends .github/scripts/sync_translations.py to support reading, updating, and cleaning up ignored translation keys via scripts/ignore_locales.toml. Now, when a previously ignored key is translated, it is automatically removed from the ignore list. Also updates the de-DE translation.json to move the 'mobile' section and adjusts formatting in ignore_locales.toml.
This commit is contained in:
Ludy87
2025-10-26 13:52:12 +01:00
parent eea3bb2fc3
commit 1dea9ae7ea
3 changed files with 219 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
# Keys and paths to ignore for locale synchronization checks.
# The structure mirrors scripts/ignore_translation.toml and is consumed by
# .github/scripts/sync_translations.py.
[ar_AR]
ignore = [
'lang.div',
@@ -319,7 +320,8 @@ ignore = [
]
[fa_IR]
ignore = []
ignore = [
]
[fr_FR]
ignore = [