Ticket #2049 (closed bug: fixed)
Translation problems in Key Mappings screen
| Reported by: | KukY | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | unspecified |
| Component: | Translation | Version: | git/master |
| Keywords: | translation keys | Cc: | |
| Blocked By: | Blocking: | ||
| Operating System: | All/Non-Specific |
Description
When going to Key Mappings screen, the language used there is my system local language, no matter what my language selection is.
Attachments
Change History
comment:2 Changed 18 months ago by the_cybersphinx
- Status changed from new to closed
- Resolution set to fixed
(In [11406]) Don't save translated descriptions in the keymap.
Uses the English string in the keymap file, and translates it for display only. That way, when changing the language, the descriptions will appear in the new language. Old files will still work, just show the translated string until a reset. Also mark all descriptions as translatable. Closes #2049.
comment:3 Changed 18 months ago by the_cybersphinx
(In [11408]) Don't save translated descriptions in the keymap.
Uses the English string in the keymap file, and translates it for display only. That way, when changing the language, the descriptions will appear in the new language. Old files will still work, just show the translated string until a reset. Also mark all descriptions as translatable. Closes #2049.
comment:5 Changed 18 months ago by Git SVN Gateway <gateway@…>
(In [a07d8d3ad819115c8a4140f80ec19f216e1d8c60]) Don't save translated descriptions in the keymap.
Uses the English string in the keymap file, and translates it for display only. That way, when changing the language, the descriptions will appear in the new language. Old files will still work, just show the translated string until a reset. Also mark all descriptions as translatable. Closes #2049.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11406 4a71c877-e1ca-e34f-864e-861f7616d084

For some reason, we save the translated string in the keymap file. When you reset it, you'll get the descriptions in the current language. I'll see if I can change it to save the English text, and translate on display.