Additions #107

Merged
uberwald merged 8 commits from pallando/foundryvtt-wh4-lang-fr-fr:additions into v10 2024-11-10 22:02:07 +01:00
Showing only changes of commit 64be1078e1 - Show all commits

View File

@ -257,8 +257,12 @@ Hooks.once('init', () => {
s1 = res[1].trim() + " ( )"; s1 = res[1].trim() + " ( )";
translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "skill" }, true) translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "skill" }, true)
translw = translItem?.name || undefined translw = translItem?.name || undefined
if(translw) {
let res2 = re.exec(translw); let res2 = re.exec(translw);
transl = res2[1] + "(" + subword + ")"; transl = res2[1] + "(" + subword + ")";
} else {
transl = res[1] + " (" + subword + ")";
}
} }
} }
} }