🌐 Sync Translations + Update README Progress Table (#4783)

# Description of Changes


1. Synchronization of Translation Files
Updated translation files (messages_*.properties) to reflect changes in
the reference file messages_en_GB.properties.
Ensured consistency and synchronization across all supported language
files.
Highlighted any missing or incomplete translations.

2. Update README.md
Generated the translation progress table in README.md.
Added a summary of the current translation status for all supported
languages.
Included up-to-date statistics on translation coverage.


---

## Checklist

### General

- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md)
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md)
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings

### Documentation

- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/)
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags)
(for new translation tags only)

### UI Changes (if applicable)

- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)

### Testing (if applicable)

- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing)
for more details.
This commit is contained in:
Ludy 2025-10-30 21:48:15 +01:00 committed by GitHub
parent a7900aead8
commit 14e3819945
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
44 changed files with 115 additions and 10 deletions

View File

@ -135,7 +135,7 @@ Stirling-PDF currently supports 40 languages!
|----------------------------------------------|----------------------------------------|
| Arabic (العربية) (ar_AR) | ![58%](https://geps.dev/progress/58) |
| Azerbaijani (Azərbaycan Dili) (az_AZ) | ![59%](https://geps.dev/progress/59) |
| Basque (Euskara) (eu_ES) | ![34%](https://geps.dev/progress/34) |
| Basque (Euskara) (eu_ES) | ![35%](https://geps.dev/progress/35) |
| Bulgarian (Български) (bg_BG) | ![64%](https://geps.dev/progress/64) |
| Catalan (Català) (ca_CA) | ![64%](https://geps.dev/progress/64) |
| Croatian (Hrvatski) (hr_HR) | ![93%](https://geps.dev/progress/93) |
@ -144,14 +144,14 @@ Stirling-PDF currently supports 40 languages!
| Dutch (Nederlands) (nl_NL) | ![57%](https://geps.dev/progress/57) |
| English (English) (en_GB) | ![100%](https://geps.dev/progress/100) |
| English (US) (en_US) | ![100%](https://geps.dev/progress/100) |
| French (Français) (fr_FR) | ![90%](https://geps.dev/progress/90) |
| German (Deutsch) (de_DE) | ![98%](https://geps.dev/progress/98) |
| French (Français) (fr_FR) | ![96%](https://geps.dev/progress/96) |
| German (Deutsch) (de_DE) | ![97%](https://geps.dev/progress/97) |
| Greek (Ελληνικά) (el_GR) | ![64%](https://geps.dev/progress/64) |
| Hindi (हिंदी) (hi_IN) | ![63%](https://geps.dev/progress/63) |
| Hungarian (Magyar) (hu_HU) | ![97%](https://geps.dev/progress/97) |
| Indonesian (Bahasa Indonesia) (id_ID) | ![59%](https://geps.dev/progress/59) |
| Irish (Gaeilge) (ga_IE) | ![64%](https://geps.dev/progress/64) |
| Italian (Italiano) (it_IT) | ![96%](https://geps.dev/progress/96) |
| Italian (Italiano) (it_IT) | ![95%](https://geps.dev/progress/95) |
| Japanese (日本語) (ja_JP) | ![92%](https://geps.dev/progress/92) |
| Korean (한국어) (ko_KR) | ![64%](https://geps.dev/progress/64) |
| Norwegian (Norsk) (no_NB) | ![62%](https://geps.dev/progress/62) |
@ -160,8 +160,8 @@ Stirling-PDF currently supports 40 languages!
| Portuguese (Português) (pt_PT) | ![65%](https://geps.dev/progress/65) |
| Portuguese Brazilian (Português) (pt_BR) | ![72%](https://geps.dev/progress/72) |
| Romanian (Română) (ro_RO) | ![54%](https://geps.dev/progress/54) |
| Russian (Русский) (ru_RU) | ![87%](https://geps.dev/progress/87) |
| Serbian Latin alphabet (Srpski) (sr_LATN_RS) | ![95%](https://geps.dev/progress/95) |
| Russian (Русский) (ru_RU) | ![91%](https://geps.dev/progress/91) |
| Serbian Latin alphabet (Srpski) (sr_LATN_RS) | ![94%](https://geps.dev/progress/94) |
| Simplified Chinese (简体中文) (zh_CN) | ![88%](https://geps.dev/progress/88) |
| Slovakian (Slovensky) (sk_SK) | ![49%](https://geps.dev/progress/49) |
| Slovenian (Slovenščina) (sl_SI) | ![67%](https://geps.dev/progress/67) |

View File

@ -1402,6 +1402,8 @@ multiTool.delete=حذف
multiTool.dragDropMessage=الصفحات المحددة
multiTool.undo=تراجع
multiTool.redo=إعادة إجراء
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Seçilmiş Səhifə(lər)
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Изтрий
multiTool.dragDropMessage=Избран(и) страница(/и)
multiTool.undo=Отмяна на
multiTool.redo=Повтори
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Този файл е защитен с парола. Моля, въведете паролата:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=སུབ་པ།
multiTool.dragDropMessage=ཤིག་ཆ་འདྲུད་འཐེན་བྱས་ནས་གོ་རིམ་བསྒྱུར་བཅོས་བྱེད་ཆོག
multiTool.undo=ཕྱིར་འཐེན།
multiTool.redo=བསྐྱར་བཟོ།
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=ཡིག་ཆ་འདི་གསང་ཚིག་གིས་སྲུང་སྐྱོབ་བྱས་ཡོད། གསང་ཚིག་འཇུག་རོགས།

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Suprimeix
multiTool.dragDropMessage=Pàgina(es) seleccionada(es)
multiTool.undo=Desfés
multiTool.redo=Refés
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Aquest fitxer està protegit amb contrasenya. Si us plau, introdueix la contrasenya:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Smazat
multiTool.dragDropMessage=Vybraná/é stránka/y
multiTool.undo=Zpět
multiTool.redo=Znovu
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Tento soubor je chráněn heslem. Zadejte prosím heslo:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Löschen
multiTool.dragDropMessage=Ausgewählte Seite(n)
multiTool.undo=Rückgängig machen
multiTool.redo=Wiederherstellen
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Diese Datei ist passwortgeschützt. Bitte geben Sie das Passwort ein:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Διαγραφή
multiTool.dragDropMessage=Επιλεγμένη(ες) σελίδα(ες)
multiTool.undo=Αναίρεση
multiTool.redo=Επανάληψη
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Αυτό το αρχείο προστατεύεται με κωδικό πρόσβασης. Παρακαλώ εισάγετε τον κωδικό:

View File

@ -1403,7 +1403,6 @@ multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo (CTRL + Z)
multiTool.redo=Redo (CTRL + Y)
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Borrar
multiTool.dragDropMessage=Página(s) Selecccionada(s)
multiTool.undo=Deshacer
multiTool.redo=Rehacer
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Este archivo está protegido con contraseña. Introdúzca la contraseña:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=حذف
multiTool.dragDropMessage=صفحه(ها) انتخاب شده‌اند
multiTool.undo=واگرد
multiTool.redo=بازگرداندن
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1403,7 +1403,6 @@ multiTool.dragDropMessage=Page(s) sélectionnées
multiTool.undo=Annuler (CTRL + Z)
multiTool.redo=Refaire (CTRL + Y)
multiTool.duplicate=Dupliquer
multiTool.svgNotSupported=Les fichiers SVG ne sont pas pris en charge dans l'Outil multifonction et ont été ignorés.
#decrypt

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Scrios
multiTool.dragDropMessage=Leathanach(leathanaigh) roghnaithe
multiTool.undo=Cealaigh
multiTool.redo=Athdhéan
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Tá an comhad seo cosanta ag pasfhocal. Cuir isteach an pasfhocal le do thoil:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=हटाएं
multiTool.dragDropMessage=पृष्ठ चयनित
multiTool.undo=पूर्ववत करें
multiTool.redo=पुनः करें
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=यह फ़ाइल पासवर्ड से सुरक्षित है। कृपया पासवर्ड दर्ज करें:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Izbriši
multiTool.dragDropMessage=Odabrana(e) stranica(e)
multiTool.undo=Poništi
multiTool.redo=Ponovi
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Ova datoteka je zaštićena lozinkom. Molimo unesite lozinku:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Törlés
multiTool.dragDropMessage=Oldalak kiválasztva
multiTool.undo=Visszavonás
multiTool.redo=Újra
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Ez a fájl jelszóval védett. Kérjük, adja meg a jelszót:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Elimina
multiTool.dragDropMessage=Pagina(e) selezionata(e)
multiTool.undo=Annulla
multiTool.redo=Rifai
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Questo file è protetto da password. Inserisci la password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=削除
multiTool.dragDropMessage=選択されたページ
multiTool.undo=元に戻す
multiTool.redo=やり直す
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=このファイルはパスワードで保護されています。パスワードを入力してください:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=삭제
multiTool.dragDropMessage=페이지 선택됨
multiTool.undo=실행 취소
multiTool.redo=다시 실행
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=이 파일은 비밀번호로 보호되어 있습니다. 비밀번호를 입력하세요:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=മായ്ക്കുക
multiTool.dragDropMessage=പേജ്(കൾ) തിരഞ്ഞെടുത്തു
multiTool.undo=പഴയപടി ആക്കുക
multiTool.redo=വീണ്ടും ചെയ്യുക
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=ഈ ഫയൽ പാസ്വേഡ് ഉപയോഗിച്ച് സംരക്ഷിച്ചിരിക്കുന്നു. ദയവായി പാസ്വേഡ് നൽകുക:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Usuń
multiTool.dragDropMessage=Wybrana(e) strona(y)
multiTool.undo=Cofnij
multiTool.redo=Ponów
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Ten plik jest chroniony hasłem. Wprowadź hasło:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Apagar
multiTool.dragDropMessage=Página(s) Selecionadas
multiTool.undo=Desfazer
multiTool.redo=Refazer
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Eliminar
multiTool.dragDropMessage=Página(s) Selecionada(s)
multiTool.undo=Desfazer
multiTool.redo=Refazer
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Este ficheiro está protegido por palavra-passe. Por favor introduza a palavra-passe:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1403,7 +1403,6 @@ multiTool.dragDropMessage=Выбрано страниц
multiTool.undo=Отменить
multiTool.redo=Повторить
multiTool.duplicate=Дублировать
multiTool.svgNotSupported=Файлы SVG не поддерживаются мультиинструментом, поэтому были проигнорированы.
#decrypt

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Izbriši
multiTool.dragDropMessage=Izbrane strani
multiTool.undo=Razveljavi
multiTool.redo=Ponovi
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Ta datoteka je zaščitena z geslom. Prosim vnesite geslo:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Obriši
multiTool.dragDropMessage=Izabrane stranica/e
multiTool.undo=Poništi (CTRL + Z)
multiTool.redo=Ponovi (CTRL + Y)
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Ova datoteka je zaštićena lozinkom. Unesi lozinku:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Ta bort
multiTool.dragDropMessage=Valda sid(or)
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Denna fil är lösenordsskyddad. Fyll i lösenord:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Sil
multiTool.dragDropMessage=Sayfa(lar) Seçildi
multiTool.undo=Geri Al
multiTool.redo=Yinele
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Bu dosya parola korumalı. Lütfen parolayı girin:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Видалити
multiTool.dragDropMessage=Вибрано сторінок
multiTool.undo=Скасувати
multiTool.redo=Повторити
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=Цей файл захищений паролем. Будь ласка, введіть пароль:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=Delete
multiTool.dragDropMessage=Page(s) Selected
multiTool.undo=Undo
multiTool.redo=Redo
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=This file is password-protected. Please enter the password:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=删除
multiTool.dragDropMessage=选择页面
multiTool.undo=撤销
multiTool.redo=重做
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=此文件受密码保护。请输入密码:

View File

@ -1402,6 +1402,8 @@ multiTool.delete=刪除
multiTool.dragDropMessage=已選取的頁面
multiTool.undo=復原
multiTool.redo=重做
multiTool.duplicate=Duplicate
multiTool.svgNotSupported=SVG files are not supported in Multi Tool and were ignored.
#decrypt
decrypt.passwordPrompt=此檔案已受密碼保護。請輸入密碼:

View File

@ -79,6 +79,25 @@ def write_readme(progress_list: list[tuple[str, int]]) -> None:
file.writelines(content)
def load_reference_keys(default_file_path: str) -> set[str]:
"""Reads ALL keys from the reference file (excluding comments and empty lines)."""
keys: set[str] = set()
with open(default_file_path, encoding="utf-8") as f:
for _ in range(5):
try:
next(f)
except StopIteration:
break
for line in f:
s = line.strip()
if not s or s.startswith("#") or "=" not in s:
continue
k, _ = s.split("=", 1)
keys.add(k.strip().replace("\ufeff", "")) # BOM protection
return keys
def compare_files(
default_file_path, file_paths, ignore_translation_file
) -> list[tuple[str, int]]:
@ -99,6 +118,8 @@ def compare_files(
if line.strip() and not line.strip().startswith("#")
)
ref_keys: set[str] = load_reference_keys(default_file_path)
result_list = []
sort_ignore_translation: tomlkit.TOMLDocument
@ -130,6 +151,16 @@ def compare_files(
["language.direction"]
)
# Clean up ignore list to only include keys present in reference
sort_ignore_translation[language]["ignore"] = [
key for key in sort_ignore_translation[language]["ignore"]
if key in ref_keys or key == "language.direction"
]
# debug: add all keys from ref to ignore
# sort_ignore_translation[language]["ignore"] = list(ref_keys)
# continue # debug end
# if "missing" not in sort_ignore_translation[language]:
# sort_ignore_translation[language]["missing"] = tomlkit.array()
# elif "language.direction" in sort_ignore_translation[language]["missing"]:
@ -153,6 +184,7 @@ def compare_files(
# Ignoring empty lines and lines start with #
if line_default.strip() == "" or line_default.startswith("#"):
continue
default_key, default_value = line_default.split("=", 1)
file_key, file_value = line_file.split("=", 1)
if (

View File

@ -318,10 +318,10 @@ ignore = [
[fr_FR]
ignore = [
'addPageNumbers.selectText.3',
'AddStampRequest.alphabet',
'AddStampRequest.position',
'AddStampRequest.rotation',
'addPageNumbers.selectText.3',
'adminUserSettings.actions',
'alphabet',
'audit.dashboard.modal.id',