OpenXcom Forum

OpenXcom => Suggestions => Topic started by: Aldorn on April 02, 2013, 01:14:08 am

Title: UFOPedia - Facilities description does not match in case of modded capacity
Post by: Aldorn on April 02, 2013, 01:14:08 am
About Ufopedia, I noticed that if I change some facilities capacities, as for example :
- Living Quarters = 10
- Research Laboratory = 10
- Manufacture = 10
- Alien containment = 1
UFOPedia displays original capacity

It is not really an issue, as it is possible to update description directly in .lng files, but perhaps a solution could be to split STR_LIVING_QUARTERS_UFOPEDIA in two entries (i.e. before and after "50" for Living Quarters) , and display first part of string, then real capacity, then second part of string.

Title: Re: UFOPedia - Facilities description does not match in case of modded capacity
Post by: 54x on April 03, 2013, 08:34:29 am
Yep, or even just one string where you place a variable code, eg. %n, to indicate where to place the relevant integer from the ruleset.
Title: Re: UFOPedia - Facilities description does not match in case of modded capacity
Post by: darkestaxe on April 07, 2013, 03:31:19 am
Yep, or even just one string where you place a variable code, eg. %n, to indicate where to place the relevant integer from the ruleset.
I think it needs to be the var code, otherwise there would have to be duplicate code for each language or some languages would be very difficult to translate into.