Author Topic: [SOLVED][extraStrings] suddenly renaming ufopaedia category doesn't work  (Read 3389 times)

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
I mean I have this (under "extraStrings"):

      STR_HEAVY_WEAPONS_PLATFORMS: GENERAL KNOWLEDGE

always working before, but now it displays the default name "HEAVY WEAPONS PLATFORMS".
I don't know since when it stopped working. Am I missing some change to extraStrings/ufopaedia?

SOLVED:
I had the wrong sub-type (UK instead of US) of English selected. Idiot of the day prize: won by me.
« Last Edit: July 26, 2015, 12:31:46 am by robin »

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: [extraStrings] suddenly renaming ufopaedia category doesn't work
« Reply #1 on: July 25, 2015, 10:02:01 pm »
I mean I have this (under "extraStrings"):

      STR_HEAVY_WEAPONS_PLATFORMS: GENERAL KNOWLEDGE

always working before, but now it displays the default name "HEAVY WEAPONS PLATFORMS".
I don't know since when it stopped working. Am I missing some change to extraStrings/ufopaedia?

STR_HEAVY_WEAPONS_PLATFORMS: "GENERAL KNOWLEDGE" use ""

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: [extraStrings] suddenly renaming ufopaedia category doesn't work
« Reply #2 on: July 25, 2015, 10:08:25 pm »
STR_HEAVY_WEAPONS_PLATFORMS: "GENERAL KNOWLEDGE" use ""
Doesn't work.
(Besides I'm not using "" for any other extraString --I have quite a lot of them-- and they all work;  it would be strange if only that one needed them).

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: [extraStrings] suddenly renaming ufopaedia category doesn't work
« Reply #3 on: July 25, 2015, 10:31:55 pm »
Doesn't work.
(Besides I'm not using "" for any other extraString --I have quite a lot of them-- and they all work;  it would be strange if only that one needed them).

I would be better if you use them anyway. It prevents to some degree errors which might occur.

Code: [Select]
  - type: en-US
    strings:
      STR_XCOM_CRAFT_ARMAMENT: "BRIEFINGS & RESEARCH REPORTS & NEWS"
      STR_HEAVY_WEAPONS_PLATFORMS: "XCOM CRAFT & ARMAMENTS & HWP's"

Works like a charm here :>

Offline Harald_Gray

  • Colonel
  • ****
  • Posts: 142
    • View Profile
Re: [extraStrings] suddenly renaming ufopaedia category doesn't work
« Reply #4 on: July 25, 2015, 11:45:15 pm »
The problem is likely caused by something else, because I've just installed the latest nightly and your code works fine, robin.

Aren't you loading a mod that defines this *after* your own one?