Use locale for tooltips
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"] = "어두운 느낌"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"] = "Темная"
|
||||
|
||||
@@ -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"] = "黑暗"
|
||||
|
||||
@@ -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"] = "黑暗"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user