Repository navigation
Every interface text in every language again - #133
Merged
Merged
Conversation
…no longer a traffic light
- the 329 texts the 26 tables lacked (the trolleybus wire, the debugger, the checks...) translated
- the theme choices were the same English text as a traffic light ('Light'), so in every
table but English and Russian the light theme read 'traffic light'; the mesh editor's light
('Light: at night / always') too. They are 'Dark theme' / 'Light theme' and 'Lit' now.
- Hungarian: a road's cant is túlemelés, not áttétel (a gear ratio)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 was wrong
The
translationscheck failed onmain, and so on every open pull request: 329 interface texts had no translation in any of the 26 tables (the trolleybus wire windows, the script debugger, new checks and hints).Two existing problems came up along the way:
tr("Light", "Светлая"), the same English text as the traffic light in the crossing editor. Each table has one row per English text and translates it as the traffic light, so in every language but English and Russian the theme choice showed "Ampel", "Feu", "信号灯"... The mesh editor's "Light: at night / always" row had the same problem.The change
locales/*.tsv, keeping each table's terms. Placeholders,\nand leading/trailing spaces were checked against the English for every row.python3 tools/i18n/check.py: 3099 texts, 26 languages: complete.Worth a native speaker's look: the trolleybus wire terms (span, frog, switch, section) are new to every table, and a few short pieces that the code joins with a number may read stiffly in languages with a different word order.
🤖 Generated with Claude Code