diff --git a/babele-register.js b/babele-register.js new file mode 100644 index 0000000..3eeb1c2 --- /dev/null +++ b/babele-register.js @@ -0,0 +1,13 @@ + +Hooks.once('init', () => { + + if(typeof Babele !== 'undefined') { + + Babele.get().register({ + module: 'WH4-fr-translation', + lang: 'fr', + dir: 'compendium' + }); + + } +}); diff --git a/module.json b/module.json index 4212f90..0816345 100644 --- a/module.json +++ b/module.json @@ -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", diff --git a/tables/travel.json b/tables/travel.json index 779f1b4..721941a 100644 --- a/tables/travel.json +++ b/tables/travel.json @@ -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] }] -} \ No newline at end of file +}