View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002783 | The Dark Mod | Coding | public | 19.06.2011 21:34 | 23.06.2011 18:53 |
Reporter | tels | Assigned To | tels | ||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.06 | ||||
Target Version | TDM 1.07 | Fixed in Version | TDM 1.07 | ||
Summary | 0002783: Support translated HUD (weapon names, inventory groups), shopitems, messages etc. | ||||
Description | The code that shows the weapons on the HUD, as well as the code that displays items in the shop does not load translated strings for "#str_12345", instead it shows the raw "#str_12345" string. This needs a call to common->GetLanguageDict()->GetString( stringhere ); in between. | ||||
Tags | No tags attached. | ||||
child of | 0002779 | confirmed | Translate the menu and HUD into different languages |
Translation of shop items and their description has been added with revision 0004896. | |
Translation of objectives works now with revision 0004897. | |
"Game Saved" is now translated on the HUD, too. Also found that our code does around line 529 in game/game_local.cpp: const char *szLang = cvarSystem->GetCVarString( "sys_lang" ); renderSystem->RegisterFont( va( "fonts/%s/%s", szLang, "an" ), font_an ); renderSystem->RegisterFont( va( "fonts/%s/%s", szLang, "bank" ), font_bank ); renderSystem->RegisterFont( va( "fonts/%s/%s", szLang, "micro" ), font_micro ); We might implement a fall-back to English here. |
|
Weapon names on the HUD, item names upon pickup, location names as well as "Corpse" and "Body" on things you shoulder are now translateable. | |
Cycling through categories with translated names (via to key bind), using items with names like '#str_01234" work now, as well as a few other small things like GUI message boxes. So the code side is now complete, unless we find some more untranslated strings. But in this case these things are easily fixed. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.06.2011 21:34 | tels | New Issue | |
19.06.2011 21:34 | tels | Status | new => assigned |
19.06.2011 21:34 | tels | Assigned To | => tels |
19.06.2011 21:34 | tels | Relationship added | child of 0002779 |
20.06.2011 17:08 | tels | Note Added: 0003888 | |
20.06.2011 17:35 | tels | Note Added: 0003890 | |
20.06.2011 19:30 | tels | Note Added: 0003891 | |
23.06.2011 11:13 | tels | Summary | Support translated HUD strings, shopitems etc => Support translated HUD (weapon names, inventory groups), shopitems, messages etc. |
23.06.2011 14:05 | tels | Note Added: 0003899 | |
23.06.2011 18:53 | tels | Note Added: 0003900 | |
23.06.2011 18:53 | tels | Status | assigned => resolved |
23.06.2011 18:53 | tels | Fixed in Version | => TDM 1.07 |
23.06.2011 18:53 | tels | Resolution | open => fixed |