From dffaa29fd18cca9dc7d7aefcfb6371bd22dfedc8 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 29 Feb 2024 21:22:42 +0100 Subject: [PATCH] Fix termes dans les fenetres de creation --- changelog.md | 4 ++++ lang/fr.json | 2 +- module/rdd-main.js | 13 ++++++------- system.json | 4 ++-- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 1fe8656e..6ee771d3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # 11.2 +## 11.2.16 - La Tri d'Akarlikarlikar +- Tri alphabétique des items dans la fenêtre de création +- Mise à jour comptage de monde + ## 11.2.15 - La Table d'Akarlikarlikar - Tirage automatique de la foce d'une rencontre (via la commande /tmrr) - Ajout de boutons pour ajouter des blessures "complètes" (ie avec perte d'endurance/vie) diff --git a/lang/fr.json b/lang/fr.json index 6cc0f108..161240a6 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -11,7 +11,7 @@ "arme": "Arme", "armure": "Armure", "blessure": "Blessure", - "casetmr": "TMR spéciale", + "casetmr": "Case TMR spéciale", "chant": "Chant", "competence": "Compétence", "competencecreature": "Compétence de créature", diff --git a/module/rdd-main.js b/module/rdd-main.js index 23ddfa19..8f9b5a11 100644 --- a/module/rdd-main.js +++ b/module/rdd-main.js @@ -64,7 +64,6 @@ import { RdDItemArmure } from "./item/armure.js"; import { AutoAdjustDarkness as AutoAdjustDarkness } from "./time/auto-adjust-darkness.js"; import { RdDCreature } from "./actor/creature.js"; import { RdDTMRDialog } from "./rdd-tmr-dialog.js"; -import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js" /** * RdD system @@ -267,16 +266,16 @@ export class SystemReveDeDragon { /* -------------------------------------------- */ /* Foundry VTT Initialization */ /* -------------------------------------------- */ - // CSS patch for v9 - if (game.version) { - let sidebar = document.getElementById("sidebar"); - sidebar.style.width = "min-content"; - } game.system.rdd.calendrier = new RdDCalendrier(); if (Misc.isUniqueConnectedGM()) { new Migrations().migrate(); this.messageDeBienvenue(); - ClassCounter.registerUsageCount(); + import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{ + console.log("ClassCounter loaded", moduleCounter) + moduleCounter.ClassCounter.registerUsageCount() + }).catch(err=> + console.log("No stats available, giving up.") + ) } StatusEffects.onReady(); diff --git a/system.json b/system.json index d63da755..3035c75e 100644 --- a/system.json +++ b/system.json @@ -1,8 +1,8 @@ { "id": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", - "version": "11.2.15", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-11.2.15.zip", + "version": "11.2.16", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-11.2.16.zip", "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json", "changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md", "compatibility": {