Fix effects

This commit is contained in:
sladecraven 2021-02-08 22:03:29 +01:00
parent d243fa9de3
commit 8ffdde3e71
4 changed files with 4 additions and 14 deletions

View File

@ -484,6 +484,7 @@ Hooks.once('init', () => {
console.log("NAME !!!", name, translation);
},
"effects": (effects, translations) => {
if ( !effects) return;
for (let i=0; i<effects.length; i++) {
let effect = effects[i];
effect.label = translations['label'+i];
@ -491,6 +492,7 @@ Hooks.once('init', () => {
return effects
},
"diseases_effects": (effects, translations) => {
if ( !effects) return;
for (let i=0; i<effects.length; i++) {
let effect = effects[i];
let label = effect.label;

View File

@ -1039,7 +1039,7 @@
"NAME.Channelling" : "Focalisation",
"NAME.Melee" : "Corps à Corps",
"NAME.Ranged" : "Projectiles",
"NAME.Endurance" : "Endurance",
"NAME.Endurance" : "Résistance",
"NAME.Dodge" : "Esquive",
"NAME.Stride" : "Foulée",
"NAME.Unarmed" : "Désarmé",

View File

@ -3,7 +3,7 @@
"name": "WH4-fr-translation",
"title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.",
"version": "1.4.2",
"version": "1.4.3",
"minimumCoreVersion" : "0.7.1",
"compatibleCoreVersion": "0.7.9",
"author": "LeRatierBretonnien",

File diff suppressed because one or more lines are too long