From 6fcfa72b59b96ec2787c64f978f5e1587092bb87 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 23 Mar 2022 22:50:43 +0100 Subject: [PATCH] v5.2 sync --- addon-register.js | 2 +- fr.json | 4 +++- module.json | 15 ++------------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/addon-register.js b/addon-register.js index c2217df..770da84 100644 --- a/addon-register.js +++ b/addon-register.js @@ -142,7 +142,7 @@ const patch_core_tables = (tableList) => { } FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => { for (var file of resp.files) { - let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json")); + let filename = file.substring(file.lastIndexOf("/")+1, file.indexOf(".json")) if ( tableList[filename] == 1 ) { // Matching table name -> patch ! fetch(file).then(r=>r.json()).then(records => { //console.log("Patch !!!", filename, records); diff --git a/fr.json b/fr.json index 3462f6f..bdf91f3 100644 --- a/fr.json +++ b/fr.json @@ -4,6 +4,7 @@ "WFRP4E.TrappingType.Cargo": "Cargaison", "WFRP4E.Vehicle": "Véhicule", "WFRP4E.MountButtonNotify": "L'acteur à gauche ({mounter}) a désormais l'acteur à droite ({mountee}) comme monture", + "WFRP4E.ConditionName.Dead":"Mort", "SETTINGS.InitRule" : "Règles d'initiative", "SETTINGS.InitHint" : "Choisir votre configuration pour l'ordre d'initiative.", @@ -555,7 +556,7 @@ "Simple":"Simple", "Snake-Like":"Serpent-Like", "Something went wrong":"Quelque chose a mal tourné", - "SpecChar":"

Voulez vous appliquer les caractéristiques de cette espère à votre Acteur ?", + "SpecChar":"

Voulez vous appliquer les caractéristiques de cette espèce à votre Acteur ?", "Species Characteristics":"Caractéristiques des espèces", "Spider-Like":"Araignée-Like", "Split":"Séparé", @@ -1175,6 +1176,7 @@ "ITEM.DiceRoll" : "Jet de Dé", "ITEM.AddSL" : "Ajouter DR", "ITEM.ValuePerOvercast" : "Valeur/Surincantation", + "ITEM.CastSkillOverride":"Remplacer la compétence d'incantation", "AllowXPSpending": "Forcer l'indicateur d'avancement", "TooltipAllowXPSpending": "Afficher l'indicateur d'avancement indépendamment de la carrière, ce qui vous permet d'automatiser les dépenses de PX", diff --git a/module.json b/module.json index 36f801d..cb74556 100644 --- a/module.json +++ b/module.json @@ -2,11 +2,10 @@ "name": "WH4-fr-translation", "title": "WFRP4e - Core Module en français.", "description": "Traduction Française pour Warhammer v4.", - "author": "LeRatierBretonnien", - "authors": [], + "authors": [ {"name":"LeRatierBretonnien" }], "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr", "flags": {}, - "version": "5.1.7", + "version": "5.2.0", "minimumCoreVersion": "0.8.0", "compatibleCoreVersion": "9", "scripts": [], @@ -31,7 +30,6 @@ "path": "packs/plats-dauberges.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "RollTable", "private": false }, { @@ -41,7 +39,6 @@ "path": "packs/dons-de-rhya.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "JournalEntry", "private": false }, { @@ -51,7 +48,6 @@ "path": "packs/aides-de-jeu-fr.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "JournalEntry", "private": false }, { @@ -61,7 +57,6 @@ "path": "packs/drogues-and-sedatifs.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "Item", "private": false }, { @@ -71,7 +66,6 @@ "path": "packs/pansements-and-cataplasmes.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "Item", "private": false }, { @@ -81,7 +75,6 @@ "path": "packs/poisons-and-toxiques.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "Item", "private": false }, { @@ -91,7 +84,6 @@ "path": "packs/potions-and-decoctions.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "Item", "private": false }, { @@ -101,7 +93,6 @@ "path": "packs/antidotes-and-remedes.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "Item", "private": false }, { @@ -111,7 +102,6 @@ "path": "packs/tables-des-traductions.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "JournalEntry", "private": false }, { @@ -121,7 +111,6 @@ "path": "packs/apothicarium.db", "system": "wfrp4e", "module": "WH4-fr-translation", - "entity": "JournalEntry", "private": false } ],