mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 16:03:39 +02:00
Fixed translations
This commit is contained in:
parent
2ac7ee0079
commit
85229faf52
3 changed files with 9 additions and 5 deletions
|
|
@ -2691,7 +2691,11 @@
|
||||||
"newType": "Adversary Type"
|
"newType": "Adversary Type"
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
"typeTitle": "{type} Resources"
|
"typeTitle": "{type} Resources",
|
||||||
|
"filledIcon": "Filled Icon",
|
||||||
|
"emptyIcon": "Empty Icon",
|
||||||
|
"resourceIdentifier": "Resource Identifier",
|
||||||
|
"setResourceIdentifier": "Set Resource Identifier"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Menu": {
|
"Menu": {
|
||||||
|
|
|
||||||
|
|
@ -518,7 +518,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
|
||||||
static async addResource(_, target) {
|
static async addResource(_, target) {
|
||||||
const { actorType } = target.dataset;
|
const { actorType } = target.dataset;
|
||||||
const content = new foundry.data.fields.StringField({
|
const content = new foundry.data.fields.StringField({
|
||||||
label: game.i18n.localize('Resource Identifier'),
|
label: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resources.resourceIdentifier'),
|
||||||
required: true
|
required: true
|
||||||
}).toFormGroup({}, { name: 'identifier', localize: true }).outerHTML;
|
}).toFormGroup({}, { name: 'identifier', localize: true }).outerHTML;
|
||||||
|
|
||||||
|
|
@ -542,7 +542,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
|
||||||
modal: true,
|
modal: true,
|
||||||
ok: { callback: callback.bind(this) },
|
ok: { callback: callback.bind(this) },
|
||||||
window: {
|
window: {
|
||||||
title: game.i18n.localize('Set Resource Identifier')
|
title: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resources.setResourceIdentifier')
|
||||||
},
|
},
|
||||||
position: { width: 400 }
|
position: { width: 400 }
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
{{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.full.fields}}
|
{{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.full.fields}}
|
||||||
<div class="resource-icon-title-container">
|
<div class="resource-icon-title-container">
|
||||||
<div class="resource-icon-title">
|
<div class="resource-icon-title">
|
||||||
<span>{{localize "Filled Icon"}}</span>
|
<span>{{localize "DAGGERHEART.SETTINGS.Homebrew.resources.filledIcon"}}</span>
|
||||||
<a data-action="resetResourceImage"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
<a data-action="resetResourceImage"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
{{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.empty.fields}}
|
{{#with @root.schemaFields.resources.element.fields.resources.element.fields.images.fields.empty.fields}}
|
||||||
<div class="resource-icon-title-container">
|
<div class="resource-icon-title-container">
|
||||||
<div class="resource-icon-title">
|
<div class="resource-icon-title">
|
||||||
<span>{{localize "Empty Icon"}}</span>
|
<span>{{localize "DAGGERHEART.SETTINGS.Homebrew.resources.emptyIcon"}}</span>
|
||||||
<a data-action="resetResourceImage"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
<a data-action="resetResourceImage"><i class="fa-solid fa-arrow-rotate-left"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue