vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | -- This statement will load any translation that is present or default to English. |
2 | if( not ace:LoadTranslation("myBindings") ) then |
||
3 | |||
4 | ace:RegisterGlobals({ |
||
5 | version = 1.01, |
||
6 | ACEG_LABEL_ERROR = "|cffff6060[error]|r" |
||
7 | }) |
||
8 | |||
9 | -- These variables are a fix for the standard multiaction bars Blizzard added in |
||
10 | -- the 03/22/2005 1.3.0 (4286) patch. |
||
11 | BINDING_HEADER_MULTIACTIONBAR = "MultiActionBar Bottom Left" |
||
12 | BINDING_HEADER_BLANK = "MultiActionBar Bottom Right" |
||
13 | BINDING_HEADER_BLANK2 = "MultiActionBar Right Side 1" |
||
14 | BINDING_HEADER_BLANK3 = "MultiActionBar Right Side 2" |
||
15 | |||
16 | MYBINDINGS_NAME = "myBindings" |
||
17 | MYBINDINGS_DESCRIPTION = "An enhanced key bindings interface" |
||
18 | MYBINDINGS_MENU_TITLE = "Menu" |
||
19 | MYBINDINGS_CONFIRM_REPLACE = "Confirm" |
||
20 | MYBINDINGS_UNBIND_BUTTON = "Unbind" |
||
21 | MYBINDINGS_BOUND_ERROR = "|cffff0000%s is already bound to %s. Confirm replacement.|r" |
||
22 | |||
23 | MYBINDINGS_CATEGORY_GAME = "Standard Interface" |
||
24 | |||
25 | MYBINDINGS_KEYBIND_OPEN = "Opens the myBindings interface" |
||
26 | |||
27 | MYBINDINGS_TEXT_INVALID_ENTRY = "You have entered invalid options." |
||
28 | MYBINDINGS_TEXT_CAT_INVALID = "'%s' is not a valid category." |
||
29 | MYBINDINGS_TEXT_CAT_SET = "Key header '%s' will now appear in the '%s' category." |
||
30 | MYBINDINGS_TEXT_HDR_INVALID = "'%s' does not seem to be a valid header to categorize. Be ".. |
||
31 | "sure you enter the exact case and spelling." |
||
32 | |||
33 | -- Chat command locals |
||
34 | MYBINDINGS_COMMANDS = {"/mybindings", "/myb"} |
||
35 | MYBINDINGS_CMD_OPTIONS = { |
||
36 | { |
||
37 | option = "setcat", |
||
38 | desc = "Set a category for a specific binding header (found in the addon's Bindings.xml). ".. |
||
39 | "Usage: /mybindings setcat <header> <category>", |
||
40 | input = TRUE, |
||
41 | method = "SetCategory" |
||
42 | }, |
||
43 | { |
||
44 | option = "bind", |
||
45 | desc = "Bind a given key to a specific action. Example: bind SHIFT-BUTTON2 BuffBot would bind ".. |
||
46 | "the BuffBot() function to SHIFT + Right-Mouseclick. Give no action to unbind.", |
||
47 | input = TRUE, |
||
48 | method = "SetBindOpt" |
||
49 | } |
||
50 | |||
51 | } |
||
52 | |||
53 | MYBINDINGS_LABEL_BINDINGS_LOADED = "Profile: |cffffffff%s|r" |
||
54 | |||
55 | MYBINDINGS_SAVE_BUTTON = "Save" |
||
56 | MYBINDINGS_CANCEL_BUTTON = "Cancel" |
||
57 | MYBINDINGS_GAME_DEFAULTS = "Game Defaults" |
||
58 | |||
59 | end |