Organized language

This commit is contained in:
WBHarry 2025-07-06 16:02:14 +02:00
parent 608920c193
commit a9775ffe24
147 changed files with 2174 additions and 2560 deletions

View file

@ -71,10 +71,10 @@ export default class DualityRoll extends D20Roll {
get totalLabel() {
const label = this.withHope
? 'DAGGERHEART.General.Hope'
? 'DAGGERHEART.General.hope'
: this.withFear
? 'DAGGERHEART.General.Fear'
: 'DAGGERHEART.General.CriticalSuccess';
? 'DAGGERHEART.General.fear'
: 'DAGGERHEART.General.criticalSuccess';
return game.i18n.localize(label);
}
@ -119,7 +119,7 @@ export default class DualityRoll extends D20Roll {
this.options.roll.modifiers = [];
if (!this.options.roll.trait) return;
this.options.roll.modifiers.push({
label: `DAGGERHEART.Abilities.${this.options.roll.trait}.name`,
label: `DAGGERHEART.Config.Traits.${this.options.roll.trait}.name`,
value: Roll.replaceFormulaData(`@traits.${this.options.roll.trait}.total`, this.data)
});
}