Menu

#4 Remove hardcoded descriptions

undecided
open
perl (1)
2014-06-22
2014-06-21
No

The description tag in XML is supposed to be TXT_KEY_* with a counterpart in XML\TEXT.

However quite a number of descriptions are just the string, which needs to be displayed. While it works for English, it make those strings untranslateable.

The task is to make new text XML files and add all those descriptions. As there is quite a number of them, it will be best to make a script to do this.

It would make sense to add more text xml files to make it more clear which file is used for what. We could then have Unit_Descriptions.xml to contain all descriptions from CIV4UnitInfos.xml and nothing else. That will make it easier to find specific strings later on.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB