-
-
Notifications
You must be signed in to change notification settings - Fork 3
Develop 4.3 #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop 4.3 #83
Conversation
…elements explicitly
…and ensure proper push of sorted en.xml
…n and improve commit logic
…and improve clarity
… sorting of en.xml
…nused translation keys
…ring checker workflow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: Unused translation keys detected
UNUSED: PLG_INVENTORY_MANAGER_CONFIGURATION
UNUSED: PLG_INVENTORY_MANAGER_EXPORT_AND_FILTER
UNUSED: PLG_INVENTORY_MANAGER_IMPORT_ITEMS
UNUSED: PLG_INVENTORY_MANAGER_IMPORT_PROGRESS
UNUSED: PLG_INVENTORY_MANAGER_ITEMNAME
UNUSED: PLG_INVENTORY_MANAGER_ITEM_CREATE_DESC
UNUSED: PLG_INVENTORY_MANAGER_ITEM_PRINT
UNUSED: PLG_INVENTORY_MANAGER_NEW
UNUSED: PLG_INVENTORY_MANAGER_NUMBER_OF_ITEMS
UNUSED: PLG_INVENTORY_MANAGER_SPECIAL_CASE_CURUSER_OR_ADMIN
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_DESC
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_ERROR
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_NO_ASSIGN
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_PREVIEW
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_SAVED
Please consider removing or using these keys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING: Unused translation keys detected
UNUSED: PLG_INVENTORY_MANAGER_CONFIGURATION
UNUSED: PLG_INVENTORY_MANAGER_EXPORT_AND_FILTER
UNUSED: PLG_INVENTORY_MANAGER_IMPORT_ITEMS
UNUSED: PLG_INVENTORY_MANAGER_IMPORT_PROGRESS
UNUSED: PLG_INVENTORY_MANAGER_ITEMNAME
UNUSED: PLG_INVENTORY_MANAGER_ITEM_CREATE_DESC
UNUSED: PLG_INVENTORY_MANAGER_ITEM_PRINT
UNUSED: PLG_INVENTORY_MANAGER_NEW
UNUSED: PLG_INVENTORY_MANAGER_NUMBER_OF_ITEMS
UNUSED: PLG_INVENTORY_MANAGER_SPECIAL_CASE_CURUSER_OR_ADMIN
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_DESC
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_ERROR
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_NO_ASSIGN
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_PREVIEW
UNUSED: PLG_INVENTORY_MANAGER_SYNCHRONIZE_SAVED
Please consider removing or using these keys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request enhances translation management by streamlining the XML files for various languages and introducing new scripts and workflows for sorting translation keys and checking for unused ones.
- Removed several unused or duplicate translation keys from language files.
- Introduced new GitHub workflows for sorting en.xml and checking for unused translation strings.
- Updated the XML sorting script to use lxml in order to preserve comments and formatting.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| languages/fr.xml, languages/de.xml, de-DE.xml, en.xml | Removed obsolete keys and ensured consistency across languages. |
| .github/workflows/sort-en-xml.yml | Added a new step to install lxml and improved commit logic. |
| .github/workflows/check-unused-strings.yml | Created a workflow to run a new script for detecting unused keys. |
| .github/scripts/sort_en_xml.py | Replaced the standard XML library with lxml for better comment handling and sorting. |
| .github/scripts/check_unused_strings.py | Added a script to detect unused translation keys. |
This pull request introduces several enhancements to streamline translation management and ensure consistency in the
languages/en.xmlfile. It includes new scripts for detecting unused translation keys, improving sorting functionality, and automating these processes in GitHub workflows.