Repository navigation
Add Russian (ru) translation - #704
Open
mushketer888 wants to merge 1 commit into
Open
mushketer888 wants to merge 1 commit into
mushketer888 wants to merge 1 commit into
Conversation
Add complete Russian gettext catalogs for the main application and all six addons that ship locale catalogs: - rayforge/locale/ru/LC_MESSAGES/rayforge.po (2341 entries) - ai_workpiece_generator (11), automation (8), laser_essentials (193), post_processors (79), print_and_cut (47), sketcher (217) All msgids from the current POT files are translated with no fuzzy or untranslated entries. Placeholder tokens and python-brace-format flags are preserved in every message, including plural forms. Register the new language so it is reachable: add 'ru' to SUPPORTED_LANGUAGES (language selector, system language detection) with its label, and a Russian summary to the AppStream metainfo.
|
This pull request was closed automatically because its description does not follow the pull request template. Problems found:
Please edit the pull request description to answer every section and to tick every checkbox; as soon as it complies, the pull request is reopened automatically. See CONTRIBUTING.md. |
|
The description now follows the pull request template, so this pull request was reopened automatically. |
This branch was previously deployed
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.
What does this PR change?
Adds complete Russian (ru) gettext catalogs for the main app with no untranslated or fuzzy strings. Registers the language:
"ru"inSUPPORTED_LANGUAGES, a "Russian" label in the language selector, and an AppStream summary.Why did you choose this specific architectural approach?
Mirrors the existing per-language structure (like
uk/de), so no loading changes were needed.SUPPORTED_LANGUAGESregistration is required, otherwise
normalize_language_code()rejectsruand the catalogs stay unreachable.How did you manually test this locally?
LANGUAGE=ru; UI renders in Russian.normalize_language_code('ru_RU')→ruand "Russian" appears in the selector.Checklist
this code.