From fc2167604665bf0a76f67ed9bfe8fdf62de0c35c Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Wed, 27 May 2009 16:31:40 +0000 Subject: [PATCH] Added additional help lines to tooltip (needs localization!) git-svn-id: svn://svn.wowinterface.com/Broker_Equipment-429/trunk@15 ec0254a7-aafd-4d69-bcb1-797bd6548cda --- Broker_Equipment/Broker_Equipment.lua | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Broker_Equipment/Broker_Equipment.lua b/Broker_Equipment/Broker_Equipment.lua index b950954..27a6871 100644 --- a/Broker_Equipment/Broker_Equipment.lua +++ b/Broker_Equipment/Broker_Equipment.lua @@ -11,22 +11,34 @@ local L = {} if(GetLocale() == 'deDE') then - L.TOOLTIP = 'Klicke hier um das set zu wechsein' + L.TOOLTIP1 = 'Klicke hier um das set zu wechsein' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set (NYI)' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set (NYI)' L.NOSET = 'Kein set' elseif(GetLocale() == 'frFR') then - L.TOOLTIP = 'Cliquez ici pour changer de set' + L.TOOLTIP1 = 'Cliquez ici pour changer de set' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set (NYI)' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set (NYI)' L.NOSET = 'Pas de set' elseif(GetLocale() == 'zhCN') then - L.TOOLTIP = '点击选择套装' + L.TOOLTIP1 = '点击选择套装' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set (NYI)' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set (NYI)' L.NOSET = '无套装' elseif(GetLocale() == 'zhTW') then - L.TOOLTIP = '點擊選擇套裝' + L.TOOLTIP1 = '點擊選擇套裝' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set (NYI)' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set (NYI)' L.NOSET = '無套裝' elseif(GetLocale() == 'koKR') then - L.TOOLTIP = '당신의 세트를 변경하려면 여기를 클릭하세요.' + L.TOOLTIP1 = '당신의 세트를 변경하려면 여기를 클릭하세요.' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set (NYI)' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set (NYI)' L.NOSET = '세트 없음' else - L.TOOLTIP = 'Click here to change your set' + L.TOOLTIP1 = 'Click here to change your set' + L.TOOLTIP2 = 'Ctrl+Alt click in menu to update your set' + L.TOOLTIP3 = 'Shift+Alt click in menu to delete your set' L.NOSET = 'No set' end @@ -139,7 +151,9 @@ end function broker:OnTooltipShow() self:AddLine('|cff0090ffBroker Equipment|r') - self:AddLine(L.TOOLTIP) + self:AddLine(L.TOOLTIP1) + self:AddLine(L.TOOLTIP2) + self:AddLine(L.TOOLTIP3) end hooksecurefunc('EquipmentManager_EquipSet', function(name) -- 1.7.9.5