Fix auto-translation stuff

This commit is contained in:
LeRatierBretonnien 2020-06-06 12:10:31 +02:00
parent 28b5a51064
commit d0a5566fc2
3 changed files with 5 additions and 3 deletions

View File

@ -429,8 +429,10 @@ Hooks.once('init', () => {
//console.log(">>>>> Skill ?", name_en, special, trait_fr.name, trait_fr);
if (trait_fr.translated) {
trait_en.name = trait_fr.name + special;
if ( trait_fr.data. ) {
trait_en.data.description.value = trait_fr.data.description.value;
}
}
} else if ( trait_en.type == "prayer") {
var trait_fr = fullprayers.translate( { name: name_en } );
//console.log(">>>>> Prayer ?", name_en, special, trait_fr.name );

View File

@ -1224,7 +1224,7 @@
},
{
"id": "Merchant",
"name": "Marchant",
"name": "Marchand",
"description": "",
"trappings": [
"Péniche fluviale ou 2 charriots",

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": "0.81",
"version": "0.82",
"minimumCoreVersion" : "0.6.0",
"compatibleCoreVersion": "0.6.1",
"author": "LeRatierBretonnien",