diff --git a/lang/en.json b/lang/en.json index 68d590b4..b74bfcc6 100755 --- a/lang/en.json +++ b/lang/en.json @@ -2691,7 +2691,11 @@ "newType": "Adversary Type" }, "resources": { - "typeTitle": "{type} Resources" + "typeTitle": "{type} Resources", + "filledIcon": "Filled Icon", + "emptyIcon": "Empty Icon", + "resourceIdentifier": "Resource Identifier", + "setResourceIdentifier": "Set Resource Identifier" } }, "Menu": { diff --git a/module/applications/settings/homebrewSettings.mjs b/module/applications/settings/homebrewSettings.mjs index 05ccc95c..b7ae4b68 100644 --- a/module/applications/settings/homebrewSettings.mjs +++ b/module/applications/settings/homebrewSettings.mjs @@ -518,7 +518,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli static async addResource(_, target) { const { actorType } = target.dataset; const content = new foundry.data.fields.StringField({ - label: game.i18n.localize('Resource Identifier'), + label: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resources.resourceIdentifier'), required: true }).toFormGroup({}, { name: 'identifier', localize: true }).outerHTML; @@ -542,7 +542,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli modal: true, ok: { callback: callback.bind(this) }, window: { - title: game.i18n.localize('Set Resource Identifier') + title: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resources.setResourceIdentifier') }, position: { width: 400 } }); diff --git a/templates/settings/homebrew-settings/resources.hbs b/templates/settings/homebrew-settings/resources.hbs index c9666c67..59f179a9 100644 --- a/templates/settings/homebrew-settings/resources.hbs +++ b/templates/settings/homebrew-settings/resources.hbs @@ -29,7 +29,7 @@ {{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.full.fields}}
@@ -50,7 +50,7 @@ {{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.empty.fields}}