View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005210 | DarkRadiant | GUI | public | 06.04.2020 20:09 | 08.11.2020 18:34 |
Reporter | orbweaver | Assigned To | orbweaver | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.7.0 | ||||
Target Version | 2.8.0 | Fixed in Version | 2.8.0 | ||
Summary | 0005210: Difficulty dialog shows string table entries instead of difficulty names | ||||
Description | Since the mod switched to string-table based translation, the difficulty names in DarkRadiant are displayed only as string table entries rather than user-friendly names like "Easy" and "Difficulty". | ||||
Tags | No tags attached. | ||||
DarkRadiant: master 2b2c39d1 02.03.2020 20:55 Details Diff |
Show useful difficulty names in the Difficulty editor The default difficulty names are contained within the 'difficultyMenu' entity def stored inside the mod data itself; however these names are intended to be translated using the mod-specific translation system, which is not read or processed by DarkRadiant. Therefore the names actually shown in the GUI were meaningless string table entries like '#str_03000', rather than the user-friendly names like 'Easy'. Rather than try to support the entire mod translation system, which would be a massive task, a simple string table lookup is performed based on the contents of additional <string> nodes which have been added to the darkmod.game file. |
Affected Issues 0005210 |
|
mod - install/games/darkmod.game | Diff File | ||
mod - libs/gamelib.h | Diff File | ||
mod - plugins/dm.difficulty/DifficultySettingsManager.cpp | Diff File | ||
DarkRadiant: master 84cbe47e 31.03.2020 20:11 Details Diff |
Refactor difficulty name translation into new class New class ModDifficultyNames handles looking up mod-specific difficult name defaults and their translations in the .game file. |
Affected Issues 0005210 |
|
mod - plugins/dm.difficulty/DifficultySettingsManager.cpp | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
06.04.2020 20:09 | orbweaver | New Issue | |
06.04.2020 20:09 | orbweaver | Status | new => assigned |
06.04.2020 20:09 | orbweaver | Assigned To | => orbweaver |
06.04.2020 20:10 | orbweaver | Status | assigned => resolved |
06.04.2020 20:10 | orbweaver | Resolution | open => fixed |
06.04.2020 20:10 | orbweaver | Fixed in Version | => 2.8.0 |
06.04.2020 20:10 | orbweaver | Note Added: 0012336 | |
07.04.2020 04:11 | greebo | Changeset attached | => DarkRadiant master 84cbe47e |
07.04.2020 04:16 | greebo | Changeset attached | => DarkRadiant master 2b2c39d1 |
08.11.2020 18:34 | greebo | Status | resolved => closed |