This commit is contained in:
sladecraven 2022-01-31 14:07:57 +01:00
parent 04819e7a07
commit 510540c2d1
3 changed files with 151 additions and 120 deletions

View File

@ -297,7 +297,7 @@ Hooks.on("chatMessage", (html, content, msg) => {
Hooks.once('ready', () => { Hooks.once('ready', () => {
if (game.user.isGM) if (game.user.isGM)
ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont <strong>en cours de patch pour traduction</strong>... Merci <strong>d'attendre le message de fin</strong> (dans environ 20 secondes)", whisper: ChatMessage.getWhisperRecipients("GM") } ); ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont <strong>en cours de patch pour traduction</strong>... Merci <strong>d'attendre le message de fin</strong> (dans environ 20 secondes)<p>Pour rappel et à titre informatif, il faut activer ce module de traduction FR <strong>avant</strong> de procéder à l'importation des données des modules C7 (core compris).</p><p>Support et informations sur le Discord FR de Foundry : https://discord.gg/pPSDNJk</p>", whisper: ChatMessage.getWhisperRecipients("GM") } );
//setTimeout( __check_fix_wrong_modules, 2000, true, false); //setTimeout( __check_fix_wrong_modules, 2000, true, false);
setTimeout( __check_fix_wrong_modules, 20000, true, true); setTimeout( __check_fix_wrong_modules, 20000, true, true);

View File

@ -2,28 +2,27 @@
"name": "WH4-fr-translation", "name": "WH4-fr-translation",
"title": "WFRP4e - Core Module en français.", "title": "WFRP4e - Core Module en français.",
"description": "Traduction Française pour Warhammer v4.", "description": "Traduction Française pour Warhammer v4.",
"version": "5.0.19",
"minimumCoreVersion" : "9",
"compatibleCoreVersion": "9",
"author": "LeRatierBretonnien", "author": "LeRatierBretonnien",
"system": ["wfrp4e"], "authors": [],
"dependencies": [ "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": [
{ {
"name": "wfrp4e", "lang": "fr",
"type": "system" "name": "Français",
}, "path": "fr.json"
{
"name": "babele",
"type": "module"
} }
], ],
"esmodules": [
"babele-register.js",
"addon-register.js",
"modules/import-stat-2.js"
],
"scripts": [ ],
"styles": [],
"packs": [ "packs": [
{ {
"label": "Plats d'Auberges", "label": "Plats d'Auberges",
@ -31,7 +30,9 @@
"name": "plats-dauberges", "name": "plats-dauberges",
"path": "packs/plats-dauberges.db", "path": "packs/plats-dauberges.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "RollTable",
"private": false
}, },
{ {
"label": "Dons de Rhya", "label": "Dons de Rhya",
@ -39,7 +40,9 @@
"name": "dons-de-rhya", "name": "dons-de-rhya",
"path": "packs/dons-de-rhya.db", "path": "packs/dons-de-rhya.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "JournalEntry",
"private": false
}, },
{ {
"label": "Aides de Jeu FR", "label": "Aides de Jeu FR",
@ -47,7 +50,9 @@
"name": "aides-de-jeu-fr", "name": "aides-de-jeu-fr",
"path": "packs/aides-de-jeu-fr.db", "path": "packs/aides-de-jeu-fr.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "JournalEntry",
"private": false
}, },
{ {
"label": "Potions : Drogues et Sédatifs", "label": "Potions : Drogues et Sédatifs",
@ -55,7 +60,9 @@
"name": "drogues-and-sedatifs", "name": "drogues-and-sedatifs",
"path": "packs/drogues-and-sedatifs.db", "path": "packs/drogues-and-sedatifs.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "Item",
"private": false
}, },
{ {
"label": "Potions : Pansements et Cataplasmes", "label": "Potions : Pansements et Cataplasmes",
@ -63,7 +70,9 @@
"name": "pansements-and-cataplasmes", "name": "pansements-and-cataplasmes",
"path": "packs/pansements-and-cataplasmes.db", "path": "packs/pansements-and-cataplasmes.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "Item",
"private": false
}, },
{ {
"label": "Potions : Poisons et Toxiques", "label": "Potions : Poisons et Toxiques",
@ -71,7 +80,9 @@
"name": "poisons-and-toxiques", "name": "poisons-and-toxiques",
"path": "packs/poisons-and-toxiques.db", "path": "packs/poisons-and-toxiques.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "Item",
"private": false
}, },
{ {
"label": "Potions : Potions et Décoctions", "label": "Potions : Potions et Décoctions",
@ -79,7 +90,9 @@
"name": "potions-and-decoctions", "name": "potions-and-decoctions",
"path": "packs/potions-and-decoctions.db", "path": "packs/potions-and-decoctions.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "Item",
"private": false
}, },
{ {
"label": "Potions : Antidotes et Remèdes", "label": "Potions : Antidotes et Remèdes",
@ -87,7 +100,9 @@
"name": "antidotes-and-remedes", "name": "antidotes-and-remedes",
"path": "packs/antidotes-and-remedes.db", "path": "packs/antidotes-and-remedes.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "Item",
"private": false
}, },
{ {
"label": "Tables des Traductions", "label": "Tables des Traductions",
@ -95,7 +110,9 @@
"name": "tables-des-traductions", "name": "tables-des-traductions",
"path": "packs/tables-des-traductions.db", "path": "packs/tables-des-traductions.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "JournalEntry",
"private": false
}, },
{ {
"label": "Apothicarium", "label": "Apothicarium",
@ -103,17 +120,28 @@
"name": "apothicarium", "name": "apothicarium",
"path": "packs/apothicarium.db", "path": "packs/apothicarium.db",
"system": "wfrp4e", "system": "wfrp4e",
"module": "WH4-fr-translation" "module": "WH4-fr-translation",
"entity": "JournalEntry",
"private": false
} }
], ],
"languages": [{ "system": [
"lang": "fr", "wfrp4e"
"name": "Français", ],
"path": "fr.json" "dependencies": [
}], {
"name": "wfrp4e",
"url": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr", "type": "system"
},
{
"name": "babele",
"type": "module"
}
],
"socket": false,
"manifest": "https://gitlab.com/LeRatierBretonnien/foundryvtt-wh4-lang-fr-fr/-/raw/v4/module.json", "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" "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
} }

3
patch-styles.css Normal file
View File

@ -0,0 +1,3 @@
:root{
--color-bg-option: #352516;
}