vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 if (not ace:LoadTranslation("GuildFu")) then
2  
3 GuildFULocals = {
4 NAME = "FuBar - GuildFu",
5 DESCRIPTION = "Keeps track of your Guild members.",
6 COMMANDS = {"/fbg", "/fbguild", "/fubar_guild"},
7 CMD_OPTIONS = {},
8 ARGUMENT_HIDELOCATION = "hideLocation",
9 ARGUMENT_HIDELEVEL = "hideLevel",
10 ARGUMENT_HIDECLASS = "hideClass",
11 ARGUMENT_HIDELABEL = "hideLabel",
12 ARGUMENT_SETLEADTEXT = "leadtext",
13 ARGUMENT_SETLEVELRANGE = "levelrange",
14 ARGUMENT_SETREFRESH = "refreshrate",
15 MENU_DISPLAY = "Show",
16 MENU_ORDER = "Order",
17 MENU_SHOW_LOCATION = "Show location",
18 MENU_SHOW_LEVEL = "Show level",
19 MENU_SHOW_CLASS = "Show class",
20 MENU_SHOW_RACE = "Show race",
21 MENU_SHOW_RANK = "Show rank",
22 MENU_SHOW_PUBLICNOTES = "Show public notes",
23 MENU_SHOW_OFFICERNOTES = "Show officer notes",
24 MENU_SHOW_LABEL = "Show label",
25 MENU_COLORNAMES = "Color playernames according to class",
26 MENU_SHOW_TOTAL = "Show total",
27 MENU_ORDER_LOCATION = "By location",
28 MENU_ORDER_LEVEL = "By level",
29 MENU_ORDER_CLASS = "By class",
30 MENU_ORDER_NAME = "By name",
31 MENU_INVITE = "Invite",
32 MENU_WHISPER = "Whisper",
33 MENU_PAGING = "Use Paging",
34 MENU_PAGING_PREV = "|cff00ff33Previous page ...|r",
35 MENU_PAGING_NEXT = "|cff00ff33Next page ...|r",
36 MENU_PAGING_PAGE = "|cffffcc00Page %i/%i|r",
37 MENU_PAGING_WARNING = "|cffff0000Too many persons, use paging.|r",
38 MAX_ITEMS_SHOW = 25,
39 WowMaxLevel = 60,
40 REFRESHINTERVAL = 120,
41 MENU_FILTER_LEVELRANGE = 5,
42 MENU_FILTER = "Filter",
43 MENU_FILTER_CLASS = "Class",
44 MENU_FILTER_LEVEL = "Level",
45 MENU_FILTER_ZONE = "Zone",
46 MENU_FILTERS_ZONE= {
47 "People in my zone",
48 "People not in an instance",
49 "People not in battlegrounds"
50 },
51 SYSMSG_ONLINE = "has come online",
52 SYSMSG_OFFLINE = "has gone offline",
53 TOOLTIP_TITLE = "Guildlist",
54 TOOLTIP_NOTINGUILD = "Not in guild",
55 TOOLTIP_WARNING = "|cffff0000Too many persons, use filtering.|r",
56 MENU_FILTER_DUNGEON = "People not in an instance",
57 MENU_FILTER_BATTLEGROUND = "People not in battlegrounds",
58  
59 hordeClassValues = {"All", "Warrior", "Mage", "Rogue", "Druid", "Hunter", "Shaman", "Priest", "Warlock"},
60 allianceClassValues = {"All", "Warrior", "Mage", "Rogue", "Druid", "Hunter", "Priest", "Warlock", "Paladin"},
61 colorclasses = {
62 ["Hunter"] = "|cffaad372",
63 ["Warlock"] = "|cff9382c9",
64 ["Priest"] = "|cffffffff",
65 ["Paladin"] = "|cfff48cba",
66 ["Shaman"] = "|cfff48cba",
67 ["Mage"] = "|cff68ccef",
68 ["Rogue"] = "|cfffff468",
69 ["Druid"] = "|cffff7c0a",
70 ["Warrior"] = "|cffc69b6d"
71 },
72 dungeonlist = {
73 ["Ahn'Qiraj"] = TRUE,
74 ["Blackfathom Deeps"] = TRUE,
75 ["Blackrock Depths"] = TRUE,
76 ["Blackrock Spire"] = TRUE,
77 ["Blackwing Lair"] = TRUE,
78 ["Caverns of Time"] = TRUE,
79 ["Dire Maul"] = TRUE,
80 ["Gnomeregan"] = TRUE,
81 ["Maraudon"] = TRUE,
82 ["Onyxia's Lair"] = TRUE,
83 ["Ragefire Chasm"] = TRUE,
84 ["Razorfen Downs"] = TRUE,
85 ["Razorfen Kraul"] = TRUE,
86 ["Scarlet Monastery"] = TRUE,
87 ["Scholomance"] = TRUE,
88 ["Shadowfang Keep"] = TRUE,
89 ["Stormwind Stockade"] = TRUE,
90 ["Stratholme"] = TRUE,
91 ["The Deadmines"] = TRUE,
92 ["The Molten Core"] = TRUE,
93 ["The Temple of Atal'Hakkar"] = TRUE,
94 ["The Wailing Caverns"] = TRUE,
95 ["Thunder Bluff"] = TRUE,
96 ["Uldaman"] = TRUE,
97 ["Zul'Farrak"] = TRUE,
98 ["Zul'Gurub"] = TRUE
99 },
100 battlegroundlist = {
101 ["Alterac Valley"] = TRUE,
102 ["Arathi Basin"] = TRUE,
103 ["Warsong Gulch"] = TRUE
104 }
105 }
106  
107 GuildFULocals.CMD_OPTIONS = {
108 {
109 option = GuildFULocals.ARGUMENT_SETLEADTEXT,
110 desc = "Sets the leading text displayed in the bar.",
111 method = "SetLeadText",
112 input = TRUE,
113 args = {
114 {
115 option = "<text>",
116 desc = "This sets the leading text before the numbers in the bosspanel. Setting it to nil will clear the text."
117 }
118 }
119 },
120 {
121 option = GuildFULocals.ARGUMENT_SETLEVELRANGE,
122 desc = "Sets the levelrange for the level filter in the menu.",
123 method = "SetLevelRange",
124 input = TRUE,
125 args = {
126 {
127 option = "<#>",
128 desc = "A number between 0 and 10. Setting it to 0 will result in a filter for your level."
129 }
130 }
131 },
132 {
133 option = GuildFULocals.ARGUMENT_SETREFRESH,
134 desc = "Sets the time in seconds between forced refreshes of the guild list.",
135 method = "SetRefreshRate",
136 input = TRUE,
137 args = {
138 {
139 option = "<#>",
140 desc = "A number between 1 and 300. Setting it outside these numbers will result in setting it to the default value: " .. GuildFULocals.REFRESHINTERVAL
141 }
142 }
143 }
144 }
145  
146 end