vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | if not ace:LoadTranslation("FuBar") then |
2 | |||
3 | FuBarLocals = { |
||
4 | NAME = "FuBar", |
||
5 | DESCRIPTION = "A panel that modules can plug into.", |
||
6 | COMMANDS = {"/fubar", "/fb", "/fbar"}, |
||
7 | CMD_OPTIONS = {}, |
||
8 | |||
9 | MAP_ONOFF = {[0]="|cffff0000Off|r",[1]="|cff00ff00On|r"}, |
||
10 | |||
11 | MENU_LOCK_PANEL = "Lock panel", |
||
12 | MENU_REMOVE_PANEL = "Remove panel", |
||
13 | MENU_SHOW_NEW_PANEL = "Create new panel", |
||
14 | MENU_ADJUST_FRAMES = "Auto-adjust frames", |
||
15 | MENU_ATTACH = "Attach", |
||
16 | MENU_ATTACH_TO_TOP = "Attach to top of screen", |
||
17 | MENU_ATTACH_TO_BOTTOM = "Attach to bottom of screen", |
||
18 | MENU_DETACH_PANEL = "Detach panel", |
||
19 | MENU_ABOUT = "About", |
||
20 | MENU_PROFILE = "Profile", |
||
21 | MENU_DEFAULT_PROFILE = "Default profile", |
||
22 | MENU_AUTO_HIDE = "Auto-hide", |
||
23 | MENU_AUTO_HIDE_TOP = "Auto-hide top", |
||
24 | MENU_AUTO_HIDE_BOTTOM = "Auto-hide bottom", |
||
25 | MENU_TRANSPARENCY = "Transparency", |
||
26 | MENU_TOOLTIP_COLOR = "Tooltip color", |
||
27 | MENU_SPACING = "Spacing", |
||
28 | MENU_FONT_SIZE = "Font size", |
||
29 | MENU_THICKNESS = "Thickness", |
||
30 | WARN_REMOVE_PANEL = "Are you sure you want to remove this panel?", |
||
31 | MENU_LEFT_ALIGNED = "Left-aligned", |
||
32 | MENU_CENTER_ALIGNED = "Center-aligned", |
||
33 | MENU_RIGHT_ALIGNED = "Right-aligned", |
||
34 | MENU_TOOLTIP = "Tooltip", |
||
35 | MENU_PANEL = "Panel", |
||
36 | MENU_TEXTURE = "Texture", |
||
37 | MENU_OVERFLOW_PLUGINS = "Overflow plugins", |
||
38 | |||
39 | ARGUMENT_ADJUST = "adjust", |
||
40 | ARGUMENT_AUTOHIDE = "autohide", |
||
41 | |||
42 | MENU_CATEGORIES = { |
||
43 | bars = "Interface Bars", |
||
44 | char = "Chat/Communications", |
||
45 | class = "Class Enhancement", |
||
46 | combat = "Combat/Casting", |
||
47 | compilations = "Compilations", |
||
48 | interface = "Interface Enhancements", |
||
49 | inventory = "Inventory/Item Enhancements", |
||
50 | map = "Map Enhancements", |
||
51 | others = "Other", |
||
52 | professions = "Professions", |
||
53 | quests = "Quest Enhancements", |
||
54 | raid = "Raid Assistance", |
||
55 | }, |
||
56 | MENU_OPTIONS = "Options", |
||
57 | } |
||
58 | |||
59 | FuBarLocals.CMD_OPTIONS = { |
||
60 | { |
||
61 | option = FuBarLocals.ARGUMENT_ADJUST, |
||
62 | desc = "Toggle auto-adjustment of blizzard's frames.", |
||
63 | method = "ToggleAdjust" |
||
64 | }, |
||
65 | { |
||
66 | option = FuBarLocals.ARGUMENT_AUTOHIDE, |
||
67 | desc = "Toggle auto-hiding of the panels.", |
||
68 | method = "ToggleAutoHiding" |
||
69 | }, |
||
70 | } |
||
71 | |||
72 | end |