mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-10 19:17:09 +01:00
Improved labels
This commit is contained in:
parent
0d967a2fe4
commit
9a6ff4da6f
3 changed files with 2 additions and 6 deletions
|
|
@ -2295,9 +2295,8 @@
|
||||||
"type": "Type",
|
"type": "Type",
|
||||||
"recallCost": "Recall Cost",
|
"recallCost": "Recall Cost",
|
||||||
"vaultActive": "Active In Vault",
|
"vaultActive": "Active In Vault",
|
||||||
"loadoutIgnore": "Doesn't Count For Loadout",
|
"loadoutIgnore": "Ignores Loadout Limits",
|
||||||
"domainTouched": "Domain Touched",
|
"domainTouched": "Domain Touched",
|
||||||
"domainTouchedPlaceholder": "loadout {domain} requirement",
|
|
||||||
"foundationTitle": "Foundation",
|
"foundationTitle": "Foundation",
|
||||||
"specializationTitle": "Specialization",
|
"specializationTitle": "Specialization",
|
||||||
"masteryTitle": "Mastery"
|
"masteryTitle": "Mastery"
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,6 @@ export default class DomainCardSheet extends DHBaseItemSheet {
|
||||||
const context = await super._prepareContext(options);
|
const context = await super._prepareContext(options);
|
||||||
context.domain = CONFIG.DH.DOMAIN.allDomains()[this.document.system.domain];
|
context.domain = CONFIG.DH.DOMAIN.allDomains()[this.document.system.domain];
|
||||||
context.domainChoices = CONFIG.DH.DOMAIN.orderedDomains();
|
context.domainChoices = CONFIG.DH.DOMAIN.orderedDomains();
|
||||||
context.domainTouchedPlaceholder = game.i18n.format('DAGGERHEART.ITEMS.DomainCard.domainTouchedPlaceholder', {
|
|
||||||
domain: game.i18n.localize(context.domain.label)
|
|
||||||
});
|
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.loadoutIgnore"}}</span>
|
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.loadoutIgnore"}}</span>
|
||||||
{{formField systemFields.loadoutIgnore value=source.system.loadoutIgnore}}
|
{{formField systemFields.loadoutIgnore value=source.system.loadoutIgnore}}
|
||||||
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.domainTouched"}}</span>
|
<span>{{localize "DAGGERHEART.ITEMS.DomainCard.domainTouched"}}</span>
|
||||||
{{formField systemFields.domainTouched value=source.system.domainTouched placeholder=domainTouchedPlaceholder }}
|
{{formField systemFields.domainTouched value=source.system.domainTouched placeholder=0 }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }}
|
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue