Alignement des traductions sur la VF corrigée

This commit is contained in:
2021-11-13 11:24:12 +01:00
parent e88af449d6
commit a7d72d0e09
8 changed files with 131 additions and 110 deletions

View File

@ -351,7 +351,7 @@ Hooks.once('init', () => {
trait_fr = game.babele.translate( 'wfrp4e-unofficial-grimoire.ug-careerstalentstraits', { name: name_en }, true );
}
if ( trait_fr.name != name_en) { // Talent translated!
trait_en.name = trait_fr.name + special;
trait_en.name = trait_fr.name.trim() + special;
if ( trait_fr.data ) { // Why ???
trait_en.data.description.value = trait_fr.data.description.value;
}
@ -398,7 +398,7 @@ Hooks.once('init', () => {
"career_careergroup": (value) => {
// Manage exception - Dirty hack
if ( value == 'Slayer' ) {
return "Tueur Nains";
return "Tueur";
}
if ( value == 'Druidic Priest' ) {
return "Druide";