Fix FR translatrion with babele
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user