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', () => {
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, 20000, true, true);

View File

@ -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
}

3
patch-styles.css Normal file
View File

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