diff --git a/ElvUI/Locales/deDE.lua b/ElvUI/Locales/deDE.lua index d6eb847..23c4451 100644 --- a/ElvUI/Locales/deDE.lua +++ b/ElvUI/Locales/deDE.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "Verwirrt.. Versuche es erneut!" L["Continue"] = "Fortfahren" L["Coords"] = "Koordinaten" L["Count"] = "Zähler" +L["Current state: %s."] = "Klicken zum Umschalten.\nAktueller Status: %s." +L["Deconstruct Mode"] = "Zerlegen Modus" +L["Deconstruct Mode Desc"] = "Ermöglicht das Entzaubern, Mahlen, Sondieren und Öffnen von Gegenständen." L["DND"] = "DND" L["DPS"] = "DPS" L["Dark"] = "Dunkel" diff --git a/ElvUI/Locales/enUS.lua b/ElvUI/Locales/enUS.lua index ae974bb..f7d6b53 100644 --- a/ElvUI/Locales/enUS.lua +++ b/ElvUI/Locales/enUS.lua @@ -72,6 +72,9 @@ L["Confused.. Try Again!"] = true L["Continue"] = true L["Coords"] = true L["Count"] = true +L["Current state: %s."] = "Click to toggle.\nCurrent state: %s." +L["Deconstruct Mode"] = true +L["Deconstruct Mode Desc"] = "Allow you to disenchant/mill/prospect/unlock items." L["DND"] = true L["DPS"] = true L["Dark"] = true diff --git a/ElvUI/Locales/esMX.lua b/ElvUI/Locales/esMX.lua index a4b9c81..39d70f5 100644 --- a/ElvUI/Locales/esMX.lua +++ b/ElvUI/Locales/esMX.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "Confundido... ¡Intenta de Nuevo!" L["Continue"] = "Continuar" L["Coords"] = true L["Count"] = "Contador" +L["Current state: %s."] = "Haz clic para alternar.\nEstado actual: %s." +L["Deconstruct Mode"] = "Modo Deconstruir" +L["Deconstruct Mode Desc"] = "Permite desencantar, moler, prospectar y abrir objetos." L["DND"] = "Oc" L["DPS"] = "DPS" L["Dark"] = "Oscuro" diff --git a/ElvUI/Locales/frFR.lua b/ElvUI/Locales/frFR.lua index 2997019..747bed7 100644 --- a/ElvUI/Locales/frFR.lua +++ b/ElvUI/Locales/frFR.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "Confus... Essayez à nouveau !" L["Continue"] = true L["Coords"] = "Coordonnées" L["Count"] = "Nombre" +L["Current state: %s."] = "Cliquez pour basculer.\nÉtat actuel : %s." +L["Deconstruct Mode"] = "Mode Déconstruction" +L["Deconstruct Mode Desc"] = "Permet de désenchanter, moudre, prospecter et déverrouiller des objets." L["DND"] = "OQP" L["DPS"] = "DPS" L["Dark"] = "Sombre" diff --git a/ElvUI/Locales/koKR.lua b/ElvUI/Locales/koKR.lua index 92b20f4..ca25458 100644 --- a/ElvUI/Locales/koKR.lua +++ b/ElvUI/Locales/koKR.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "작업에 혼선이 있었습니다. 다시 시도 L["Continue"] = true L["Coords"] = "좌표" L["Count"] = "갯수" +L["Current state: %s."] = "클릭하여 전환합니다.\n현재 상태: %s." +L["Deconstruct Mode"] = "분해 모드" +L["Deconstruct Mode Desc"] = "마법 부여 분해, 가루로 만들기, 세공 및 잠금 해제를 할 수 있습니다." L["DND"] = "다른 용무 중" L["DPS"] = "DPS" L["Dark"] = "어두운 느낌" diff --git a/ElvUI/Locales/ptBR.lua b/ElvUI/Locales/ptBR.lua index fedf0ad..914d4cf 100644 --- a/ElvUI/Locales/ptBR.lua +++ b/ElvUI/Locales/ptBR.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "Confuso... Tente novamente!" L["Continue"] = true L["Coords"] = true L["Count"] = "Contar" +L["Current state: %s."] = "Clique para alternar.\nEstado atual: %s." +L["Deconstruct Mode"] = "Modo Desconstruir" +L["Deconstruct Mode Desc"] = "Permite desencantar, moer, prospectar e desbloquear itens." L["DND"] = "NP" L["DPS"] = "DPS" L["Dark"] = "Escuro" diff --git a/ElvUI/Locales/ruRU.lua b/ElvUI/Locales/ruRU.lua index 8bab2c6..4ac3b29 100644 --- a/ElvUI/Locales/ruRU.lua +++ b/ElvUI/Locales/ruRU.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "Что за?.. Попробуйте еще раз! L["Continue"] = "Продолжить" L["Coords"] = "Коорд." L["Count"] = "Кол-во" +L["Current state: %s."] = "Нажмите для переключения.\nТекущее состояние: %s." +L["Deconstruct Mode"] = "Режим разборки" +L["Deconstruct Mode Desc"] = "Позволяет распылять, измельчать, обрабатывать и вскрывать предметы." L["DND"] = "ДНД" L["DPS"] = "УВС" L["Dark"] = "Темная" diff --git a/ElvUI/Locales/zhCN.lua b/ElvUI/Locales/zhCN.lua index 609de05..49a8c01 100644 --- a/ElvUI/Locales/zhCN.lua +++ b/ElvUI/Locales/zhCN.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "请再试一次!" L["Continue"] = "下一步" L["Coords"] = "坐标" L["Count"] = "计数" +L["Current state: %s."] = "点击切换。\n当前状态: %s。" +L["Deconstruct Mode"] = "分解模式" +L["Deconstruct Mode Desc"] = "允许你分解、碾磨、勘探和解锁物品。" L["DND"] = "忙碌" L["DPS"] = "伤害输出" L["Dark"] = "黑暗" diff --git a/ElvUI/Locales/zhTW.lua b/ElvUI/Locales/zhTW.lua index f976b12..5b53d8d 100644 --- a/ElvUI/Locales/zhTW.lua +++ b/ElvUI/Locales/zhTW.lua @@ -69,6 +69,9 @@ L["Confused.. Try Again!"] = "請再試一次!" L["Continue"] = "下一步" L["Coords"] = "坐標" L["Count"] = "計數" +L["Current state: %s."] = "點擊切換。\n當前狀態: %s。" +L["Deconstruct Mode"] = "分解模式" +L["Deconstruct Mode Desc"] = "允許你分解、碾磨、勘探和解鎖物品。" L["DND"] = "忙碌" L["DPS"] = "傷害輸出" L["Dark"] = "黑暗" diff --git a/ElvUI/Modules/Bags/Deconstruct.lua b/ElvUI/Modules/Bags/Deconstruct.lua index 2532b36..97583aa 100644 --- a/ElvUI/Modules/Bags/Deconstruct.lua +++ b/ElvUI/Modules/Bags/Deconstruct.lua @@ -320,7 +320,7 @@ function D:ToggleMode() end end - D.DeconstructButton.ttText2 = format("Allow you to disenchant/mill/prospect/unlock items.\nClick to toggle.\nCurrent state: %s.", D:GetDeconMode()) + D.DeconstructButton.ttText2 = format(L["Deconstruct Mode Desc"] .. "\n" .. L["Current state: %s."], D:GetDeconMode()) if GameTooltip:IsOwned(D.DeconstructButton) then B.Tooltip_Show(D.DeconstructButton) end end @@ -510,8 +510,8 @@ local function CreateDeconstructButton(bagFrame) button:GetPushedTexture():SetTexCoord(unpack(E.TexCoords)) button:GetPushedTexture():SetInside() button:StyleButton(nil, true) - button.ttText = "Deconstruct Mode" - button.ttText2 = "Allow you to disenchant/mill/prospect/unlock items.\nClick to toggle.\nCurrent state: |cffFF0000Disabled|r" + button.ttText = L["Deconstruct Mode"] + button.ttText2 = format(L["Deconstruct Mode Desc"] .. "\n" .. L["Current state: %s."], D:GetDeconMode()) button:SetScript("OnEnter", B.Tooltip_Show) button:SetScript("OnLeave", GameTooltip_Hide) button:SetScript("OnClick", function() D:ToggleMode() end) diff --git a/ElvUI_OptionsUI/Bags.lua b/ElvUI_OptionsUI/Bags.lua index f9a7459..f6ad163 100644 --- a/ElvUI_OptionsUI/Bags.lua +++ b/ElvUI_OptionsUI/Bags.lua @@ -152,8 +152,8 @@ E.Options.args.bags = { deconstruct = { order = 16, type = "toggle", - name = "Deconstruct Mode", - desc = "Enable the Deconstruct Mode button for disenchanting, milling, prospecting, and unlocking items.", + name = L["Deconstruct Mode"], + desc = L["Deconstruct Mode Desc"], set = function(info, value) E.db.bags[info[#info]] = value E:StaticPopup_Show("PRIVATE_RL") end }, unlearnedVanityIcon = {