aliens

Author Topic: Where to find String IDs  (Read 7498 times)

Offline Bartojan

  • Colonel
  • ****
  • Posts: 136
    • View Profile
Where to find String IDs
« on: April 15, 2016, 08:58:07 pm »
Hello, where can I find list of all string IDs?
I got this reports in openxcom.log:
Code: [Select]
[15-04-2016 19:13:03] [WARN] ORIGINAL ORDER not found in cs
[15-04-2016 19:13:03] [WARN] ID not found in cs
[15-04-2016 19:13:03] [WARN] FIRST LETTER not found in cs
[15-04-2016 19:13:03] [WARN] RANK not found in cs
[15-04-2016 19:13:03] [WARN] MISSIONS not found in cs
[15-04-2016 19:13:03] [WARN] KILLS not found in cs
[15-04-2016 19:13:03] [WARN] WOUND RECOVERY not found in cs
[15-04-2016 19:13:03] [WARN] SORT BY... not found in cs
[15-04-2016 19:41:03] [WARN] MARK ALL AS SEEN not found in cs
[15-04-2016 19:44:55] [WARN] STATS not found in cs
[15-04-2016 19:44:56] [WARN] TU not found in cs
[15-04-2016 19:44:56] [WARN] STA not found in cs
[15-04-2016 19:44:56] [WARN] HP not found in cs
[15-04-2016 19:44:56] [WARN] BRA not found in cs
[15-04-2016 19:44:56] [WARN] REA not found in cs
[15-04-2016 19:44:56] [WARN] ACC not found in cs
[15-04-2016 19:44:56] [WARN] THR not found in cs
[15-04-2016 19:44:56] [WARN] MEL not found in cs
[15-04-2016 19:44:56] [WARN] STR not found in cs
There can be some IDs from mod.
I have STR_STR, STR_BRA, STR_HP, STR_MARK_ALL_AS_SEEN ... in modded lang ruleset, but these are ignored so I am not sure they are right.
I can not find them anywhere in Transifex files (en, cs) and even in openxcom folder on my computer.
OpenXcom Extended 2.9+ (v2016-03-27)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: Where to find String IDs
« Reply #1 on: April 15, 2016, 09:16:24 pm »
They are all part of OXCE+ from the early days when I didn't care about translation at all.
If you play in English, you can just ignore those messages.

If you actually want to translate them, don't use the prefix STR_

So for example instead of
Code: [Select]
STR_BRA: "BRA"just use
Code: [Select]
BRA: "BRA"

Offline Bartojan

  • Colonel
  • ****
  • Posts: 136
    • View Profile
Re: Where to find String IDs
« Reply #2 on: April 16, 2016, 10:50:36 am »
Thank you. And how to use more_than_one_word missing keys for translation?
Code: [Select]
WOUND RECOVERY
SHORT RANGE
LONG RANGE (ARC)
MARK ALL AS SEEN
NET FUNDS PER MONTH> {0}

This works:
Code: [Select]
SORT BY...: TŘÍDIT PODLE
« Last Edit: April 16, 2016, 11:11:21 am by Bartojan »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: Where to find String IDs
« Reply #3 on: April 16, 2016, 11:22:11 am »
Just put double quotes around the code, for exaple:

Code: [Select]
"MARK ALL AS SEEN": "Vsechno odznacit"

EDIT: btw. are you doing a Czech translation of PirateZ? Or are you using OXCE+ to play vanilla xcom?
« Last Edit: April 16, 2016, 11:23:43 am by Meridian »

Offline Bartojan

  • Colonel
  • ****
  • Posts: 136
    • View Profile
Re: Where to find String IDs
« Reply #4 on: April 16, 2016, 11:56:59 am »
I am doing PirateZ translation.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Where to find String IDs
« Reply #5 on: April 16, 2016, 02:01:29 pm »
Perhaps we could upload Piratez to Transifex to facilitate (and promote) translations?