diff --git a/src/lang/en.json b/src/lang/en.json index 84c7d542..7b449b34 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -101,5 +101,6 @@ "DS4.ProfilHairColor": "Hair Color", "DS4.ProfileWeight": "Weight", "DS4.ProfileEyeColor": "Eye Color", - "DS4.ProfileSpecialCharacteristics": "Special Characteristics" + "DS4.ProfileSpecialCharacteristics": "Special Characteristics", + "DS4.WarningManageActiveEffectOnOwnedItem": "Managing Active Effects within an Owned Item is not currently supported and will be added in a subsequent update." } diff --git a/src/module/item/item-sheet.ts b/src/module/item/item-sheet.ts index b9bc1272..8d8df70f 100644 --- a/src/module/item/item-sheet.ts +++ b/src/module/item/item-sheet.ts @@ -52,9 +52,6 @@ export class DS4ItemSheet extends ItemSheet { 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 { 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");