vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | KC_ITEMS_LOCALS = {} |
2 | |||
3 | local locals = KC_ITEMS_LOCALS |
||
4 | |||
5 | if( not ace:LoadTranslation("KC_Items") ) then |
||
6 | |||
7 | locals.modules = {} |
||
8 | |||
9 | locals.name = "KC_Items" |
||
10 | |||
11 | locals.msg = {} |
||
12 | locals.msg.color = "|cff0099CC" |
||
13 | locals.msg.nowSetTo = "now set to" |
||
14 | locals.msg.default = "default" |
||
15 | locals.msg.display = "[|cfff5f530%s|cff0099CC]" |
||
16 | locals.msg.statsframe = "Display of the stats frame is" |
||
17 | |||
18 | locals.err = {} |
||
19 | locals.err.modEnable = "Cannot enable %s. Dependencies are missing or disabled." |
||
20 | locals.err.needs = "%s needs the following modules: %s" |
||
21 | |||
22 | locals.rpt = {} |
||
23 | locals.rpt.noModules = "----- No Modules Installed -----" |
||
24 | locals.rpt.header = "-- -- -- Installed Modules -- -- --" |
||
25 | |||
26 | locals.maps = {} |
||
27 | locals.maps.onOff = {[0]="|cffff5050Off|r",[1]="|cff00ff00On|r"} |
||
28 | locals.maps.enabled = {[0]="|cffff5050Disabled|r",[1]="|cff00ff00Enabled|r"} |
||
29 | |||
30 | -- Chat handler locals |
||
31 | locals.chat = {} |
||
32 | locals.chat.commands = {"/kci", "/kc_items", "/kcitems"} |
||
33 | locals.chat.options = { |
||
34 | { |
||
35 | option = "core", |
||
36 | desc = "Core functionality related commands.", |
||
37 | args = { |
||
38 | { |
||
39 | option = "showstats", |
||
40 | desc = "Toggles display of stats frame.", |
||
41 | method = "ShowStatsFrame" |
||
42 | }, |
||
43 | }, |
||
44 | }, |
||
45 | } |
||
46 | |||
47 | locals.chat.toggle = { |
||
48 | option = "toggle", |
||
49 | desc = "Toggles this module on or off.", |
||
50 | method = "Toggle" |
||
51 | } |
||
52 | |||
53 | end |