Localized labels in tooltip
This commit is contained in:
parent
57fc751f4c
commit
f66090706c
|
@ -5,13 +5,13 @@ local ldb = LibStub("LibDataBroker-1.1")
|
||||||
|
|
||||||
local BrokerConsolidatedBuffs = ldb:NewDataObject("Broker_ConsolidatedBuffs", {
|
local BrokerConsolidatedBuffs = ldb:NewDataObject("Broker_ConsolidatedBuffs", {
|
||||||
type = "data source",
|
type = "data source",
|
||||||
text = "0/0",
|
text = "0/"..NUM_LE_RAID_BUFF_TYPES,
|
||||||
value = 1,
|
value = 1,
|
||||||
icon = "Interface\\AddOns\\Broker_ConsolidatedBuffs\\BuffConsolidation", -- I can't use the default because is a combination texture :(
|
icon = "Interface\\AddOns\\Broker_ConsolidatedBuffs\\BuffConsolidation", -- I can't use the default because is a combination texture :(
|
||||||
label = "ConsolidatedBuffs",
|
label = "ConsolidatedBuffs",
|
||||||
|
|
||||||
OnTooltipShow = function(tooltip)
|
OnTooltipShow = function(tooltip)
|
||||||
tooltip:AddLine("Consolidated Buffs")
|
tooltip:AddLine(CONSOLIDATE_BUFFS_TEXT)
|
||||||
tooltip:AddLine(" ")
|
tooltip:AddLine(" ")
|
||||||
|
|
||||||
for i = 1, NUM_LE_RAID_BUFF_TYPES do
|
for i = 1, NUM_LE_RAID_BUFF_TYPES do
|
||||||
|
|
Loading…
Reference in New Issue