Add missing text in diseases
This commit is contained in:
parent
79eea4a8ee
commit
49e2a02fc9
@ -70,22 +70,25 @@ Hooks.once('init', () => {
|
|||||||
},
|
},
|
||||||
// To avoid duplicateing class for all careers
|
// To avoid duplicateing class for all careers
|
||||||
"generic_localization": (value) => {
|
"generic_localization": (value) => {
|
||||||
return game.i18n.localize( value.trim() );
|
if ( value )
|
||||||
|
return game.i18n.localize( value.trim() );
|
||||||
},
|
},
|
||||||
"trapping_qualities_flaws": (value) => {
|
"trapping_qualities_flaws": (value) => {
|
||||||
var list = value.split( "," );
|
if ( value ) {
|
||||||
var i=0;
|
var list = value.split( "," );
|
||||||
var re = /(.*) (\d+)/i;
|
var i=0;
|
||||||
for (i=0; i<list.length; i++) {
|
var re = /(.*) (\d+)/i;
|
||||||
var splitted = re.exec( list[i].trim() );
|
for (i=0; i<list.length; i++) {
|
||||||
if ( splitted ) {
|
var splitted = re.exec( list[i].trim() );
|
||||||
//console.log("FOund:", splitted[0], splitted[1], splitted[2] );
|
if ( splitted ) {
|
||||||
list[i] = game.i18n.localize( splitted[1] ) + " " + splitted[2];
|
//console.log("FOund:", splitted[0], splitted[1], splitted[2] );
|
||||||
} else {
|
list[i] = game.i18n.localize( splitted[1] ) + " " + splitted[2];
|
||||||
list[i] = game.i18n.localize( list[i].trim() ) ;
|
} else {
|
||||||
|
list[i] = game.i18n.localize( list[i].trim() ) ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
return list.toString();
|
||||||
}
|
}
|
||||||
return list.toString();
|
|
||||||
},
|
},
|
||||||
// Search back in careers the translated name of the groupe (as it is the name of the level career itself)
|
// Search back in careers the translated name of the groupe (as it is the name of the level career itself)
|
||||||
"career_careergroup": (value) => {
|
"career_careergroup": (value) => {
|
||||||
|
1
fr.json
1
fr.json
@ -544,6 +544,7 @@
|
|||||||
"Poisoner": "Empoisonneur",
|
"Poisoner": "Empoisonneur",
|
||||||
"Chemistry": "Chimie",
|
"Chemistry": "Chimie",
|
||||||
"Any color": "Couleur au choix",
|
"Any color": "Couleur au choix",
|
||||||
|
"Any Color": "Couleur au choix",
|
||||||
"Herbs": "Herbes",
|
"Herbs": "Herbes",
|
||||||
"Acting": "Comédie",
|
"Acting": "Comédie",
|
||||||
"Thief": "Voleur",
|
"Thief": "Voleur",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "WH4-fr-translation",
|
"name": "WH4-fr-translation",
|
||||||
"title": "Traduction du module WH4 en Français.",
|
"title": "Traduction du module WH4 en Français.",
|
||||||
"description": "La traduction du module WH4.",
|
"description": "La traduction du module WH4.",
|
||||||
"version": "0.25",
|
"version": "0.26",
|
||||||
"minimumCoreVersion" : "0.5.1",
|
"minimumCoreVersion" : "0.5.1",
|
||||||
"author": "LeRatierBretonnien",
|
"author": "LeRatierBretonnien",
|
||||||
"esmodules": ["babele-register.js"],
|
"esmodules": ["babele-register.js"],
|
||||||
|
Loading…
Reference in New Issue
Block a user