View Issue Details

IDProjectCategoryView StatusLast Update
0006743The Dark ModGUIpublic13.09.2026 21:34
ReporterGeep Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.14 
Summary0006743: Replace & Test Hard-Coded Strings
DescriptionI would ask someone's assistance to implement & test these, ideally for 2.15:
- 12 revisions of Main Menu GUI to replace hard-coded strings with their newly-defined i18n equivalents
- 1 i18n-related bug fix in a .cpp file
These are itemized next.

1. Revisions of GUI to Replace Hard-coded Strings

Below are English phrases (hard-coded as of TDM 2.14) than now have newly-added #str_ids, and so need corresponding changes to GUI files of tdm_gui01\guis\, if not already done.

a) Various Settings...

mainmenu_settings_audio.gui:
    "#str_menu_reverb" replaces "Reverb Volume"
main_menu_video.gui; appears as Settings/Video/General/row 12:
    "#str_menu_texture_quality" replaces "Texture Quality"
Next 2, in main_menu_video.gui; appears as Settings/Video/Advanced/row 5:
    "#str_menu_volumetric_fx" replaces "Volumetric Effects"
    "#str_menu_volumetric_fx_tooltip" replaces "Disable Volumetric light-shaft effects for improved performance"
Next 2, in main_menu_video.gui; appears as Settings/Video/Advanced/row 6:
    "#str_menu_parallax_map" replaces "Parallax Mapping"
    "#str_menu_parallax_map_tooltip" replaces "Disable Parallax Mapping for improved performance"
mainmenu_settings_controls.gui; appears as Settings/Controls/General/row 2:
    "#str_menu_toggle_creep" replaces "Toggle Creep"
Appears as Settings/Gameplay/HUD [New category in 2.15]:
    "#str_menu_hud" replaces "HUD"

b) For the Mission List Settings popup, (mainmenu_mission_list_settings.gui) invocated by the gear icon on Mission List.
    "#str_mission_list_settings_title_style" replaces "Title Style"
    "#str_mission_list_settings_style_1" replaces "Style 1"
    "#str_mission_list_settings_style_2" replaces "Style 2"
// originally proposed as "#str_done", but "done" is too short, have 5 char minimum
    "#str_button_done" replaces "Done"

Note - This leaves hard-coded the popup's "Example Title, The" and "The Example Title", since FM names are seemingly always in English at this time. Related: While I18N.cpp has an ArticleDict to try to support this article [= part of speech] location-swap in other languages, there no doubt will be issues in some languages.

2. I18N-Related Bug in a C++ File

In DownloadMenu.cpp, fixes current duplicate #str_id bug:
    "#str_download_malformed" // has content "malformed "
replaces
    "#str_02518" // intended to be "malformed " but was really "100", used for a different valid purpose, as sizing field.
Additional InformationMost of the listed items were identified in the OP of https://forums.thedarkmod.com/index.php?/topic/23204-proposed-i18n-improvements-for-tdm-215/. Remainder were turned up while researching a just-released restructuring of all.lang [English] but are not dependent on that restructuring. That restructuring is available here:
https://forums.thedarkmod.com/index.php?/topic/23204-proposed-i18n-improvements-for-tdm-215/page/2/#findComment-509969

So, for the purposes here, either -
- use the restructured [English], as a drop-in replacement for the [English] section of current 2.15 dev all.lang . (I have done static english.lang file comparisons to assure myself of the full coverage of this replacement as of 2.15 #11358; you may want to do further verification.)
- stick with the traditional all.lang [English]. Be aware that a few late-addition hard-coding replacement strings in the above itemization may not yet be present; please add them (& #str_numbers below).

FYI:
Added to general FM names (for Wesp5):
    "#str_numbers" "Numbers"

Additional tooltip issues related to this survey/research, see bugtracker 0006742: Tooltip Shortcomings in Settings GUI.
TagsNo tags attached.

Relationships

related to 0006742 new Tooltip Shortcomings in Settings GUI 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
13.09.2026 20:01 Geep New Issue
13.09.2026 21:34 Geep Relationship added related to 0006742