Fix Druidic Stuff

This commit is contained in:
sladecraven 2020-10-06 08:25:51 +02:00
parent cff533935e
commit 30893f1258
3 changed files with 6 additions and 3 deletions

View File

@ -397,10 +397,13 @@ Hooks.once('init', () => {
},
// Search back in careers the translated name of the groupe (as it is the name of the level career itself)
"career_careergroup": (value) => {
// Manage exception
// Manage exception - Dirty hack
if ( value == 'Slayer' ) {
return "Tueurs Nains";
}
if ( value == 'Druidic Priest' ) {
return "Druide";
}
// Per default
var compendium = game.packs.find(p => p.collection === compmod+'.careers');
return compendium.i18nName( { name: value } );

View File

@ -2343,6 +2343,6 @@
"Fléau",
"Robes en lambeaux"
]
}
}
]
}

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.1.12",
"version": "1.1.13",
"minimumCoreVersion" : "0.6.6",
"compatibleCoreVersion": "1.0.0",
"author": "LeRatierBretonnien",