Add babele management

This commit is contained in:
LeRatierBretonnien 2020-03-25 20:37:09 +01:00
parent 909dfbf39c
commit 34a58180f2
3 changed files with 20 additions and 3 deletions

13
babele-register.js Normal file
View File

@ -0,0 +1,13 @@
Hooks.once('init', () => {
if(typeof Babele !== 'undefined') {
Babele.get().register({
module: 'WH4-fr-translation',
lang: 'fr',
dir: 'compendium'
});
}
});

View File

@ -2,9 +2,13 @@
"name": "WH4-fr-translation", "name": "WH4-fr-translation",
"title": "Traduction du module WH4 en Français.", "title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.", "description": "La traduction du module WH4.",
"version": 0.3, "version": 0.4,
"minimumCoreVersion" : "0.5.1", "minimumCoreVersion" : "0.5.1",
"author": "LeRatierBretonnien", "author": "LeRatierBretonnien",
"esmodules": ["babele-register.js"],
"scripts": [],
"styles": [],
"packs": [],
"languages": [{ "languages": [{
"lang": "fr", "lang": "fr",

View File

@ -1,5 +1,5 @@
{ {
"name": "Travel Table", "name": "Table de Voyage",
"die": "1d10", "die": "1d10",
"rows": [{ "rows": [{
"name": "Even Nature Hates You!", "name": "Even Nature Hates You!",