mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-13 16:18:11 +02:00
Capitalized initial system localization categories
This commit is contained in:
parent
ea6b84fc4b
commit
0fe72669c8
125 changed files with 861 additions and 861 deletions
|
|
@ -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.Config.Traits.${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)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue