View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003191 | The Dark Mod | Coding | public | 03.08.2012 08:03 | 03.08.2012 08:06 |
Reporter | tels | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | TDM 1.07 | ||||
Summary | 0003191: Extend string template replacement | ||||
Description | The 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. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
03.08.2012 08:03 | tels | New Issue | |
03.08.2012 08:06 | tels | Description Updated | View Revisions |