superseva / mutant-year-zero

Mutant Year Zero system for FoundryVTT
GNU General Public License v3.0
8 stars 21 forks source link

Undefined strings after translating Actor types #27

Closed phenomen closed 3 years ago

phenomen commented 3 years ago

I translated actor types in the same way I do it for other systems:

  "ACTOR": {
    "TypeAnimal": "Зверь",
    "TypeArk": "Ковчег",
    "TypeHuman": "Человек",
    "TypeMutant": "Мутант",
    "TypeNpc": "NPC",
    "TypeRobot": "Робот"
  }

After that all type-specific strings in the character sheet become bugged:

FoundryVTT_PuJfHE6JH9

superseva commented 3 years ago

Look at the translation json file it should be: ACTOR.TypeAnimal": "Animal", "ACTOR.TypeArk": "Ark", "ACTOR.TypeHuman": "Human", "ACTOR.TypeMutant": "Mutant", "ACTOR.TypeNpc": "NPC", "ACTOR.TypeRobot": "Robot"

superseva commented 3 years ago

is this 7.9 or 8x Beta ?

phenomen commented 3 years ago

Look at the translation json file it should be: ACTOR.TypeAnimal": "Animal", "ACTOR.TypeArk": "Ark", "ACTOR.TypeHuman": "Human", "ACTOR.TypeMutant": "Mutant", "ACTOR.TypeNpc": "NPC", "ACTOR.TypeRobot": "Robot"

Structured JSON works just as Flat JSON. At least I never had issues with any other module or system when using this format.

Foundry 0.8.4. I guess that's why...

superseva commented 3 years ago

yeah they should that's why I guessed you are using beta