View Issue Details

IDProjectCategoryView StatusLast Update
0005261The Dark ModDesign/Codingpublic23.05.2020 07:02
Reporterstgatilov Assigned To 
PrioritylowSeverityminorReproducibilityN/A
Status newResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.09 
Summary0005261: Extend localization system to understand string placeholders
DescriptionCurrently localized strings have format #str_02389, which is a big pain to work with.
When I see such string in debugger, I have no idea what it means.
Perhaps it's better to allow string keywords in localization system.
Of course, it means some performance loss due to dictionary search, but I think strings should not take too much time anyway.
Additional InformationSee discussion:
  https://forums.thedarkmod.com/index.php?/topic/20391-ultrawide-monitor-support/&do=findComment&comment=447446
TagsNo tags attached.

Activities

stgatilov

stgatilov

23.05.2020 07:02

developer   ~0012544

I suggest extending keywords to anything of format #str_lockpicking_difficulty
I.e. allow any string starting with five characters "#str_" and 1-50 alphanum characters (0-9a-zA-Z_) after that.

Issue History

Date Modified Username Field Change
23.05.2020 07:00 stgatilov New Issue
23.05.2020 07:01 stgatilov Description Updated View Revisions
23.05.2020 07:02 stgatilov Note Added: 0012544