mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Organized language
This commit is contained in:
parent
608920c193
commit
a9775ffe24
147 changed files with 2174 additions and 2560 deletions
|
|
@ -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 = `
|
||||
|
|
|
|||
|
|
@ -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.Range.${range}.name`)}
|
||||
${game.i18n.localize(`TEMPLATE.TYPES.${type}`)} - ${game.i18n.localize(`DAGGERHEART.Config.Range.${range}.name`)}
|
||||
</button>
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue