mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Improved item transfer dialog title
This commit is contained in:
parent
f8b8e87cae
commit
4ba3a02aea
2 changed files with 5 additions and 2 deletions
|
|
@ -465,7 +465,7 @@
|
|||
"selectImage": "Select Image"
|
||||
},
|
||||
"ItemTransfer": {
|
||||
"title": "Transfer Item Quantity",
|
||||
"title": "{item}: Transfer Item Quantity",
|
||||
"transfer": "Transfer"
|
||||
},
|
||||
"Levelup": {
|
||||
|
|
|
|||
|
|
@ -8,11 +8,14 @@ export default class ItemTransferDialog extends HandlebarsApplicationMixin(Appli
|
|||
this.quantity = item.system.quantity;
|
||||
}
|
||||
|
||||
get title() {
|
||||
return game.i18n.format('DAGGERHEART.APPLICATIONS.ItemTransfer.title', { item: this.item.name });
|
||||
}
|
||||
|
||||
static DEFAULT_OPTIONS = {
|
||||
tag: 'form',
|
||||
classes: ['daggerheart', 'dh-style', 'dialog', 'item-transfer'],
|
||||
position: { width: 300, height: 'auto' },
|
||||
window: { title: 'DAGGERHEART.APPLICATIONS.ItemTransfer.title' },
|
||||
actions: {
|
||||
finish: ItemTransferDialog.#finish
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue