fix: tests complets - onglets, message de tchat, scores bonus/malus

- Onglets item (Anomalie/Aspect/Attribut): correction tabGroups + data-group sur chaque <a> et <section>
- Onglets acteur (PJ/PNJ): tab.cssClass dans les templates pour l'état actif initial
- Message de tchat: alignement des noms de variables _getChatCardData <-> chat-message.hbs
  - actorName, actorImg, success/failure, diceResults, statLabel/skillLabel localisés
  - difficultyLabel et moonPhaseLabel localisés depuis SYSTEM
- Dialogue de jet (roll-dialog.hbs): correction noms variables + min/max modificateur
- lang/fr.json: ajout Roll.title, Roll.roll, clés Moon (minuscules), Difficulty (unknown/ardu)
- character.mjs: passage statLabel à CelestopolRoll.prompt()
- global.less: padding + overflow-y sur .tab pour contenu visible
- item-scores.hbs: passage system=system au partial + suppression garde isEditable
- Templates anomaly/aspect/attribute: passage system=system au partial item-scores
- chat-message.mjs: getHTML() → renderHTML() (dépréciation FVTT v13)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-28 11:09:17 +01:00
parent 64e23271df
commit ea3064d7a2
35 changed files with 150 additions and 92 deletions

View File

@@ -1,4 +1,16 @@
{
"TYPES": {
"Actor": {
"character": "Personnage",
"npc": "PNJ"
},
"Item": {
"anomaly": "Anomalie",
"aspect": "Aspect",
"attribute": "Attribut",
"equipment": "Équipement"
}
},
"CELESTOPOL": {
"Actor": {
"name": "Nom",
@@ -36,14 +48,14 @@
"Anomaly": {
"type": "Type d'anomalie",
"none": "Aucune",
"charnel": "Charnel",
"mecanique": "Mécanique",
"spectral": "Spectral",
"onirique": "Onirique",
"telepath": "Télépathique",
"alchimique": "Alchimique",
"cosmique": "Cosmique",
"temporel": "Temporel"
"entropie": "Entropie",
"communicationaveclesmorts": "Communication avec les morts",
"illusion": "Illusion",
"suggestion": "Suggestion",
"tarotdivinatoire": "Tarot divinatoire",
"telekinesie": "Télékinésie",
"telepathie": "Télépathie",
"voyageastral": "Voyage astral"
},
"Attribut": {
"entregent": "Entregent",
@@ -92,24 +104,28 @@
"criticalSuccess": "Succès critique !",
"criticalFailure": "Échec critique !",
"moonBonus": "Bonus de lune",
"title": "Jet de dés",
"roll": "Lancer !",
"rollTitle": "Lancer les dés"
},
"Moon": {
"nouvelleLune": "Nouvelle Lune",
"croissantDebutant": "Croissant débutant",
"croissantMontant": "Croissant montant",
"gibbeuseMontante": "Gibbeuse montante",
"pleineLune": "Pleine Lune",
"gibbeuseDecroissante": "Gibbeuse décroissante",
"croissantDecroissant": "Croissant décroissant",
"croissantFinissant": "Croissant finissant"
"none": "Aucune phase",
"nouvellelune": "Nouvelle Lune",
"premiercroissant": "Premier Croissant",
"premierquartier": "Premier Quartier",
"lunegibbeuse": "Lune Gibbeuse",
"lunevoutee": "Lune Voûtée",
"derniercroissant": "Dernier Croissant",
"dernierquartier": "Dernier Quartier",
"pleinelune": "Pleine Lune"
},
"Difficulty": {
"unknown": "Aucun seuil",
"facile": "Facile",
"normal": "Normal",
"difficile": "Difficile",
"extreme": "Extrême",
"impossible": "Impossible"
"ardu": "Ardu",
"extreme": "Extrême"
},
"Item": {
"anomalies": "Anomalies",
@@ -134,13 +150,11 @@
"weight": "Poids"
},
"Equipment": {
"type": {
"general": "Général",
"arme": "Arme",
"armure": "Armure",
"vehicule": "Véhicule",
"gadget": "Gadget"
}
"autre": "Autre",
"arme": "Arme",
"protection": "Protection / Armure",
"vehicule": "Véhicule",
"type": "Type d'équipement"
},
"Sheet": {
"editMode": "Mode édition",