arnonram / swade-npc-importer

Savage Worlds Stat-block importer for FoundryVTT
7 stars 8 forks source link

[localization] multiple values for same entry #100

Closed arnonram closed 2 years ago

arnonram commented 2 years ago

In most cases adding a | then another value should work OK, since we mostly search it as regex. But if we modify the retrieved entry before searching (such as adding colons in the text parser itself) then it's trickier

Simplest solution would be to add another entry in the localization file, for example:

"npcImporter.parser.SpecialAbilities": "Spezialfähigkeiten:|Besondere Merkmale:",
"npcImporter.XXXXX.SpecialAbilities": "Spezialfähigkeiten|Besondere Merkmale",

need to ponder this

Originally posted by @Razortide in https://github.com/arnonram/swade-npc-importer/issues/98#issuecomment-1065838249

arnonram commented 2 years ago

won't do