From 30893f12587767b9faf16127acaba6b5d4fdd440 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 6 Oct 2020 08:25:51 +0200 Subject: [PATCH] Fix Druidic Stuff --- babele-register.js | 5 ++++- compendium/wfrp4e-content.careers.json | 2 +- module.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/babele-register.js b/babele-register.js index 459115f..513ceea 100644 --- a/babele-register.js +++ b/babele-register.js @@ -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 } ); diff --git a/compendium/wfrp4e-content.careers.json b/compendium/wfrp4e-content.careers.json index 37607d5..0e256d3 100644 --- a/compendium/wfrp4e-content.careers.json +++ b/compendium/wfrp4e-content.careers.json @@ -2343,6 +2343,6 @@ "Fléau", "Robes en lambeaux" ] - } + } ] } diff --git a/module.json b/module.json index dd1708e..00e5041 100644 --- a/module.json +++ b/module.json @@ -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",