Fix FR translatrion with babele

This commit is contained in:
2026-02-17 23:38:06 +01:00
parent bda88c067e
commit fc386487e8
32 changed files with 76 additions and 100 deletions

View File

@@ -77,7 +77,7 @@ function welcomeMessage() {
fetch(ECRYME_WELCOME_MESSAGE_URL)
.then(response => response.text())
.then(html => {
console.log("Fetched welcome message:", html);
//console.log("Fetched welcome message:", html);
ChatMessage.create({
user: game.user.id,
whisper: [game.user.id],
@@ -133,11 +133,13 @@ Hooks.once("ready", function () {
EcrymeCharacterSummary.ready();
importDefaultScene();
// Load translations
Babele.get().setSystemTranslationsDir("translated")
})
/* -------------------------------------------- */
Hooks.once('babele.init', (babele) => {
babele.setSystemTranslationsDir("translated");
});
/* -------------------------------------------- */
/* Foundry VTT Initialization */