Add missing text in diseases

This commit is contained in:
LeRatierBretonnien 2020-04-01 00:41:20 +02:00
parent 79eea4a8ee
commit 49e2a02fc9
3 changed files with 18 additions and 14 deletions

View File

@ -70,9 +70,11 @@ Hooks.once('init', () => {
},
// To avoid duplicateing class for all careers
"generic_localization": (value) => {
if ( value )
return game.i18n.localize( value.trim() );
},
"trapping_qualities_flaws": (value) => {
if ( value ) {
var list = value.split( "," );
var i=0;
var re = /(.*) (\d+)/i;
@ -86,6 +88,7 @@ Hooks.once('init', () => {
}
}
return list.toString();
}
},
// Search back in careers the translated name of the groupe (as it is the name of the level career itself)
"career_careergroup": (value) => {

View File

@ -544,6 +544,7 @@
"Poisoner": "Empoisonneur",
"Chemistry": "Chimie",
"Any color": "Couleur au choix",
"Any Color": "Couleur au choix",
"Herbs": "Herbes",
"Acting": "Comédie",
"Thief": "Voleur",

View File

@ -2,7 +2,7 @@
"name": "WH4-fr-translation",
"title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.",
"version": "0.25",
"version": "0.26",
"minimumCoreVersion" : "0.5.1",
"author": "LeRatierBretonnien",
"esmodules": ["babele-register.js"],