From bdad4ceccd2da23517527d37591f7bdae62c5497 Mon Sep 17 00:00:00 2001 From: alzer <> Date: Mon, 17 Aug 2026 13:00:54 +0200 Subject: [PATCH] =?UTF-8?q?Benachrictigung=20unterdr=C3=BCckt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- modules/addon-register.js | 4 ++-- modules/babele-register.js | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c703313..08b828f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,7 @@ .idea/ compendium/To Do/Alte Übersetzung/Ganz alt/tmp.html compendium/To Do/GPT/actors_split/ +compendium/babele-directory-export/ python/working_dir/ -python/actors_split/ \ No newline at end of file +python/actors_split/ +ariana-zu-wolfenthal.actor.json diff --git a/modules/addon-register.js b/modules/addon-register.js index d28f262..a9c9b22 100644 --- a/modules/addon-register.js +++ b/modules/addon-register.js @@ -225,14 +225,14 @@ const __check_fix_wrong_modules = (chatFlag, patchFinished) => { } }); if (!coreFound) { - if (game.user.isGM && chatFlag) { + if (false && game.user.isGM && chatFlag) { ChatMessage.create({ content: "
Das Core-Modul WFRP4E wurde nicht gefunden oder aktiviert. Bitte kaufen und/oder aktivieren Sie dieses Core-Modul, bevor Sie fortfahren.
", whisper: ChatMessage.getWhisperRecipients("GM") }); } } else { - if (game.user.isGM && patchFinished) { + if (false && game.user.isGM && patchFinished) { ChatMessage.create({ content: "
Die WFRP4E-Module wurden erfolgreich übersetzt. Du kannst loslegen und möge Shallya dich behüten
", user: game.user.id, diff --git a/modules/babele-register.js b/modules/babele-register.js index 4a9efed..d0a188d 100644 --- a/modules/babele-register.js +++ b/modules/babele-register.js @@ -129,7 +129,7 @@ Hooks.once('init', () => { return statParserFR(statString, type); } - console.log("WFRP4E-DE | Loading Babele translation module ..."); + console.log("WFRP4E-DE | Modul wird übersetzt ..."); loadScripts(); }); @@ -650,6 +650,9 @@ Hooks.once('babele.init', () => { /*---------------------------------------------------------------------*/ Hooks.once('ready', () => { + console.log("WFRP4E-DE | Modul ist übersetzt."); + ui.notifications.info("WFRP4E-DE: Übersetzung ist fertig geladen."); + import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { console.log("ClassCounter loaded", moduleCounter) moduleCounter.ClassCounter.registerUsageCount("wh4-de-translation")