moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
92 stars 54 forks source link

[WFRP4e System] Add localization support to the Blackpowder Shock #2314

Open phenomen opened 6 days ago

phenomen commented 6 days ago

Currently, using the Blackpowder Shock with non-English localization throws and error "Could not find skill (or specialization of) Cool in compendium or world"

Here are strings with hardcoded "Cool". Please replace it with game.i18n.localize("NAME.Cool").

https://github.com/moo-man/WFRP4e-FoundryVTT/blob/277e8e7a2033bce3d0a1b07fcbe01d1b97ab210c/modules/system/config-wfrp4e.js#L1644

https://github.com/moo-man/WFRP4e-FoundryVTT/blob/277e8e7a2033bce3d0a1b07fcbe01d1b97ab210c/modules/system/config-wfrp4e.js#L2297