View Issue Details

IDProjectCategoryView StatusLast Update
0003191The Dark ModCodingpublic03.08.2012 08:06
Reportertels Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product VersionTDM 1.07 
Summary0003191: Extend string template replacement
DescriptionThe current system only replaced ("translates") a string, if it is exactly in the format "#str_DDDDD" where D is a digit between 0 and 9.

It would be desirable, that templates like "15 #str_12345" could work, too.

That means that the replacement should also deal with templates insides strings, and possible recursion with a small hard-coded limit of maybe 16 steps.

The template notation of #str_DDDDD is sufficiently unique enough that it is unlikely to collide with any user string to allow this.

This would allow for "#str_12345" to be "translated" to "#str_12346 #str_12347" which in turn turns either into "Fifteen gold" or "Fünfzehn Goldstücke" as the final output.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
03.08.2012 08:03 tels New Issue
03.08.2012 08:06 tels Description Updated View Revisions