From 9fecb5fa681ee2977d63f3456f519ce4d1051c63 Mon Sep 17 00:00:00 2001 From: Zhou Fang Date: Tue, 17 Sep 2024 08:53:08 +0900 Subject: [PATCH] fix: disable force item level by default --- Core/Changelog/3.77.lua | 5 +++++ Locales/deDE.lua | 1 + Locales/enUS.lua | 1 + Locales/esMX.lua | 1 + Locales/frFR.lua | 1 + Locales/itIT.lua | 1 + Locales/koKR.lua | 1 + Locales/ptBR.lua | 1 + Locales/ruRU.lua | 1 + Locales/zhCN.lua | 1 + Locales/zhTW.lua | 1 + Modules/Skins/Blizzard/Inspect.lua | 3 +++ Options/Tooltips.lua | 5 ++++- Settings/Profile.lua | 2 +- 14 files changed, 23 insertions(+), 2 deletions(-) diff --git a/Core/Changelog/3.77.lua b/Core/Changelog/3.77.lua index 11eea839..3e009f8c 100644 --- a/Core/Changelog/3.77.lua +++ b/Core/Changelog/3.77.lua @@ -5,18 +5,23 @@ W.Changelog[377] = { IMPORTANT = { ["zhCN"] = { "[鼠标提示] 目标进度功能将使用 MDT API 的小怪进度数据,同时改良了显示样式。", + "[鼠标提示] 由于会对观察功能产生影响,因此强制 ElvUI 装等显示功能默认关闭。", }, ["zhTW"] = { "[浮動提示] 目標進度功能將使用 MDT API 的小怪進度數據,同時改良了顯示樣式。", + "[浮動提示] 由於會對觀察功能產生影響,因此強制 ElvUI 裝等顯示功能默認關閉。", }, ["enUS"] = { "[Tooltip] Objective progress feature will use MDT API for fetching enemy force in Mythic+, and the display style has been improved.", + "[Tooltip] Due to the impact on the Inspect feature, the ElvUI item level display feature is now forced off by default.", }, ["koKR"] = { "[툴팁] 목표 진행률 기능이 MDT API를 사용하여 미틱+의 적 힘을 가져오며, 표시 스타일이 개선되었습니다.", + "[툴팁] 검사 기능에 영향을 미치기 때문에 ElvUI 아이템 레벨 표시 기능이 이제 기본적으로 꺼져 있습니다.", }, ["ruRU"] = { "[Подсказка] Функция прогресса заданий будет использовать API MDT для получения данных о силе противника в M+, а также стиль отображения был улучшен.", + "[Подсказка] Из-за влияния на функцию Осмотра функция отображения уровня предметов ElvUI теперь по умолчанию отключена.", }, }, NEW = { diff --git a/Locales/deDE.lua b/Locales/deDE.lua index 6a89ebe8..5969b233 100644 --- a/Locales/deDE.lua +++ b/Locales/deDE.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = "Übergang umkehren" L["Invite"] = "Einladen" L["Iskaaran Fishing Net"] = "Iskaaran Fischnetz" L["It doesn't mean that the %s Skins will not be applied."] = "Das bedeutet nicht, dass die %s Skins nicht angewendet werden." +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = "Es gilt nur für Spieler, die WoW auf vereinfachtem Chinesisch spielen." L["It only works when you enable the skin (%s)."] = "Es funktioniert nur, wenn Du den Skin (%s) aktiviert hast." L["It will affect the cry emote sound."] = "Es wird den Schrei Emoteklang beeinflussen." diff --git a/Locales/enUS.lua b/Locales/enUS.lua index 8458656b..416089fb 100644 --- a/Locales/enUS.lua +++ b/Locales/enUS.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = true L["Invite"] = true L["Iskaaran Fishing Net"] = true L["It doesn't mean that the %s Skins will not be applied."] = true +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = true L["It only works when you enable the skin (%s)."] = true L["It will affect the cry emote sound."] = true diff --git a/Locales/esMX.lua b/Locales/esMX.lua index 4567ef17..b7c9226b 100644 --- a/Locales/esMX.lua +++ b/Locales/esMX.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = true L["Invite"] = true L["Iskaaran Fishing Net"] = true L["It doesn't mean that the %s Skins will not be applied."] = true +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = true L["It only works when you enable the skin (%s)."] = true L["It will affect the cry emote sound."] = true diff --git a/Locales/frFR.lua b/Locales/frFR.lua index 5f6b5a28..ad711bab 100644 --- a/Locales/frFR.lua +++ b/Locales/frFR.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = "Inverser l'effet" L["Invite"] = "Inviter" L["Iskaaran Fishing Net"] = "Filet de pêche iskaarien" L["It doesn't mean that the %s Skins will not be applied."] = "Cela ne signifie pas que les apparences %s ne seront pas appliqués." +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = "Cela s'applique uniquement aux joueurs qui jouent à WoW en chinois simplifié." L["It only works when you enable the skin (%s)."] = "Cela fonctionne uniquement lorsque vous activez le thème (%s)." L["It will affect the cry emote sound."] = "Cela affectera le son de l'émote de cri." diff --git a/Locales/itIT.lua b/Locales/itIT.lua index 0aca24d5..6865255d 100644 --- a/Locales/itIT.lua +++ b/Locales/itIT.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = true L["Invite"] = true L["Iskaaran Fishing Net"] = true L["It doesn't mean that the %s Skins will not be applied."] = true +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = true L["It only works when you enable the skin (%s)."] = true L["It will affect the cry emote sound."] = true diff --git a/Locales/koKR.lua b/Locales/koKR.lua index 68e52a2e..a9caae55 100644 --- a/Locales/koKR.lua +++ b/Locales/koKR.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = true L["Invite"] = "초대" L["Iskaaran Fishing Net"] = "이스카라 낚시 그물" L["It doesn't mean that the %s Skins will not be applied."] = "%s 스킨이 적용되지 않는다는 의미는 아닙니다." +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = true L["It only works when you enable the skin (%s)."] = true L["It will affect the cry emote sound."] = "이것은 우는 감정표현에도 영향을 미칩니다." diff --git a/Locales/ptBR.lua b/Locales/ptBR.lua index 441ab83f..818a21ba 100644 --- a/Locales/ptBR.lua +++ b/Locales/ptBR.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = true L["Invite"] = true L["Iskaaran Fishing Net"] = true L["It doesn't mean that the %s Skins will not be applied."] = true +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = true L["It only works when you enable the skin (%s)."] = true L["It will affect the cry emote sound."] = true diff --git a/Locales/ruRU.lua b/Locales/ruRU.lua index 54b94831..579cb44c 100644 --- a/Locales/ruRU.lua +++ b/Locales/ruRU.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = "Обратная плавность" L["Invite"] = "Пригласить" L["Iskaaran Fishing Net"] = "Искарская рыболовная сеть" L["It doesn't mean that the %s Skins will not be applied."] = "Это не означает, что скины %s не будут применены." +L["It may broken inspect feature sometimes."] = true L["It only applies to players who play WoW in Simplified Chinese."] = "Это относится только к игрокам, которые играют в WoW на упрощенном китайском языке." L["It only works when you enable the skin (%s)."] = "Это работает только при включении скина (%s)." L["It will affect the cry emote sound."] = "Это повлияет на звук эмоции плача." diff --git a/Locales/zhCN.lua b/Locales/zhCN.lua index 4819f761..79cc2e0d 100644 --- a/Locales/zhCN.lua +++ b/Locales/zhCN.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = "反转缓动" L["Invite"] = "邀请" L["Iskaaran Fishing Net"] = "海象人渔网" L["It doesn't mean that the %s Skins will not be applied."] = "这并不意味着 %s的皮肤不加载了." +L["It may broken inspect feature sometimes."] = "这可能会导致装备观察功能失效." L["It only applies to players who play WoW in Simplified Chinese."] = "这只适用于简体中文玩家." L["It only works when you enable the skin (%s)."] = "这只在你启用皮肤 (%s) 时才生效." L["It will affect the cry emote sound."] = "这将影响到哭泣表情的声音." diff --git a/Locales/zhTW.lua b/Locales/zhTW.lua index 987de0ba..ec0b6973 100644 --- a/Locales/zhTW.lua +++ b/Locales/zhTW.lua @@ -728,6 +728,7 @@ L["Invert Ease"] = "反转緩動" L["Invite"] = "邀請" L["Iskaaran Fishing Net"] = "海象人漁網" L["It doesn't mean that the %s Skins will not be applied."] = "這並不代表著 %s 皮膚不加載." +L["It may broken inspect feature sometimes."] = "這可能會導致裝備觀察功能失效." L["It only applies to players who play WoW in Simplified Chinese."] = "這只適用於簡體中文玩家." L["It only works when you enable the skin (%s)."] = "這只在你啟用皮膚 (%s) 時生效." L["It will affect the cry emote sound."] = "這將影響哭泣表情聲音效果." diff --git a/Modules/Skins/Blizzard/Inspect.lua b/Modules/Skins/Blizzard/Inspect.lua index 7608172f..fd56fef4 100644 --- a/Modules/Skins/Blizzard/Inspect.lua +++ b/Modules/Skins/Blizzard/Inspect.lua @@ -30,6 +30,9 @@ function S:Blizzard_InspectUI() self:ReskinTab(_G["InspectFrameTab" .. i]) end + self:CreateShadow(_G.InspectPaperDollFrame.ViewButton) + self:CreateShadow(_G.InspectPaperDollItemsFrame.InspectTalents) + -- 去除人物模型背景 local InspectModelFrame = _G.InspectModelFrame if InspectModelFrame then diff --git a/Options/Tooltips.lua b/Options/Tooltips.lua index c48062e3..16c0aa4e 100644 --- a/Options/Tooltips.lua +++ b/Options/Tooltips.lua @@ -1,5 +1,6 @@ local W, F, E, L, V, P, G = unpack((select(2, ...))) local options = W.options.tooltips.args +local C = W.Utilities.Color local T = W.Modules.Tooltips local LFGPI = W.Utilities.LFGPlayerInfo @@ -56,7 +57,9 @@ options.general = { order = 1, type = "toggle", name = L["Force Item Level"], - desc = L["Even you are not pressing the modifier key, the item level will still be shown."], + desc = L["Even you are not pressing the modifier key, the item level will still be shown."] + .. "\n" + .. C.StringByTemplate(L["It may broken inspect feature sometimes."], "warning"), }, specIcon = { order = 2, diff --git a/Settings/Profile.lua b/Settings/Profile.lua index 8aae5a09..be6bd3b4 100644 --- a/Settings/Profile.lua +++ b/Settings/Profile.lua @@ -1114,7 +1114,7 @@ P.quest = { P.tooltips = { elvUITweaks = { - forceItemLevel = true, + forceItemLevel = false, raceIcon = { enable = true, iconWidth = 16,