Added LDB launcher plugin

This commit is contained in:
Hendrik Leppkes
2008-09-02 17:02:51 +02:00
parent 85801dc74d
commit a44b12b76f
9 changed files with 46 additions and 1 deletions
+30
View File
@@ -106,3 +106,33 @@ function Bartender4.modulePrototype:ToggleOptions()
end
end
Bartender4:SetDefaultModulePrototype(Bartender4.modulePrototype)
local L_BT_LEFT = L["|cffffff00Click|r to toggle bar lock"]
local L_BT_RIGHT = L["|cffffff00Right-click|r to open the options menu"]
LibStub("LibDataBroker-1.1"):NewDataObject("Bartender4", {
type = "launcher",
text = "Bartender4",
OnClick = function(_, msg)
if msg == "LeftButton" then
if Bartender4.Locked then
Bartender4["Unlock"](Bartender4)
else
Bartender4["Lock"](Bartender4)
end
elseif msg == "RightButton" then
if LibStub("AceConfigDialog-3.0").OpenFrames["Bartender4"] then
LibStub("AceConfigDialog-3.0"):Close("Bartender4")
else
LibStub("AceConfigDialog-3.0"):Open("Bartender4")
end
end
end,
icon = "Interface\\Icons\\INV_Drink_05",
OnTooltipShow = function(tooltip)
if not tooltip or not tooltip.AddLine then return end
tooltip:AddLine("Bartender4")
tooltip:AddLine(L_BT_LEFT)
tooltip:AddLine(L_BT_RIGHT)
end,
})
+2
View File
@@ -96,3 +96,5 @@ if not L then return end
-- L["Toggle the use of the modifier-based self-cast functionality."] = true
-- L["Toggle the use of the right-click self-cast functionality."] = true
-- L["Zoom"] = true
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ L["Toggle the button grid."] = true
L["Toggle the use of the modifier-based self-cast functionality."] = true
L["Toggle the use of the right-click self-cast functionality."] = true
L["Zoom"] = true
L["|cffffff00Click|r to toggle bar lock"] = true
L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ if not L then return end
-- L["Toggle the use of the modifier-based self-cast functionality."] = true
-- L["Toggle the use of the right-click self-cast functionality."] = true
-- L["Zoom"] = true
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ L["Toggle the button grid."] = "Affiche ou non la grille des boutons."
L["Toggle the use of the modifier-based self-cast functionality."] = "Utilise ou non la fonctionnalité de ciblage auto. basé sur les modificateurs."
L["Toggle the use of the right-click self-cast functionality."] = "Utilise ou non la fonctionnalité de ciblage auto. au clic droit."
L["Zoom"] = "Zoom"
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ L["Toggle the button grid."] = "버튼 무늬를 전환합니다."
L["Toggle the use of the modifier-based self-cast functionality."] = "기능키-기반 자신에게 시전 기능의 사용을 전환합니다."
L["Toggle the use of the right-click self-cast functionality."] = "우-클릭시 자신에게 시전 기능의 사용을 전환합니다."
L["Zoom"] = "확대"
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2 -1
View File
@@ -1,6 +1,5 @@
--[[ $Id$ ]]
-- Please make sure to save the file as UTF-8, BUT WITHOUT THE UTF-8 BOM HEADER; ¶
-- Translated by Eritnull ( StingerSoft aka Шептун) & Alekc
local L = LibStub("AceLocale-3.0"):NewLocale("Bartender4", "ruRU")
if not L then return end
@@ -97,3 +96,5 @@ L["Toggle the button grid."] = "Переключение отображения
L["Toggle the use of the modifier-based self-cast functionality."] = "Переключение использования функции Чтение на себя по умолчанию."
L["Toggle the use of the right-click self-cast functionality."] = "Переключение использования функции ПКМ Чтение на себя."
L["Zoom"] = "Увеличение"
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ L["Toggle the button grid."] = "勾选该选项将显示空的按钮。"
L["Toggle the use of the modifier-based self-cast functionality."] = "关闭/开启 自我施法功能。"
L["Toggle the use of the right-click self-cast functionality."] = "关闭/开启 使用右键点击对自己施法功能。"
L["Zoom"] = "缩放"
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true
+2
View File
@@ -96,3 +96,5 @@ L["Toggle the button grid."] = "顯示空白按鈕"
L["Toggle the use of the modifier-based self-cast functionality."] = "切換使用自我施法功能"
L["Toggle the use of the right-click self-cast functionality."] = "切換使用右鍵自我施法功能"
L["Zoom"] = "放大"
-- L["|cffffff00Click|r to toggle bar lock"] = true
-- L["|cffffff00Right-click|r to open the options menu"] = true