Localisation icon indicating copy to clipboard operation
Localisation copied to clipboard

Object overrides and Panda World overrides

Open Gymnasiast opened this issue 5 years ago • 9 comments

Updated strings from https://github.com/OpenRCT2/OpenRCT2/commit/14512e72a3a145726c02d8afc123566e4e95d522

The following overrides have been moved to JSON objects. Remove them from your language.txt file and make sure their descriptions are present in the object translations folder

-[XXBBBR01]
-STR_NAME    :Base Block
-
-[TTRFTL02]
-STR_NAME    :Roof
-
-[TTRFTL03]
-STR_NAME    :Roof
-
-[TTRFTL04]
-STR_NAME    :Roof
-
-[TTRFTL07]
-STR_NAME    :Roof
-
-[TTRFTL08]
-STR_NAME    :Roof
-
-[MG-PRAR]
-STR_NAME    :Wall with Passageway

On the other hand, the commit adds a description for Panda World, the only official DLC scenario for RCT2. Add it below your override for Rock 'n' Roll - Rock 'n' Roll

###############################################################################
## Official Custom Content Scenarios
###############################################################################
<Panda World>
STR_SCNR    :Panda World
STR_PARK    :Panda World
STR_DTLS    :Add more rides and attract more people to this panda-themed park

Updated in:

  • [x] ar-EG
  • [ ] ca-ES
  • [x] cs-CZ
  • [ ] da-DK
  • [x] de-DE
  • [ ] en-US
  • [x] eo-OO
  • [x] es-ES
  • [x] fr-FR
  • [x] hu-HU
  • [x] it-IT
  • [ ] ja-JP
  • [x] ko-KR
  • [x] nb-NO
  • [x] nl-NL
  • [x] pl-PL
  • [x] pt-BR
  • [ ] sv-SE
  • [ ] tr-TR
  • [ ] zh-CN
  • [x] zh-TW

Notification when new strings arrive: @Omaranwa @J0anJosep @octaroot @LPSGizmo @danidoedel @Wuzzy2 @tellovishous @JasperGray @Wirlie @JoelTroch @anon569 @LucaRed @AaronVanGeffen @telk5093 @Goddesen @renansimoes @Tupaschoal @Nubbie @izhangfei @daihakken @marcinkunert

Gymnasiast avatar Oct 23 '20 22:10 Gymnasiast

No way to find these strings that you are saying either on the es-ES.txt or the .json file.
How am I supposed to know they're present?

frenchiveruti avatar Nov 01 '20 11:11 frenchiveruti

Also I can only apply a partial solution to this issue, I can do the panda world part, but I can't find these:

-[XXBBBR01]
-STR_NAME    :Base Block
-
-[TTRFTL02]
-STR_NAME    :Roof
-
-[TTRFTL03]
-STR_NAME    :Roof
-
-[TTRFTL04]
-STR_NAME    :Roof
-
-[TTRFTL07]
-STR_NAME    :Roof
-
-[TTRFTL08]
-STR_NAME    :Roof
-
-[MG-PRAR]
-STR_NAME    :Wall with Passageway

anywhere.

frenchiveruti avatar Nov 01 '20 11:11 frenchiveruti

@frenchiveruti They've been removed from the interface language files, and are now in the object language files.

AaronVanGeffen avatar Nov 01 '20 13:11 AaronVanGeffen

@frenchiveruti They've been removed from the interface language files, and are now in the object language files.

I understood that fact, the problem is that how do I know which one is each, there's like 20 "Roof" strings in the json files.

frenchiveruti avatar Nov 01 '20 13:11 frenchiveruti

how do I know which one is each, there's like 20 "Roof" strings in the json files.

By looking at the line that immediately proceeds it.

  "other.ttrftl02": {
    "reference-name": "Roof",
    "name": "Tejado"
  },

Gymnasiast avatar Nov 01 '20 13:11 Gymnasiast

Okay that solves it, I see now that it's inside "other.xxxx" what I should be looking at.
And it seems that I have a lot of strings to correct there ha. Some translations are... yuck... Thanks

frenchiveruti avatar Nov 01 '20 13:11 frenchiveruti

Hijacking this conversation for this question: Can I do something like:

  "rct2.tt.artdec22": {
    "reference-name": "Art Deco Wall with Railings",
    "name": "Muro Art Decó con balaustrada"
  },
  "rct2.tt.artdec23": {
    "reference-name": "Art Deco Wall with Railings",
    "name": "Muro Art Decó con balaustrada"
  },
  "rct2.tt.artdec21": {
    "reference-name": "Art Deco Wall with Railings",
    "name": "Muro Art Decó con balaustrada"
  },

into:

  "rct2.tt.artdec21","rct2.tt.artdec22","rct2.tt.artdec23": {
    "reference-name": "Art Deco Wall with Railings",
    "name": "Muro Art Decó con balaustrada"
  },

I have no idea how json works, I'm just curious if it works like CSS when it comes to using the same qualities for different objects.

frenchiveruti avatar Nov 01 '20 14:11 frenchiveruti

No, that won't work. You cannot combine entries, sorry. (We're not happy about the duplication, either…)

AaronVanGeffen avatar Nov 01 '20 14:11 AaronVanGeffen

Okay no problem it was just a matter of beautifying. I guess it's a thing of JSON.

frenchiveruti avatar Nov 01 '20 14:11 frenchiveruti