Translation linter work - Rework of #3597#3683
Open
JaminShanti wants to merge 3 commits intojamulussoftware:mainfrom
Open
Translation linter work - Rework of #3597#3683JaminShanti wants to merge 3 commits intojamulussoftware:mainfrom
JaminShanti wants to merge 3 commits intojamulussoftware:mainfrom
Conversation
Make script executable Add PR commenting logic Add pygithub dependency Fix import Remove GitHub requirements Refactor test suite Fix some errors Add styling Add severity Be closer to qtlinguist semantics
ann0see
reviewed
May 10, 2026
| # | ||
| # Author(s): | ||
| # ChatGPT | ||
| # ann0see |
Member
There was a problem hiding this comment.
Please also add yourself to this script.
Member
|
Please rebase this too such that we have no conflicts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description of changes
Rework of #3597
Introduces an extended Python-based Qt
.tstranslation checker. This tool validates translation files according to Qt Linguist semantics, catching common formatting and syntax issues such as:%1,%2, etc.)It features a strict mode (
--strict) designed for CI pipeline integration, which exits with a non-zero code when warnings or severe errors are present. It also outputs a detailed test summary organized by language.CHANGELOG: SKIP
Context: Fixes an issue?
Context: This provides a more robust, automated way to ensure the quality and consistency of internationalization (i18n) files, reducing the manual review overhead required for ongoing translation updates.
Does this change need documentation? What needs to be documented and how?
No end-user documentation is required on the website. A brief note should likely be added to
CONTRIBUTING.mdor the developer documentation explaining how contributors or CI runners can execute the script against thesrc/translationdirectory.Status of this Pull Request
Working implementation.
What is missing until this pull request can be merged?
Checklist