Changed the label of ActionSheet damage.resources to Mark Resources

This commit is contained in:
WBHarry 2026-07-19 00:17:21 +02:00
parent 3b68c6c895
commit 6460077c94
5 changed files with 6 additions and 6 deletions

View file

@ -105,7 +105,8 @@
}, },
"damage": { "damage": {
"multiplier": "Multiplier", "multiplier": "Multiplier",
"flatMultiplier": "Flat Multiplier" "flatMultiplier": "Flat Multiplier",
"markResources": "Mark Resources"
}, },
"general": { "general": {
"customFormula": "Custom Formula", "customFormula": "Custom Formula",
@ -2483,7 +2484,6 @@
"reroll": "Reroll", "reroll": "Reroll",
"rerolled": "Rerolled", "rerolled": "Rerolled",
"rerollThing": "Reroll {thing}", "rerollThing": "Reroll {thing}",
"resource": "Resource",
"result": { "result": {
"single": "Result", "single": "Result",
"plural": "Results" "plural": "Results"

View file

@ -825,7 +825,7 @@ export const refreshTypes = {
export const itemAbilityCosts = { export const itemAbilityCosts = {
resource: { resource: {
id: 'resource', id: 'resource',
label: 'DAGGERHEART.GENERAL.resource', label: 'DAGGERHEART.GENERAL.Resource.single',
group: 'Global' group: 'Global'
}, },
quantity: { quantity: {

View file

@ -9,7 +9,7 @@
{{/if}} {{/if}}
<div class="nest-inputs"> <div class="nest-inputs">
{{formField ../fields.scalable label="DAGGERHEART.GENERAL.scalable" value=cost.scalable name=(concat "cost." index ".scalable") classes="checkbox" localize=true}} {{formField ../fields.scalable label="DAGGERHEART.GENERAL.scalable" value=cost.scalable name=(concat "cost." index ".scalable") classes="checkbox" localize=true}}
{{formField ../fields.key choices=(@root.disableOption index @root.costOptions ../source) label="DAGGERHEART.GENERAL.resource" value=cost.key name=(concat "cost." index ".key") localize=true blank=false}} {{formField ../fields.key choices=(@root.disableOption index @root.costOptions ../source) label="DAGGERHEART.GENERAL.Resource.single" value=cost.key name=(concat "cost." index ".key") localize=true blank=false}}
{{formField ../fields.value label="DAGGERHEART.GENERAL.amount" value=cost.value name=(concat "cost." index ".value") localize=true}} {{formField ../fields.value label="DAGGERHEART.GENERAL.amount" value=cost.value name=(concat "cost." index ".value") localize=true}}
{{formField ../fields.step label="DAGGERHEART.GENERAL.step" value=cost.step name=(concat "cost." index ".step") disabled=(not cost.scalable) localize=true}} {{formField ../fields.step label="DAGGERHEART.GENERAL.step" value=cost.step name=(concat "cost." index ".step") disabled=(not cost.scalable) localize=true}}
<a class="btn" data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeElement" data-index="{{index}}"><i class="fas fa-trash"></i></a> <a class="btn" data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeElement" data-index="{{index}}"><i class="fas fa-trash"></i></a>

View file

@ -39,7 +39,7 @@
{{#if (eq @root.source.type 'healing')}} {{#if (eq @root.source.type 'healing')}}
{{localize "DAGGERHEART.GENERAL.healing"}} {{localize "DAGGERHEART.GENERAL.healing"}}
{{else}} {{else}}
{{localize "DAGGERHEART.GENERAL.Resource.plural"}} {{localize "DAGGERHEART.ACTIONS.Config.damage.markResources"}}
{{/if}} {{/if}}
{{#unless @root.allDamageTypesUsed}}<a data-action="addDamageResource"><i class="fa-solid fa-plus icon-button"></i></a>{{/unless}} {{#unless @root.allDamageTypesUsed}}<a data-action="addDamageResource"><i class="fa-solid fa-plus icon-button"></i></a>{{/unless}}
</legend> </legend>

View file

@ -1,7 +1,7 @@
<fieldset class="action-category"> <fieldset class="action-category">
<legend class="action-category-label" data-action="toggleSection" data-section="effects"> <legend class="action-category-label" data-action="toggleSection" data-section="effects">
<div>{{localize "DAGGERHEART.GENERAL.resource"}}</div> <div>{{localize "DAGGERHEART.GENERAL.Resource.single"}}</div>
</legend> </legend>
<div class="action-category-data open"> <div class="action-category-data open">
<fieldset> <fieldset>