mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Improved lang
This commit is contained in:
parent
4cf7b63e03
commit
b90d7dee63
3 changed files with 7 additions and 5 deletions
|
|
@ -20,6 +20,11 @@
|
|||
}
|
||||
},
|
||||
"DAGGERHEART": {
|
||||
"UI": {
|
||||
"notifications": {
|
||||
"adversaryMissing": "The linked adversary doesn't exist in the world."
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
"Menu": {
|
||||
"Automation": {
|
||||
|
|
@ -403,9 +408,6 @@
|
|||
"label": "Event",
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"Notifications": {
|
||||
"AdversaryMissing": "The linked adversary doesn't exist in the world."
|
||||
}
|
||||
},
|
||||
"Domains": {
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) {
|
|||
const target = button.closest('[data-item-uuid]');
|
||||
const adversary = await foundry.utils.fromUuid(target.dataset.itemUuid);
|
||||
if (!adversary) {
|
||||
ui.notifications.warn(game.i18n.localize('DAGGERHEART.Environment.Notifications.AdversaryMissing'));
|
||||
ui.notifications.warn(game.i18n.localize('DAGGERHEART.UI.notifications.adversaryMissing'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
|
|||
static async #viewAdversary(_, button) {
|
||||
const adversary = await foundry.utils.fromUuid(button.dataset.adversary);
|
||||
if (!adversary) {
|
||||
ui.notifications.warn(game.i18n.localize('DAGGERHEART.Environment.Notifications.AdversaryMissing'));
|
||||
ui.notifications.warn(game.i18n.localize('DAGGERHEART.UI.notifications.adversaryMissing'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue