localize warning
This commit is contained in:
parent
714efeb4ab
commit
7685efa8a6
2 changed files with 3 additions and 5 deletions
|
@ -52,9 +52,6 @@ export class DS4ItemSheet extends ItemSheet<DS4ItemDataType, DS4Item> {
|
|||
return position;
|
||||
}
|
||||
|
||||
private readonly ownedItemActiveEffectWarning =
|
||||
"Managing Active Effects within an Owned Item is not currently supported and will be added in a subsequent update.";
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/** @override */
|
||||
|
@ -74,7 +71,7 @@ export class DS4ItemSheet extends ItemSheet<DS4ItemDataType, DS4Item> {
|
|||
event.preventDefault();
|
||||
|
||||
if (this.item.isOwned) {
|
||||
return ui.notifications.warn(this.ownedItemActiveEffectWarning);
|
||||
return ui.notifications.warn(game.i18n.localize("DS4.WarningManageActiveEffectOnOwnedItem"));
|
||||
}
|
||||
const a = event.currentTarget;
|
||||
const li = $(a).parents(".effect");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue