diff --git a/module.json b/module.json
index 0d29fb2..1c60e2f 100644
--- a/module.json
+++ b/module.json
@@ -8,7 +8,7 @@
}
],
"url": "https://gitea.palmenalzer.de/alzer/wfrp-4e-de",
- "version": "8.5.0",
+ "version": "8.5.1",
"esmodules": [
"modules/babele-register.js",
"modules/addon-register.js",
diff --git a/modules/addon-register.js b/modules/addon-register.js
index af4d422..e55a5f7 100644
--- a/modules/addon-register.js
+++ b/modules/addon-register.js
@@ -94,7 +94,7 @@ const _manage_inn_roll = async (content, msg) => {
if (command[0] == "/auberge" && command[1]) {
msg["type"] = 0;
msg["rollMode"] = "gmroll";
- var compendium = game.packs.get('wh4-fr-translation.plats-dauberges')
+ var compendium = game.packs.get('wh4-de-translation.plats-dauberges')
const pack = game.packs.get(compendium);
let rollList = await compendium.getDocuments()
//console.log("AUBERGE", rollList)
@@ -164,7 +164,7 @@ const __create_translation_tables = async (compmod) => {
* */
const __auto_patch_translation_journal_compendium = async (compmod) => {
if (game.user.isGM) {
- let compData = game.packs.get("WH4-fr-translation.tables-des-traductions");
+ let compData = game.packs.get("wh4-de-translation.tables-des-traductions");
compData.locked = false;
let translEntries = await compData.getContent();
for (let entryData of translEntries) {
@@ -194,7 +194,7 @@ const patch_core_tables = (tableList) => {
if (game.version) { // v9 and above
return;
}
- FilePicker.browse("data", "modules/WH4-fr-translation/tables/").then(resp => {
+ FilePicker.browse("data", "modules/wh4-de-translation/tables/").then(resp => {
for (var file of resp.files) {
let filename = file.substring(file.lastIndexOf("/") + 1, file.indexOf(".json"))
if (tableList[filename] == 1) { // Matching table name -> patch !
@@ -211,7 +211,7 @@ const patch_core_tables = (tableList) => {
/************************************************************************************/
const patch_trade_gazeteer = () => {
if (game.wfrp4e.config.trade?.gazetteer) {
- fetch("modules/wh4-fr-translation/trade/gazetteer_dotr.json").then(r => r.json()).then(records => {
+ fetch("modules/wh4-de-translation/trade/gazetteer_dotr.json").then(r => r.json()).then(records => {
game.wfrp4e.config.trade.gazetteer = records;
});
}
@@ -390,8 +390,8 @@ Hooks.on('ready', () => {
if (game.user.isGM) {
game.wfrp4e.warnDialog = new Dialog({
- title: "Chargement de la traduction FR - Merci d'attendre",
- content: `
Merci d'attendre la disparition de ce message pour vaquer dans l'Empire.
Si une bénédiction de Shallya apparait dans le tchat, c'est que tout s'est bien passé.
`, buttons: { diff --git a/modules/babele-register.js b/modules/babele-register.js index 1fa5663..22198e2 100644 --- a/modules/babele-register.js +++ b/modules/babele-register.js @@ -221,7 +221,7 @@ Hooks.once('init', () => { if (game.babele !== 'undefined') { game.babele.register({ - module: 'wh4-fr-translation', + module: 'wh4-de-translation', lang: 'de', dir: 'compendium' }, @@ -684,7 +684,7 @@ Hooks.once('ready', () => { import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount("wh4-fr-translation") + moduleCounter.ClassCounter.registerUsageCount("wh4-de-translation") }).catch(err => console.log("No stats available, giving up.") )