mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Localize add resource
This commit is contained in:
parent
f091c1849a
commit
47847b5b8d
2 changed files with 3 additions and 3 deletions
|
|
@ -104,6 +104,7 @@
|
||||||
"startCountdown": "Start Countdown"
|
"startCountdown": "Start Countdown"
|
||||||
},
|
},
|
||||||
"damage": {
|
"damage": {
|
||||||
|
"addResource": "Add Resource",
|
||||||
"multiplier": "Multiplier",
|
"multiplier": "Multiplier",
|
||||||
"flatMultiplier": "Flat Multiplier",
|
"flatMultiplier": "Flat Multiplier",
|
||||||
"markResources": "Mark Resources"
|
"markResources": "Mark Resources"
|
||||||
|
|
|
||||||
|
|
@ -330,7 +330,7 @@ export default class DHActionBaseConfig extends DaggerheartSheet(ApplicationV2)
|
||||||
const unused = allKeys.filter(k => !(k in this.action._source.damage.resources));
|
const unused = allKeys.filter(k => !(k in this.action._source.damage.resources));
|
||||||
const choices = unused.map(k => ({ value: k, label: _loc(CONFIG.DH.GENERAL.healingTypes[k].label) }));
|
const choices = unused.map(k => ({ value: k, label: _loc(CONFIG.DH.GENERAL.healingTypes[k].label) }));
|
||||||
const content = new foundry.data.fields.StringField({
|
const content = new foundry.data.fields.StringField({
|
||||||
label: _loc('DAGGERHEART.GENERAL.damageType'),
|
label: _loc('DAGGERHEART.GENERAL.Resource.single'),
|
||||||
choices,
|
choices,
|
||||||
required: true
|
required: true
|
||||||
}).toFormGroup({}, {
|
}).toFormGroup({}, {
|
||||||
|
|
@ -364,8 +364,7 @@ export default class DHActionBaseConfig extends DaggerheartSheet(ApplicationV2)
|
||||||
rejectClose: false,
|
rejectClose: false,
|
||||||
modal: false,
|
modal: false,
|
||||||
window: {
|
window: {
|
||||||
/** @todo localize */
|
title: _loc('DAGGERHEART.ACTIONS.Config.damage.addResource')
|
||||||
title: 'Add Damage'
|
|
||||||
},
|
},
|
||||||
position: { width: 300 }
|
position: { width: 300 }
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue