Capitalized initial system localization categories

This commit is contained in:
WBHarry 2025-07-06 17:26:02 +02:00
parent ea6b84fc4b
commit 0fe72669c8
125 changed files with 861 additions and 861 deletions

View file

@ -11,15 +11,15 @@ export default function DhDualityRollEnricher(match, _options) {
export function getDualityMessage(roll) {
const traitLabel =
roll.trait && abilities[roll.trait]
? game.i18n.format('DAGGERHEART.General.check', {
? game.i18n.format('DAGGERHEART.GENERAL.check', {
check: game.i18n.localize(abilities[roll.trait].label)
})
: null;
const label = traitLabel ?? game.i18n.localize('DAGGERHEART.General.duality');
const label = traitLabel ?? game.i18n.localize('DAGGERHEART.GENERAL.duality');
const dataLabel = traitLabel
? game.i18n.localize(abilities[roll.trait].label)
: game.i18n.localize('DAGGERHEART.General.duality');
: game.i18n.localize('DAGGERHEART.GENERAL.duality');
const dualityElement = document.createElement('span');
dualityElement.innerHTML = `

View file

@ -31,7 +31,7 @@ export default function DhTemplateEnricher(match, _options) {
const templateElement = document.createElement('span');
templateElement.innerHTML = `
<button class="measured-template-button" data-type="${type}" data-range="${range}">
${game.i18n.localize(`TEMPLATE.TYPES.${type}`)} - ${game.i18n.localize(`DAGGERHEART.Config.Range.${range}.name`)}
${game.i18n.localize(`TEMPLATE.TYPES.${type}`)} - ${game.i18n.localize(`DAGGERHEART.CONFIG.Range.${range}.name`)}
</button>
`;