#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
chore(ci): improve language TOML check output with fixer guidance (#5638)
Ludy3195f3f2ba3c
diff --git a/.github/scripts/check_language_toml.py b/.github/scripts/check_language_toml.pyindex 940ded16b9..7164971977 100644--- a/.github/scripts/check_language_toml.py+++ b/.github/scripts/check_language_toml.py@@ -259,10 +259,21 @@ def check_for_differences(reference_file, file_list, branch, actor):report.append(f" - **_Extra keys in `{locale_dir}/{basename_current_file}`_**: `{missing_keys_str}` that are not present in **_`{basename_reference_file}`_**.")+ report.append("")+ report.append(" Use the following command to remove them:")+ report.append(f" `python scripts/translations/translation_merger.py {locale_dir} remove-unused`")+ report.append("")if extra_keys_list:report.append(f" - **_Missing keys in `{locale_dir}/{basename_current_file}`_**: `{extra_keys_str}` that are not present in **_`{basename_reference_file}`_**.")+ report.append("")+ report.append(" Use the following command to add them:")+ report.append(f" `python scripts/translations/translation_merger.py {locale_dir} add-missing`")+ report.append("")++ if missing_keys_list or extra_keys_list:+ report.append(" See: https://github.com/Stirling-Tools/Stirling-PDF/tree/main/scripts/translations#2-translation_mergerpy")else:report.append("2. **Test Status:** ✅ **_Passed_**")