Benachrictigung unterdrückt

This commit is contained in:
alzer
2026-08-17 13:00:54 +02:00
parent 689f1292a2
commit bdad4ceccd
3 changed files with 9 additions and 4 deletions
+3 -1
View File
@@ -2,5 +2,7 @@
.idea/ .idea/
compendium/To Do/Alte Übersetzung/Ganz alt/tmp.html compendium/To Do/Alte Übersetzung/Ganz alt/tmp.html
compendium/To Do/GPT/actors_split/ compendium/To Do/GPT/actors_split/
compendium/babele-directory-export/
python/working_dir/ python/working_dir/
python/actors_split/ python/actors_split/
ariana-zu-wolfenthal.actor.json
+2 -2
View File
@@ -225,14 +225,14 @@ const __check_fix_wrong_modules = (chatFlag, patchFinished) => {
} }
}); });
if (!coreFound) { if (!coreFound) {
if (game.user.isGM && chatFlag) { if (false && game.user.isGM && chatFlag) {
ChatMessage.create({ ChatMessage.create({
content: "<div><strong>Das Core-Modul WFRP4E wurde nicht gefunden oder aktiviert. Bitte kaufen und/oder aktivieren Sie dieses Core-Modul, bevor Sie fortfahren.</strong></div>", content: "<div><strong>Das Core-Modul WFRP4E wurde nicht gefunden oder aktiviert. Bitte kaufen und/oder aktivieren Sie dieses Core-Modul, bevor Sie fortfahren.</strong></div>",
whisper: ChatMessage.getWhisperRecipients("GM") whisper: ChatMessage.getWhisperRecipients("GM")
}); });
} }
} else { } else {
if (game.user.isGM && patchFinished) { if (false && game.user.isGM && patchFinished) {
ChatMessage.create({ ChatMessage.create({
content: "<div>Die WFRP4E-Module wurden <strong>erfolgreich</strong> übersetzt. Du kannst loslegen und <strong>möge Shallya dich behüten</strong></div>", content: "<div>Die WFRP4E-Module wurden <strong>erfolgreich</strong> übersetzt. Du kannst loslegen und <strong>möge Shallya dich behüten</strong></div>",
user: game.user.id, user: game.user.id,
+4 -1
View File
@@ -129,7 +129,7 @@ Hooks.once('init', () => {
return statParserFR(statString, type); return statParserFR(statString, type);
} }
console.log("WFRP4E-DE | Loading Babele translation module ..."); console.log("WFRP4E-DE | Modul wird übersetzt ...");
loadScripts(); loadScripts();
}); });
@@ -650,6 +650,9 @@ Hooks.once('babele.init', () => {
/*---------------------------------------------------------------------*/ /*---------------------------------------------------------------------*/
Hooks.once('ready', () => { 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 => { import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => {
console.log("ClassCounter loaded", moduleCounter) console.log("ClassCounter loaded", moduleCounter)
moduleCounter.ClassCounter.registerUsageCount("wh4-de-translation") moduleCounter.ClassCounter.registerUsageCount("wh4-de-translation")