mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Label change
This commit is contained in:
parent
5b8e13421d
commit
b491b7c82c
4 changed files with 14 additions and 12 deletions
11
lang/en.json
11
lang/en.json
|
|
@ -1028,11 +1028,11 @@
|
|||
"description": ""
|
||||
}
|
||||
},
|
||||
"FeatureForm":{
|
||||
"FeatureForm": {
|
||||
"label": "Feature Form",
|
||||
"passive": "Passive",
|
||||
"action":"Action",
|
||||
"reaction":"Reaction"
|
||||
"action": "Action",
|
||||
"reaction": "Reaction"
|
||||
},
|
||||
"Gold": {
|
||||
"title": "Gold",
|
||||
|
|
@ -2095,6 +2095,7 @@
|
|||
"fear": "Fear",
|
||||
"features": "Features",
|
||||
"formula": "Formula",
|
||||
"general": "General",
|
||||
"gm": "GM",
|
||||
"healing": "Healing",
|
||||
"healingRoll": "Healing Roll",
|
||||
|
|
@ -2528,8 +2529,8 @@
|
|||
"enabled": { "label": "Enabled" },
|
||||
"tokens": { "label": "Tokens" }
|
||||
},
|
||||
"massiveDamage":{
|
||||
"title":"Massive Damage",
|
||||
"massiveDamage": {
|
||||
"title": "Massive Damage",
|
||||
"enabled": { "label": "Enabled" }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
})
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -4,10 +4,11 @@
|
|||
data-group='{{tabs.settings.group}}'
|
||||
>
|
||||
{{#if (or (eq document.parent.type "adversary") (eq document.parent.type "environment"))}}
|
||||
<fieldset class="two-columns">
|
||||
<span>{{localize "DAGGERHEART.CONFIG.FeatureForm.label"}}</span>
|
||||
{{formInput document.system.schema.fields.featureForm value=document.system.featureForm choices=featureFormChoices localize=true}}
|
||||
</fieldset>
|
||||
<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>
|
||||
{{/if}}
|
||||
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue