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",
"title": "Traduction du module WH4 en Français.",
"description": "La traduction du module WH4.",
"version": 0.3,
"version": 0.4,
"minimumCoreVersion" : "0.5.1",
"author": "LeRatierBretonnien",
"esmodules": ["babele-register.js"],
"scripts": [],
"styles": [],
"packs": [],
"languages": [{
"lang": "fr",

View File

@ -1,5 +1,5 @@
{
"name": "Travel Table",
"name": "Table de Voyage",
"die": "1d10",
"rows": [{
"name": "Even Nature Hates You!",
@ -42,4 +42,4 @@
"description": "The Characters encounter someone who appears to help them but has sinister intentions. That bad-smelling guy who knows a shortcut through the Garden of Morr and insists you go first. The charming old aristocrat who invites you to stay for dinner in her ancestral home. The scruffy woman who knows where to find all the 'best' mushrooms. Have fun!",
"range": [10, 10]
}]
}
}