Fix effects
This commit is contained in:
parent
d243fa9de3
commit
8ffdde3e71
@ -484,6 +484,7 @@ Hooks.once('init', () => {
|
|||||||
console.log("NAME !!!", name, translation);
|
console.log("NAME !!!", name, translation);
|
||||||
},
|
},
|
||||||
"effects": (effects, translations) => {
|
"effects": (effects, translations) => {
|
||||||
|
if ( !effects) return;
|
||||||
for (let i=0; i<effects.length; i++) {
|
for (let i=0; i<effects.length; i++) {
|
||||||
let effect = effects[i];
|
let effect = effects[i];
|
||||||
effect.label = translations['label'+i];
|
effect.label = translations['label'+i];
|
||||||
@ -491,6 +492,7 @@ Hooks.once('init', () => {
|
|||||||
return effects
|
return effects
|
||||||
},
|
},
|
||||||
"diseases_effects": (effects, translations) => {
|
"diseases_effects": (effects, translations) => {
|
||||||
|
if ( !effects) return;
|
||||||
for (let i=0; i<effects.length; i++) {
|
for (let i=0; i<effects.length; i++) {
|
||||||
let effect = effects[i];
|
let effect = effects[i];
|
||||||
let label = effect.label;
|
let label = effect.label;
|
||||||
|
2
fr.json
2
fr.json
@ -1039,7 +1039,7 @@
|
|||||||
"NAME.Channelling" : "Focalisation",
|
"NAME.Channelling" : "Focalisation",
|
||||||
"NAME.Melee" : "Corps à Corps",
|
"NAME.Melee" : "Corps à Corps",
|
||||||
"NAME.Ranged" : "Projectiles",
|
"NAME.Ranged" : "Projectiles",
|
||||||
"NAME.Endurance" : "Endurance",
|
"NAME.Endurance" : "Résistance",
|
||||||
"NAME.Dodge" : "Esquive",
|
"NAME.Dodge" : "Esquive",
|
||||||
"NAME.Stride" : "Foulée",
|
"NAME.Stride" : "Foulée",
|
||||||
"NAME.Unarmed" : "Désarmé",
|
"NAME.Unarmed" : "Désarmé",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "WH4-fr-translation",
|
"name": "WH4-fr-translation",
|
||||||
"title": "Traduction du module WH4 en Français.",
|
"title": "Traduction du module WH4 en Français.",
|
||||||
"description": "La traduction du module WH4.",
|
"description": "La traduction du module WH4.",
|
||||||
"version": "1.4.2",
|
"version": "1.4.3",
|
||||||
"minimumCoreVersion" : "0.7.1",
|
"minimumCoreVersion" : "0.7.1",
|
||||||
"compatibleCoreVersion": "0.7.9",
|
"compatibleCoreVersion": "0.7.9",
|
||||||
"author": "LeRatierBretonnien",
|
"author": "LeRatierBretonnien",
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user