From 0fe72669c88f9c09fd6f4d47913b849f46bc2a6e Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 6 Jul 2025 17:26:02 +0200 Subject: [PATCH] Capitalized initial system localization categories --- daggerheart.mjs | 6 +- lang/en.json | 18 +- .../characterCreation/characterCreation.mjs | 10 +- .../applications/dialogs/beastformDialog.mjs | 2 +- .../dialogs/damageReductionDialog.mjs | 4 +- module/applications/dialogs/deathMove.mjs | 2 +- module/applications/dialogs/downtime.mjs | 2 +- .../dialogs/ownershipSelection.mjs | 2 +- .../applications/levelup/characterLevelup.mjs | 2 +- .../applications/levelup/companionLevelup.mjs | 6 +- module/applications/levelup/levelup.mjs | 16 +- .../settings/appearanceSettings.mjs | 2 +- .../settings/automationSettings.mjs | 2 +- .../settings/homebrewSettings.mjs | 12 +- .../settings/rangeMeasurementSettings.mjs | 2 +- .../settings/variantRuleSettings.mjs | 2 +- .../sheets-configs/action-config.mjs | 4 +- .../sheets-configs/adversary-settings.mjs | 10 +- .../sheets-configs/companion-settings.mjs | 8 +- .../sheets-configs/environment-settings.mjs | 10 +- .../applications/sheets/actors/adversary.mjs | 8 +- .../applications/sheets/actors/character.mjs | 52 +-- .../applications/sheets/actors/companion.mjs | 6 +- .../sheets/actors/environment.mjs | 8 +- module/applications/sheets/api/base-item.mjs | 2 +- .../sheets/api/heritage-sheet.mjs | 2 +- .../applications/sheets/items/beastform.mjs | 2 +- module/applications/sheets/items/class.mjs | 2 +- .../applications/sheets/items/domainCard.mjs | 2 +- module/applications/sheets/items/feature.mjs | 2 +- module/applications/sheets/items/subclass.mjs | 2 +- module/applications/ui/countdowns.mjs | 12 +- module/applications/ux/filter-menu.mjs | 4 +- module/canvas/placeables/measuredTemplate.mjs | 10 +- module/config/actionConfig.mjs | 20 +- module/config/actorConfig.mjs | 220 ++++++------- module/config/domainConfig.mjs | 42 +-- module/config/effectConfig.mjs | 12 +- module/config/generalConfig.mjs | 158 +++++----- module/config/itemConfig.mjs | 298 +++++++++--------- module/config/settingsConfig.mjs | 4 +- module/data/action/actionDice.mjs | 2 +- module/data/action/baseAction.mjs | 4 +- module/data/actor/adversary.mjs | 2 +- module/data/actor/character.mjs | 4 +- module/data/actor/companion.mjs | 2 +- module/data/actor/environment.mjs | 2 +- module/data/countdowns.mjs | 12 +- module/data/item/beastform.mjs | 2 +- module/data/item/class.mjs | 4 +- module/data/levelTier.mjs | 76 ++--- module/data/settings/Appearance.mjs | 6 +- module/data/settings/Automation.mjs | 2 +- module/data/settings/Homebrew.mjs | 16 +- module/data/settings/RangeMeasurement.mjs | 12 +- module/data/settings/VariantRules.mjs | 8 +- module/dice/dualityRoll.mjs | 8 +- module/documents/activeEffect.mjs | 2 +- module/enrichers/DualityRollEnricher.mjs | 6 +- module/enrichers/TemplateEnricher.mjs | 2 +- module/helpers/utils.mjs | 8 +- module/systemRegistration/settings.mjs | 34 +- templates/actionTypes/beastform.hbs | 6 +- templates/characterCreation/footer.hbs | 2 +- templates/characterCreation/tabs.hbs | 2 +- .../characterCreation/tabs/equipment.hbs | 16 +- templates/characterCreation/tabs/setup.hbs | 20 +- templates/dialogs/beastformDialog.hbs | 2 +- templates/dialogs/damageReduction.hbs | 10 +- templates/dialogs/deathMove.hbs | 2 +- templates/dialogs/dice-roll/rollSelection.hbs | 4 +- templates/dialogs/downtime.hbs | 2 +- templates/dialogs/ownershipSelection.hbs | 2 +- templates/levelup/tabs/selections.hbs | 16 +- templates/levelup/tabs/summary.hbs | 40 +-- templates/levelup/tabs/tab-navigation.hbs | 4 +- templates/settings/appearance-settings.hbs | 46 +-- templates/settings/automation-settings.hbs | 6 +- templates/settings/homebrew-settings.hbs | 16 +- templates/settings/variant-rules.hbs | 2 +- .../adversary-settings/attack.hbs | 4 +- .../adversary-settings/details.hbs | 14 +- .../companion-settings/attack.hbs | 4 +- .../companion-settings/details.hbs | 4 +- .../environment-settings/details.hbs | 6 +- templates/sheets/actors/adversary/effects.hbs | 4 +- templates/sheets/actors/adversary/header.hbs | 6 +- templates/sheets/actors/adversary/sidebar.hbs | 6 +- .../sheets/actors/character/biography.hbs | 12 +- templates/sheets/actors/character/effects.hbs | 4 +- templates/sheets/actors/character/header.hbs | 16 +- templates/sheets/actors/character/loadout.hbs | 8 +- templates/sheets/actors/companion/details.hbs | 2 +- templates/sheets/actors/companion/effects.hbs | 4 +- templates/sheets/actors/companion/header.hbs | 2 +- .../sheets/actors/companion/tempMain.hbs | 8 +- .../sheets/actors/environment/header.hbs | 6 +- .../sheets/global/partials/inventory-item.hbs | 40 +-- templates/sheets/global/tabs/tab-actions.hbs | 2 +- .../sheets/global/tabs/tab-description.hbs | 2 +- templates/sheets/global/tabs/tab-effects.hbs | 2 +- .../global/tabs/tab-feature-section.hbs | 2 +- templates/sheets/global/tabs/tab-features.hbs | 2 +- templates/sheets/items/armor/header.hbs | 4 +- templates/sheets/items/armor/settings.hbs | 10 +- templates/sheets/items/beastform/settings.hbs | 8 +- templates/sheets/items/class/features.hbs | 4 +- templates/sheets/items/class/header.hbs | 2 +- templates/sheets/items/class/settings.hbs | 30 +- .../sheets/items/consumable/settings.hbs | 4 +- templates/sheets/items/domainCard/header.hbs | 8 +- .../sheets/items/domainCard/settings.hbs | 10 +- .../sheets/items/miscellaneous/settings.hbs | 2 +- templates/sheets/items/subclass/features.hbs | 6 +- templates/sheets/items/subclass/header.hbs | 2 +- templates/sheets/items/subclass/settings.hbs | 2 +- templates/sheets/items/weapon/header.hbs | 12 +- templates/sheets/items/weapon/settings.hbs | 18 +- templates/ui/chat/adversary-attack-roll.hbs | 2 +- templates/ui/chat/adversary-roll.hbs | 2 +- templates/ui/chat/duality-roll.hbs | 16 +- templates/ui/combatTracker/combatTracker.hbs | 4 +- .../ui/combatTracker/combatTrackerHeader.hbs | 4 +- .../ui/combatTracker/combatTrackerSection.hbs | 4 +- templates/ui/countdowns.hbs | 6 +- 125 files changed, 861 insertions(+), 861 deletions(-) diff --git a/daggerheart.mjs b/daggerheart.mjs index f7708628..c881801f 100644 --- a/daggerheart.mjs +++ b/daggerheart.mjs @@ -212,7 +212,7 @@ Hooks.on('chatMessage', (_, message) => { ? game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', { ability: game.i18n.localize(SYSTEM.ACTOR.abilities[traitValue].label) }) - : game.i18n.localize('DAGGERHEART.General.duality'); + : game.i18n.localize('DAGGERHEART.GENERAL.duality'); const config = { title: title, @@ -247,8 +247,8 @@ Hooks.on('renderJournalDirectory', async (tab, html, _, options) => { if (options.parts && !options.parts.includes('footer')) return; const buttons = tab.element.querySelector('.directory-footer.action-buttons'); - const title = game.i18n.format('DAGGERHEART.Applications.Countdown.title', { - type: game.i18n.localize('DAGGERHEART.Applications.Countdown.types.narrative') + const title = game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.title', { + type: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.types.narrative') }); buttons.insertAdjacentHTML( 'afterbegin', diff --git a/lang/en.json b/lang/en.json index d568c813..a6fa661c 100755 --- a/lang/en.json +++ b/lang/en.json @@ -21,7 +21,7 @@ } }, "DAGGERHEART": { - "Actions": { + "ACTIONS": { "Config": { "beastform": { "exact": "Beastform Max Tier", @@ -34,7 +34,7 @@ "label": "Formula based on Hope/Fear result." } }, - "Types": { + "TYPES": { "attack": { "name": "Attack" }, @@ -58,7 +58,7 @@ } } }, - "Actors": { + "ACTORS": { "Adversary": { "FIELDS": { "attack": { @@ -156,7 +156,7 @@ "newAdversary": "New Adversary" } }, - "Applications": { + "APPLICATIONS": { "CharacterCreation": { "choice": "Choice", "finishCreation": "Finish Character Setup", @@ -376,7 +376,7 @@ "default": "Default Ownership" } }, - "Config": { + "CONFIG": { "ActionType": { "passive": "Passive", "action": "Action", @@ -909,7 +909,7 @@ } } }, - "Effects": { + "EFFECTS": { "ApplyLocations": { "attackRoll": { "name": "Attack Roll" @@ -937,7 +937,7 @@ } } }, - "General": { + "GENERAL": { "Action": { "single": "Action", "plural": "Actions" @@ -1103,7 +1103,7 @@ "unarmored": "Unarmored", "use": "Use" }, - "Items": { + "ITEMS": { "Armor": { "baseScore": "Base Score", "baseThresholds": { @@ -1161,7 +1161,7 @@ "secondaryWeapon": "Secondary Weapon" } }, - "Settings": { + "SETTINGS": { "Appearance": { "FIELDS": { "displayFear": { "label": "Fear Display" } diff --git a/module/applications/characterCreation/characterCreation.mjs b/module/applications/characterCreation/characterCreation.mjs index 9b76130e..71849f56 100644 --- a/module/applications/characterCreation/characterCreation.mjs +++ b/module/applications/characterCreation/characterCreation.mjs @@ -41,7 +41,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl } get title() { - return game.i18n.format('DAGGERHEART.Applications.CharacterCreation.title', { actor: this.character.name }); + return game.i18n.format('DAGGERHEART.APPLICATIONS.CharacterCreation.title', { actor: this.character.name }); } static DEFAULT_OPTIONS = { @@ -87,14 +87,14 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl cssClass: '', group: 'primary', id: 'setup', - label: 'DAGGERHEART.General.Tabs.setup' + label: 'DAGGERHEART.GENERAL.Tabs.setup' }, equipment: { active: false, cssClass: '', group: 'primary', id: 'equipment', - label: 'DAGGERHEART.General.Tabs.equipment', + label: 'DAGGERHEART.GENERAL.Tabs.equipment', optional: true } // story: { @@ -102,7 +102,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl // cssClass: '', // group: 'primary', // id: 'story', - // label: 'DAGGERHEART.General.Tabs.story', + // label: 'DAGGERHEART.GENERAL.Tabs.story', // optional: true // } }; @@ -188,7 +188,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl context.suggestedTraits = this.setup.class.system ? Object.keys(this.setup.class.system.characterGuide.suggestedTraits).map(traitKey => { const trait = this.setup.class.system.characterGuide.suggestedTraits[traitKey]; - return `${game.i18n.localize(`DAGGERHEART.Config.Traits.${traitKey}.short`)} ${trait > 0 ? `+${trait}` : trait}`; + return `${game.i18n.localize(`DAGGERHEART.CONFIG.Traits.${traitKey}.short`)} ${trait > 0 ? `+${trait}` : trait}`; }) : []; context.traits = { diff --git a/module/applications/dialogs/beastformDialog.mjs b/module/applications/dialogs/beastformDialog.mjs index 580dc63b..367311b0 100644 --- a/module/applications/dialogs/beastformDialog.mjs +++ b/module/applications/dialogs/beastformDialog.mjs @@ -27,7 +27,7 @@ export default class BeastformDialog extends HandlebarsApplicationMixin(Applicat }; get title() { - return game.i18n.localize('DAGGERHEART.Items.Beastform.dialogTitle'); + return game.i18n.localize('DAGGERHEART.ITEMS.Beastform.dialogTitle'); } /** @override */ diff --git a/module/applications/dialogs/damageReductionDialog.mjs b/module/applications/dialogs/damageReductionDialog.mjs index 8221884f..8a67ef98 100644 --- a/module/applications/dialogs/damageReductionDialog.mjs +++ b/module/applications/dialogs/damageReductionDialog.mjs @@ -45,7 +45,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap } get title() { - return game.i18n.localize('DAGGERHEART.Applications.DamageReduction.title'); + return game.i18n.localize('DAGGERHEART.APPLICATIONS.DamageReduction.title'); } static DEFAULT_OPTIONS = { @@ -79,7 +79,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap /** @inheritDoc */ get title() { - return game.i18n.localize('DAGGERHEART.Applications.DamageReduction.title'); + return game.i18n.localize('DAGGERHEART.APPLICATIONS.DamageReduction.title'); } async _prepareContext(_options) { diff --git a/module/applications/dialogs/deathMove.mjs b/module/applications/dialogs/deathMove.mjs index f2dd44d4..735c3c18 100644 --- a/module/applications/dialogs/deathMove.mjs +++ b/module/applications/dialogs/deathMove.mjs @@ -9,7 +9,7 @@ export default class DhpDeathMove extends HandlebarsApplicationMixin(Application } get title() { - return game.i18n.format('DAGGERHEART.Applications.DeathMove.title', { actor: this.actor.name }); + return game.i18n.format('DAGGERHEART.APPLICATIONS.DeathMove.title', { actor: this.actor.name }); } static DEFAULT_OPTIONS = { diff --git a/module/applications/dialogs/downtime.mjs b/module/applications/dialogs/downtime.mjs index 42dcf6ca..3966f7e4 100644 --- a/module/applications/dialogs/downtime.mjs +++ b/module/applications/dialogs/downtime.mjs @@ -88,7 +88,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV content: await foundry.applications.handlebars.renderTemplate( 'systems/daggerheart/templates/ui/chat/downtime.hbs', { - title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.Applications.Downtime.${this.shortRest ? 'shortRest' : 'longRest'}.title`)}`, + title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${this.shortRest ? 'shortRest' : 'longRest'}.title`)}`, moves: moves } ) diff --git a/module/applications/dialogs/ownershipSelection.mjs b/module/applications/dialogs/ownershipSelection.mjs index af2fba98..e4a7e628 100644 --- a/module/applications/dialogs/ownershipSelection.mjs +++ b/module/applications/dialogs/ownershipSelection.mjs @@ -27,7 +27,7 @@ export default class OwnershipSelection extends HandlebarsApplicationMixin(Appli }; get title() { - return game.i18n.format('DAGGERHEART.Applications.OwnershipSelection.title', { name: this.name }); + return game.i18n.format('DAGGERHEART.APPLICATIONS.OwnershipSelection.title', { name: this.name }); } async _prepareContext(_options) { diff --git a/module/applications/levelup/characterLevelup.mjs b/module/applications/levelup/characterLevelup.mjs index c33f1b9b..6dc6f4c3 100644 --- a/module/applications/levelup/characterLevelup.mjs +++ b/module/applications/levelup/characterLevelup.mjs @@ -112,7 +112,7 @@ export default class DhCharacterLevelUp extends LevelUpBase { ? Math.min(domainCard.secondaryData.limit, levelBase) : levelBase; - return game.i18n.format('DAGGERHEART.Applications.Levelup.selections.emptyDomainCardHint', { + return game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.selections.emptyDomainCardHint', { domain: game.i18n.localize(domains[domain.domain].label), level: levelMax }); diff --git a/module/applications/levelup/companionLevelup.mjs b/module/applications/levelup/companionLevelup.mjs index 435371c5..de411572 100644 --- a/module/applications/levelup/companionLevelup.mjs +++ b/module/applications/levelup/companionLevelup.mjs @@ -63,8 +63,8 @@ export default class DhCompanionLevelUp extends BaseLevelUp { context.vicious = advancementChoices.vicious ? Object.values(advancementChoices.vicious) : null; context.viciousChoices = { - damage: game.i18n.localize('DAGGERHEART.Applications.Levelup.selections.viciousDamage'), - range: game.i18n.localize('DAGGERHEART.Applications.Levelup.selections.viciousRange') + damage: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.selections.viciousDamage'), + range: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.selections.viciousRange') }; break; @@ -142,7 +142,7 @@ export default class DhCompanionLevelUp extends BaseLevelUp { : null, range: advancement.vicious?.range ? { - old: game.i18n.localize(`DAGGERHEART.Config.Range.${actorRange}.name`), + old: game.i18n.localize(`DAGGERHEART.CONFIG.Range.${actorRange}.name`), new: game.i18n.localize(advancement.vicious.range.label) } : null diff --git a/module/applications/levelup/levelup.mjs b/module/applications/levelup/levelup.mjs index e15b81c9..eb120ac5 100644 --- a/module/applications/levelup/levelup.mjs +++ b/module/applications/levelup/levelup.mjs @@ -15,7 +15,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) } get title() { - return game.i18n.format('DAGGERHEART.Applications.Levelup.title', { actor: this.actor.name }); + return game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.title', { actor: this.actor.name }); } static DEFAULT_OPTIONS = { @@ -56,7 +56,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) group: 'primary', id: 'advancements', icon: null, - label: 'DAGGERHEART.General.Tabs.advancement' + label: 'DAGGERHEART.GENERAL.Tabs.advancement' }, selections: { active: false, @@ -64,7 +64,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) group: 'primary', id: 'selections', icon: null, - label: 'DAGGERHEART.General.Tabs.selections' + label: 'DAGGERHEART.GENERAL.Tabs.selections' }, summary: { active: false, @@ -72,7 +72,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) group: 'primary', id: 'summary', icon: null, - label: 'DAGGERHEART.General.Tabs.summary' + label: 'DAGGERHEART.GENERAL.Tabs.summary' } }; @@ -110,14 +110,14 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) previous: { disabled: !previous, label: previous - ? game.i18n.format('DAGGERHEART.Applications.Levelup.navigateLevel', { level: previous }) + ? game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.navigateLevel', { level: previous }) : '', fromSummary: this.tabGroups.primary === 'summary' }, next: { disabled: !this.levelup.currentLevelFinished, label: next - ? game.i18n.format('DAGGERHEART.Applications.Levelup.navigateLevel', { level: next }) + ? game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.navigateLevel', { level: next }) : '', toSummary: !next, show: this.tabGroups.primary !== 'summary' @@ -559,9 +559,9 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2) if (!button.dataset.forward) { const confirmed = await foundry.applications.api.DialogV2.confirm({ window: { - title: game.i18n.localize('DAGGERHEART.Applications.Levelup.delevel.title') + title: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.delevel.title') }, - content: game.i18n.format('DAGGERHEART.Applications.Levelup.delevel.content') + content: game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.delevel.content') }); if (!confirmed) return; diff --git a/module/applications/settings/appearanceSettings.mjs b/module/applications/settings/appearanceSettings.mjs index 8f33109a..006bab78 100644 --- a/module/applications/settings/appearanceSettings.mjs +++ b/module/applications/settings/appearanceSettings.mjs @@ -12,7 +12,7 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App } get title() { - return game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.name'); + return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.name'); } static DEFAULT_OPTIONS = { diff --git a/module/applications/settings/automationSettings.mjs b/module/applications/settings/automationSettings.mjs index 23ad5a33..75105b16 100644 --- a/module/applications/settings/automationSettings.mjs +++ b/module/applications/settings/automationSettings.mjs @@ -12,7 +12,7 @@ export default class DhAutomationSettings extends HandlebarsApplicationMixin(App } get title() { - return game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'); + return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name'); } static DEFAULT_OPTIONS = { diff --git a/module/applications/settings/homebrewSettings.mjs b/module/applications/settings/homebrewSettings.mjs index 19600029..08b4cf4e 100644 --- a/module/applications/settings/homebrewSettings.mjs +++ b/module/applications/settings/homebrewSettings.mjs @@ -13,7 +13,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli } get title() { - return game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.name'); + return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.name'); } static DEFAULT_OPTIONS = { @@ -59,7 +59,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli static async addItem(_, target) { await this.settings.updateSource({ [`restMoves.${target.dataset.type}.moves.${foundry.utils.randomID()}`]: { - name: game.i18n.localize('DAGGERHEART.Settings.Homebrew.newDowntimeMove'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.newDowntimeMove'), img: 'icons/magic/life/cross-worn-green.webp', description: '', actions: [] @@ -74,7 +74,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli new DhSettingsActionView( resolve, reject, - game.i18n.localize('DAGGERHEART.Settings.Homebrew.downtimeMoves'), + game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.downtimeMoves'), move.name, move.img, move.description, @@ -104,13 +104,13 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli static async resetMoves(_, target) { const confirmed = await foundry.applications.api.DialogV2.confirm({ window: { - title: game.i18n.format('DAGGERHEART.Settings.Homebrew.resetMovesTitle', { + title: game.i18n.format('DAGGERHEART.SETTINGS.Homebrew.resetMovesTitle', { type: game.i18n.localize( - `DAGGERHEART.Applications.Downtime.${target.dataset.type === 'shortRest' ? 'shortRest' : 'longRest'}.title` + `DAGGERHEART.APPLICATIONS.Downtime.${target.dataset.type === 'shortRest' ? 'shortRest' : 'longRest'}.title` ) }) }, - content: game.i18n.localize('DAGGERHEART.Settings.Homebrew.resetMovesText') + content: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resetMovesText') }); if (!confirmed) return; diff --git a/module/applications/settings/rangeMeasurementSettings.mjs b/module/applications/settings/rangeMeasurementSettings.mjs index 86db2f32..e9fd332e 100644 --- a/module/applications/settings/rangeMeasurementSettings.mjs +++ b/module/applications/settings/rangeMeasurementSettings.mjs @@ -12,7 +12,7 @@ export default class DhRangeMeasurementSettings extends HandlebarsApplicationMix } get title() { - return game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'); + return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name'); } static DEFAULT_OPTIONS = { diff --git a/module/applications/settings/variantRuleSettings.mjs b/module/applications/settings/variantRuleSettings.mjs index e1db7d0e..059e1726 100644 --- a/module/applications/settings/variantRuleSettings.mjs +++ b/module/applications/settings/variantRuleSettings.mjs @@ -12,7 +12,7 @@ export default class DHVariantRuleSettings extends HandlebarsApplicationMixin(Ap } get title() { - return game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.name'); + return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.name'); } static DEFAULT_OPTIONS = { diff --git a/module/applications/sheets-configs/action-config.mjs b/module/applications/sheets-configs/action-config.mjs index e4bda6a6..c5c70557 100644 --- a/module/applications/sheets-configs/action-config.mjs +++ b/module/applications/sheets-configs/action-config.mjs @@ -10,7 +10,7 @@ export default class DHActionConfig extends DaggerheartSheet(ApplicationV2) { } get title() { - return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}: ${this.action.name}`; + return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}: ${this.action.name}`; } static DEFAULT_OPTIONS = { @@ -117,7 +117,7 @@ export default class DHActionConfig extends DaggerheartSheet(ApplicationV2) { const settingsTiers = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LevelTiers).tiers; context.tierOptions = [ - { key: 1, label: game.i18n.localize('DAGGERHEART.General.Tiers.tier1') }, + { key: 1, label: game.i18n.localize('DAGGERHEART.GENERAL.Tiers.tier1') }, ...Object.values(settingsTiers).map(x => ({ key: x.tier, label: x.name })) ]; diff --git a/module/applications/sheets-configs/adversary-settings.mjs b/module/applications/sheets-configs/adversary-settings.mjs index 9a4492d2..4b849907 100644 --- a/module/applications/sheets-configs/adversary-settings.mjs +++ b/module/applications/sheets-configs/adversary-settings.mjs @@ -9,7 +9,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl } get title() { - return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; + return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`; } static DEFAULT_OPTIONS = { @@ -69,7 +69,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'details', icon: null, - label: 'DAGGERHEART.General.Tabs.details' + label: 'DAGGERHEART.GENERAL.Tabs.details' }, attack: { active: false, @@ -77,7 +77,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'attack', icon: null, - label: 'DAGGERHEART.General.Tabs.attack' + label: 'DAGGERHEART.GENERAL.Tabs.attack' }, experiences: { active: false, @@ -85,7 +85,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'experiences', icon: null, - label: 'DAGGERHEART.General.Tabs.experiences' + label: 'DAGGERHEART.GENERAL.Tabs.experiences' }, features: { active: false, @@ -93,7 +93,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'features', icon: null, - label: 'DAGGERHEART.General.Tabs.features' + label: 'DAGGERHEART.GENERAL.Tabs.features' } }; diff --git a/module/applications/sheets-configs/companion-settings.mjs b/module/applications/sheets-configs/companion-settings.mjs index 590a1360..e25b401d 100644 --- a/module/applications/sheets-configs/companion-settings.mjs +++ b/module/applications/sheets-configs/companion-settings.mjs @@ -11,7 +11,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl } get title() { - return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; + return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`; } static DEFAULT_OPTIONS = { @@ -59,7 +59,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'details', icon: null, - label: 'DAGGERHEART.General.Tabs.details' + label: 'DAGGERHEART.GENERAL.Tabs.details' }, experiences: { active: false, @@ -67,7 +67,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'experiences', icon: null, - label: 'DAGGERHEART.General.Tabs.experiences' + label: 'DAGGERHEART.GENERAL.Tabs.experiences' }, attack: { active: false, @@ -75,7 +75,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl group: 'primary', id: 'attack', icon: null, - label: 'DAGGERHEART.General.Tabs.attack' + label: 'DAGGERHEART.GENERAL.Tabs.attack' } }; diff --git a/module/applications/sheets-configs/environment-settings.mjs b/module/applications/sheets-configs/environment-settings.mjs index ade1b4b3..69ae7f87 100644 --- a/module/applications/sheets-configs/environment-settings.mjs +++ b/module/applications/sheets-configs/environment-settings.mjs @@ -9,7 +9,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap } get title() { - return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; + return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`; } static DEFAULT_OPTIONS = { @@ -68,7 +68,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap group: 'primary', id: 'details', icon: null, - label: 'DAGGERHEART.General.Tabs.details' + label: 'DAGGERHEART.GENERAL.Tabs.details' }, features: { active: false, @@ -76,7 +76,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap group: 'primary', id: 'features', icon: null, - label: 'DAGGERHEART.General.Tabs.features' + label: 'DAGGERHEART.GENERAL.Tabs.features' }, adversaries: { active: false, @@ -84,7 +84,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap group: 'primary', id: 'adversaries', icon: null, - label: 'DAGGERHEART.General.Tabs.adversaries' + label: 'DAGGERHEART.GENERAL.Tabs.adversaries' } }; @@ -146,7 +146,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap static async #addCategory() { await this.actor.update({ [`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize( - 'DAGGERHEART.Actors.Environment.newAdversary' + 'DAGGERHEART.ACTORS.Environment.newAdversary' ) }); this.render(); diff --git a/module/applications/sheets/actors/adversary.mjs b/module/applications/sheets/actors/adversary.mjs index 93251f11..0766b9a1 100644 --- a/module/applications/sheets/actors/adversary.mjs +++ b/module/applications/sheets/actors/adversary.mjs @@ -41,7 +41,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'features', icon: null, - label: 'DAGGERHEART.General.Tabs.features' + label: 'DAGGERHEART.GENERAL.Tabs.features' }, notes: { active: false, @@ -49,7 +49,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'notes', icon: null, - label: 'DAGGERHEART.General.Tabs.notes' + label: 'DAGGERHEART.GENERAL.Tabs.notes' }, effects: { active: false, @@ -57,7 +57,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'effects', icon: null, - label: 'DAGGERHEART.General.Tabs.effects' + label: 'DAGGERHEART.GENERAL.Tabs.effects' } }; @@ -118,7 +118,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) { const experience = this.document.system.experiences[button.dataset.uuid]; const cls = getDocumentClass('ChatMessage'); const systemData = { - name: game.i18n.localize('DAGGERHEART.General.Experience.single'), + name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'), description: `${experience.name} ${ experience.modifier < 0 ? experience.modifier : `+${experience.modifier}` }` diff --git a/module/applications/sheets/actors/character.mjs b/module/applications/sheets/actors/character.mjs index 8887a1aa..95bbbec1 100644 --- a/module/applications/sheets/actors/character.mjs +++ b/module/applications/sheets/actors/character.mjs @@ -99,7 +99,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'features', icon: null, - label: 'DAGGERHEART.General.Tabs.features' + label: 'DAGGERHEART.GENERAL.Tabs.features' }, loadout: { active: false, @@ -107,7 +107,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'loadout', icon: null, - label: 'DAGGERHEART.General.Tabs.loadout' + label: 'DAGGERHEART.GENERAL.Tabs.loadout' }, inventory: { active: false, @@ -115,7 +115,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'inventory', icon: null, - label: 'DAGGERHEART.General.Tabs.inventory' + label: 'DAGGERHEART.GENERAL.Tabs.inventory' }, biography: { active: false, @@ -123,7 +123,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'biography', icon: null, - label: 'DAGGERHEART.General.Tabs.biography' + label: 'DAGGERHEART.GENERAL.Tabs.biography' }, effects: { active: false, @@ -131,7 +131,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'effects', icon: null, - label: 'DAGGERHEART.General.Tabs.effects' + label: 'DAGGERHEART.GENERAL.Tabs.effects' } }; @@ -150,7 +150,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'features', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.features') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.features') }, loadout: { active: false, @@ -158,7 +158,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'loadout', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.loadout') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.loadout') }, inventory: { active: false, @@ -166,7 +166,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'inventory', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.inventory') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.inventory') }, story: { active: false, @@ -174,7 +174,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'story', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.story') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.story') } }; const secondaryTabs = { @@ -184,7 +184,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'secondary', id: 'foundation', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.foundation') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.foundation') }, loadout: { active: false, @@ -192,7 +192,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'secondary', id: 'loadout', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.loadout') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.loadout') }, vault: { active: false, @@ -200,7 +200,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { group: 'secondary', id: 'vault', icon: null, - label: game.i18n.localize('DAGGERHEART.General.Tabs.vault') + label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.vault') } }; @@ -230,7 +230,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { _createContextMenues() { const allOptions = { useItem: { - name: 'DAGGERHEART.General.use', + name: 'DAGGERHEART.GENERAL.use', icon: '', condition: el => { const item = this.getItem(el); @@ -239,7 +239,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { callback: (button, event) => this.constructor.useItem.bind(this)(event, button) }, equip: { - name: 'DAGGERHEART.Actors.Character.contextMenu.equip', + name: 'DAGGERHEART.ACTORS.Character.contextMenu.equip', icon: '', condition: el => { const item = this.getItem(el); @@ -248,7 +248,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { callback: this.constructor.toggleEquipItem.bind(this) }, unequip: { - name: 'DAGGERHEART.Actors.Character.contextMenu.unequip', + name: 'DAGGERHEART.ACTORS.Character.contextMenu.unequip', icon: '', condition: el => { const item = this.getItem(el); @@ -257,7 +257,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { callback: this.constructor.toggleEquipItem.bind(this) }, sendToLoadout: { - name: 'DAGGERHEART.Actors.Character.contextMenu.toLoadout', + name: 'DAGGERHEART.ACTORS.Character.contextMenu.toLoadout', icon: '', condition: el => { const item = this.getItem(el); @@ -266,7 +266,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { callback: this.constructor.toggleVault.bind(this) }, sendToVault: { - name: 'DAGGERHEART.Actors.Character.contextMenu.toVault', + name: 'DAGGERHEART.ACTORS.Character.contextMenu.toVault', icon: '', condition: el => { const item = this.getItem(el); @@ -275,7 +275,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { callback: this.constructor.toggleVault.bind(this) }, sendToChat: { - name: 'DAGGERHEART.Actors.Character.contextMenu.sendToChat', + name: 'DAGGERHEART.ACTORS.Character.contextMenu.sendToChat', icon: '', callback: this.constructor.toChat.bind(this) }, @@ -349,11 +349,11 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { context.inventory = { currency: { - title: game.i18n.localize('DAGGERHEART.Config.Gold.title'), - coins: game.i18n.localize('DAGGERHEART.Config.Gold.coins'), - handfulls: game.i18n.localize('DAGGERHEART.Config.Gold.handfulls'), - bags: game.i18n.localize('DAGGERHEART.Config.Gold.bags'), - chests: game.i18n.localize('DAGGERHEART.Config.Gold.chests') + title: game.i18n.localize('DAGGERHEART.CONFIG.Gold.title'), + coins: game.i18n.localize('DAGGERHEART.CONFIG.Gold.coins'), + handfulls: game.i18n.localize('DAGGERHEART.CONFIG.Gold.handfulls'), + bags: game.i18n.localize('DAGGERHEART.CONFIG.Gold.bags'), + chests: game.i18n.localize('DAGGERHEART.CONFIG.Gold.chests') } }; @@ -493,7 +493,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { const abilityLabel = game.i18n.localize(abilities[button.dataset.attribute].label); const config = { event: event, - title: `${game.i18n.localize('DAGGERHEART.General.dualityRoll')}: ${this.actor.name}`, + title: `${game.i18n.localize('DAGGERHEART.GENERAL.dualityRoll')}: ${this.actor.name}`, headerTitle: game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', { ability: abilityLabel }), @@ -838,7 +838,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { const experience = this.document.system.experiences[button.dataset.uuid]; const cls = getDocumentClass('ChatMessage'); const systemData = { - name: game.i18n.localize('DAGGERHEART.General.Experience.single'), + name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'), description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}` }; const msg = new cls({ @@ -866,7 +866,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { : this.document.system.class.subclass; const ability = item.system[`${button.dataset.key}Feature`]; const title = `${item.name} - ${game.i18n.localize( - `DAGGERHEART.Items.DomainCard.${capitalize(button.dataset.key)}Title` + `DAGGERHEART.ITEMS.DomainCard.${capitalize(button.dataset.key)}Title` )}`; const cls = getDocumentClass('ChatMessage'); diff --git a/module/applications/sheets/actors/companion.mjs b/module/applications/sheets/actors/companion.mjs index 27da27f0..e8a3ddaa 100644 --- a/module/applications/sheets/actors/companion.mjs +++ b/module/applications/sheets/actors/companion.mjs @@ -33,7 +33,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'details', icon: null, - label: 'DAGGERHEART.General.Tabs.details' + label: 'DAGGERHEART.GENERAL.Tabs.details' }, effects: { active: false, @@ -41,7 +41,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'effects', icon: null, - label: 'DAGGERHEART.General.Tabs.effects' + label: 'DAGGERHEART.GENERAL.Tabs.effects' } }; @@ -82,7 +82,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) { const experience = this.document.system.experiences[button.dataset.uuid]; const cls = getDocumentClass('ChatMessage'); const systemData = { - name: game.i18n.localize('DAGGERHEART.General.Experience.single'), + name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'), description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}` }; const msg = new cls({ diff --git a/module/applications/sheets/actors/environment.mjs b/module/applications/sheets/actors/environment.mjs index cbbf7b67..9f3e8bb3 100644 --- a/module/applications/sheets/actors/environment.mjs +++ b/module/applications/sheets/actors/environment.mjs @@ -40,7 +40,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'features', icon: null, - label: 'DAGGERHEART.General.Tabs.features' + label: 'DAGGERHEART.GENERAL.Tabs.features' }, potentialAdversaries: { active: false, @@ -48,7 +48,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'potentialAdversaries', icon: null, - label: 'DAGGERHEART.General.Tabs.potentialAdversaries' + label: 'DAGGERHEART.GENERAL.Tabs.potentialAdversaries' }, notes: { active: false, @@ -56,7 +56,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) { group: 'primary', id: 'notes', icon: null, - label: 'DAGGERHEART.General.Tabs.notes' + label: 'DAGGERHEART.GENERAL.Tabs.notes' } }; @@ -91,7 +91,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) { static async addAdversary() { await this.document.update({ [`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize( - 'DAGGERHEART.Actors.Environment.newAdversary' + 'DAGGERHEART.ACTORS.Environment.newAdversary' ) }); this.render(); diff --git a/module/applications/sheets/api/base-item.mjs b/module/applications/sheets/api/base-item.mjs index 5cdd4324..5e7e8d59 100644 --- a/module/applications/sheets/api/base-item.mjs +++ b/module/applications/sheets/api/base-item.mjs @@ -37,7 +37,7 @@ export default class DHBaseItemSheet extends DHApplicationMixin(ItemSheetV2) { primary: { tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/sheets/api/heritage-sheet.mjs b/module/applications/sheets/api/heritage-sheet.mjs index 427079c6..349da194 100644 --- a/module/applications/sheets/api/heritage-sheet.mjs +++ b/module/applications/sheets/api/heritage-sheet.mjs @@ -25,7 +25,7 @@ export default class DHHeritageSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'description' }, { id: 'features' }, { id: 'effects' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; } diff --git a/module/applications/sheets/items/beastform.mjs b/module/applications/sheets/items/beastform.mjs index 7fe14f40..e3b72d01 100644 --- a/module/applications/sheets/items/beastform.mjs +++ b/module/applications/sheets/items/beastform.mjs @@ -25,7 +25,7 @@ export default class BeastformSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'settings' }, { id: 'features' }, { id: 'effects' }], initial: 'settings', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/sheets/items/class.mjs b/module/applications/sheets/items/class.mjs index 4fd5cbd0..c7b84340 100644 --- a/module/applications/sheets/items/class.mjs +++ b/module/applications/sheets/items/class.mjs @@ -54,7 +54,7 @@ export default class ClassSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/sheets/items/domainCard.mjs b/module/applications/sheets/items/domainCard.mjs index d6d20214..7820fa0e 100644 --- a/module/applications/sheets/items/domainCard.mjs +++ b/module/applications/sheets/items/domainCard.mjs @@ -12,7 +12,7 @@ export default class DomainCardSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'effects' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/sheets/items/feature.mjs b/module/applications/sheets/items/feature.mjs index 4af780e4..a54c3bcb 100644 --- a/module/applications/sheets/items/feature.mjs +++ b/module/applications/sheets/items/feature.mjs @@ -36,7 +36,7 @@ export default class FeatureSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'effects' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/sheets/items/subclass.mjs b/module/applications/sheets/items/subclass.mjs index e7ebc773..7761dcbc 100644 --- a/module/applications/sheets/items/subclass.mjs +++ b/module/applications/sheets/items/subclass.mjs @@ -33,7 +33,7 @@ export default class SubclassSheet extends DHBaseItemSheet { primary: { tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }], initial: 'description', - labelPrefix: 'DAGGERHEART.General.Tabs' + labelPrefix: 'DAGGERHEART.GENERAL.Tabs' } }; diff --git a/module/applications/ui/countdowns.mjs b/module/applications/ui/countdowns.mjs index 558a008c..895ab908 100644 --- a/module/applications/ui/countdowns.mjs +++ b/module/applications/ui/countdowns.mjs @@ -13,8 +13,8 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) { } get title() { - return game.i18n.format('DAGGERHEART.Applications.Countdown.Title', { - type: game.i18n.localize(`DAGGERHEART.Applications.Countdown.types.${this.basePath}`) + return game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.Title', { + type: game.i18n.localize(`DAGGERHEART.APPLICATIONS.Countdown.types.${this.basePath}`) }); } @@ -78,7 +78,7 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) { const button = constructHTMLButton({ label: '', classes: ['header-control', 'icon', 'fa-solid', 'fa-wrench'], - dataset: { action: 'toggleSimpleView', tooltip: 'DAGGERHEART.Applications.Countdown.toggleSimple' } + dataset: { action: 'toggleSimpleView', tooltip: 'DAGGERHEART.APPLICATIONS.Countdown.toggleSimple' } }); this.window.controls.after(button); } @@ -265,7 +265,7 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) { const countdownSetting = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Countdowns); await countdownSetting.updateSource({ [`${this.basePath}.countdowns.${foundry.utils.randomID()}`]: { - name: game.i18n.localize('DAGGERHEART.Applications.Countdown.newCountdown'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.newCountdown'), ownership: game.user.isGM ? {} : { @@ -285,9 +285,9 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) { const confirmed = await foundry.applications.api.DialogV2.confirm({ window: { - title: game.i18n.localize('DAGGERHEART.Applications.Countdown.removeCountdownTitle') + title: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.removeCountdownTitle') }, - content: game.i18n.format('DAGGERHEART.Applications.Countdown.removeCountdownText', { name: countdownName }) + content: game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.removeCountdownText', { name: countdownName }) }); if (!confirmed) return; diff --git a/module/applications/ux/filter-menu.mjs b/module/applications/ux/filter-menu.mjs index 2217cd06..b62e884b 100644 --- a/module/applications/ux/filter-menu.mjs +++ b/module/applications/ux/filter-menu.mjs @@ -178,7 +178,7 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu { })); const burdenFilter = Object.values(CONFIG.DH.GENERAL.burden).map(({ value, label }) => ({ - group: game.i18n.localize('DAGGERHEART.General.burden'), + group: game.i18n.localize('DAGGERHEART.GENERAL.burden'), name: game.i18n.localize(label), filter: { field: 'system.burden', @@ -220,7 +220,7 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu { })); const domainFilter = Object.values(CONFIG.DH.DOMAIN.domains).map(({ id, label }) => ({ - group: game.i18n.localize('DAGGERHEART.General.Domain.single'), + group: game.i18n.localize('DAGGERHEART.GENERAL.Domain.single'), name: game.i18n.localize(label), filter: { field: 'system.domain', diff --git a/module/canvas/placeables/measuredTemplate.mjs b/module/canvas/placeables/measuredTemplate.mjs index 710e2a9e..42601d6c 100644 --- a/module/canvas/placeables/measuredTemplate.mjs +++ b/module/canvas/placeables/measuredTemplate.mjs @@ -18,19 +18,19 @@ export default class DhMeasuredTemplate extends foundry.canvas.placeables.Measur static getDistanceLabel(distance, settings) { if (distance <= settings.melee) { - return game.i18n.localize('DAGGERHEART.Config.Range.melee.name'); + return game.i18n.localize('DAGGERHEART.CONFIG.Range.melee.name'); } if (distance <= settings.veryClose) { - return game.i18n.localize('DAGGERHEART.Config.Range.veryClose.name'); + return game.i18n.localize('DAGGERHEART.CONFIG.Range.veryClose.name'); } if (distance <= settings.close) { - return game.i18n.localize('DAGGERHEART.Config.Range.close.name'); + return game.i18n.localize('DAGGERHEART.CONFIG.Range.close.name'); } if (distance <= settings.far) { - return game.i18n.localize('DAGGERHEART.Config.Range.far.name'); + return game.i18n.localize('DAGGERHEART.CONFIG.Range.far.name'); } if (distance <= settings.veryFar) { - return game.i18n.localize('DAGGERHEART.Config.Range.veryFar.name'); + return game.i18n.localize('DAGGERHEART.CONFIG.Range.veryFar.name'); } return ''; diff --git a/module/config/actionConfig.mjs b/module/config/actionConfig.mjs index 0bee3803..5600ae72 100644 --- a/module/config/actionConfig.mjs +++ b/module/config/actionConfig.mjs @@ -1,37 +1,37 @@ export const actionTypes = { attack: { id: 'attack', - name: 'DAGGERHEART.Actions.Types.attack.name', + name: 'DAGGERHEART.ACTIONS.TYPES.attack.name', icon: 'fa-swords' }, healing: { id: 'healing', - name: 'DAGGERHEART.Actions.Types.healing.name', + name: 'DAGGERHEART.ACTIONS.TYPES.healing.name', icon: 'fa-kit-medical' }, damage: { id: 'damage', - name: 'DAGGERHEART.Actions.Types.damage.name', + name: 'DAGGERHEART.ACTIONS.TYPES.damage.name', icon: 'fa-bone-break' }, summon: { id: 'summon', - name: 'DAGGERHEART.Actions.Types.summon.name', + name: 'DAGGERHEART.ACTIONS.TYPES.summon.name', icon: 'fa-ghost' }, effect: { id: 'effect', - name: 'DAGGERHEART.Actions.Types.effect.name', + name: 'DAGGERHEART.ACTIONS.TYPES.effect.name', icon: 'fa-person-rays' }, macro: { id: 'macro', - name: 'DAGGERHEART.Actions.Types.macro.name', + name: 'DAGGERHEART.ACTIONS.TYPES.macro.name', icon: 'fa-scroll' }, beastform: { id: 'beastform', - name: 'DAGGERHEART.Actions.Types.beastform.name', + name: 'DAGGERHEART.ACTIONS.TYPES.beastform.name', icon: 'fa-paw' } }; @@ -103,15 +103,15 @@ export const diceCompare = { export const advandtageState = { disadvantage: { - label: 'DAGGERHEART.General.Disadvantage.full', + label: 'DAGGERHEART.GENERAL.Disadvantage.full', value: -1 }, neutral: { - label: 'DAGGERHEART.General.Neutral.full', + label: 'DAGGERHEART.GENERAL.Neutral.full', value: 0 }, advantage: { - label: 'DAGGERHEART.General.Advantage.full', + label: 'DAGGERHEART.GENERAL.Advantage.full', value: 1 } }; diff --git a/module/config/actorConfig.mjs b/module/config/actorConfig.mjs index 43cd6e2e..7a179308 100644 --- a/module/config/actorConfig.mjs +++ b/module/config/actorConfig.mjs @@ -1,77 +1,77 @@ export const abilities = { agility: { - label: 'DAGGERHEART.Config.Traits.agility.name', + label: 'DAGGERHEART.CONFIG.Traits.agility.name', verbs: [ - 'DAGGERHEART.Config.Traits.agility.verb.sprint', - 'DAGGERHEART.Config.Traits.agility.verb.leap', - 'DAGGERHEART.Config.Traits.agility.verb.maneuver' + 'DAGGERHEART.CONFIG.Traits.agility.verb.sprint', + 'DAGGERHEART.CONFIG.Traits.agility.verb.leap', + 'DAGGERHEART.CONFIG.Traits.agility.verb.maneuver' ] }, strength: { - label: 'DAGGERHEART.Config.Traits.strength.name', + label: 'DAGGERHEART.CONFIG.Traits.strength.name', verbs: [ - 'DAGGERHEART.Config.Traits.strength.verb.lift', - 'DAGGERHEART.Config.Traits.strength.verb.smash', - 'DAGGERHEART.Config.Traits.strength.verb.grapple' + 'DAGGERHEART.CONFIG.Traits.strength.verb.lift', + 'DAGGERHEART.CONFIG.Traits.strength.verb.smash', + 'DAGGERHEART.CONFIG.Traits.strength.verb.grapple' ] }, finesse: { - label: 'DAGGERHEART.Config.Traits.finesse.name', + label: 'DAGGERHEART.CONFIG.Traits.finesse.name', verbs: [ - 'DAGGERHEART.Config.Traits.finesse.verb.control', - 'DAGGERHEART.Config.Traits.finesse.verb.hide', - 'DAGGERHEART.Config.Traits.finesse.verb.tinker' + 'DAGGERHEART.CONFIG.Traits.finesse.verb.control', + 'DAGGERHEART.CONFIG.Traits.finesse.verb.hide', + 'DAGGERHEART.CONFIG.Traits.finesse.verb.tinker' ] }, instinct: { - label: 'DAGGERHEART.Config.Traits.instinct.name', + label: 'DAGGERHEART.CONFIG.Traits.instinct.name', verbs: [ - 'DAGGERHEART.Config.Traits.instinct.verb.perceive', - 'DAGGERHEART.Config.Traits.instinct.verb.sense', - 'DAGGERHEART.Config.Traits.instinct.verb.navigate' + 'DAGGERHEART.CONFIG.Traits.instinct.verb.perceive', + 'DAGGERHEART.CONFIG.Traits.instinct.verb.sense', + 'DAGGERHEART.CONFIG.Traits.instinct.verb.navigate' ] }, presence: { - label: 'DAGGERHEART.Config.Traits.presence.name', + label: 'DAGGERHEART.CONFIG.Traits.presence.name', verbs: [ - 'DAGGERHEART.Config.Traits.presence.verb.charm', - 'DAGGERHEART.Config.Traits.presence.verb.perform', - 'DAGGERHEART.Config.Traits.presence.verb.deceive' + 'DAGGERHEART.CONFIG.Traits.presence.verb.charm', + 'DAGGERHEART.CONFIG.Traits.presence.verb.perform', + 'DAGGERHEART.CONFIG.Traits.presence.verb.deceive' ] }, knowledge: { - label: 'DAGGERHEART.Config.Traits.knowledge.name', + label: 'DAGGERHEART.CONFIG.Traits.knowledge.name', verbs: [ - 'DAGGERHEART.Config.Traits.knowledge.verb.recall', - 'DAGGERHEART.Config.Traits.knowledge.verb.analyze', - 'DAGGERHEART.Config.Traits.knowledge.verb.comprehend' + 'DAGGERHEART.CONFIG.Traits.knowledge.verb.recall', + 'DAGGERHEART.CONFIG.Traits.knowledge.verb.analyze', + 'DAGGERHEART.CONFIG.Traits.knowledge.verb.comprehend' ] } }; export const featureProperties = { agility: { - name: 'DAGGERHEART.Config.Traits.agility.name', + name: 'DAGGERHEART.CONFIG.Traits.agility.name', path: actor => actor.system.traits.agility.data.value }, strength: { - name: 'DAGGERHEART.Config.Traits.strength.name', + name: 'DAGGERHEART.CONFIG.Traits.strength.name', path: actor => actor.system.traits.strength.data.value }, finesse: { - name: 'DAGGERHEART.Config.Traits.finesse.name', + name: 'DAGGERHEART.CONFIG.Traits.finesse.name', path: actor => actor.system.traits.finesse.data.value }, instinct: { - name: 'DAGGERHEART.Config.Traits.instinct.name', + name: 'DAGGERHEART.CONFIG.Traits.instinct.name', path: actor => actor.system.traits.instinct.data.value }, presence: { - name: 'DAGGERHEART.Config.Traits.presence.name', + name: 'DAGGERHEART.CONFIG.Traits.presence.name', path: actor => actor.system.traits.presence.data.value }, knowledge: { - name: 'DAGGERHEART.Config.Traits.knowledge.name', + name: 'DAGGERHEART.CONFIG.Traits.knowledge.name', path: actor => actor.system.traits.knowledge.data.value }, spellcastingTrait: { @@ -83,90 +83,90 @@ export const featureProperties = { export const adversaryTypes = { bruiser: { id: 'bruiser', - label: 'DAGGERHEART.Config.AdversaryType.bruiser.label', - description: 'DAGGERHEART.Actors.Adversary.bruiser.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.bruiser.label', + description: 'DAGGERHEART.ACTORS.Adversary.bruiser.description' }, horde: { id: 'horde', - label: 'DAGGERHEART.Config.AdversaryType.horde.label', - description: 'DAGGERHEART.Actors.Adversary.horde.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.horde.label', + description: 'DAGGERHEART.ACTORS.Adversary.horde.description' }, leader: { id: 'leader', - label: 'DAGGERHEART.Config.AdversaryType.leader.label', - description: 'DAGGERHEART.Actors.Adversary.leader.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.leader.label', + description: 'DAGGERHEART.ACTORS.Adversary.leader.description' }, minion: { id: 'minion', - label: 'DAGGERHEART.Config.AdversaryType.minion.label', - description: 'DAGGERHEART.Actors.Adversary.minion.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.minion.label', + description: 'DAGGERHEART.ACTORS.Adversary.minion.description' }, ranged: { id: 'ranged', - label: 'DAGGERHEART.Config.AdversaryType.ranged.label', - description: 'DAGGERHEART.Actors.Adversary.ranged.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.ranged.label', + description: 'DAGGERHEART.ACTORS.Adversary.ranged.description' }, skulk: { id: 'skulk', - label: 'DAGGERHEART.Config.AdversaryType.skulk.label', - description: 'DAGGERHEART.Actors.Adversary.skulk.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.skulk.label', + description: 'DAGGERHEART.ACTORS.Adversary.skulk.description' }, social: { id: 'social', - label: 'DAGGERHEART.Config.AdversaryTypee.social.label', - description: 'DAGGERHEART.Actors.Adversary.social.description' + label: 'DAGGERHEART.CONFIG.AdversaryTypee.social.label', + description: 'DAGGERHEART.ACTORS.Adversary.social.description' }, solo: { id: 'solo', - label: 'DAGGERHEART.Config.AdversaryType.solo.label', - description: 'DAGGERHEART.Actors.Adversary.solo.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.solo.label', + description: 'DAGGERHEART.ACTORS.Adversary.solo.description' }, standard: { id: 'standard', - label: 'DAGGERHEART.Config.AdversaryType.standard.label', - description: 'DAGGERHEART.Actors.Adversary.standard.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.standard.label', + description: 'DAGGERHEART.ACTORS.Adversary.standard.description' }, support: { id: 'support', - label: 'DAGGERHEART.Config.AdversaryType.support.label', - description: 'DAGGERHEART.Actors.Adversary.support.description' + label: 'DAGGERHEART.CONFIG.AdversaryType.support.label', + description: 'DAGGERHEART.ACTORS.Adversary.support.description' } }; export const environmentTypes = { exploration: { - label: 'Daggerheart.Config.EnvironmentType.exploration.label', - description: 'Daggerheart.Config.EnvironmentType.exploration.description' + label: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.label', + description: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.description' }, social: { - label: 'Daggerheart.Config.EnvironmentType.social.label', - description: 'Daggerheart.Config.EnvironmentType.social.description' + label: 'DAGGERHEART.CONFIG.EnvironmentType.social.label', + description: 'DAGGERHEART.CONFIG.EnvironmentType.social.description' }, traversal: { - label: 'Daggerheart.Config.EnvironmentType.traversal.label', - description: 'Daggerheart.Config.EnvironmentType.traversal.description' + label: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.label', + description: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.description' }, event: { - label: 'Daggerheart.Config.EnvironmentType.event.label', - description: 'Daggerheart.Config.EnvironmentType.event.description' + label: 'DAGGERHEART.CONFIG.EnvironmentType.event.label', + description: 'DAGGERHEART.CONFIG.EnvironmentType.event.description' } }; export const adversaryTraits = { relentless: { - name: 'DAGGERHEART.Config.AdversaryTrait.relentless.name', - description: 'DAGGERHEART.Config.AdversaryTrait.relentless.description', - tip: 'DAGGERHEART.Config.AdversaryTrait.relentless.tip' + name: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.name', + description: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.description', + tip: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.tip' }, slow: { - name: 'DAGGERHEART.Config.AdversaryTrait.slow.name', - description: 'DAGGERHEART.Config.AdversaryTrait.slow.description', - tip: 'DAGGERHEART.Config.AdversaryTrait.slow.tip' + name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name', + description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description', + tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip' }, minion: { - name: 'DAGGERHEART.Config.AdversaryTrait.slow.name', - description: 'DAGGERHEART.Config.AdversaryTrait.slow.description', - tip: 'DAGGERHEART.Config.AdversaryTrait.slow.tip' + name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name', + description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description', + tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip' } }; @@ -265,41 +265,41 @@ export const levelupData = { id: '2_4', tier: 1, levels: [2, 3, 4], - label: 'DAGGERHEART.Applications.Levelup.tier1.Label', - info: 'DAGGERHEART.Applications.Levelup.tier1.InfoLabel', - pretext: 'DAGGERHEART.Applications.Levelup.tier1.Pretext', - posttext: 'DAGGERHEART.Applications.Levelup.tier1.Posttext', + label: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Label', + info: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.InfoLabel', + pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Pretext', + posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Posttext', choices: { [levelChoices.attributes.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes', maxChoices: 3 }, [levelChoices.hitPointSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots', maxChoices: 1 }, [levelChoices.stressSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots', maxChoices: 1 }, [levelChoices.experiences.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences', maxChoices: 1 }, [levelChoices.proficiency.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency', maxChoices: 1 }, [levelChoices.armorOrEvasionSlot.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot', maxChoices: 1 }, [levelChoices.majorDamageThreshold2.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2', maxChoices: 1 }, [levelChoices.severeDamageThreshold2.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold2', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold2', maxChoices: 1 } } @@ -308,49 +308,49 @@ export const levelupData = { id: '5_7', tier: 2, levels: [5, 6, 7], - label: 'DAGGERHEART.Applications.Levelup.tier2.Label', - info: 'DAGGERHEART.Applications.Levelup.tier2.InfoLabel', - pretext: 'DAGGERHEART.Applications.Levelup.tier2.Pretext', - posttext: 'DAGGERHEART.Applications.Levelup.tier2.Posttext', + label: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Label', + info: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.InfoLabel', + pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Pretext', + posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Posttext', choices: { [levelChoices.attributes.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes', maxChoices: 3 }, [levelChoices.hitPointSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots', maxChoices: 2 }, [levelChoices.stressSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots', maxChoices: 2 }, [levelChoices.experiences.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences', maxChoices: 1 }, [levelChoices.proficiency.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency', maxChoices: 2 }, [levelChoices.armorOrEvasionSlot.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot', maxChoices: 2 }, [levelChoices.majorDamageThreshold2.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2', maxChoices: 1 }, [levelChoices.severeDamageThreshold3.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold3', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold3', maxChoices: 1 }, [levelChoices.subclass.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.subclass', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass', maxChoices: 1 }, [levelChoices.multiclass.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.multiclass', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass', maxChoices: 1, cost: 2 } @@ -360,49 +360,49 @@ export const levelupData = { id: '8_10', tier: 3, levels: [8, 9, 10], - label: 'DAGGERHEART.Applications.Levelup.tier3.Label', - info: 'DAGGERHEART.Applications.Levelup.tier3.InfoLabel', - pretext: 'DAGGERHEART.Applications.Levelup.tier3.Pretext', - posttext: 'DAGGERHEART.Applications.Levelup.tier3.Posttext', + label: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Label', + info: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.InfoLabel', + pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Pretext', + posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Posttext', choices: { [levelChoices.attributes.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes', maxChoices: 3 }, [levelChoices.hitPointSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots', maxChoices: 2 }, [levelChoices.stressSlots.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots', maxChoices: 2 }, [levelChoices.experiences.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences', maxChoices: 1 }, [levelChoices.proficiency.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency', maxChoices: 2 }, [levelChoices.armorOrEvasionSlot.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot', maxChoices: 2 }, [levelChoices.majorDamageThreshold2.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2', maxChoices: 1 }, [levelChoices.severeDamageThreshold4.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold4', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold4', maxChoices: 1 }, [levelChoices.subclass.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.subclass', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass', maxChoices: 1 }, [levelChoices.multiclass.name]: { - description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.multiclass', + description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass', maxChoices: 1, cost: 2 } @@ -411,7 +411,7 @@ export const levelupData = { }; export const subclassFeatureLabels = { - 1: 'DAGGERHEART.Items.DomainCard.foundation', - 2: 'DAGGERHEART.Items.DomainCard.specializationTitle', - 3: 'DAGGERHEART.Items.DomainCard.masteryTitle' + 1: 'DAGGERHEART.ITEMS.DomainCard.foundation', + 2: 'DAGGERHEART.ITEMS.DomainCard.specializationTitle', + 3: 'DAGGERHEART.ITEMS.DomainCard.masteryTitle' }; diff --git a/module/config/domainConfig.mjs b/module/config/domainConfig.mjs index d7d900fc..6c8b8bfd 100644 --- a/module/config/domainConfig.mjs +++ b/module/config/domainConfig.mjs @@ -1,57 +1,57 @@ export const domains = { arcana: { id: 'arcana', - label: 'DAGGERHEART.General.Domain.arcana.label', + label: 'DAGGERHEART.GENERAL.Domain.arcana.label', src: 'systems/daggerheart/assets/icons/domains/arcana.svg', - description: 'DAGGERHEART.General.Domain.Arcana' + description: 'DAGGERHEART.GENERAL.Domain.Arcana' }, blade: { id: 'blade', - label: 'DAGGERHEART.General.Domain.blade.label', + label: 'DAGGERHEART.GENERAL.Domain.blade.label', src: 'systems/daggerheart/assets/icons/domains/blade.svg', - description: 'DAGGERHEART.General.Domain.Blade' + description: 'DAGGERHEART.GENERAL.Domain.Blade' }, bone: { id: 'bone', - label: 'DAGGERHEART.General.Domain.bone.label', + label: 'DAGGERHEART.GENERAL.Domain.bone.label', src: 'systems/daggerheart/assets/icons/domains/bone.svg', - description: 'DAGGERHEART.General.Domain.Bone' + description: 'DAGGERHEART.GENERAL.Domain.Bone' }, codex: { id: 'codex', - label: 'DAGGERHEART.General.Domain.codex.label', + label: 'DAGGERHEART.GENERAL.Domain.codex.label', src: 'systems/daggerheart/assets/icons/domains/codex.svg', - description: 'DAGGERHEART.General.Domain.Codex' + description: 'DAGGERHEART.GENERAL.Domain.Codex' }, grace: { id: 'grace', - label: 'DAGGERHEART.General.Domain.grace.label', + label: 'DAGGERHEART.GENERAL.Domain.grace.label', src: 'systems/daggerheart/assets/icons/domains/grace.svg', - description: 'DAGGERHEART.General.Domain.Grace' + description: 'DAGGERHEART.GENERAL.Domain.Grace' }, midnight: { id: 'midnight', - label: 'DAGGERHEART.General.Domain.midnight.label', + label: 'DAGGERHEART.GENERAL.Domain.midnight.label', src: 'systems/daggerheart/assets/icons/domains/midnight.svg', - description: 'DAGGERHEART.General.Domain.Midnight' + description: 'DAGGERHEART.GENERAL.Domain.Midnight' }, sage: { id: 'sage', - label: 'DAGGERHEART.General.Domain.sage.label', + label: 'DAGGERHEART.GENERAL.Domain.sage.label', src: 'systems/daggerheart/assets/icons/domains/sage.svg', - description: 'DAGGERHEART.General.Domain.Sage' + description: 'DAGGERHEART.GENERAL.Domain.Sage' }, splendor: { id: 'splendor', - label: 'DAGGERHEART.General.Domain.splendor.label', + label: 'DAGGERHEART.GENERAL.Domain.splendor.label', src: 'systems/daggerheart/assets/icons/domains/splendor.svg', - description: 'DAGGERHEART.General.Domain.Splendor' + description: 'DAGGERHEART.GENERAL.Domain.Splendor' }, valor: { id: 'valor', - label: 'DAGGERHEART.General.Domain.valor.label', + label: 'DAGGERHEART.GENERAL.Domain.valor.label', src: 'systems/daggerheart/assets/icons/domains/valor.svg', - description: 'DAGGERHEART.General.Domain.Valor' + description: 'DAGGERHEART.GENERAL.Domain.Valor' } }; @@ -84,17 +84,17 @@ export const classMap = { export const cardTypes = { ability: { id: 'ability', - label: 'DAGGERHEART.Config.DomainCardTypes.ability', + label: 'DAGGERHEART.CONFIG.DomainCardTypes.ability', img: '' }, spell: { id: 'spell', - label: 'DAGGERHEART.Config.DomainCardTypes.spell', + label: 'DAGGERHEART.CONFIG.DomainCardTypes.spell', img: '' }, grimoire: { id: 'grimoire', - label: 'DAGGERHEART.Config.DomainCardTypes.grimoire', + label: 'DAGGERHEART.CONFIG.DomainCardTypes.grimoire', img: '' } }; diff --git a/module/config/effectConfig.mjs b/module/config/effectConfig.mjs index 7414733c..97a03fad 100644 --- a/module/config/effectConfig.mjs +++ b/module/config/effectConfig.mjs @@ -21,38 +21,38 @@ export const parseTypes = { export const applyLocations = { attackRoll: { id: 'attackRoll', - name: 'DAGGERHEART.Effects.ApplyLocations.attackRoll.name' + name: 'DAGGERHEART.EFFECTS.ApplyLocations.attackRoll.name' }, damageRoll: { id: 'damageRoll', - name: 'DAGGERHEART.Effects.ApplyLocations.damageRoll.name' + name: 'DAGGERHEART.EFFECTS.ApplyLocations.damageRoll.name' } }; export const effectTypes = { health: { id: 'health', - name: 'DAGGERHEART.Effects.Types.HitPoints.name', + name: 'DAGGERHEART.EFFECTS.Types.HitPoints.name', values: [], valueType: valueTypes.numberString.id, parseType: parseTypes.number.id }, stress: { id: 'stress', - name: 'DAGGERHEART.Effects.Types.Stress.name', + name: 'DAGGERHEART.EFFECTS.Types.Stress.name', valueType: valueTypes.numberString.id, parseType: parseTypes.number.id }, reach: { id: 'reach', - name: 'DAGGERHEART.Effects.Types.Reach.name', + name: 'DAGGERHEART.EFFECTS.Types.Reach.name', valueType: valueTypes.select.id, parseType: parseTypes.string.id, options: Object.keys(range).map(x => ({ name: range[x].name, value: x })) }, damage: { id: 'damage', - name: 'DAGGERHEART.Effects.Types.Damage.name', + name: 'DAGGERHEART.EFFECTS.Types.Damage.name', valueType: valueTypes.numberString.id, parseType: parseTypes.string.id, appliesOn: applyLocations.damageRoll.id, diff --git a/module/config/generalConfig.mjs b/module/config/generalConfig.mjs index b8ec4e9c..1299dccb 100644 --- a/module/config/generalConfig.mjs +++ b/module/config/generalConfig.mjs @@ -2,43 +2,43 @@ export const range = { self: { id: 'self', short: 's', - label: 'DAGGERHEART.Config.Range.self.name', - description: 'DAGGERHEART.Config.Range.self.description', + label: 'DAGGERHEART.CONFIG.Range.self.name', + description: 'DAGGERHEART.CONFIG.Range.self.description', distance: 0 }, melee: { id: 'melee', short: 'm', - label: 'DAGGERHEART.Config.Range.melee.name', - description: 'DAGGERHEART.Config.Range.melee.description', + label: 'DAGGERHEART.CONFIG.Range.melee.name', + description: 'DAGGERHEART.CONFIG.Range.melee.description', distance: 1 }, veryClose: { id: 'veryClose', short: 'vc', - label: 'DAGGERHEART.Config.Range.veryClose.name', - description: 'DAGGERHEART.Config.Range.veryClose.description', + label: 'DAGGERHEART.CONFIG.Range.veryClose.name', + description: 'DAGGERHEART.CONFIG.Range.veryClose.description', distance: 3 }, close: { id: 'close', short: 'c', - label: 'DAGGERHEART.Config.Range.close.name', - description: 'DAGGERHEART.Config.Range.close.description', + label: 'DAGGERHEART.CONFIG.Range.close.name', + description: 'DAGGERHEART.CONFIG.Range.close.description', distance: 10 }, far: { id: 'far', short: 'f', - label: 'DAGGERHEART.Config.Range.far.name', - description: 'DAGGERHEART.Config.Range.far.description', + label: 'DAGGERHEART.CONFIG.Range.far.name', + description: 'DAGGERHEART.CONFIG.Range.far.description', distance: 20 }, veryFar: { id: 'veryFar', short: 'vf', - label: 'DAGGERHEART.Config.Range.veryFar.name', - description: 'DAGGERHEART.Config.Range.veryFar.description', + label: 'DAGGERHEART.CONFIG.Range.veryFar.name', + description: 'DAGGERHEART.CONFIG.Range.veryFar.description', distance: 30 } }; @@ -46,68 +46,68 @@ export const range = { export const burden = { oneHanded: { value: 'oneHanded', - label: 'DAGGERHEART.Config.Burden.oneHanded' + label: 'DAGGERHEART.CONFIG.Burden.oneHanded' }, twoHanded: { value: 'twoHanded', - label: 'DAGGERHEART.Config.Burden.twoHanded' + label: 'DAGGERHEART.CONFIG.Burden.twoHanded' } }; export const damageTypes = { physical: { id: 'physical', - label: 'DAGGERHEART.Config.DamageType.physical.name', - abbreviation: 'DAGGERHEART.Config.DamageType.physical.abbreviation' + label: 'DAGGERHEART.CONFIG.DamageType.physical.name', + abbreviation: 'DAGGERHEART.CONFIG.DamageType.physical.abbreviation' }, magical: { id: 'magical', - label: 'DAGGERHEART.Config.DamageType.magical.name', - abbreviation: 'DAGGERHEART.Config.DamageType.magical.abbreviation' + label: 'DAGGERHEART.CONFIG.DamageType.magical.name', + abbreviation: 'DAGGERHEART.CONFIG.DamageType.magical.abbreviation' } }; export const healingTypes = { hitPoints: { id: 'hitPoints', - label: 'DAGGERHEART.Config.HealingType.hitPoints.name', - abbreviation: 'DAGGERHEART.Config.HealingType.hitPoints.abbreviation' + label: 'DAGGERHEART.CONFIG.HealingType.hitPoints.name', + abbreviation: 'DAGGERHEART.CONFIG.HealingType.hitPoints.abbreviation' }, stress: { id: 'stress', - label: 'DAGGERHEART.Config.HealingType.stress.name', - abbreviation: 'DAGGERHEART.Config.HealingType.stress.abbreviation' + label: 'DAGGERHEART.CONFIG.HealingType.stress.name', + abbreviation: 'DAGGERHEART.CONFIG.HealingType.stress.abbreviation' }, hope: { id: 'hope', - label: 'DAGGERHEART.Config.HealingType.hope.name', - abbreviation: 'DAGGERHEART.Config.HealingType.hope.abbreviation' + label: 'DAGGERHEART.CONFIG.HealingType.hope.name', + abbreviation: 'DAGGERHEART.CONFIG.HealingType.hope.abbreviation' }, armorStack: { id: 'armorStack', - label: 'DAGGERHEART.Config.HealingType.armorStack.name', - abbreviation: 'DAGGERHEART.Config.HealingType.armorStack.abbreviation' + label: 'DAGGERHEART.CONFIG.HealingType.armorStack.name', + abbreviation: 'DAGGERHEART.CONFIG.HealingType.armorStack.abbreviation' } }; export const conditions = { vulnerable: { id: 'vulnerable', - name: 'DAGGERHEART.Config.Condition.vulnerable.name', + name: 'DAGGERHEART.CONFIG.Condition.vulnerable.name', icon: 'icons/magic/control/silhouette-fall-slip-prone.webp', - description: 'DAGGERHEART.Config.Condition.vulnerable.description' + description: 'DAGGERHEART.CONFIG.Condition.vulnerable.description' }, hidden: { id: 'hidden', - name: 'DAGGERHEART.Config.Condition.hidden.name', + name: 'DAGGERHEART.CONFIG.Condition.hidden.name', icon: 'icons/magic/perception/silhouette-stealth-shadow.webp', - description: 'DAGGERHEART.Config.Condition.hidden.description' + description: 'DAGGERHEART.CONFIG.Condition.hidden.description' }, restrained: { id: 'restrained', - name: 'DAGGERHEART.Config.Condition.restrained.name', + name: 'DAGGERHEART.CONFIG.Condition.restrained.name', icon: 'icons/magic/control/debuff-chains-shackle-movement-red.webp', - description: 'DAGGERHEART.Config.Condition.restrained.description' + description: 'DAGGERHEART.CONFIG.Condition.restrained.description' } }; @@ -115,13 +115,13 @@ export const defaultRestOptions = { shortRest: () => ({ tendToWounds: { id: 'tendToWounds', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.name'), img: 'icons/magic/life/cross-worn-green.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.description'), actions: [ { type: 'healing', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.name'), img: 'icons/magic/life/cross-worn-green.webp', actionType: 'action', healing: { @@ -138,13 +138,13 @@ export const defaultRestOptions = { }, clearStress: { id: 'clearStress', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.name'), img: 'icons/magic/perception/eye-ringed-green.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.description'), actions: [ { type: 'healing', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.name'), img: 'icons/magic/perception/eye-ringed-green.webp', actionType: 'action', healing: { @@ -161,53 +161,53 @@ export const defaultRestOptions = { }, repairArmor: { id: 'repairArmor', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.repairArmor.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.repairArmor.name'), img: 'icons/skills/trades/smithing-anvil-silver-red.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.repairArmor.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.repairArmor.description'), actions: [] }, prepare: { id: 'prepare', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.prepare.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.prepare.name'), img: 'icons/skills/trades/academics-merchant-scribe.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.prepare.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.prepare.description'), actions: [] } }), longRest: () => ({ tendToWounds: { id: 'tendToWounds', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.tendToWounds.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.tendToWounds.name'), img: 'icons/magic/life/cross-worn-green.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.tendToWounds.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.tendToWounds.description'), actions: [] }, clearStress: { id: 'clearStress', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.clearStress.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.clearStress.name'), img: 'icons/magic/perception/eye-ringed-green.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.clearStress.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.clearStress.description'), actions: [] }, repairArmor: { id: 'repairArmor', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.repairArmor.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.repairArmor.name'), img: 'icons/skills/trades/smithing-anvil-silver-red.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.repairArmor.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.repairArmor.description'), actions: [] }, prepare: { id: 'prepare', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.prepare.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.prepare.name'), img: 'icons/skills/trades/academics-merchant-scribe.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.prepare.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.prepare.description'), actions: [] }, workOnAProject: { id: 'workOnAProject', - name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.workOnAProject.name'), + name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.workOnAProject.name'), img: 'icons/skills/social/thumbsup-approval-like.webp', - description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.workOnAProject.description'), + description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.workOnAProject.description'), actions: [] } }), @@ -216,51 +216,51 @@ export const defaultRestOptions = { name: '', img: 'icons/skills/trades/academics-investigation-puzzles.webp', description: '', - namePlaceholder: 'DAGGERHEART.Applications.Downtime.custom.namePlaceholder', - placeholder: 'DAGGERHEART.Applications.Downtime.custom.placeholder' + namePlaceholder: 'DAGGERHEART.APPLICATIONS.Downtime.custom.namePlaceholder', + placeholder: 'DAGGERHEART.APPLICATIONS.Downtime.custom.placeholder' } }; export const deathMoves = { avoidDeath: { id: 'avoidDeath', - name: 'DAGGERHEART.Config.DeathMoves.avoidDeath.name', + name: 'DAGGERHEART.CONFIG.DeathMoves.avoidDeath.name', img: 'icons/magic/time/hourglass-yellow-green.webp', - description: 'DAGGERHEART.Config.DeathMoves.avoidDeath.description' + description: 'DAGGERHEART.CONFIG.DeathMoves.avoidDeath.description' }, riskItAll: { id: 'riskItAll', - name: 'DAGGERHEART.Config.DeathMoves.riskItAll.name', + name: 'DAGGERHEART.CONFIG.DeathMoves.riskItAll.name', img: 'icons/sundries/gaming/dice-pair-white-green.webp', - description: 'DAGGERHEART.Config.DeathMoves.riskItAll.description' + description: 'DAGGERHEART.CONFIG.DeathMoves.riskItAll.description' }, blazeOfGlory: { id: 'blazeOfGlory', - name: 'DAGGERHEART.Config.DeathMoves.blazeOfGlory.name', + name: 'DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.name', img: 'icons/magic/life/heart-cross-strong-flame-purple-orange.webp', - description: 'DAGGERHEART.Config.DeathMoves.blazeOfGlory.description' + description: 'DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.description' } }; export const tiers = { tier1: { id: 'tier1', - label: 'DAGGERHEART.General.Tiers.tier1', + label: 'DAGGERHEART.GENERAL.Tiers.tier1', value: 1 }, tier2: { id: 'tier2', - label: 'DAGGERHEART.General.Tiers.tier2', + label: 'DAGGERHEART.GENERAL.Tiers.tier2', value: 2 }, tier3: { id: 'tier3', - label: 'DAGGERHEART.General.Tiers.tier3', + label: 'DAGGERHEART.GENERAL.Tiers.tier3', value: 3 }, tier4: { id: 'tier4', - label: 'DAGGERHEART.General.Tiers.tier4', + label: 'DAGGERHEART.GENERAL.Tiers.tier4', value: 4 } }; @@ -331,15 +331,15 @@ export const getDiceSoNicePresets = () => { export const refreshTypes = { session: { id: 'session', - label: 'DAGGERHEART.General.RefreshType.session' + label: 'DAGGERHEART.GENERAL.RefreshType.session' }, shortRest: { id: 'shortRest', - label: 'DAGGERHEART.General.RefreshType.shortrest' + label: 'DAGGERHEART.GENERAL.RefreshType.shortrest' }, longRest: { id: 'longRest', - label: 'DAGGERHEART.General.RefreshType.longrest' + label: 'DAGGERHEART.GENERAL.RefreshType.longrest' } }; @@ -351,7 +351,7 @@ export const abilityCosts = { }, stress: { id: 'stress', - label: 'DAGGERHEART.Config.HealingType.Stress.Name', + label: 'DAGGERHEART.CONFIG.HealingType.Stress.Name', group: 'TYPES.Actor.character' }, armor: { @@ -361,7 +361,7 @@ export const abilityCosts = { }, hp: { id: 'hp', - label: 'DAGGERHEART.Config.HealingType.HitPoints.Name', + label: 'DAGGERHEART.CONFIG.HealingType.HitPoints.Name', group: 'TYPES.Actor.character' }, prayer: { @@ -399,38 +399,38 @@ export const abilityCosts = { export const countdownTypes = { spotlight: { id: 'spotlight', - label: 'DAGGERHEART.Config.CountdownTypes.Spotlight' + label: 'DAGGERHEART.CONFIG.CountdownTypes.Spotlight' }, characterAttack: { id: 'characterAttack', - label: 'DAGGERHEART.Config.CountdownTypes.CharacterAttack' + label: 'DAGGERHEART.CONFIG.CountdownTypes.CharacterAttack' }, custom: { id: 'custom', - label: 'DAGGERHEART.Config.CountdownTypes.Custom' + label: 'DAGGERHEART.CONFIG.CountdownTypes.Custom' } }; export const rollTypes = { weapon: { id: 'weapon', - label: 'DAGGERHEART.Config.RollTypes.weapon.name' + label: 'DAGGERHEART.CONFIG.RollTypes.weapon.name' }, spellcast: { id: 'spellcast', - label: 'DAGGERHEART.Config.RollTypes.spellcast.name' + label: 'DAGGERHEART.CONFIG.RollTypes.spellcast.name' }, ability: { id: 'ability', - label: 'DAGGERHEART.Config.RollTypes.ability.name' + label: 'DAGGERHEART.CONFIG.RollTypes.ability.name' }, diceSet: { id: 'diceSet', - label: 'DAGGERHEART.Config.RollTypes.diceSet.name' + label: 'DAGGERHEART.CONFIG.RollTypes.diceSet.name' } }; export const fearDisplay = { - token: { value: 'token', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.token' }, - bar: { value: 'bar', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.bar' }, - hide: { value: 'hide', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.hide' } + token: { value: 'token', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.token' }, + bar: { value: 'bar', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.bar' }, + hide: { value: 'hide', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.hide' } }; diff --git a/module/config/itemConfig.mjs b/module/config/itemConfig.mjs index dd10f5e3..4cdd8125 100644 --- a/module/config/itemConfig.mjs +++ b/module/config/itemConfig.mjs @@ -1,11 +1,11 @@ export const armorFeatures = { burning: { - label: 'DAGGERHEART.Config.ArmorFeature.burning.name', - description: 'DAGGERHEART.Config.ArmorFeature.burning.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.burning.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.burning.description' }, channeling: { - label: 'DAGGERHEART.Config.ArmorFeature.channeling.name', - description: 'DAGGERHEART.Config.ArmorFeature.channeling.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.description', effects: [ { changes: [ @@ -19,8 +19,8 @@ export const armorFeatures = { ] }, difficult: { - label: 'DAGGERHEART.Config.ArmorFeature.difficult.name', - description: 'DAGGERHEART.Config.ArmorFeature.difficult.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.description', effects: [ { changes: [ @@ -64,8 +64,8 @@ export const armorFeatures = { ] }, flexible: { - label: 'DAGGERHEART.Config.ArmorFeature.flexible.name', - description: 'DAGGERHEART.Config.ArmorFeature.flexible.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.description', effects: [ { changes: [ @@ -79,12 +79,12 @@ export const armorFeatures = { ] }, fortified: { - label: 'DAGGERHEART.Config.ArmorFeature.fortified.name', - description: 'DAGGERHEART.Config.ArmorFeature.fortified.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.description' }, gilded: { - label: 'DAGGERHEART.Config.ArmorFeature.gilded.name', - description: 'DAGGERHEART.Config.ArmorFeature.gilded.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.description', effects: [ { changes: [ @@ -98,8 +98,8 @@ export const armorFeatures = { ] }, heavy: { - label: 'DAGGERHEART.Config.ArmorFeature.heavy.name', - description: 'DAGGERHEART.Config.ArmorFeature.heavy.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.description', effects: [ { changes: [ @@ -113,56 +113,56 @@ export const armorFeatures = { ] }, hopeful: { - label: 'DAGGERHEART.Config.ArmorFeature.hopeful.name', - description: 'DAGGERHEART.Config.ArmorFeature.hopeful.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.hopeful.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.hopeful.description' }, impenetrable: { - label: 'DAGGERHEART.Config.ArmorFeature.impenetrable.name', - description: 'DAGGERHEART.Config.ArmorFeature.impenetrable.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.impenetrable.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.impenetrable.description' }, magic: { - label: 'DAGGERHEART.Config.ArmorFeature.magic.name', - description: 'DAGGERHEART.Config.ArmorFeature.magic.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.magic.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.magic.description' }, painful: { - label: 'DAGGERHEART.Config.ArmorFeature.painful.name', - description: 'DAGGERHEART.Config.ArmorFeature.painful.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.painful.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.painful.description' }, physical: { - label: 'DAGGERHEART.Config.ArmorFeature.physical.name', - description: 'DAGGERHEART.Config.ArmorFeature.physical.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.physical.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.physical.description' }, quiet: { - label: 'DAGGERHEART.Config.ArmorFeature.quiet.name', - description: 'DAGGERHEART.Config.ArmorFeature.quiet.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.quiet.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.quiet.description' }, reinforced: { - label: 'DAGGERHEART.Config.ArmorFeature.reinforced.name', - description: 'DAGGERHEART.Config.ArmorFeature.reinforced.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.description' }, resilient: { - label: 'DAGGERHEART.Config.ArmorFeature.resilient.name', - description: 'DAGGERHEART.Config.ArmorFeature.resilient.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.resilient.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.resilient.description' }, sharp: { - label: 'DAGGERHEART.Config.ArmorFeature.sharp.name', - description: 'DAGGERHEART.Config.ArmorFeature.sharp.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.description' }, shifting: { - label: 'DAGGERHEART.Config.ArmorFeature.shifting.name', - description: 'DAGGERHEART.Config.ArmorFeature.shifting.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.shifting.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.shifting.description' }, timeslowing: { - label: 'DAGGERHEART.Config.ArmorFeature.timeslowing.name', - description: 'DAGGERHEART.Config.ArmorFeature.timeslowing.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.timeslowing.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.timeslowing.description' }, truthseeking: { - label: 'DAGGERHEART.Config.ArmorFeature.truthseeking.name', - description: 'DAGGERHEART.Config.ArmorFeature.truthseeking.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.truthseeking.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.truthseeking.description' }, veryheavy: { - label: 'DAGGERHEART.Config.ArmorFeature.veryHeavy.name', - description: 'DAGGERHEART.Config.ArmorFeature.veryHeavy.description', + label: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.description', effects: [ { changes: [ @@ -181,15 +181,15 @@ export const armorFeatures = { ] }, warded: { - label: 'DAGGERHEART.Config.ArmorFeature.warded.name', - description: 'DAGGERHEART.Config.ArmorFeature.warded.description' + label: 'DAGGERHEART.CONFIG.ArmorFeature.warded.name', + description: 'DAGGERHEART.CONFIG.ArmorFeature.warded.description' } }; export const weaponFeatures = { barrier: { - label: 'DAGGERHEART.Config.WeaponFeature.barrier.name', - description: 'DAGGERHEART.Config.WeaponFeature.barrier.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.description', effects: [ { changes: [ @@ -212,8 +212,8 @@ export const weaponFeatures = { ] }, bonded: { - label: 'DAGGERHEART.Config.WeaponFeature.bonded.name', - description: 'DAGGERHEART.Config.WeaponFeature.bonded.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.description', effects: [ { changes: [ @@ -227,12 +227,12 @@ export const weaponFeatures = { ] }, bouncing: { - label: 'DAGGERHEART.Config.WeaponFeature.bouncing.name', - description: 'DAGGERHEART.Config.WeaponFeature.bouncing.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.bouncing.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.bouncing.description' }, brave: { - label: 'DAGGERHEART.Config.WeaponFeature.brave.name', - description: 'DAGGERHEART.Config.WeaponFeature.brave.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.brave.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.brave.description', effects: [ { changes: [ @@ -255,16 +255,16 @@ export const weaponFeatures = { ] }, brutal: { - label: 'DAGGERHEART.Config.WeaponFeature.brutal.name', - description: 'DAGGERHEART.Config.WeaponFeature.brutal.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.brutal.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.brutal.description' }, charged: { - label: 'DAGGERHEART.Config.WeaponFeature.charged.name', - description: 'DAGGERHEART.Config.WeaponFeature.charged.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.charged.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.charged.description', actions: [ { type: 'effect', - name: 'DAGGERHEART.Config.WeaponFeature.concussive.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name', img: 'icons/skills/melee/shield-damaged-broken-brown.webp', actionType: 'action', cost: [ @@ -278,12 +278,12 @@ export const weaponFeatures = { ] }, concussive: { - label: 'DAGGERHEART.Config.WeaponFeature.concussive.name', - description: 'DAGGERHEART.Config.WeaponFeature.concussive.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.concussive.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name', img: 'icons/skills/melee/shield-damaged-broken-brown.webp', actionType: 'action', cost: [ @@ -296,8 +296,8 @@ export const weaponFeatures = { ] }, cumbersome: { - label: 'DAGGERHEART.Config.WeaponFeature.cumbersome.name', - description: 'DAGGERHEART.Config.WeaponFeature.cumbersome.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.description', effects: [ { changes: [ @@ -311,15 +311,15 @@ export const weaponFeatures = { ] }, deadly: { - label: 'DAGGERHEART.Config.WeaponFeature.deadly.name', - description: 'DAGGERHEART.Config.WeaponFeature.deadly.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.deadly.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.deadly.description' }, deflecting: { - label: 'DAGGERHEART.Config.WeaponFeature.deflecting.name', - description: 'DAGGERHEART.Config.WeaponFeature.deflecting.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.description' // actions: [{ // type: 'effect', - // name: 'DAGGERHEART.Config.WeaponFeature.Deflecting.Name', + // name: 'DAGGERHEART.CONFIG.WeaponFeature.Deflecting.Name', // img: 'icons/skills/melee/strike-flail-destructive-yellow.webp', // actionType: 'reaction', // cost: [{ @@ -329,8 +329,8 @@ export const weaponFeatures = { // }], }, destructive: { - label: 'DAGGERHEART.Config.WeaponFeature.destructive.name', - description: 'DAGGERHEART.Config.WeaponFeature.destructive.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.description', effects: [ { changes: [ @@ -344,12 +344,12 @@ export const weaponFeatures = { ] }, devastating: { - label: 'DAGGERHEART.Config.WeaponFeature.devastating.name', - description: 'DAGGERHEART.Config.WeaponFeature.devastating.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.devastating.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.name', img: 'icons/skills/melee/strike-flail-destructive-yellow.webp', actionType: 'action', cost: [ @@ -362,8 +362,8 @@ export const weaponFeatures = { ] }, doubleduty: { - label: 'DAGGERHEART.Config.WeaponFeature.doubleDuty.name', - description: 'DAGGERHEART.Config.WeaponFeature.doubleDuty.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.description', effects: [ { changes: [ @@ -377,24 +377,24 @@ export const weaponFeatures = { ] }, doubledup: { - label: 'DAGGERHEART.Config.WeaponFeature.doubledUp.name', - description: 'DAGGERHEART.Config.WeaponFeature.doubledUp.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.doubledUp.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.doubledUp.description' }, dueling: { - label: 'DAGGERHEART.Config.WeaponFeature.dueling.name', - description: 'DAGGERHEART.Config.WeaponFeature.dueling.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.dueling.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.dueling.description' }, eruptive: { - label: 'DAGGERHEART.Config.WeaponFeature.eruptive.name', - description: 'DAGGERHEART.Config.WeaponFeature.eruptive.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.eruptive.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.eruptive.description' }, grappling: { - label: 'DAGGERHEART.Config.WeaponFeature.grappling.name', - description: 'DAGGERHEART.Config.WeaponFeature.grappling.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.grappling.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.name', img: 'icons/magic/control/debuff-chains-ropes-net-white.webp', actionType: 'action', cost: [ @@ -407,16 +407,16 @@ export const weaponFeatures = { ] }, greedy: { - label: 'DAGGERHEART.Config.WeaponFeature.greedy.name', - description: 'DAGGERHEART.Config.WeaponFeature.greedy.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.description' }, healing: { - label: 'DAGGERHEART.Config.WeaponFeature.healing.name', - description: 'DAGGERHEART.Config.WeaponFeature.healing.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.healing.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.healing.description', actions: [ { type: 'healing', - name: 'DAGGERHEART.Config.WeaponFeature.healing.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.healing.name', img: 'icons/magic/life/cross-beam-green.webp', actionType: 'action', healing: { @@ -432,8 +432,8 @@ export const weaponFeatures = { ] }, heavy: { - label: 'DAGGERHEART.Config.WeaponFeature.heavy.name', - description: 'DAGGERHEART.Config.WeaponFeature.heavy.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.description', effects: [ { changes: [ @@ -447,36 +447,36 @@ export const weaponFeatures = { ] }, hooked: { - label: 'DAGGERHEART.Config.WeaponFeature.hooked.name', - description: 'DAGGERHEART.Config.WeaponFeature.hooked.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.hooked.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.hooked.description' }, hot: { - label: 'DAGGERHEART.Config.WeaponFeature.hot.name', - description: 'DAGGERHEART.Config.WeaponFeature.hot.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.hot.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.hot.description' }, invigorating: { - label: 'DAGGERHEART.Config.WeaponFeature.invigorating.name', - description: 'DAGGERHEART.Config.WeaponFeature.invigorating.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.invigorating.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.invigorating.description' }, lifestealing: { - label: 'DAGGERHEART.Config.WeaponFeature.lifestealing.name', - description: 'DAGGERHEART.Config.WeaponFeature.lifestealing.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.lifestealing.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.lifestealing.description' }, lockedon: { - label: 'DAGGERHEART.Config.WeaponFeature.lockedOn.name', - description: 'DAGGERHEART.Config.WeaponFeature.lockedOn.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.lockedOn.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.lockedOn.description' }, long: { - label: 'DAGGERHEART.Config.WeaponFeature.long.name', - description: 'DAGGERHEART.Config.WeaponFeature.long.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.long.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.long.description' }, lucky: { - label: 'DAGGERHEART.Config.WeaponFeature.lucky.name', - description: 'DAGGERHEART.Config.WeaponFeature.lucky.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.lucky.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.name', img: 'icons/magic/control/buff-luck-fortune-green.webp', actionType: 'action', cost: [ @@ -489,8 +489,8 @@ export const weaponFeatures = { ] }, massive: { - label: 'DAGGERHEART.Config.WeaponFeature.massive.name', - description: 'DAGGERHEART.Config.WeaponFeature.massive.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.massive.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.massive.description', effects: [ { changes: [ @@ -504,12 +504,12 @@ export const weaponFeatures = { ] }, painful: { - label: 'DAGGERHEART.Config.WeaponFeature.painful.name', - description: 'DAGGERHEART.Config.WeaponFeature.painful.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.painful.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.painful.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.painful.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.painful.name', img: 'icons/skills/wounds/injury-face-impact-orange.webp', actionType: 'action', cost: [ @@ -522,31 +522,31 @@ export const weaponFeatures = { ] }, paired: { - label: 'DAGGERHEART.Config.WeaponFeature.paired.name', - description: 'DAGGERHEART.Config.WeaponFeature.paired.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.paired.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.paired.description', override: { bonusDamage: 1 } }, parry: { - label: 'DAGGERHEART.Config.WeaponFeature.parry.name', - description: 'DAGGERHEART.Config.WeaponFeature.parry.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.parry.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.parry.description' }, persuasive: { - label: 'DAGGERHEART.Config.WeaponFeature.persuasive.name', - description: 'DAGGERHEART.Config.WeaponFeature.persuasive.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.description' }, pompous: { - label: 'DAGGERHEART.Config.WeaponFeature.pompous.name', - description: 'DAGGERHEART.Config.WeaponFeature.pompous.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.pompous.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.pompous.description' }, powerful: { - label: 'DAGGERHEART.Config.WeaponFeature.powerful.name', - description: 'DAGGERHEART.Config.WeaponFeature.powerful.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.description' }, protective: { - label: 'DAGGERHEART.Config.WeaponFeature.protective.name', - description: 'DAGGERHEART.Config.WeaponFeature.protective.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.protective.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.description', effects: [ { changes: [ @@ -560,12 +560,12 @@ export const weaponFeatures = { ] }, quick: { - label: 'DAGGERHEART.Config.WeaponFeature.quick.name', - description: 'DAGGERHEART.Config.WeaponFeature.quick.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.quick.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.quick.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.quick.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.quick.name', img: 'icons/skills/movement/arrow-upward-yellow.webp', actionType: 'action', cost: [ @@ -578,8 +578,8 @@ export const weaponFeatures = { ] }, reliable: { - label: 'DAGGERHEART.Config.WeaponFeature.reliable.name', - description: 'DAGGERHEART.Config.WeaponFeature.reliable.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.description', effects: [ { changes: [ @@ -593,40 +593,40 @@ export const weaponFeatures = { ] }, reloading: { - label: 'DAGGERHEART.Config.WeaponFeature.reloading.name', - description: 'DAGGERHEART.Config.WeaponFeature.reloading.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.reloading.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.reloading.description' }, retractable: { - label: 'DAGGERHEART.Config.WeaponFeature.retractable.name', - description: 'DAGGERHEART.Config.WeaponFeature.retractable.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.retractable.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.retractable.description' }, returning: { - label: 'DAGGERHEART.Config.WeaponFeature.returning.name', - description: 'DAGGERHEART.Config.WeaponFeature.returning.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.returning.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.returning.description' }, scary: { - label: 'DAGGERHEART.Config.WeaponFeature.scary.name', - description: 'DAGGERHEART.Config.WeaponFeature.scary.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.scary.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.scary.description' }, serrated: { - label: 'DAGGERHEART.Config.WeaponFeature.serrated.name', - description: 'DAGGERHEART.Config.WeaponFeature.serrated.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.description' }, sharpwing: { - label: 'DAGGERHEART.Config.WeaponFeature.sharpwing.name', - description: 'DAGGERHEART.Config.WeaponFeature.sharpwing.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.sharpwing.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.sharpwing.description' }, sheltering: { - label: 'DAGGERHEART.Config.WeaponFeature.sheltering.name', - description: 'DAGGERHEART.Config.WeaponFeature.sheltering.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.sheltering.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.sheltering.description' }, startling: { - label: 'DAGGERHEART.Config.WeaponFeature.startling.name', - description: 'DAGGERHEART.Config.WeaponFeature.startling.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.startling.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.startling.description', actions: [ { type: 'resource', - name: 'DAGGERHEART.Config.WeaponFeature.startling.name', + name: 'DAGGERHEART.CONFIG.WeaponFeature.startling.name', img: 'icons/magic/control/fear-fright-mask-orange.webp', actionType: 'action', cost: [ @@ -639,12 +639,12 @@ export const weaponFeatures = { ] }, timebending: { - label: 'DAGGERHEART.Config.WeaponFeature.timebending.name', - description: 'DAGGERHEART.Config.WeaponFeature.timebending.description' + label: 'DAGGERHEART.CONFIG.WeaponFeature.timebending.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.timebending.description' }, versatile: { - label: 'DAGGERHEART.Config.WeaponFeature.versatile.name', - description: 'DAGGERHEART.Config.WeaponFeature.versatile.description', + label: 'DAGGERHEART.CONFIG.WeaponFeature.versatile.name', + description: 'DAGGERHEART.CONFIG.WeaponFeature.versatile.description', versatile: { characterTrait: '', range: '', @@ -703,14 +703,14 @@ export const featureTypes = { export const actionTypes = { passive: { id: 'passive', - label: 'DAGGERHEART.Config.ActionType.passive' + label: 'DAGGERHEART.CONFIG.ActionType.passive' }, action: { id: 'action', - label: 'DAGGERHEART.Config.ActionType.action' + label: 'DAGGERHEART.CONFIG.ActionType.action' }, reaction: { id: 'reaction', - label: 'DAGGERHEART.Config.ActionType.reaction' + label: 'DAGGERHEART.CONFIG.ActionType.reaction' } }; diff --git a/module/config/settingsConfig.mjs b/module/config/settingsConfig.mjs index 9012aad5..51197e8a 100644 --- a/module/config/settingsConfig.mjs +++ b/module/config/settingsConfig.mjs @@ -33,10 +33,10 @@ export const gameSettings = { export const DualityRollColor = { colorful: { value: 0, - label: 'DAGGERHEART.Settings.DualityRollColor.options.colorful' + label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.colorful' }, normal: { value: 1, - label: 'DAGGERHEART.Settings.DualityRollColor.options.normal' + label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.normal' } }; diff --git a/module/data/action/actionDice.mjs b/module/data/action/actionDice.mjs index fa244d1e..cb430d63 100644 --- a/module/data/action/actionDice.mjs +++ b/module/data/action/actionDice.mjs @@ -113,7 +113,7 @@ export class DHDamageData extends foundry.abstract.DataModel { }), resultBased: new fields.BooleanField({ initial: false, - label: 'DAGGERHEART.Actions.Settings.resultBased.label' + label: 'DAGGERHEART.ACTIONS.Settings.resultBased.label' }), value: new fields.EmbeddedDataField(DHActionDiceData), valueAlt: new fields.EmbeddedDataField(DHActionDiceData) diff --git a/module/data/action/baseAction.mjs b/module/data/action/baseAction.mjs index e580d008..f797323c 100644 --- a/module/data/action/baseAction.mjs +++ b/module/data/action/baseAction.mjs @@ -110,7 +110,7 @@ export default class DHBaseAction extends foundry.abstract.DataModel { }), resultBased: new fields.BooleanField({ initial: false, - label: 'DAGGERHEART.Actions.Settings.resultBased.label' + label: 'DAGGERHEART.ACTIONS.Settings.resultBased.label' }), value: new fields.EmbeddedDataField(DHActionDiceData), valueAlt: new fields.EmbeddedDataField(DHActionDiceData) @@ -563,7 +563,7 @@ export default class DHBaseAction extends foundry.abstract.DataModel { async toChat(origin) { const cls = getDocumentClass('ChatMessage'); const systemData = { - title: game.i18n.localize('DAGGERHEART.Config.ActionType.action'), + title: game.i18n.localize('DAGGERHEART.CONFIG.ActionType.action'), origin: origin, img: this.img, name: this.name, diff --git a/module/data/actor/adversary.mjs b/module/data/actor/adversary.mjs index 199301d7..db7d2ca1 100644 --- a/module/data/actor/adversary.mjs +++ b/module/data/actor/adversary.mjs @@ -8,7 +8,7 @@ const resourceField = () => }); export default class DhpAdversary extends BaseDataActor { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Adversary']; + static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Adversary']; static get metadata() { return foundry.utils.mergeObject(super.metadata, { diff --git a/module/data/actor/character.mjs b/module/data/actor/character.mjs index 83d63cbb..4ccda1cd 100644 --- a/module/data/actor/character.mjs +++ b/module/data/actor/character.mjs @@ -251,11 +251,11 @@ export default class DhCharacter extends BaseDataActor { values: subclassFeatures }, companionFeatures: { - title: game.i18n.localize('DAGGERHEART.Actors.Character.companionFeatures'), + title: game.i18n.localize('DAGGERHEART.ACTORS.Character.companionFeatures'), type: 'companion', values: companionFeatures }, - features: { title: game.i18n.localize('DAGGERHEART.General.features'), type: 'feature', values: features } + features: { title: game.i18n.localize('DAGGERHEART.GENERAL.features'), type: 'feature', values: features } }; } diff --git a/module/data/actor/companion.mjs b/module/data/actor/companion.mjs index 909b027d..8745473f 100644 --- a/module/data/actor/companion.mjs +++ b/module/data/actor/companion.mjs @@ -5,7 +5,7 @@ import ActionField from '../fields/actionField.mjs'; import { adjustDice, adjustRange } from '../../helpers/utils.mjs'; export default class DhCompanion extends BaseDataActor { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Companion']; + static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Companion']; static get metadata() { return foundry.utils.mergeObject(super.metadata, { diff --git a/module/data/actor/environment.mjs b/module/data/actor/environment.mjs index f6e9a063..2cd3338f 100644 --- a/module/data/actor/environment.mjs +++ b/module/data/actor/environment.mjs @@ -2,7 +2,7 @@ import BaseDataActor from './base.mjs'; import ForeignDocumentUUIDArrayField from '../fields/foreignDocumentUUIDArrayField.mjs'; export default class DhEnvironment extends BaseDataActor { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Environment']; + static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Environment']; static get metadata() { return foundry.utils.mergeObject(super.metadata, { diff --git a/module/data/countdowns.mjs b/module/data/countdowns.mjs index dfb72343..e9649f6e 100644 --- a/module/data/countdowns.mjs +++ b/module/data/countdowns.mjs @@ -14,7 +14,7 @@ export default class DhCountdowns extends foundry.abstract.DataModel { } class DhCountdownData extends foundry.abstract.DataModel { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Applications.Countdown']; // Nots ure why this won't work. Setting labels manually for now + static LOCALIZATION_PREFIXES = ['DAGGERHEART.APPLICATIONS.Countdown']; // Nots ure why this won't work. Setting labels manually for now static defineSchema() { const fields = foundry.data.fields; @@ -62,7 +62,7 @@ class DhCountdown extends foundry.abstract.DataModel { return { name: new fields.StringField({ required: true, - label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.name.label' + label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.name.label' }), img: new fields.FilePathField({ categories: ['IMAGE'], @@ -90,23 +90,23 @@ class DhCountdown extends foundry.abstract.DataModel { required: true, integer: true, initial: 1, - label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.current.label' + label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.current.label' }), max: new fields.NumberField({ required: true, integer: true, initial: 1, - label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.max.label' + label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.max.label' }), type: new fields.SchemaField({ value: new fields.StringField({ required: true, choices: CONFIG.DH.GENERAL.countdownTypes, initial: CONFIG.DH.GENERAL.countdownTypes.spotlight.id, - label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.type.value.label' + label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.type.value.label' }), label: new fields.StringField({ - label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.type.label.label' + label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.type.label.label' }) }) }) diff --git a/module/data/item/beastform.mjs b/module/data/item/beastform.mjs index 0da016cf..2eb871ec 100644 --- a/module/data/item/beastform.mjs +++ b/module/data/item/beastform.mjs @@ -64,7 +64,7 @@ export default class DHBeastform extends BaseDataItem { await this.parent.parent.createEmbeddedDocuments('ActiveEffect', [ { type: 'beastform', - name: game.i18n.localize('DAGGERHEART.Items.Beastform.beastformEffect'), + name: game.i18n.localize('DAGGERHEART.ITEMS.Beastform.beastformEffect'), img: 'icons/creatures/abilities/paw-print-pair-purple.webp', system: { isBeastform: true, diff --git a/module/data/item/class.mjs b/module/data/item/class.mjs index b4eee803..4d951ed4 100644 --- a/module/data/item/class.mjs +++ b/module/data/item/class.mjs @@ -24,9 +24,9 @@ export default class DHClass extends BaseDataItem { integer: true, min: 1, initial: 5, - label: 'DAGGERHEART.General.hitPoints' + label: 'DAGGERHEART.GENERAL.hitPoints' }), - evasion: new fields.NumberField({ initial: 0, integer: true, label: 'DAGGERHEART.General.evasion' }), + evasion: new fields.NumberField({ initial: 0, integer: true, label: 'DAGGERHEART.GENERAL.evasion' }), hopeFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }), classFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }), subclasses: new ForeignDocumentUUIDArrayField({ type: 'Item', required: false }), diff --git a/module/data/levelTier.mjs b/module/data/levelTier.mjs index 1eb9e82b..b037d921 100644 --- a/module/data/levelTier.mjs +++ b/module/data/levelTier.mjs @@ -68,9 +68,9 @@ export const CompanionLevelOptionType = { label: 'Creature Comfort', features: [ { - name: 'DAGGERHEART.Applications.Levelup.actions.creatureComfort.name', + name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.creatureComfort.name', img: 'icons/magic/life/heart-cross-purple-orange.webp', - description: 'DAGGERHEART.Applications.Levelup.actions.creatureComfort.description' + description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.creatureComfort.description' } ] }, @@ -79,9 +79,9 @@ export const CompanionLevelOptionType = { label: 'Armored', features: [ { - name: 'DAGGERHEART.Applications.Levelup.actions.armored.name', + name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.armored.name', img: 'icons/equipment/shield/kite-wooden-oak-glow.webp', - description: 'DAGGERHEART.Applications.Levelup.actions.armored.description' + description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.armored.description' } ] }, @@ -98,9 +98,9 @@ export const CompanionLevelOptionType = { label: 'Bonded', features: [ { - name: 'DAGGERHEART.Applications.Levelup.actions.bonded.name', + name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.bonded.name', img: 'icons/magic/life/heart-red-blue.webp', - description: 'DAGGERHEART.Applications.Levelup.actions.bonded.description' + description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.bonded.description' } ] }, @@ -182,14 +182,14 @@ export const defaultLevelTiers = { domainCardByLevel: 1, options: { trait: { - label: 'DAGGERHEART.Applications.Levelup.options.trait', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait', checkboxSelections: 3, minCost: 1, type: LevelOptionType.trait.id, amount: 2 }, hitPoint: { - label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint', checkboxSelections: 2, minCost: 1, type: LevelOptionType.hitPoint.id, @@ -197,14 +197,14 @@ export const defaultLevelTiers = { value: 1 }, stress: { - label: 'DAGGERHEART.Applications.Levelup.options.stress', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress', checkboxSelections: 2, minCost: 1, type: LevelOptionType.stress.id, value: 1 }, experience: { - label: 'DAGGERHEART.Applications.Levelup.options.experience', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience', checkboxSelections: 1, minCost: 1, type: LevelOptionType.experience.id, @@ -212,14 +212,14 @@ export const defaultLevelTiers = { amount: 2 }, domainCard: { - label: 'DAGGERHEART.Applications.Levelup.options.domainCard', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard', checkboxSelections: 1, minCost: 1, type: LevelOptionType.domainCard.id, amount: 1 }, evasion: { - label: 'DAGGERHEART.Applications.Levelup.options.evasion', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion', checkboxSelections: 1, minCost: 1, type: LevelOptionType.evasion.id, @@ -245,28 +245,28 @@ export const defaultLevelTiers = { domainCardByLevel: 1, options: { trait: { - label: 'DAGGERHEART.Applications.Levelup.options.trait', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait', checkboxSelections: 3, minCost: 1, type: LevelOptionType.trait.id, amount: 2 }, hitPoint: { - label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint', checkboxSelections: 2, minCost: 1, type: LevelOptionType.hitPoint.id, value: 1 }, stress: { - label: 'DAGGERHEART.Applications.Levelup.options.stress', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress', checkboxSelections: 2, minCost: 1, type: LevelOptionType.stress.id, value: 1 }, experience: { - label: 'DAGGERHEART.Applications.Levelup.options.experience', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience', checkboxSelections: 1, minCost: 1, type: LevelOptionType.experience.id, @@ -274,34 +274,34 @@ export const defaultLevelTiers = { amount: 2 }, domainCard: { - label: 'DAGGERHEART.Applications.Levelup.options.domainCard', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard', checkboxSelections: 1, minCost: 1, type: LevelOptionType.domainCard.id, amount: 1 }, evasion: { - label: 'DAGGERHEART.Applications.Levelup.options.evasion', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion', checkboxSelections: 1, minCost: 1, type: LevelOptionType.evasion.id, value: 1 }, subclass: { - label: 'DAGGERHEART.Applications.Levelup.options.subclass', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.subclass', checkboxSelections: 1, minCost: 1, type: LevelOptionType.subclass.id }, proficiency: { - label: 'DAGGERHEART.Applications.Levelup.options.proficiency', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.proficiency', checkboxSelections: 2, minCost: 2, type: LevelOptionType.proficiency.id, value: 1 }, multiclass: { - label: 'DAGGERHEART.Applications.Levelup.options.multiclass', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.multiclass', checkboxSelections: 2, minCost: 2, type: LevelOptionType.multiclass.id @@ -326,28 +326,28 @@ export const defaultLevelTiers = { domainCardByLevel: 1, options: { trait: { - label: 'DAGGERHEART.Applications.Levelup.options.trait', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait', checkboxSelections: 3, minCost: 1, type: LevelOptionType.trait.id, amount: 2 }, hitPoint: { - label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint', checkboxSelections: 2, minCost: 1, type: LevelOptionType.hitPoint.id, value: 1 }, stress: { - label: 'DAGGERHEART.Applications.Levelup.options.stress', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress', checkboxSelections: 2, minCost: 1, type: LevelOptionType.stress.id, value: 1 }, experience: { - label: 'DAGGERHEART.Applications.Levelup.options.experience', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience', checkboxSelections: 1, minCost: 1, type: LevelOptionType.experience.id, @@ -355,34 +355,34 @@ export const defaultLevelTiers = { amount: 2 }, domainCard: { - label: 'DAGGERHEART.Applications.Levelup.options.domainCard', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard', checkboxSelections: 1, minCost: 1, type: LevelOptionType.domainCard.id, amount: 1 }, evasion: { - label: 'DAGGERHEART.Applications.Levelup.options.evasion', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion', checkboxSelections: 1, minCost: 1, type: LevelOptionType.evasion.id, value: 1 }, subclass: { - label: 'DAGGERHEART.Applications.Levelup.options.subclass', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.subclass', checkboxSelections: 1, minCost: 1, type: LevelOptionType.subclass.id }, proficiency: { - label: 'DAGGERHEART.Applications.Levelup.options.proficiency', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.proficiency', checkboxSelections: 2, minCost: 2, type: LevelOptionType.proficiency.id, value: 1 }, multiclass: { - label: 'DAGGERHEART.Applications.Levelup.options.multiclass', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.multiclass', checkboxSelections: 2, minCost: 2, type: LevelOptionType.multiclass.id @@ -406,7 +406,7 @@ export const defaultCompanionTier = { domainCardByLevel: 0, options: { experience: { - label: 'DAGGERHEART.Applications.Levelup.options.intelligent', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.intelligent', checkboxSelections: 3, minCost: 1, type: LevelOptionType.experience.id, @@ -414,28 +414,28 @@ export const defaultCompanionTier = { amount: 1 }, hope: { - label: 'DAGGERHEART.Applications.Levelup.options.lightInTheDark', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.lightInTheDark', checkboxSelections: 1, minCost: 1, type: CompanionLevelOptionType.hope.id, value: 1 }, creatureComfort: { - label: 'DAGGERHEART.Applications.Levelup.options.creatureComfort', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.creatureComfort', checkboxSelections: 1, minCost: 1, type: CompanionLevelOptionType.creatureComfort.id, value: 1 }, armored: { - label: 'DAGGERHEART.Applications.Levelup.options.armored', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.armored', checkboxSelections: 1, minCost: 1, type: CompanionLevelOptionType.armored.id, value: 1 }, vicious: { - label: 'DAGGERHEART.Applications.Levelup.options.vicious', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.vicious', checkboxSelections: 3, minCost: 1, type: CompanionLevelOptionType.vicious.id, @@ -443,21 +443,21 @@ export const defaultCompanionTier = { amount: 1 }, stress: { - label: 'DAGGERHEART.Applications.Levelup.options.resilient', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.resilient', checkboxSelections: 3, minCost: 1, type: LevelOptionType.stress.id, value: 1 }, bonded: { - label: 'DAGGERHEART.Applications.Levelup.options.bonded', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.bonded', checkboxSelections: 1, minCost: 1, type: CompanionLevelOptionType.bonded.id, value: 1 }, evasion: { - label: 'DAGGERHEART.Applications.Levelup.options.aware', + label: 'DAGGERHEART.APPLICATIONS.Levelup.options.aware', checkboxSelections: 3, minCost: 1, type: LevelOptionType.evasion.id, diff --git a/module/data/settings/Appearance.mjs b/module/data/settings/Appearance.mjs index 2fc3e8d7..8b04f558 100644 --- a/module/data/settings/Appearance.mjs +++ b/module/data/settings/Appearance.mjs @@ -8,7 +8,7 @@ export default class DhAppearance extends foundry.abstract.DataModel { required: true, choices: fearDisplay, initial: fearDisplay.token.value, - label: 'DAGGERHEART.Settings.Appearance.FIELDS.displayFear.label' + label: 'DAGGERHEART.SETTINGS.Appearance.FIELDS.displayFear.label' }), dualityColorScheme: new fields.StringField({ required: true, @@ -48,10 +48,10 @@ export default class DhAppearance extends foundry.abstract.DataModel { export const DualityRollColor = { colorful: { value: 'colorful', - label: 'DAGGERHEART.Settings.DualityRollColor.options.colorful' + label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.colorful' }, normal: { value: 'normal', - label: 'DAGGERHEART.Settings.DualityRollColor.options.normal' + label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.normal' } }; diff --git a/module/data/settings/Automation.mjs b/module/data/settings/Automation.mjs index bf2aed4b..013e9e1e 100644 --- a/module/data/settings/Automation.mjs +++ b/module/data/settings/Automation.mjs @@ -1,5 +1,5 @@ export default class DhAutomation extends foundry.abstract.DataModel { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.Automation']; // Doesn't work for some reason + static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.Automation']; // Doesn't work for some reason static defineSchema() { const fields = foundry.data.fields; diff --git a/module/data/settings/Homebrew.mjs b/module/data/settings/Homebrew.mjs index 78a2b7be..ead5a09f 100644 --- a/module/data/settings/Homebrew.mjs +++ b/module/data/settings/Homebrew.mjs @@ -1,7 +1,7 @@ import { defaultRestOptions } from '../../config/generalConfig.mjs'; export default class DhHomebrew extends foundry.abstract.DataModel { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.Homebrew']; // Doesn't work for some reason + static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.Homebrew']; // Doesn't work for some reason static defineSchema() { const fields = foundry.data.fields; @@ -11,7 +11,7 @@ export default class DhHomebrew extends foundry.abstract.DataModel { integer: true, min: 0, initial: 12, - label: 'DAGGERHEART.Settings.Homebrew.FIELDS.maxFear.label' + label: 'DAGGERHEART.SETTINGS.Homebrew.FIELDS.maxFear.label' }), traitArray: new fields.ArrayField(new fields.NumberField({ required: true, integer: true }), { initial: () => [2, 1, 1, 0, 0, -1] @@ -20,32 +20,32 @@ export default class DhHomebrew extends foundry.abstract.DataModel { enabled: new fields.BooleanField({ required: true, initial: false, - label: 'DAGGERHEART.Settings.Homebrew.currency.enabled' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.enabled' }), title: new fields.StringField({ required: true, initial: 'Gold', - label: 'DAGGERHEART.Settings.Homebrew.currency.currencyName' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.currencyName' }), coins: new fields.StringField({ required: true, initial: 'Coins', - label: 'DAGGERHEART.Settings.Homebrew.currency.coinName' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.coinName' }), handfulls: new fields.StringField({ required: true, initial: 'Handfulls', - label: 'DAGGERHEART.Settings.Homebrew.currency.handfullName' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.handfullName' }), bags: new fields.StringField({ required: true, initial: 'Bags', - label: 'DAGGERHEART.Settings.Homebrew.currency.bagName' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.bagName' }), chests: new fields.StringField({ required: true, initial: 'Chests', - label: 'DAGGERHEART.Settings.Homebrew.currency.chestName' + label: 'DAGGERHEART.SETTINGS.Homebrew.currency.chestName' }) }), restMoves: new fields.SchemaField({ diff --git a/module/data/settings/RangeMeasurement.mjs b/module/data/settings/RangeMeasurement.mjs index c5153447..71fb7787 100644 --- a/module/data/settings/RangeMeasurement.mjs +++ b/module/data/settings/RangeMeasurement.mjs @@ -2,23 +2,23 @@ export default class DhRangeMeasurement extends foundry.abstract.DataModel { static defineSchema() { const fields = foundry.data.fields; return { - enabled: new fields.BooleanField({ required: true, initial: false, label: 'DAGGERHEART.General.enabled' }), - melee: new fields.NumberField({ required: true, initial: 5, label: 'DAGGERHEART.Config.Range.melee.name' }), + enabled: new fields.BooleanField({ required: true, initial: false, label: 'DAGGERHEART.GENERAL.enabled' }), + melee: new fields.NumberField({ required: true, initial: 5, label: 'DAGGERHEART.CONFIG.Range.melee.name' }), veryClose: new fields.NumberField({ required: true, initial: 15, - label: 'DAGGERHEART.Config.Range.veryClose.name' + label: 'DAGGERHEART.CONFIG.Range.veryClose.name' }), close: new fields.NumberField({ required: true, initial: 30, - label: 'DAGGERHEART.Config.Range.close.name' + label: 'DAGGERHEART.CONFIG.Range.close.name' }), - far: new fields.NumberField({ required: true, initial: 60, label: 'DAGGERHEART.Config.Range.far.name' }), + far: new fields.NumberField({ required: true, initial: 60, label: 'DAGGERHEART.CONFIG.Range.far.name' }), veryFar: new fields.NumberField({ required: true, initial: 120, - label: 'DAGGERHEART.Config.Range.veryFar.name' + label: 'DAGGERHEART.CONFIG.Range.veryFar.name' }) }; } diff --git a/module/data/settings/VariantRules.mjs b/module/data/settings/VariantRules.mjs index 25e012bc..4428ae75 100644 --- a/module/data/settings/VariantRules.mjs +++ b/module/data/settings/VariantRules.mjs @@ -1,5 +1,5 @@ export default class DhVariantRules extends foundry.abstract.DataModel { - static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.VariantRules']; + static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.VariantRules']; static defineSchema() { const fields = foundry.data.fields; @@ -8,18 +8,18 @@ export default class DhVariantRules extends foundry.abstract.DataModel { enabled: new fields.BooleanField({ required: true, initial: false, - label: 'DAGGERHEART.Settings.VariantRules.FIELDS.actionTokens.enabled.label' + label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.actionTokens.enabled.label' }), tokens: new fields.NumberField({ required: true, integer: true, initial: 3, - label: 'DAGGERHEART.Settings.VariantRules.FIELDS.actionTokens.tokens.label' + label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.actionTokens.tokens.label' }) }), useCoins: new fields.BooleanField({ initial: false, - label: 'DAGGERHEART.Settings.VariantRules.FIELDS.useCoins.label' + label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.useCoins.label' }) }; } diff --git a/module/dice/dualityRoll.mjs b/module/dice/dualityRoll.mjs index f5ad63ad..0f1c51d9 100644 --- a/module/dice/dualityRoll.mjs +++ b/module/dice/dualityRoll.mjs @@ -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) }); } diff --git a/module/documents/activeEffect.mjs b/module/documents/activeEffect.mjs index 695099ec..65610e7c 100644 --- a/module/documents/activeEffect.mjs +++ b/module/documents/activeEffect.mjs @@ -32,7 +32,7 @@ export default class DhActiveEffect extends ActiveEffect { async toChat(origin) { const cls = getDocumentClass('ChatMessage'); const systemData = { - title: game.i18n.localize('DAGGERHEART.Config.ActionType.action'), + title: game.i18n.localize('DAGGERHEART.CONFIG.ActionType.action'), origin: origin, img: this.img, name: this.name, diff --git a/module/enrichers/DualityRollEnricher.mjs b/module/enrichers/DualityRollEnricher.mjs index de186280..094a6948 100644 --- a/module/enrichers/DualityRollEnricher.mjs +++ b/module/enrichers/DualityRollEnricher.mjs @@ -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 = ` diff --git a/module/enrichers/TemplateEnricher.mjs b/module/enrichers/TemplateEnricher.mjs index b6013346..11523ce5 100644 --- a/module/enrichers/TemplateEnricher.mjs +++ b/module/enrichers/TemplateEnricher.mjs @@ -31,7 +31,7 @@ export default function DhTemplateEnricher(match, _options) { const templateElement = document.createElement('span'); templateElement.innerHTML = ` `; diff --git a/module/helpers/utils.mjs b/module/helpers/utils.mjs index 96d70fd5..e719b25e 100644 --- a/module/helpers/utils.mjs +++ b/module/helpers/utils.mjs @@ -236,13 +236,13 @@ Roll.replaceFormulaData = function (formula, data = {}, { missing, warn = false export const getDamageLabel = damage => { switch (damage) { case 3: - return game.i18n.localize('DAGGERHEART.General.Damage.severe'); + return game.i18n.localize('DAGGERHEART.GENERAL.Damage.severe'); case 2: - return game.i18n.localize('DAGGERHEART.General.Damage.major'); + return game.i18n.localize('DAGGERHEART.GENERAL.Damage.major'); case 1: - return game.i18n.localize('DAGGERHEART.General.Damage.minor'); + return game.i18n.localize('DAGGERHEART.GENERAL.Damage.minor'); case 0: - return game.i18n.localize('DAGGERHEART.General.Damage.none'); + return game.i18n.localize('DAGGERHEART.GENERAL.Damage.none'); } }; diff --git a/module/systemRegistration/settings.mjs b/module/systemRegistration/settings.mjs index ad790aa8..a4ed05c8 100644 --- a/module/systemRegistration/settings.mjs +++ b/module/systemRegistration/settings.mjs @@ -68,43 +68,43 @@ const registerMenuSettings = () => { const registerMenus = () => { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Automation.Name, { - name: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'), - label: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.label'), - hint: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.label'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.hint'), icon: CONFIG.DH.SETTINGS.menu.Automation.Icon, type: DhAutomationSettings, restricted: true }); game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Homebrew.Name, { - name: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.name'), - label: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.label'), - hint: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.name'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.label'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.hint'), icon: CONFIG.DH.SETTINGS.menu.Homebrew.Icon, type: DhHomebrewSettings, restricted: true }); game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Range.Name, { - name: game.i18n.localize('DAGGERHEART.Settings.Menu.range.name'), - label: game.i18n.localize('DAGGERHEART.Settings.Menu.range.label'), - hint: game.i18n.localize('DAGGERHEART.Settings.Menu.range.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.name'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.label'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.hint'), icon: CONFIG.DH.SETTINGS.menu.Range.Icon, type: DhRangeMeasurementSettings, restricted: true }); game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance, { - name: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.title'), - label: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.label'), - hint: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.title'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.label'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.hint'), icon: 'fa-solid fa-palette', type: DhAppearanceSettings, restricted: false }); game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.VariantRules.Name, { - name: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.title'), - label: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.label'), - hint: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.title'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.label'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.hint'), icon: CONFIG.DH.SETTINGS.menu.VariantRules.Icon, type: DhVariantRuleSettings, restricted: false @@ -120,8 +120,8 @@ const registerNonConfigSettings = () => { }); game.settings.register(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Resources.Fear, { - name: game.i18n.localize('DAGGERHEART.Settings.Resources.fear.name'), - hint: game.i18n.localize('DAGGERHEART.Settings.Resources.fear.hint'), + name: game.i18n.localize('DAGGERHEART.SETTINGS.Resources.fear.name'), + hint: game.i18n.localize('DAGGERHEART.SETTINGS.Resources.fear.hint'), scope: 'world', config: false, type: Number, diff --git a/templates/actionTypes/beastform.hbs b/templates/actionTypes/beastform.hbs index 2ec1dc6b..d7ddba7a 100644 --- a/templates/actionTypes/beastform.hbs +++ b/templates/actionTypes/beastform.hbs @@ -1,17 +1,17 @@
-
{{localize "DAGGERHEART.Actions.Config.beastform.label"}}
+
{{localize "DAGGERHEART.ACTIONS.Config.beastform.label"}}
- +
-

{{localize "DAGGERHEART.Actions.Config.beastform.exactHint"}}

+

{{localize "DAGGERHEART.ACTIONS.Config.beastform.exactHint"}}

\ No newline at end of file diff --git a/templates/characterCreation/footer.hbs b/templates/characterCreation/footer.hbs index 20cd3684..fb9b6a29 100644 --- a/templates/characterCreation/footer.hbs +++ b/templates/characterCreation/footer.hbs @@ -1,4 +1,4 @@ \ No newline at end of file diff --git a/templates/characterCreation/tabs.hbs b/templates/characterCreation/tabs.hbs index 54d6ce06..3983bcce 100644 --- a/templates/characterCreation/tabs.hbs +++ b/templates/characterCreation/tabs.hbs @@ -5,7 +5,7 @@ {{localize tab.label}}
{{#if tab.finished}}{{/if}}
- {{#if tab.optional}}
{{localize "DAGGERHEART.General.Tabs.optional"}}
{{/if}} + {{#if tab.optional}}
{{localize "DAGGERHEART.GENERAL.Tabs.optional"}}
{{/if}}
{{/each}} diff --git a/templates/characterCreation/tabs/equipment.hbs b/templates/characterCreation/tabs/equipment.hbs index 4f0259c0..c66088a2 100644 --- a/templates/characterCreation/tabs/equipment.hbs +++ b/templates/characterCreation/tabs/equipment.hbs @@ -6,11 +6,11 @@
- {{localize "DAGGERHEART.Applications.CharacterCreation.suggestedArmor"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedArmor"}}
{{#> "systems/daggerheart/templates/components/card-preview.hbs" armor }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectArmor"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectArmor"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
{{#if armor.suggestion}} @@ -24,13 +24,13 @@
- {{localize "DAGGERHEART.Applications.CharacterCreation.suggestedWeapons"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedWeapons"}}
{{#> "systems/daggerheart/templates/components/card-preview.hbs" primaryWeapon }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectPrimaryWeapon"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectPrimaryWeapon"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
{{#if primaryWeapon.suggestion}} @@ -45,7 +45,7 @@
{{#> "systems/daggerheart/templates/components/card-preview.hbs" secondaryWeapon }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectSecondaryWeapon"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectSecondaryWeapon"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
{{#if secondaryWeapon.suggestion}} @@ -65,7 +65,7 @@
- {{localize "DAGGERHEART.Applications.CharacterCreation.startingItems"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.startingItems"}}
{{#each inventory.take}} @@ -78,7 +78,7 @@
- {{localize "DAGGERHEART.Applications.CharacterCreation.choice"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.choice"}}
{{#each inventory.choiceA.suggestions}} @@ -91,7 +91,7 @@
- {{localize "DAGGERHEART.Applications.CharacterCreation.choice"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.choice"}}
{{#each inventory.choiceB.suggestions}} diff --git a/templates/characterCreation/tabs/setup.hbs b/templates/characterCreation/tabs/setup.hbs index 03f2b61c..3f21fbb4 100644 --- a/templates/characterCreation/tabs/setup.hbs +++ b/templates/characterCreation/tabs/setup.hbs @@ -9,13 +9,13 @@
{{#> "systems/daggerheart/templates/components/card-preview.hbs" class }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectClass"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectClass"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
{{#> "systems/daggerheart/templates/components/card-preview.hbs" subclass disabled=(not class.img) }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectSubclass"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectSubclass"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
@@ -23,17 +23,17 @@ {{#if (gte visibility 2)}}
- {{localize "DAGGERHEART.Applications.CharacterCreation.heritage"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.heritage"}}
{{#> "systems/daggerheart/templates/components/card-preview.hbs" ancestry }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectAncestry"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectAncestry"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
{{#> "systems/daggerheart/templates/components/card-preview.hbs" community }} - {{localize "DAGGERHEART.Applications.CharacterCreation.selectCommunity"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectCommunity"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
@@ -42,10 +42,10 @@ {{#if (gte visibility 3)}}
- {{localize "DAGGERHEART.Applications.CharacterCreation.traitIncreases"}} {{traits.nrSelected}}/{{traits.nrTotal}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.traitIncreases"}} {{traits.nrSelected}}/{{traits.nrTotal}}
- {{localize "DAGGERHEART.Applications.CharacterCreation.suggestedTraits"}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedTraits"}}
{{#each suggestedTraits}}
{{this}}
@@ -69,11 +69,11 @@ {{#if (gte visibility 4)}}
- {{localize "DAGGERHEART.Applications.CharacterCreation.initialExperiences"}} {{experience.nrSelected}}/{{experience.nrTotal}} + {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.initialExperiences"}} {{experience.nrSelected}}/{{experience.nrTotal}}
{{#each experience.values as |experience id|}}
- +
{{numberFormat this.value sign=true}}
{{/each}} @@ -89,7 +89,7 @@
{{#> "systems/daggerheart/templates/components/card-preview.hbs" domainCard }} {{#each @root.class.system.domains }} -
{{localize (concat "DAGGERHEART.General.Domain." this ".label")}}
+
{{localize (concat "DAGGERHEART.GENERAL.Domain." this ".label")}}
{{/each}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
diff --git a/templates/dialogs/beastformDialog.hbs b/templates/dialogs/beastformDialog.hbs index 22f51620..05f87b89 100644 --- a/templates/dialogs/beastformDialog.hbs +++ b/templates/dialogs/beastformDialog.hbs @@ -13,6 +13,6 @@ {{/each}}
- +
\ No newline at end of file diff --git a/templates/dialogs/damageReduction.hbs b/templates/dialogs/damageReduction.hbs index 461e0e7c..4c30bbfc 100644 --- a/templates/dialogs/damageReduction.hbs +++ b/templates/dialogs/damageReduction.hbs @@ -2,12 +2,12 @@
-

{{localize "DAGGERHEART.Applications.DamageReduction.armorMarks"}}

+

{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.armorMarks"}}

{{armorMarks}}/{{armorScore}}
{{#if this.stress}}
-

{{localize "DAGGERHEART.Applications.DamageReduction.stress"}}

+

{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.stress"}}

{{this.stress.value}}/{{this.stress.maxTotal}}
{{/if}} @@ -30,19 +30,19 @@ {{#each marks.stress}}
{{/each}}
-
{{localize "DAGGERHEART.Applications.DamageReduction.usedMarks"}}
+
{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.usedMarks"}}
-

{{localize "DAGGERHEART.Applications.DamageReduction.stressReduction"}}

+

{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.stressReduction"}}

diff --git a/templates/dialogs/deathMove.hbs b/templates/dialogs/deathMove.hbs index 268cce66..1747a340 100644 --- a/templates/dialogs/deathMove.hbs +++ b/templates/dialogs/deathMove.hbs @@ -13,7 +13,7 @@ {{/each}}
- +
\ No newline at end of file diff --git a/templates/dialogs/dice-roll/rollSelection.hbs b/templates/dialogs/dice-roll/rollSelection.hbs index ede72e3c..c01b33ba 100644 --- a/templates/dialogs/dice-roll/rollSelection.hbs +++ b/templates/dialogs/dice-roll/rollSelection.hbs @@ -97,7 +97,7 @@ {{else}} {{/if}} - {{localize "DAGGERHEART.General.Advantage.full"}} + {{localize "DAGGERHEART.GENERAL.Advantage.full"}} {{#unless (eq @root.rollType 'D20Roll')}} {{selectOptions @root.ownershipOptions selected=ownership.default labelAttr="label" valueAttr="value" }} diff --git a/templates/levelup/tabs/selections.hbs b/templates/levelup/tabs/selections.hbs index a53da1be..f6996934 100644 --- a/templates/levelup/tabs/selections.hbs +++ b/templates/levelup/tabs/selections.hbs @@ -6,12 +6,12 @@
{{#if (gt this.newExperiences.length 0)}}
-

{{localize "DAGGERHEART.Applications.Levelup.summary.newExperiences"}}

+

{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}

{{#each this.newExperiences}}
- +
{{numberFormat this.modifier sign=true}}
@@ -26,7 +26,7 @@ {{#if this.traits.active}}

-
{{localize "DAGGERHEART.Applications.Levelup.summary.traits"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.traits"}}
{{this.traits.progress.selected}}/{{this.traits.progress.max}}

@@ -37,7 +37,7 @@ {{#if this.experienceIncreases.active}}

-
{{localize "DAGGERHEART.Applications.Levelup.summary.experienceIncreases"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}
{{this.experienceIncreases.progress.selected}}/{{this.experienceIncreases.progress.max}}

@@ -47,7 +47,7 @@ {{#if (gt this.domainCards.length 0)}}
-

{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}

+

{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}

{{#each this.domainCards}} @@ -63,7 +63,7 @@ {{#if (gt this.subclassCards.length 0)}}
-

{{localize "DAGGERHEART.Applications.Levelup.summary.subclass"}}

+

{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}

{{#each this.subclassCards}} @@ -75,7 +75,7 @@ {{#if this.multiclass}}
-

{{localize "DAGGERHEART.Applications.Levelup.summary.multiclass"}}

+

{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}

{{#> "systems/daggerheart/templates/components/card-preview.hbs" this.multiclass }} @@ -114,7 +114,7 @@ {{#if this.vicious}}
-

{{localize "DAGGERHEART.Applications.Levelup.summary.vicious"}}

+

{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.vicious"}}

{{#each this.vicious}}
{{radioBoxes (concat "levelup." this.path ".data") @root.viciousChoices checked=(lookup this.data 0)}} diff --git a/templates/levelup/tabs/summary.hbs b/templates/levelup/tabs/summary.hbs index 049a0e59..78220b23 100644 --- a/templates/levelup/tabs/summary.hbs +++ b/templates/levelup/tabs/summary.hbs @@ -6,13 +6,13 @@
{{#if this.achievements}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.levelAchievements"}} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAchievements"}}
{{#if this.achievements.proficiency.shown}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }} {{this.achievements.proficiency.new}}
@@ -20,14 +20,14 @@ {{/if}} {{#if this.achievements.damageThresholds}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.General.unarmored"}}){{/if}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.GENERAL.unarmored"}}){{/if}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }} {{this.achievements.damageThresholds.major.new}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }} {{this.achievements.damageThresholds.severe.new}}
@@ -35,7 +35,7 @@ {{/if}} {{#if this.achievements.domainCards.shown}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}
{{#each this.achievements.domainCards.values}}
{{this.name}}
@@ -45,7 +45,7 @@ {{/if}} {{#if this.achievements.experiences.shown}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.newExperiences"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}
{{#each this.achievements.experiences.values}}
{{this.name}} {{numberFormat this.modifier sign=true}}
@@ -57,14 +57,14 @@
{{/if}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.levelAdvancements"}} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAdvancements"}}
{{#if this.advancements.statistics.shown}}
{{#if this.advancements.statistics.proficiency.shown}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }} {{this.advancements.statistics.proficiency.new}}
@@ -72,7 +72,7 @@ {{#if this.advancements.statistics.hitPoints.shown}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }} {{this.advancements.statistics.hitPoints.new}}
@@ -80,14 +80,14 @@ {{#if this.advancements.statistics.stress.shown}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }} {{this.advancements.statistics.stress.new}}
{{/if}} {{#if this.advancements.statistics.evasion.shown}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }} {{this.advancements.statistics.evasion.new}}
@@ -97,7 +97,7 @@ {{#if this.advancements.traits}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.traits"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.traits"}}
{{#each this.advancements.traits}}
@@ -111,7 +111,7 @@ {{#if this.advancements.domainCards}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}
{{#each this.advancements.domainCards}}
{{this.name}}
@@ -122,7 +122,7 @@ {{#if this.advancements.experiences}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.experienceIncreases"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}
{{#each this.advancements.experiences}}
{{this.name}} {{numberFormat this.modifier sign=true}}
@@ -133,7 +133,7 @@ {{#if this.advancements.subclass}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.subclass"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}
{{#each this.advancements.subclass}}
{{this.name}} - {{this.featureLabel}}
@@ -145,7 +145,7 @@ {{#if this.advancements.multiclass}} {{#with this.advancements.multiclass}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.multiclass"}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}
{{this.name}}
{{this.domain}}
@@ -157,21 +157,21 @@ {{#if this.advancements.vicious.damage}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }} {{this.advancements.vicious.damage.new}}
{{/if}} {{#if this.advancements.vicious.range}}
- {{localize "DAGGERHEART.Applications.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }} + {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }} {{this.advancements.vicious.range.new}}
{{/if}} {{#each this.advancements.simple}}
-
{{localize "DAGGERHEART.Applications.Levelup.summary.simpleFeature" feature=this}}
+
{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.simpleFeature" feature=this}}
{{/each}}
diff --git a/templates/levelup/tabs/tab-navigation.hbs b/templates/levelup/tabs/tab-navigation.hbs index 7befcac3..82aacf1e 100644 --- a/templates/levelup/tabs/tab-navigation.hbs +++ b/templates/levelup/tabs/tab-navigation.hbs @@ -19,7 +19,7 @@ {{/if}}
{{#if this.navigate.previous.fromSummary}} - + {{else}} {{#if (not this.navigate.previous.disabled)}} @@ -27,7 +27,7 @@ {{/if}} {{#if this.navigate.next.show}} {{#if this.navigate.next.toSummary}} - + {{else}} {{/if}} diff --git a/templates/settings/appearance-settings.hbs b/templates/settings/appearance-settings.hbs index 0b16eeea..5aa6d28d 100644 --- a/templates/settings/appearance-settings.hbs +++ b/templates/settings/appearance-settings.hbs @@ -2,104 +2,104 @@ {{formGroup settingFields.schema.fields.displayFear value=settingFields._source.displayFear localize=true}}
- {{localize "DAGGERHEART.Settings.Menu.appearance.duality"}} + {{localize "DAGGERHEART.SETTINGS.Menu.appearance.duality"}} {{formInput settingFields.schema.fields.dualityColorScheme value=settingFields._source.dualityColorScheme localize=true}} -

{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.title"}}

-
{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.hint"}}
+

{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.title"}}

+
{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}
- {{localize "DAGGERHEART.General.hope"}} + {{localize "DAGGERHEART.GENERAL.hope"}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.foreground value=settingFields._source.diceSoNice.hope.foreground localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.background value=settingFields._source.diceSoNice.hope.background localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.outline value=settingFields._source.diceSoNice.hope.outline localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.edge value=settingFields._source.diceSoNice.hope.edge localize=true}}
- {{localize "DAGGERHEART.General.fear"}} + {{localize "DAGGERHEART.GENERAL.fear"}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.foreground value=settingFields._source.diceSoNice.fear.foreground localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.background value=settingFields._source.diceSoNice.fear.background localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.outline value=settingFields._source.diceSoNice.fear.outline localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.edge value=settingFields._source.diceSoNice.fear.edge localize=true}}
- {{localize "DAGGERHEART.General.Advantage.full"}} + {{localize "DAGGERHEART.GENERAL.Advantage.full"}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.foreground value=settingFields._source.diceSoNice.advantage.foreground localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.background value=settingFields._source.diceSoNice.advantage.background localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.outline value=settingFields._source.diceSoNice.advantage.outline localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.edge value=settingFields._source.diceSoNice.advantage.edge localize=true}}
- {{localize "DAGGERHEART.General.Disadvantage.full"}} + {{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.foreground value=settingFields._source.diceSoNice.disadvantage.foreground localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.background value=settingFields._source.diceSoNice.disadvantage.background localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.outline value=settingFields._source.diceSoNice.disadvantage.outline localize=true}}
- + {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.edge value=settingFields._source.diceSoNice.disadvantage.edge localize=true}}
diff --git a/templates/settings/automation-settings.hbs b/templates/settings/automation-settings.hbs index 8db980c7..1b7b9e44 100644 --- a/templates/settings/automation-settings.hbs +++ b/templates/settings/automation-settings.hbs @@ -1,18 +1,18 @@
- +
{{formInput settingFields.schema.fields.hope value=settingFields._source.hope }}
- +
{{formInput settingFields.schema.fields.actionPoints value=settingFields._source.actionPoints }}
- +
{{formInput settingFields.schema.fields.countdowns value=settingFields._source.countdowns }}
diff --git a/templates/settings/homebrew-settings.hbs b/templates/settings/homebrew-settings.hbs index f37b616a..4d0e1f29 100644 --- a/templates/settings/homebrew-settings.hbs +++ b/templates/settings/homebrew-settings.hbs @@ -1,11 +1,11 @@
{{formGroup settingFields.schema.fields.maxFear value=settingFields._source.maxFear localize=true}} -

{{localize "DAGGERHEART.Settings.Homebrew.FIELDS.traitArray.label"}}

+

{{localize "DAGGERHEART.SETTINGS.Homebrew.FIELDS.traitArray.label"}}

{{#each settingFields._source.traitArray as |trait index|}}
- +
{{/each}} @@ -13,7 +13,7 @@
- {{localize "DAGGERHEART.Settings.Homebrew.currency.title"}} + {{localize "DAGGERHEART.SETTINGS.Homebrew.currency.title"}} {{formGroup settingFields.schema.fields.currency.fields.enabled value=settingFields._source.currency.enabled localize=true}} {{formGroup settingFields.schema.fields.currency.fields.title value=settingFields._source.currency.title localize=true}} @@ -25,17 +25,17 @@
- {{localize "DAGGERHEART.Settings.Homebrew.downtimeMoves"}} + {{localize "DAGGERHEART.SETTINGS.Homebrew.downtimeMoves"}}
- {{localize "DAGGERHEART.Applications.Downtime.longRest.title"}} + {{localize "DAGGERHEART.APPLICATIONS.Downtime.longRest.title"}}
- +
@@ -50,13 +50,13 @@
- {{localize "DAGGERHEART.Applications.Downtime.shortRest.title"}} + {{localize "DAGGERHEART.APPLICATIONS.Downtime.shortRest.title"}}
- +
diff --git a/templates/settings/variant-rules.hbs b/templates/settings/variant-rules.hbs index bc3985ad..1ee18b99 100644 --- a/templates/settings/variant-rules.hbs +++ b/templates/settings/variant-rules.hbs @@ -1,6 +1,6 @@
- +
{{formGroup settingFields.schema.fields.actionTokens.fields.enabled value=settingFields._source.actionTokens.enabled localize=true}} diff --git a/templates/sheets-settings/adversary-settings/attack.hbs b/templates/sheets-settings/adversary-settings/attack.hbs index d582f40e..eb7183b2 100644 --- a/templates/sheets-settings/adversary-settings/attack.hbs +++ b/templates/sheets-settings/adversary-settings/attack.hbs @@ -4,12 +4,12 @@ data-group="{{tabs.attack.group}}" >
- {{localize "DAGGERHEART.General.basics"}} + {{localize "DAGGERHEART.GENERAL.basics"}} {{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}} {{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}}
- {{localize "DAGGERHEART.General.attack"}} + {{localize "DAGGERHEART.GENERAL.attack"}} {{formField systemFields.attack.fields.roll.fields.bonus value=document.system.attack.roll.bonus label="Attack Bonus" name="system.attack.roll.bonus"}} {{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}} {{#if systemFields.attack.fields.target.fields}} diff --git a/templates/sheets-settings/adversary-settings/details.hbs b/templates/sheets-settings/adversary-settings/details.hbs index ad4f9ae9..08668fd8 100644 --- a/templates/sheets-settings/adversary-settings/details.hbs +++ b/templates/sheets-settings/adversary-settings/details.hbs @@ -4,34 +4,34 @@ data-group='{{tabs.details.group}}' >
- {{localize 'DAGGERHEART.General.basics'}} + {{localize 'DAGGERHEART.GENERAL.basics'}}
{{formGroup systemFields.tier value=document.system.tier localize=true}} {{formGroup systemFields.type value=document.system.type localize=true}} {{#if (eq document.system.type 'horde')}} - {{formGroup systemFields.hordeHp value=document.system.hordeHp label=(localize "DAGGERHEART.Actors.Adversary.horderHp")}} + {{formGroup systemFields.hordeHp value=document.system.hordeHp label=(localize "DAGGERHEART.ACTORS.Adversary.horderHp")}} {{/if}} {{formGroup systemFields.difficulty value=document.system.difficulty localize=true}}
- {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.Actors.Adversary.FIELDS.description.label")}} - {{formField systemFields.motivesAndTactics value=document.system.motivesAndTactics label=(localize "DAGGERHEART.Actors.Adversary.FIELDS.motivesAndTactics.label")}} + {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.ACTORS.Adversary.FIELDS.description.label")}} + {{formField systemFields.motivesAndTactics value=document.system.motivesAndTactics label=(localize "DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label")}}
- {{localize "DAGGERHEART.General.hitPoints"}} + {{localize "DAGGERHEART.GENERAL.hitPoints"}} {{formGroup systemFields.resources.fields.hitPoints.fields.value value=document.system.resources.hitPoints.value}} {{formGroup systemFields.resources.fields.hitPoints.fields.max value=document.system.resources.hitPoints.max}}
- {{localize "DAGGERHEART.General.stress"}} + {{localize "DAGGERHEART.GENERAL.stress"}} {{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value}} {{formGroup systemFields.resources.fields.stress.fields.max value=document.system.resources.stress.max}}
- {{localize "DAGGERHEART.General.DamageThresholds.title"}} + {{localize "DAGGERHEART.GENERAL.DamageThresholds.title"}} {{formGroup systemFields.damageThresholds.fields.major value=document.system.damageThresholds.major}} {{formGroup systemFields.damageThresholds.fields.severe value=document.system.damageThresholds.severe}}
diff --git a/templates/sheets-settings/companion-settings/attack.hbs b/templates/sheets-settings/companion-settings/attack.hbs index 2637f02b..0c874ac1 100644 --- a/templates/sheets-settings/companion-settings/attack.hbs +++ b/templates/sheets-settings/companion-settings/attack.hbs @@ -4,12 +4,12 @@ data-group="{{tabs.attack.group}}" >
- {{localize "DAGGERHEART.General.basics"}} + {{localize "DAGGERHEART.GENERAL.basics"}} {{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}} {{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}}
- {{localize "DAGGERHEART.General.attack"}} + {{localize "DAGGERHEART.GENERAL.attack"}} {{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}} {{#if systemFields.attack.fields.target.fields}} {{ formField systemFields.attack.fields.target.fields.type value=document.system.attack.target.type label="Target" name="system.attack.target.type" localize=true }} diff --git a/templates/sheets-settings/companion-settings/details.hbs b/templates/sheets-settings/companion-settings/details.hbs index 642389e9..802db637 100644 --- a/templates/sheets-settings/companion-settings/details.hbs +++ b/templates/sheets-settings/companion-settings/details.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.details.group}}' >
- {{localize 'DAGGERHEART.General.basics'}} + {{localize 'DAGGERHEART.GENERAL.basics'}}
{{formGroup systemFields.evasion.fields.value value=document.system.evasion.value localize=true}} {{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value label='Current Stress'}} @@ -12,7 +12,7 @@
- + diff --git a/templates/sheets-settings/environment-settings/details.hbs b/templates/sheets-settings/environment-settings/details.hbs index f80c42f0..1f8c45f2 100644 --- a/templates/sheets-settings/environment-settings/details.hbs +++ b/templates/sheets-settings/environment-settings/details.hbs @@ -4,13 +4,13 @@ data-group='{{tabs.details.group}}' >
- {{localize 'DAGGERHEART.General.basics'}} + {{localize 'DAGGERHEART.GENERAL.basics'}}
{{formGroup systemFields.tier value=document.system.tier localize=true}} {{formGroup systemFields.type value=document.system.type localize=true}} {{formGroup systemFields.difficulty value=document.system.difficulty localize=true}}
- {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.Actors.Environment.FIELDS.description.label")}} - {{formField systemFields.impulses value=document.system.impulses label=(localize "DAGGERHEART.Actors.Environment.FIELDS.impulses.label")}} + {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.ACTORS.Environment.FIELDS.description.label")}} + {{formField systemFields.impulses value=document.system.impulses label=(localize "DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label")}}
\ No newline at end of file diff --git a/templates/sheets/actors/adversary/effects.hbs b/templates/sheets/actors/adversary/effects.hbs index cadce781..3d378802 100644 --- a/templates/sheets/actors/adversary/effects.hbs +++ b/templates/sheets/actors/adversary/effects.hbs @@ -3,6 +3,6 @@ data-tab='{{tabs.effects.id}}' data-group='{{tabs.effects.group}}' > - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}} \ No newline at end of file diff --git a/templates/sheets/actors/adversary/header.hbs b/templates/sheets/actors/adversary/header.hbs index 17b7332d..9b126f73 100644 --- a/templates/sheets/actors/adversary/header.hbs +++ b/templates/sheets/actors/adversary/header.hbs @@ -9,12 +9,12 @@
- {{localize (concat 'DAGGERHEART.General.Tiers.' source.system.tier)}} + {{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
- {{localize (concat 'DAGGERHEART.Config.AdversaryType.' source.system.type '.label')}} + {{localize (concat 'DAGGERHEART.CONFIG.AdversaryType.' source.system.type '.label')}}
{{#if (eq source.system.type 'horde')}} @@ -30,7 +30,7 @@ {{source.system.description}}
- {{localize 'DAGGERHEART.Actors.Adversary.FIELDS.motivesAndTactics.label'}}: {{{source.system.motivesAndTactics}}} + {{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: {{{source.system.motivesAndTactics}}}
diff --git a/templates/sheets/actors/adversary/sidebar.hbs b/templates/sheets/actors/adversary/sidebar.hbs index eb0c4ea1..8a410348 100644 --- a/templates/sheets/actors/adversary/sidebar.hbs +++ b/templates/sheets/actors/adversary/sidebar.hbs @@ -40,11 +40,11 @@
-

{{localize "DAGGERHEART.General.DamageThresholds.minor"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.minor"}}

{{document.system.damageThresholds.major}}

-

{{localize "DAGGERHEART.General.DamageThresholds.major"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.major"}}

{{document.system.damageThresholds.severe}}

-

{{localize "DAGGERHEART.General.DamageThresholds.severe"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.severe"}}

diff --git a/templates/sheets/actors/character/biography.hbs b/templates/sheets/actors/character/biography.hbs index 28b7710d..34313def 100644 --- a/templates/sheets/actors/character/biography.hbs +++ b/templates/sheets/actors/character/biography.hbs @@ -6,30 +6,30 @@
- {{localize 'DAGGERHEART.Actors.Character.story.characteristics'}} + {{localize 'DAGGERHEART.ACTORS.Character.story.characteristics'}}
- {{localize 'DAGGERHEART.Actors.Character.pronouns'}} + {{localize 'DAGGERHEART.ACTORS.Character.pronouns'}} {{formInput systemFields.biography.fields.characteristics.fields.pronouns value=source.system.biography.characteristics.pronouns enriched=source.system.biography.characteristics.pronouns localize=true toggled=true}}
- {{localize 'DAGGERHEART.Actors.Character.age'}} + {{localize 'DAGGERHEART.ACTORS.Character.age'}} {{formInput systemFields.biography.fields.characteristics.fields.age value=source.system.biography.characteristics.age enriched=source.system.biography.characteristics.age localize=true toggled=true}}
- {{localize 'DAGGERHEART.Actors.Character.faith'}} + {{localize 'DAGGERHEART.ACTORS.Character.faith'}} {{formInput systemFields.biography.fields.characteristics.fields.faith value=source.system.biography.characteristics.faith enriched=source.system.biography.characteristics.faith localize=true toggled=true}}
- {{localize 'DAGGERHEART.Actors.Character.story.backgroundTitle'}} + {{localize 'DAGGERHEART.ACTORS.Character.story.backgroundTitle'}} {{formInput systemFields.biography.fields.background value=source.system.biography.background enriched=source.system.biography.background localize=true toggled=true}}
- {{localize 'DAGGERHEART.Actors.Character.story.connectionsTitle'}} + {{localize 'DAGGERHEART.ACTORS.Character.story.connectionsTitle'}} {{formInput systemFields.biography.fields.connections value=source.system.biography.connections enriched=source.system.biography.connections localize=true toggled=true}}
diff --git a/templates/sheets/actors/character/effects.hbs b/templates/sheets/actors/character/effects.hbs index cadce781..3d378802 100644 --- a/templates/sheets/actors/character/effects.hbs +++ b/templates/sheets/actors/character/effects.hbs @@ -3,6 +3,6 @@ data-tab='{{tabs.effects.id}}' data-group='{{tabs.effects.group}}' > - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}} \ No newline at end of file diff --git a/templates/sheets/actors/character/header.hbs b/templates/sheets/actors/character/header.hbs index 302f49f6..d5bfbcf9 100644 --- a/templates/sheets/actors/character/header.hbs +++ b/templates/sheets/actors/character/header.hbs @@ -14,13 +14,13 @@

{{#if (or document.system.needsCharacterSetup document.system.levelData.canLevelUp)}} {{/if}} - {{localize 'DAGGERHEART.General.level'}} + {{localize 'DAGGERHEART.GENERAL.level'}}

@@ -57,7 +57,7 @@ {{#if document.system.multiclass.value}} {{document.system.multiclass.value.name}} {{else}} - {{localize 'DAGGERHEART.General.multiclass'}} + {{localize 'DAGGERHEART.GENERAL.multiclass'}} {{/if}} {{#if document.system.multiclass.subclass}} @@ -73,7 +73,7 @@
-

{{localize "DAGGERHEART.General.hope"}}

+

{{localize "DAGGERHEART.GENERAL.hope"}}

{{#times document.system.resources.hope.max}} {{#if (gte ../document.system.resources.hope.value (add this 1))}} @@ -85,11 +85,11 @@ {{/times}}
-

{{localize "DAGGERHEART.General.DamageThresholds.minor"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.minor"}}

{{document.system.damageThresholds.major}}

-

{{localize "DAGGERHEART.General.DamageThresholds.major"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.major"}}

{{document.system.damageThresholds.severe}}

-

{{localize "DAGGERHEART.General.DamageThresholds.severe"}}

+

{{localize "DAGGERHEART.GENERAL.DamageThresholds.severe"}}

@@ -97,7 +97,7 @@ {{#each this.attributes as |attribute key|}}
- {{localize (concat 'DAGGERHEART.Config.Traits.' key '.short')}} + {{localize (concat 'DAGGERHEART.CONFIG.Traits.' key '.short')}} {{#if attribute.tierMarked}} {{else}} diff --git a/templates/sheets/actors/character/loadout.hbs b/templates/sheets/actors/character/loadout.hbs index 45404567..887f1b2b 100644 --- a/templates/sheets/actors/character/loadout.hbs +++ b/templates/sheets/actors/character/loadout.hbs @@ -25,15 +25,15 @@
{{#if this.abilities.loadout.listView}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.loadout') type='domainCard' isGlassy=true cardView='list'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.loadout') type='domainCard' isGlassy=true cardView='list'}} {{else}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.loadout') type='domainCard' isGlassy=true cardView='card'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.loadout') type='domainCard' isGlassy=true cardView='card'}} {{/if}} {{#if this.abilities.loadout.listView}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='list'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='list'}} {{else}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='card'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='card'}} {{/if}} diff --git a/templates/sheets/actors/companion/details.hbs b/templates/sheets/actors/companion/details.hbs index aef67fcd..eb3665a3 100644 --- a/templates/sheets/actors/companion/details.hbs +++ b/templates/sheets/actors/companion/details.hbs @@ -14,7 +14,7 @@ {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=document.system.partner type='actor' isSidebar=true isActor=true noTooltip=true}} {{else}} - {{localize "DAGGERHEART.Actors.Companion.noPartner"}} + {{localize "DAGGERHEART.ACTORS.Companion.noPartner"}} {{/if}}
diff --git a/templates/sheets/actors/companion/effects.hbs b/templates/sheets/actors/companion/effects.hbs index cadce781..3d378802 100644 --- a/templates/sheets/actors/companion/effects.hbs +++ b/templates/sheets/actors/companion/effects.hbs @@ -3,6 +3,6 @@ data-tab='{{tabs.effects.id}}' data-group='{{tabs.effects.group}}' > - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}} \ No newline at end of file diff --git a/templates/sheets/actors/companion/header.hbs b/templates/sheets/actors/companion/header.hbs index 331d6df8..ffbe1bdc 100644 --- a/templates/sheets/actors/companion/header.hbs +++ b/templates/sheets/actors/companion/header.hbs @@ -33,7 +33,7 @@

- {{localize "DAGGERHEART.General.level"}} + {{localize "DAGGERHEART.GENERAL.level"}} {{source.system.levelData.level.changed}}

diff --git a/templates/sheets/actors/companion/tempMain.hbs b/templates/sheets/actors/companion/tempMain.hbs index 0fb980bb..7d0d13a3 100644 --- a/templates/sheets/actors/companion/tempMain.hbs +++ b/templates/sheets/actors/companion/tempMain.hbs @@ -2,7 +2,7 @@ {{document.name}}
- + @@ -12,7 +12,7 @@ {{formGroup systemFields.resources.fields.stress.fields.value value=source.system.resources.stress.value localize=true }} {{formGroup systemFields.evasion.fields.value value=source.system.evasion.value localize=true }} -
{{localize "DAGGERHEART.General.Experience.plural"}}
+
{{localize "DAGGERHEART.GENERAL.Experience.plural"}}
{{#each source.system.experiences as |experience key|}}
@@ -25,7 +25,7 @@
- +
@@ -35,7 +35,7 @@
- +
{{source.system.levelData.level.changed}}
diff --git a/templates/sheets/actors/environment/header.hbs b/templates/sheets/actors/environment/header.hbs index 4ba094fc..ca49e764 100644 --- a/templates/sheets/actors/environment/header.hbs +++ b/templates/sheets/actors/environment/header.hbs @@ -6,13 +6,13 @@
- {{localize (concat 'DAGGERHEART.General.Tiers.' source.system.tier)}} + {{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
{{#if source.system.type}}
- {{localize (concat 'Daggerheart.Config.EnvironmentType.' source.system.type '.label')}} + {{localize (concat 'DAGGERHEART.CONFIG.EnvironmentType.' source.system.type '.label')}}
{{/if}} @@ -37,7 +37,7 @@ {{source.system.description}}
- {{localize 'DAGGERHEART.Actors.Environment.FIELDS.impulses.label'}}: {{{source.system.impulses}}} + {{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: {{{source.system.impulses}}}
diff --git a/templates/sheets/global/partials/inventory-item.hbs b/templates/sheets/global/partials/inventory-item.hbs index 6e2c64ff..06bc1228 100644 --- a/templates/sheets/global/partials/inventory-item.hbs +++ b/templates/sheets/global/partials/inventory-item.hbs @@ -11,24 +11,24 @@ {{#if isSidebar}}
- {{localize (concat 'DAGGERHEART.Config.Traits.' item.system.trait '.name')}} - {{localize (concat 'DAGGERHEART.Config.Range.' item.system.range '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.trait '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.range '.name')}} - {{item.system.damage.value}} - ({{localize (concat 'DAGGERHEART.Config.DamageType.' item.system.damage.type '.abbreviation')}}) + ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' item.system.damage.type '.abbreviation')}})
{{else}}
- {{localize (concat 'DAGGERHEART.Config.Traits.' item.system.trait '.name')}} - {{localize (concat 'DAGGERHEART.Config.Range.' item.system.range '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.trait '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.range '.name')}}
{{item.system.damage.value}} - ({{localize (concat 'DAGGERHEART.Config.DamageType.' item.system.damage.type '.abbreviation')}}) + ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' item.system.damage.type '.abbreviation')}})
- {{localize (concat 'DAGGERHEART.Config.Burden.' item.system.burden)}} + {{localize (concat 'DAGGERHEART.CONFIG.Burden.' item.system.burden)}}
{{/if}}
@@ -37,18 +37,18 @@ {{#if isSidebar}}
- {{localize "DAGGERHEART.Items.Armor.baseScore"}}: + {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}: {{item.system.baseScore}}
{{else}}
- {{localize "DAGGERHEART.Items.Armor.baseScore"}}: + {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}: {{item.system.baseScore}}
- {{localize "DAGGERHEART.Items.Armor.baseThresholds.base"}}: + {{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.base"}}: {{item.system.baseThresholds.major}} / {{item.system.baseThresholds.severe}} @@ -60,9 +60,9 @@ {{#if isSidebar}}
- {{localize (concat 'DAGGERHEART.Config.DomainCardTypes.' item.system.type)}} + {{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' item.system.type)}} - - {{localize (concat 'DAGGERHEART.General.Domain.' item.system.domain '.label')}} + {{localize (concat 'DAGGERHEART.GENERAL.Domain.' item.system.domain '.label')}} - {{item.system.recallCost}} @@ -71,13 +71,13 @@ {{else}}
- {{localize (concat 'DAGGERHEART.Config.DomainCardTypes.' item.system.type)}} + {{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' item.system.type)}}
- {{localize (concat 'DAGGERHEART.General.Domain.' item.system.domain '.label')}} + {{localize (concat 'DAGGERHEART.GENERAL.Domain.' item.system.domain '.label')}}
- {{localize "DAGGERHEART.Items.DomainCard.recallCost"}}: + {{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}}: {{item.system.recallCost}}
@@ -92,14 +92,14 @@
{{#if item.duration.duration}} - {{localize 'DAGGERHEART.Effects.Duration.temporary'}} + {{localize 'DAGGERHEART.EFFECTS.Duration.temporary'}} {{else}} - {{localize 'DAGGERHEART.Effects.Duration.passive'}} + {{localize 'DAGGERHEART.EFFECTS.Duration.passive'}} {{/if}}
{{#each item.statuses as |status|}}
- {{localize (concat 'DAGGERHEART.Config.Condition.' status '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Condition.' status '.name')}}
{{/each}}
@@ -107,10 +107,10 @@ {{#if (eq type 'action')}}
- {{localize (concat 'DAGGERHEART.Actions.Types.' item.type '.name')}} + {{localize (concat 'DAGGERHEART.ACTIONS.TYPES.' item.type '.name')}}
- {{localize (concat 'DAGGERHEART.Config.ActionType.' item.actionType)}} + {{localize (concat 'DAGGERHEART.CONFIG.ActionType.' item.actionType)}}
{{/if}} diff --git a/templates/sheets/global/tabs/tab-actions.hbs b/templates/sheets/global/tabs/tab-actions.hbs index d94826e9..54345bed 100644 --- a/templates/sheets/global/tabs/tab-actions.hbs +++ b/templates/sheets/global/tabs/tab-actions.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.actions.group}}' >
- {{localize "DAGGERHEART.General.Action.plural"}} + {{localize "DAGGERHEART.GENERAL.Action.plural"}}
{{#each document.system.actions as |action index|}}
- {{localize "DAGGERHEART.General.description"}} + {{localize "DAGGERHEART.GENERAL.description"}} {{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}}
\ No newline at end of file diff --git a/templates/sheets/global/tabs/tab-effects.hbs b/templates/sheets/global/tabs/tab-effects.hbs index bc20e1ed..384f13b7 100644 --- a/templates/sheets/global/tabs/tab-effects.hbs +++ b/templates/sheets/global/tabs/tab-effects.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.effects.group}}' >
- {{localize "DAGGERHEART.General.Effect.plural"}} + {{localize "DAGGERHEART.GENERAL.Effect.plural"}}
{{#each document.effects as |effect|}}
diff --git a/templates/sheets/global/tabs/tab-feature-section.hbs b/templates/sheets/global/tabs/tab-feature-section.hbs index a7165933..ca6af184 100644 --- a/templates/sheets/global/tabs/tab-feature-section.hbs +++ b/templates/sheets/global/tabs/tab-feature-section.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.features.group}}' >
- {{localize "DAGGERHEART.General.Tabs.features"}} + {{localize "DAGGERHEART.GENERAL.Tabs.features"}}
{{#each source.system.abilities as |feature key|}} {{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' feature=feature}} diff --git a/templates/sheets/global/tabs/tab-features.hbs b/templates/sheets/global/tabs/tab-features.hbs index 49da47b1..71f6f1f1 100644 --- a/templates/sheets/global/tabs/tab-features.hbs +++ b/templates/sheets/global/tabs/tab-features.hbs @@ -4,7 +4,7 @@ data-group='{{tabs.features.group}}' >
- {{localize "DAGGERHEART.General.features"}} + {{localize "DAGGERHEART.GENERAL.features"}}
{{#each document.system.features as |feature|}}

- {{localize "DAGGERHEART.Items.Armor.baseScore"}}: + {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}: {{source.system.baseScore}} - - {{localize "DAGGERHEART.Items.Armor.baseThresholds.base"}}: + {{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.base"}}: {{source.system.baseThresholds.major}} / {{source.system.baseThresholds.severe}} diff --git a/templates/sheets/items/armor/settings.hbs b/templates/sheets/items/armor/settings.hbs index 1c6cc432..e7bde6fe 100644 --- a/templates/sheets/items/armor/settings.hbs +++ b/templates/sheets/items/armor/settings.hbs @@ -5,18 +5,18 @@ >
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.General.Tiers.singular"}} + {{localize "DAGGERHEART.GENERAL.Tiers.singular"}} {{formField systemFields.tier value=source.system.tier}} - {{localize "DAGGERHEART.Items.Armor.baseScore"}} + {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}} {{formField systemFields.baseScore value=source.system.baseScore}} {{localize "TYPES.Item.feature"}} - {{localize "DAGGERHEART.Items.Armor.baseThresholds.base"}} + {{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.base"}}
- {{ formField systemFields.baseThresholds.fields.major value=source.system.baseThresholds.major label=(localize "DAGGERHEART.Items.Armor.baseThresholds.major") }} - {{ formField systemFields.baseThresholds.fields.severe value=source.system.baseThresholds.severe label=(localize "DAGGERHEART.Items.Armor.baseThresholds.severe") }} + {{ formField systemFields.baseThresholds.fields.major value=source.system.baseThresholds.major label=(localize "DAGGERHEART.ITEMS.Armor.baseThresholds.major") }} + {{ formField systemFields.baseThresholds.fields.severe value=source.system.baseThresholds.severe label=(localize "DAGGERHEART.ITEMS.Armor.baseThresholds.severe") }}
\ No newline at end of file diff --git a/templates/sheets/items/beastform/settings.hbs b/templates/sheets/items/beastform/settings.hbs index 2394d3dd..78af825f 100644 --- a/templates/sheets/items/beastform/settings.hbs +++ b/templates/sheets/items/beastform/settings.hbs @@ -9,19 +9,19 @@

- {{localize "DAGGERHEART.Items.Beastform.FIELDS.advantageOn.label"}} + {{localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label"}} {{!-- {{formGroup systemFields.examples value=source.system.examples localize=true}} --}}
- {{localize "DAGGERHEART.Items.Beastform.tokenTitle"}} + {{localize "DAGGERHEART.ITEMS.Beastform.tokenTitle"}}
{{formGroup systemFields.tokenImg value=source.system.tokenImg localize=true}}
- {{formGroup systemFields.tokenSize.fields.height value=source.system.tokenSize.height localize=true placeholder=(localize "DAGGERHEART.Items.Beastform.FIELDS.tokenSize.placeholder") }} - {{formGroup systemFields.tokenSize.fields.width value=source.system.tokenSize.width localize=true placeholder=(localize "DAGGERHEART.Items.Beastform.FIELDS.tokenSize.placeholder")}} + {{formGroup systemFields.tokenSize.fields.height value=source.system.tokenSize.height localize=true placeholder=(localize "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder") }} + {{formGroup systemFields.tokenSize.fields.width value=source.system.tokenSize.width localize=true placeholder=(localize "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder")}}
\ No newline at end of file diff --git a/templates/sheets/items/class/features.hbs b/templates/sheets/items/class/features.hbs index 69128602..96ce2655 100644 --- a/templates/sheets/items/class/features.hbs +++ b/templates/sheets/items/class/features.hbs @@ -5,7 +5,7 @@ >
- {{localize "DAGGERHEART.Items.Class.hopeFeatures"}} + {{localize "DAGGERHEART.ITEMS.Class.hopeFeatures"}}
{{#each source.system.hopeFeatures as |feature|}} {{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='hope' feature=feature}} @@ -14,7 +14,7 @@
- {{localize "DAGGERHEART.Items.Class.classFeatures"}} + {{localize "DAGGERHEART.ITEMS.Class.classFeatures"}}
{{#each source.system.classFeatures as |feature|}} {{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='class' feature=feature}} diff --git a/templates/sheets/items/class/header.hbs b/templates/sheets/items/class/header.hbs index 6e4703a2..6b60ada6 100644 --- a/templates/sheets/items/class/header.hbs +++ b/templates/sheets/items/class/header.hbs @@ -5,7 +5,7 @@

{{localize 'TYPES.Item.class'}}

- {{localize "DAGGERHEART.General.Domain.plural"}} + {{localize "DAGGERHEART.GENERAL.Domain.plural"}}

diff --git a/templates/sheets/items/class/settings.hbs b/templates/sheets/items/class/settings.hbs index 5b5bad00..b110bf4c 100644 --- a/templates/sheets/items/class/settings.hbs +++ b/templates/sheets/items/class/settings.hbs @@ -11,31 +11,31 @@
- {{localize "DAGGERHEART.General.Trait.plural"}} + {{localize "DAGGERHEART.GENERAL.Trait.plural"}} - {{localize "DAGGERHEART.Config.Traits.agility.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.agility.name"}} - {{localize "DAGGERHEART.Config.Traits.strength.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.strength.name"}} - {{localize "DAGGERHEART.Config.Traits.finesse.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.finesse.name"}} - {{localize "DAGGERHEART.Config.Traits.instinct.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.instinct.name"}} - {{localize "DAGGERHEART.Config.Traits.presence.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.presence.name"}} - {{localize "DAGGERHEART.Config.Traits.knowledge.name"}} + {{localize "DAGGERHEART.CONFIG.Traits.knowledge.name"}}
- {{localize "DAGGERHEART.Items.Class.guide.suggestedEquipment"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.suggestedEquipment"}}
- {{localize "DAGGERHEART.Items.Class.guide.suggestedPrimaryWeaponTitle"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.suggestedPrimaryWeaponTitle"}}
{{#if document.system.characterGuide.suggestedPrimaryWeapon}}
@@ -50,7 +50,7 @@
- {{localize "DAGGERHEART.Items.Class.guide.suggestedSecondaryWeaponTitle"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.suggestedSecondaryWeaponTitle"}}
{{#if document.system.characterGuide.suggestedSecondaryWeapon}}
@@ -65,7 +65,7 @@
- {{localize "DAGGERHEART.Items.Class.guide.suggestedArmorTitle"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.suggestedArmorTitle"}}
{{#if document.system.characterGuide.suggestedArmor}}
@@ -81,9 +81,9 @@
- {{localize "DAGGERHEART.General.inventory"}} + {{localize "DAGGERHEART.GENERAL.inventory"}}
- {{localize "DAGGERHEART.General.take"}} + {{localize "DAGGERHEART.GENERAL.take"}}
{{#each source.system.inventory.take}}
@@ -98,7 +98,7 @@
- {{localize "DAGGERHEART.Items.Class.guide.inventory.thenChoose"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.inventory.thenChoose"}}
{{#each source.system.inventory.choiceA}}
@@ -113,7 +113,7 @@
- {{localize "DAGGERHEART.Items.Class.guide.inventory.andEither"}} + {{localize "DAGGERHEART.ITEMS.Class.guide.inventory.andEither"}}
{{#each source.system.inventory.choiceB}}
diff --git a/templates/sheets/items/consumable/settings.hbs b/templates/sheets/items/consumable/settings.hbs index bc5f59e4..71bb2a83 100644 --- a/templates/sheets/items/consumable/settings.hbs +++ b/templates/sheets/items/consumable/settings.hbs @@ -5,10 +5,10 @@ >
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.General.quantity"}} + {{localize "DAGGERHEART.GENERAL.quantity"}} {{formField systemFields.quantity value=source.system.quantity}} - {{localize "DAGGERHEART.Items.Consumable.consumeOnUse"}} + {{localize "DAGGERHEART.ITEMS.Consumable.consumeOnUse"}} {{formField systemFields.consumeOnUse value=source.system.consumeOnUse}}
\ No newline at end of file diff --git a/templates/sheets/items/domainCard/header.hbs b/templates/sheets/items/domainCard/header.hbs index bdb46ca2..566de11c 100644 --- a/templates/sheets/items/domainCard/header.hbs +++ b/templates/sheets/items/domainCard/header.hbs @@ -2,7 +2,7 @@
- {{localize "DAGGERHEART.Items.DomainCard.recallCost"}} + {{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}} {{source.system.recallCost}} @@ -12,11 +12,11 @@

{{localize 'TYPES.Item.domainCard'}}

- {{localize (concat 'DAGGERHEART.Config.DomainCardTypes.' source.system.type)}} + {{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' source.system.type)}} - - {{localize (concat 'DAGGERHEART.General.Domain.' source.system.domain '.label')}} + {{localize (concat 'DAGGERHEART.GENERAL.Domain.' source.system.domain '.label')}} - - {{localize "DAGGERHEART.General.level"}}: + {{localize "DAGGERHEART.GENERAL.level"}}: {{source.system.level}}

diff --git a/templates/sheets/items/domainCard/settings.hbs b/templates/sheets/items/domainCard/settings.hbs index e2ab1f3c..5c653fdc 100644 --- a/templates/sheets/items/domainCard/settings.hbs +++ b/templates/sheets/items/domainCard/settings.hbs @@ -6,15 +6,15 @@
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.General.type"}} + {{localize "DAGGERHEART.GENERAL.type"}} {{formField systemFields.type value=source.system.type localize=true}} - {{localize "DAGGERHEART.Items.DomainCard.foundation"}} + {{localize "DAGGERHEART.ITEMS.DomainCard.foundation"}} {{formField systemFields.foundation value=source.system.foundation }} - {{localize "DAGGERHEART.General.Domain.single"}} + {{localize "DAGGERHEART.GENERAL.Domain.single"}} {{formField systemFields.domain value=source.system.domain localize=true}} - {{localize "DAGGERHEART.General.level"}} + {{localize "DAGGERHEART.GENERAL.level"}} {{formField systemFields.level value=source.system.level data-dtype="Number"}} - {{localize "DAGGERHEART.Items.DomainCard.recallCost"}} + {{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}} {{formField systemFields.recallCost value=source.system.recallCost data-dtype="Number"}}
\ No newline at end of file diff --git a/templates/sheets/items/miscellaneous/settings.hbs b/templates/sheets/items/miscellaneous/settings.hbs index adc9384b..e853c1db 100644 --- a/templates/sheets/items/miscellaneous/settings.hbs +++ b/templates/sheets/items/miscellaneous/settings.hbs @@ -5,7 +5,7 @@ >
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.General.quantity"}} + {{localize "DAGGERHEART.GENERAL.quantity"}} {{formField systemFields.quantity value=source.system.quantity}}
\ No newline at end of file diff --git a/templates/sheets/items/subclass/features.hbs b/templates/sheets/items/subclass/features.hbs index 3ff18c3b..d2424d01 100644 --- a/templates/sheets/items/subclass/features.hbs +++ b/templates/sheets/items/subclass/features.hbs @@ -5,7 +5,7 @@ >
- {{localize "DAGGERHEART.General.Tabs.foundation"}} + {{localize "DAGGERHEART.GENERAL.Tabs.foundation"}} @@ -18,7 +18,7 @@
- {{localize "DAGGERHEART.General.Tabs.specialization"}} + {{localize "DAGGERHEART.GENERAL.Tabs.specialization"}} @@ -31,7 +31,7 @@
- {{localize "DAGGERHEART.General.Tabs.mastery"}} + {{localize "DAGGERHEART.GENERAL.Tabs.mastery"}} diff --git a/templates/sheets/items/subclass/header.hbs b/templates/sheets/items/subclass/header.hbs index 9ac03848..ed0ff057 100644 --- a/templates/sheets/items/subclass/header.hbs +++ b/templates/sheets/items/subclass/header.hbs @@ -4,7 +4,7 @@

{{localize 'TYPES.Item.subclass'}}

- {{#if source.system.spellcastingTrait}}

{{localize (concat 'DAGGERHEART.Config.Traits.' source.system.spellcastingTrait '.name')}}

{{/if}} + {{#if source.system.spellcastingTrait}}

{{localize (concat 'DAGGERHEART.CONFIG.Traits.' source.system.spellcastingTrait '.name')}}

{{/if}}
\ No newline at end of file diff --git a/templates/sheets/items/subclass/settings.hbs b/templates/sheets/items/subclass/settings.hbs index 50607ba1..237ba9db 100644 --- a/templates/sheets/items/subclass/settings.hbs +++ b/templates/sheets/items/subclass/settings.hbs @@ -6,7 +6,7 @@
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.Items.Subclass.spellcastingTrait"}} + {{localize "DAGGERHEART.ITEMS.Subclass.spellcastingTrait"}} {{formField systemFields.spellcastingTrait value=source.system.spellcastingTrait localize=true}}
\ No newline at end of file diff --git a/templates/sheets/items/weapon/header.hbs b/templates/sheets/items/weapon/header.hbs index 722a5386..f381de0a 100644 --- a/templates/sheets/items/weapon/header.hbs +++ b/templates/sheets/items/weapon/header.hbs @@ -5,20 +5,20 @@

{{#if source.system.secondary}} -

{{localize "DAGGERHEART.Items.Weapon.secondaryWeapon"}}

+

{{localize "DAGGERHEART.ITEMS.Weapon.secondaryWeapon"}}

{{else}} -

{{localize "DAGGERHEART.Items.Weapon.primaryWeapon"}}

+

{{localize "DAGGERHEART.ITEMS.Weapon.primaryWeapon"}}

{{/if}}

- {{localize (concat 'DAGGERHEART.Config.Traits.' source.system.trait '.short')}} + {{localize (concat 'DAGGERHEART.CONFIG.Traits.' source.system.trait '.short')}} - - {{localize (concat 'DAGGERHEART.Config.Range.' source.system.range '.name')}} + {{localize (concat 'DAGGERHEART.CONFIG.Range.' source.system.range '.name')}} - {{log this}} {{source.system.damage.dice}} + {{source.system.damage.bonus}} - ({{localize (concat 'DAGGERHEART.Config.DamageType.' source.system.damage.type '.abbreviation')}}) + ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' source.system.damage.type '.abbreviation')}}) - - {{localize (concat 'DAGGERHEART.Config.Burden.' source.system.burden)}} + {{localize (concat 'DAGGERHEART.CONFIG.Burden.' source.system.burden)}}

diff --git a/templates/sheets/items/weapon/settings.hbs b/templates/sheets/items/weapon/settings.hbs index 7bfbcadc..5fe0b9bd 100644 --- a/templates/sheets/items/weapon/settings.hbs +++ b/templates/sheets/items/weapon/settings.hbs @@ -5,25 +5,25 @@ >
{{localize tabs.settings.label}} - {{localize "DAGGERHEART.General.Tiers.singular"}} + {{localize "DAGGERHEART.GENERAL.Tiers.singular"}} {{formField systemFields.tier value=source.system.tier}} - {{localize "DAGGERHEART.Items.Weapon.secondaryWeapon"}} + {{localize "DAGGERHEART.ITEMS.Weapon.secondaryWeapon"}} {{formField systemFields.secondary value=source.system.secondary}} - {{localize "DAGGERHEART.General.Trait.single"}} + {{localize "DAGGERHEART.GENERAL.Trait.single"}} {{formField systemFields.trait value=source.system.trait localize=true}} - {{localize "DAGGERHEART.General.range"}} + {{localize "DAGGERHEART.GENERAL.range"}} {{formField systemFields.range value=source.system.range localize=true}} - {{localize "DAGGERHEART.General.burden"}} + {{localize "DAGGERHEART.GENERAL.burden"}} {{formField systemFields.burden value=source.system.burden localize=true}}
- {{localize "DAGGERHEART.General.title"}} - {{localize "DAGGERHEART.General.Dice.single"}} + {{localize "DAGGERHEART.GENERAL.title"}} + {{localize "DAGGERHEART.GENERAL.Dice.single"}} {{formGroup systemFields.damage.fields.dice value=source.system.damage.dice}} - {{localize "DAGGERHEART.General.bonus"}} + {{localize "DAGGERHEART.GENERAL.bonus"}} {{formGroup systemFields.damage.fields.bonus value=source.system.damage.bonus}} - {{localize "DAGGERHEART.General.type"}} + {{localize "DAGGERHEART.GENERAL.type"}} {{formGroup systemFields.damage.fields.type value=source.system.damage.type localize=true}}
diff --git a/templates/ui/chat/adversary-attack-roll.hbs b/templates/ui/chat/adversary-attack-roll.hbs index 84015093..74e0d7ca 100644 --- a/templates/ui/chat/adversary-attack-roll.hbs +++ b/templates/ui/chat/adversary-attack-roll.hbs @@ -17,7 +17,7 @@
  • {{result}}
  • {{/each}} -
    {{#if ../advantageState}}{{localize "DAGGERHEART.General.Advantage.full"}}{{/if}}{{#if (eq ../advantageState false)}}{{localize "DAGGERHEART.General.Disadvantage.full"}}{{/if}}
    +
    {{#if ../advantageState}}{{localize "DAGGERHEART.GENERAL.Advantage.full"}}{{/if}}{{#if (eq ../advantageState false)}}{{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}{{/if}}
    {{/each}}
    diff --git a/templates/ui/chat/adversary-roll.hbs b/templates/ui/chat/adversary-roll.hbs index 3595bc42..1f97fefe 100644 --- a/templates/ui/chat/adversary-roll.hbs +++ b/templates/ui/chat/adversary-roll.hbs @@ -19,7 +19,7 @@ {{#if (eq index 0)}}
    - {{#if (eq ../roll.advantage.type 1)}}{{localize "DAGGERHEART.General.Advantage.full"}}{{/if}}{{#if (eq ../roll.advantage.type -1)}}{{localize "DAGGERHEART.General.Disadvantage.full"}}{{/if}} + {{#if (eq ../roll.advantage.type 1)}}{{localize "DAGGERHEART.GENERAL.Advantage.full"}}{{/if}}{{#if (eq ../roll.advantage.type -1)}}{{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}{{/if}}
    {{/if}}
    diff --git a/templates/ui/chat/duality-roll.hbs b/templates/ui/chat/duality-roll.hbs index e45ab6da..4242c515 100644 --- a/templates/ui/chat/duality-roll.hbs +++ b/templates/ui/chat/duality-roll.hbs @@ -8,12 +8,12 @@ {{/each}} {{#if (eq roll.advantage.type 1)}}
    - {{localize "DAGGERHEART.General.Advantage.full"}} + {{localize "DAGGERHEART.GENERAL.Advantage.full"}}
    {{/if}} {{#if (eq roll.advantage.type -1)}}
    - {{localize "DAGGERHEART.General.Disadvantage.full"}} + {{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}
    {{/if}}
    @@ -33,10 +33,10 @@
      -
    1. +
    2. -
      {{localize "DAGGERHEART.General.hope"}}
      -
      +
      {{localize "DAGGERHEART.GENERAL.hope"}}
      +
      @@ -44,10 +44,10 @@
    3. -
    4. +
    5. -
      {{localize "DAGGERHEART.General.fear"}}
      -
      +
      {{localize "DAGGERHEART.GENERAL.fear"}}
      +
      diff --git a/templates/ui/combatTracker/combatTracker.hbs b/templates/ui/combatTracker/combatTracker.hbs index 3d62e726..9b5b2a4f 100644 --- a/templates/ui/combatTracker/combatTracker.hbs +++ b/templates/ui/combatTracker/combatTracker.hbs @@ -1,8 +1,8 @@
      {{#if (gt this.characters.length 0)}} - {{> 'systems/daggerheart/templates/ui/combat/combatTrackerSection.hbs' this title=(localize "DAGGERHEART.General.Character.plural") turns=this.characters}} + {{> 'systems/daggerheart/templates/ui/combat/combatTrackerSection.hbs' this title=(localize "DAGGERHEART.GENERAL.Character.plural") turns=this.characters}} {{/if}} {{#if (gt this.adversaries.length 0)}} - {{> 'systems/daggerheart/templates/ui/combat/combatTrackerSection.hbs' this title=(localize "DAGGERHEART.General.Adversary.plural") turns=this.adversaries}} + {{> 'systems/daggerheart/templates/ui/combat/combatTrackerSection.hbs' this title=(localize "DAGGERHEART.GENERAL.Adversary.plural") turns=this.adversaries}} {{/if}}
      \ No newline at end of file diff --git a/templates/ui/combatTracker/combatTrackerHeader.hbs b/templates/ui/combatTracker/combatTrackerHeader.hbs index bc4ce6c6..4eb68c9a 100644 --- a/templates/ui/combatTracker/combatTrackerHeader.hbs +++ b/templates/ui/combatTracker/combatTrackerHeader.hbs @@ -60,7 +60,7 @@
      {{fear}}
      - +
      {{/if}} @@ -68,7 +68,7 @@ {{#if combats.length}} {{#if combat.round}} - {{ localize "DAGGERHEART.Applications.CombatTracker.combatStarted" }} + {{ localize "DAGGERHEART.APPLICATIONS.CombatTracker.combatStarted" }} {{else}} {{ localize "COMBAT.NotStarted" }} {{/if}} diff --git a/templates/ui/combatTracker/combatTrackerSection.hbs b/templates/ui/combatTracker/combatTrackerSection.hbs index e6a818d9..004d130c 100644 --- a/templates/ui/combatTracker/combatTrackerSection.hbs +++ b/templates/ui/combatTracker/combatTrackerSection.hbs @@ -50,12 +50,12 @@ {{#if @root.user.isGM}} {{else}} {{/if}}
    6. diff --git a/templates/ui/countdowns.hbs b/templates/ui/countdowns.hbs index 67807774..11a112ae 100644 --- a/templates/ui/countdowns.hbs +++ b/templates/ui/countdowns.hbs @@ -12,8 +12,8 @@ {{else}}
      - {{#if canCreate}}{{/if}} - {{#if isGM}}{{/if}} + {{#if canCreate}}{{/if}} + {{#if isGM}}{{/if}}
      @@ -22,7 +22,7 @@ {{this.name}} {{#if this.canEdit}}{{/if}} - {{#if @root.isGM}}{{/if}} + {{#if @root.isGM}}{{/if}}