Label change

This commit is contained in:
WBHarry 2025-12-20 19:34:28 +01:00
parent 5b8e13421d
commit b491b7c82c
4 changed files with 14 additions and 12 deletions

View file

@ -2095,6 +2095,7 @@
"fear": "Fear",
"features": "Features",
"formula": "Formula",
"general": "General",
"gm": "GM",
"healing": "Healing",
"healingRoll": "Healing Roll",

View file

@ -33,9 +33,9 @@ export default class DHFeature extends BaseDataItem {
identifier: new fields.StringField(),
featureForm: new fields.StringField({
required: true,
initial: "passive",
initial: 'passive',
choices: CONFIG.DH.ITEM.featureForm,
label: "DAGGERHEART.CONFIG.featureForm.label",
label: 'DAGGERHEART.CONFIG.FeatureForm.label'
})
};
}

View file

@ -4,7 +4,7 @@
<line-div></line-div>
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
<div class='item-description'>
<h3>{{localize 'TYPES.Item.feature'}}</h3>
<h3>{{localize (concat 'DAGGERHEART.CONFIG.FeatureForm.' source.system.featureForm)}} {{localize 'TYPES.Item.feature'}}</h3>
</div>
</div>
</header>

View file

@ -5,6 +5,7 @@
>
{{#if (or (eq document.parent.type "adversary") (eq document.parent.type "environment"))}}
<fieldset class="two-columns">
<legend>{{localize "DAGGERHEART.GENERAL.general"}}</legend>
<span>{{localize "DAGGERHEART.CONFIG.FeatureForm.label"}}</span>
{{formInput document.system.schema.fields.featureForm value=document.system.featureForm choices=featureFormChoices localize=true}}
</fieldset>