Author Topic: UFOPedia - Facilities description does not match in case of modded capacity  (Read 3750 times)

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
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.


Offline 54x

  • Colonel
  • ****
  • Posts: 208
    • View Profile
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.

Offline darkestaxe

  • Colonel
  • ****
  • Posts: 254
  • Emissary of the Brain
    • View Profile
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.