diff --git a/lang/en.json b/lang/en.json index b98d8f57..8a3481c8 100755 --- a/lang/en.json +++ b/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" } } } diff --git a/module/data/item/feature.mjs b/module/data/item/feature.mjs index be6da223..cb01b1fb 100644 --- a/module/data/item/feature.mjs +++ b/module/data/item/feature.mjs @@ -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' }) }; } diff --git a/templates/sheets/items/feature/header.hbs b/templates/sheets/items/feature/header.hbs index e603c0f7..efaba77b 100755 --- a/templates/sheets/items/feature/header.hbs +++ b/templates/sheets/items/feature/header.hbs @@ -4,7 +4,7 @@

-

{{localize 'TYPES.Item.feature'}}

+

{{localize (concat 'DAGGERHEART.CONFIG.FeatureForm.' source.system.featureForm)}} {{localize 'TYPES.Item.feature'}}

\ No newline at end of file diff --git a/templates/sheets/items/feature/settings.hbs b/templates/sheets/items/feature/settings.hbs index 401bc7c9..63aa9502 100644 --- a/templates/sheets/items/feature/settings.hbs +++ b/templates/sheets/items/feature/settings.hbs @@ -4,10 +4,11 @@ data-group='{{tabs.settings.group}}' > {{#if (or (eq document.parent.type "adversary") (eq document.parent.type "environment"))}} -
- {{localize "DAGGERHEART.CONFIG.FeatureForm.label"}} - {{formInput document.system.schema.fields.featureForm value=document.system.featureForm choices=featureFormChoices localize=true}} -
+
+ {{localize "DAGGERHEART.GENERAL.general"}} + {{localize "DAGGERHEART.CONFIG.FeatureForm.label"}} + {{formInput document.system.schema.fields.featureForm value=document.system.featureForm choices=featureFormChoices localize=true}} +
{{/if}} {{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }} \ No newline at end of file