COrrection sur Natation - again
This commit is contained in:
@@ -8,6 +8,8 @@ export class WH4FRPatchConfig {
|
||||
|
||||
let newList = [];
|
||||
for( let compName of skillList) {
|
||||
// Trim compName
|
||||
compName = compName.trim();
|
||||
let special = "";
|
||||
let newName = compName;
|
||||
let baseName = compName
|
||||
@@ -21,7 +23,8 @@ export class WH4FRPatchConfig {
|
||||
if (compNameFR.name != compName) { // Translation OK
|
||||
newName = compNameFR.name + special;
|
||||
}
|
||||
if ( !newName || newName == "" || newName == undefined ) { // If no translation, keep the original name
|
||||
// DEBUG console.log("Translating skill ", compName, baseName, " to ", newName, special);
|
||||
if ( !newName || newName == "" || newName === undefined || newName === "undefined" ) { // If no translation, keep the original name
|
||||
newName = baseName; // If no translation, keep the original name
|
||||
}
|
||||
newList.push(newName);
|
||||
|
||||
Reference in New Issue
Block a user