diff --git a/addon-register.js b/addon-register.js index 0d61ac2..2cd1c30 100644 --- a/addon-register.js +++ b/addon-register.js @@ -297,7 +297,7 @@ Hooks.on("chatMessage", (html, content, msg) => { Hooks.once('ready', () => { if (game.user.isGM) - ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont en cours de patch pour traduction... Merci d'attendre le message de fin (dans environ 20 secondes)", whisper: ChatMessage.getWhisperRecipients("GM") } ); + ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont en cours de patch pour traduction... Merci d'attendre le message de fin (dans environ 20 secondes)

Pour rappel et à titre informatif, il faut activer ce module de traduction FR avant de procéder à l'importation des données des modules C7 (core compris).

Support et informations sur le Discord FR de Foundry : https://discord.gg/pPSDNJk

", whisper: ChatMessage.getWhisperRecipients("GM") } ); //setTimeout( __check_fix_wrong_modules, 2000, true, false); setTimeout( __check_fix_wrong_modules, 20000, true, true); diff --git a/module.json b/module.json index c7ae463..fb1da8b 100644 --- a/module.json +++ b/module.json @@ -1,119 +1,147 @@ -{ - "name": "WH4-fr-translation", - "title": "WFRP4e - Core Module en français.", - "description": "Traduction Française pour Warhammer v4.", - "version": "5.0.19", - "minimumCoreVersion" : "9", - "compatibleCoreVersion": "9", - "author": "LeRatierBretonnien", - "system": ["wfrp4e"], - "dependencies": [ - { - "name": "wfrp4e", - "type": "system" - }, - { - "name": "babele", - "type": "module" - } - ], - "esmodules": [ - "babele-register.js", - "addon-register.js", - "modules/import-stat-2.js" - ], - "scripts": [ ], - "styles": [], - "packs": [ - { - "label": "Plats d'Auberges", - "type": "RollTable", - "name": "plats-dauberges", - "path": "packs/plats-dauberges.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Dons de Rhya", - "type": "JournalEntry", - "name": "dons-de-rhya", - "path": "packs/dons-de-rhya.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Aides de Jeu FR", - "type": "JournalEntry", - "name": "aides-de-jeu-fr", - "path": "packs/aides-de-jeu-fr.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Potions : Drogues et Sédatifs", - "type": "Item", - "name": "drogues-and-sedatifs", - "path": "packs/drogues-and-sedatifs.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Potions : Pansements et Cataplasmes", - "type": "Item", - "name": "pansements-and-cataplasmes", - "path": "packs/pansements-and-cataplasmes.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Potions : Poisons et Toxiques", - "type": "Item", - "name": "poisons-and-toxiques", - "path": "packs/poisons-and-toxiques.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Potions : Potions et Décoctions", - "type": "Item", - "name": "potions-and-decoctions", - "path": "packs/potions-and-decoctions.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Potions : Antidotes et Remèdes", - "type": "Item", - "name": "antidotes-and-remedes", - "path": "packs/antidotes-and-remedes.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Tables des Traductions", - "type": "JournalEntry", - "name": "tables-des-traductions", - "path": "packs/tables-des-traductions.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - }, - { - "label": "Apothicarium", - "type": "JournalEntry", - "name": "apothicarium", - "path": "packs/apothicarium.db", - "system": "wfrp4e", - "module": "WH4-fr-translation" - } - ], - "languages": [{ - "lang": "fr", - "name": "Français", - "path": "fr.json" - }], - - "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr", - "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr/-/raw/v4/module.json", - "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr/-/archive/v4/foundryvtt-wh4-lang-fr-fr-v4.zip" -} - +{ + "name": "WH4-fr-translation", + "title": "WFRP4e - Core Module en français.", + "description": "Traduction Française pour Warhammer v4.", + "author": "LeRatierBretonnien", + "authors": [], + "url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr", + "flags": {}, + "version": "5.0.20", + "minimumCoreVersion": "0.8.0", + "compatibleCoreVersion": "9", + "scripts": [], + "esmodules": [ + "babele-register.js", + "addon-register.js", + "modules/import-stat-2.js" + ], + "styles": ["patch-styles.css"], + "languages": [ + { + "lang": "fr", + "name": "Français", + "path": "fr.json" + } + ], + "packs": [ + { + "label": "Plats d'Auberges", + "type": "RollTable", + "name": "plats-dauberges", + "path": "packs/plats-dauberges.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "RollTable", + "private": false + }, + { + "label": "Dons de Rhya", + "type": "JournalEntry", + "name": "dons-de-rhya", + "path": "packs/dons-de-rhya.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "JournalEntry", + "private": false + }, + { + "label": "Aides de Jeu FR", + "type": "JournalEntry", + "name": "aides-de-jeu-fr", + "path": "packs/aides-de-jeu-fr.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "JournalEntry", + "private": false + }, + { + "label": "Potions : Drogues et Sédatifs", + "type": "Item", + "name": "drogues-and-sedatifs", + "path": "packs/drogues-and-sedatifs.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "Item", + "private": false + }, + { + "label": "Potions : Pansements et Cataplasmes", + "type": "Item", + "name": "pansements-and-cataplasmes", + "path": "packs/pansements-and-cataplasmes.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "Item", + "private": false + }, + { + "label": "Potions : Poisons et Toxiques", + "type": "Item", + "name": "poisons-and-toxiques", + "path": "packs/poisons-and-toxiques.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "Item", + "private": false + }, + { + "label": "Potions : Potions et Décoctions", + "type": "Item", + "name": "potions-and-decoctions", + "path": "packs/potions-and-decoctions.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "Item", + "private": false + }, + { + "label": "Potions : Antidotes et Remèdes", + "type": "Item", + "name": "antidotes-and-remedes", + "path": "packs/antidotes-and-remedes.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "Item", + "private": false + }, + { + "label": "Tables des Traductions", + "type": "JournalEntry", + "name": "tables-des-traductions", + "path": "packs/tables-des-traductions.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "JournalEntry", + "private": false + }, + { + "label": "Apothicarium", + "type": "JournalEntry", + "name": "apothicarium", + "path": "packs/apothicarium.db", + "system": "wfrp4e", + "module": "WH4-fr-translation", + "entity": "JournalEntry", + "private": false + } + ], + "system": [ + "wfrp4e" + ], + "dependencies": [ + { + "name": "wfrp4e", + "type": "system" + }, + { + "name": "babele", + "type": "module" + } + ], + "socket": false, + "manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr/-/raw/v4/module.json", + "download": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr/-/archive/v4/foundryvtt-wh4-lang-fr-fr-v4.zip", + "protected": false, + "coreTranslation": false, + "library": false +} \ No newline at end of file diff --git a/patch-styles.css b/patch-styles.css new file mode 100644 index 0000000..077e5d0 --- /dev/null +++ b/patch-styles.css @@ -0,0 +1,3 @@ +:root{ + --color-bg-option: #352516; +} \ No newline at end of file