diff --git a/babele-register.js b/babele-register.js index e31f4b4..1d6c4f1 100644 --- a/babele-register.js +++ b/babele-register.js @@ -544,6 +544,7 @@ Hooks.once('init', () => { var translw = value; var re = /(.*) Bonus (\w*)/i; var res = re.exec(value); + console.log("RES1:", res); var unit = ""; if (res) { // Test " Bonus " pattern if (res[1]) { // We have char name, then convert it @@ -570,7 +571,12 @@ Hooks.once('init', () => { if (unit == "days") unit = "jours"; if (unit == "yard") unit = "mètre"; if (unit == "yards") unit = "mètres"; - translw += " " + unit; + if (unit == "Bonus") { // Another weird management + translw = "Bonus de " + translw; + } else { + translw += " " + unit; + } + console.log("Spell duration/range/damage/target :", value, translw); return translw; } }); diff --git a/module.json b/module.json index a23a2b4..5eeff10 100644 --- a/module.json +++ b/module.json @@ -116,7 +116,7 @@ } ], "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v10/module.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-7.0.19.zip", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-7.0.20.zip", "id": "wh4-fr-translation", "compatibility": { "minimum": "11", diff --git a/packs/aides-de-jeu-fr/000320.log b/packs/aides-de-jeu-fr/000340.log similarity index 100% rename from packs/aides-de-jeu-fr/000320.log rename to packs/aides-de-jeu-fr/000340.log diff --git a/packs/aides-de-jeu-fr/MANIFEST-000318 b/packs/aides-de-jeu-fr/MANIFEST-000318 deleted file mode 100644 index 22d164f..0000000 Binary files a/packs/aides-de-jeu-fr/MANIFEST-000318 and /dev/null differ diff --git a/packs/antidotes-and-remedes/000321.log b/packs/antidotes-and-remedes/000341.log similarity index 100% rename from packs/antidotes-and-remedes/000321.log rename to packs/antidotes-and-remedes/000341.log diff --git a/packs/antidotes-and-remedes/MANIFEST-000319 b/packs/antidotes-and-remedes/MANIFEST-000319 deleted file mode 100644 index 778d6f5..0000000 Binary files a/packs/antidotes-and-remedes/MANIFEST-000319 and /dev/null differ diff --git a/packs/apothicarium/000320.log b/packs/apothicarium/000340.log similarity index 100% rename from packs/apothicarium/000320.log rename to packs/apothicarium/000340.log diff --git a/packs/apothicarium/MANIFEST-000318 b/packs/apothicarium/MANIFEST-000318 deleted file mode 100644 index 8633136..0000000 Binary files a/packs/apothicarium/MANIFEST-000318 and /dev/null differ diff --git a/packs/dons-de-rhya/000320.log b/packs/dons-de-rhya/000340.log similarity index 100% rename from packs/dons-de-rhya/000320.log rename to packs/dons-de-rhya/000340.log diff --git a/packs/dons-de-rhya/MANIFEST-000318 b/packs/dons-de-rhya/MANIFEST-000318 deleted file mode 100644 index c9e585e..0000000 Binary files a/packs/dons-de-rhya/MANIFEST-000318 and /dev/null differ diff --git a/packs/plats-dauberges/000320.log b/packs/plats-dauberges/000340.log similarity index 100% rename from packs/plats-dauberges/000320.log rename to packs/plats-dauberges/000340.log diff --git a/packs/plats-dauberges/MANIFEST-000318 b/packs/plats-dauberges/MANIFEST-000318 deleted file mode 100644 index d797af2..0000000 Binary files a/packs/plats-dauberges/MANIFEST-000318 and /dev/null differ diff --git a/packs/tables-des-traductions/000320.log b/packs/tables-des-traductions/000340.log similarity index 100% rename from packs/tables-des-traductions/000320.log rename to packs/tables-des-traductions/000340.log diff --git a/packs/tables-des-traductions/MANIFEST-000318 b/packs/tables-des-traductions/MANIFEST-000318 deleted file mode 100644 index 59666f5..0000000 Binary files a/packs/tables-des-traductions/MANIFEST-000318 and /dev/null differ