From 8f44c75e9a9a2135c978bddb3bfab75c20dfdd26 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Fri, 29 Apr 2022 15:30:12 +0200 Subject: [PATCH] Update swade fr content --- module/module.json | 14 ++++++-------- module/modules/swade-fr-init.js | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/module/module.json b/module/module.json index c96e5d9..e182664 100644 --- a/module/module.json +++ b/module/module.json @@ -52,13 +52,7 @@ "styles": [ "swade-fr.css" ], - "languages": [ - { - "lang": "fr", - "name": "French (FRANCE)", - "path": "fr.json" - } - ], + "languages": [], "packs": [], "system": [], "dependencies": [ @@ -71,6 +65,10 @@ "name": "swade", "type": "system" }, + { + "name": "swade-fr", + "type": "module" + }, { "name": "dice-so-nice", "type": "module", @@ -79,7 +77,7 @@ ], "socket": false, "manifest": "https://gitlab.com/sasmira/swade-fr-content/-/raw/master/module/module.json", - "download": "https://gitlab.com/sasmira/swade-fr-content/-/jobs/artifacts/v0.20.0.0/raw/swade-fr.zip?job=build", + "download": "https://gitlab.com/sasmira/swade-fr-content/-/jobs/artifacts/v0.20.0.0/raw/swade-fr-content.zip?job=build", "protected": false, "coreTranslation": false, "library": false diff --git a/module/modules/swade-fr-init.js b/module/modules/swade-fr-init.js index da0b2fa..086a397 100644 --- a/module/modules/swade-fr-init.js +++ b/module/modules/swade-fr-init.js @@ -50,7 +50,7 @@ Hooks.once('init', () => { console.log("BABELE LOADED !!!"); Babele.get().register({ - module: 'swade-fr', + module: 'swade-fr-content', lang: 'fr', dir: 'compendiums' }); @@ -162,7 +162,7 @@ function registerUsageCount( registerKey ) { Hooks.once('ready', () => { //FolderTranslate.translateFolders() - registerUsageCount("swade-fr") + registerUsageCount("swade-fr-content") });