WoWInterface SVN Broadcaster

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/Broadcaster/Modules
    from Rev 16 to Rev 17
    Reverse comparison

Rev 16 → Rev 17

Priest.lua
33,13 → 33,13
 
local options = {
res = {
name = "Resurrection",
name = L["Resurrection"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
50,11 → 50,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.reschoose == v then
67,8 → 67,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%t = the spell's target",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%t = "..L["the spell's target"],
type = "input",
order = 3,
multiline = true,
109,7 → 109,7
else
msg = list[random]
end
if coredb.channel == "Self" then
if coredb.channel == L["Self"] then
self:Print(msg)
else
SendChatMessage(msg, coredb.channel)
Druid.lua
33,13 → 33,13
 
local options = {
rebirth = {
name = "Rebirth",
name = L["Rebirth"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
50,11 → 50,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.rebirthchoose == v then
67,8 → 67,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%t = the spell's target",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%t = "..L["the spell's target"],
type = "input",
order = 3,
multiline = true,
108,7 → 108,7
else
msg = list[random]
end
if coredb.channel == "Self" then
if coredb.channel == L["Self"] then
self:Print(msg)
else
SendChatMessage(msg, coredb.channel)
Shaman.lua
32,13 → 32,13
 
local options = {
ancsp = {
name = "Ancestral Spirit",
name = L["Ancestral Spirit"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
49,11 → 49,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.ancspchoose == v then
66,8 → 66,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%t = the spell's target",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%t = "..L["the spell's target"],
type = "input",
order = 3,
multiline = true,
107,7 → 107,7
else
msg = list[random]
end
if coredb.channel == "Self" then
if coredb.channel == L["Self"] then
self:Print(msg)
else
SendChatMessage(msg, coredb.channel)
Paladin.lua
32,13 → 32,13
 
local options = {
redempt = {
name = "Redemption",
name = L["Redemption"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
49,11 → 49,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.redemptchoose == v then
66,8 → 66,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%t = the spell's target",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%t = "..L["the spell's target"],
type = "input",
order = 3,
multiline = true,
107,7 → 107,7
else
msg = list[random]
end
if coredb.channel == "Self" then
if coredb.channel == L["Self"] then
self:Print(msg)
else
SendChatMessage(msg, coredb.channel)
Mage.lua
51,13 → 51,13
 
local options = {
poly = {
name = "Polymorph",
name = L["Polymorph"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
68,11 → 68,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.polychoose == v then
85,8 → 85,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%t = the spell's target",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%t = "..L["the spell's target"],
type = "input",
order = 3,
multiline = true,
97,13 → 97,13
},
},
port = {
name = "Portals",
name = L["Portals"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
114,11 → 114,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.portchoose == v then
131,8 → 131,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.\n\n%d = the portal's destination",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."].."\n\n%d = "..L["the portal's destination"],
type = "input",
order = 3,
multiline = true,
143,13 → 143,13
},
},
table = {
name = "Ritual of Refreshment",
name = L["Ritual of Refreshment"],
type = "group",
arg = class,
args = {
enable = {
name = "Enable",
desc = "Announce messages for this spell.",
name = L["Enable"],
desc = L["Announce messages for this spell."],
type = "toggle",
order = 1,
get = function()
160,11 → 160,11
end,
},
pick = {
name = "Pull messages from...",
desc = "Use the default messages, your own, or both.",
name = L["Pull messages from..."],
desc = L["Use the default messages, your own, or both."],
type = "select",
order = 2,
values = {"Default", "Custom", "Both"},
values = {L["Default"], L["Custom"], L["Both"]},
get = function()
for k, v in pairs(pick) do
if db.tablechoose == v then
177,8 → 177,8
end,
},
custom = {
name = "Custom messages",
desc = "Enter in any custom messages you would like to use, one per line.",
name = L["Custom messages"],
desc = L["Enter in any custom messages you would like to use, one per line."],
type = "input",
order = 3,
multiline = true,
223,7 → 223,7
if coredb.channel == "Self" then
self:Print(msg)
else
SendChatMessage(msg, db.channel)
SendChatMessage(msg, coredb.channel)
end
custom, replacee, replacer = nil
end