vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | KC_ITEMS_LOCALS.modules.sellvalue = {} |
2 | local locals = KC_ITEMS_LOCALS.modules.sellvalue |
||
3 | |||
4 | if( not ace:LoadTranslation("KC_SellValue") ) then |
||
5 | |||
6 | locals.name = "KC_SellValue" |
||
7 | locals.description = "Remembers vendor buy and sell prices." |
||
8 | |||
9 | locals.sep = "-" |
||
10 | locals.sepcolor = "|cffffff78" |
||
11 | |||
12 | locals.labels = {} |
||
13 | locals.labels.sell = {} |
||
14 | locals.labels.sell.short = "|cffffff78Sells (|r%s|cffffff78)|r" |
||
15 | locals.labels.sell.long = "|cffffff78Vendor pays (|r%s|cffffff78)|r" |
||
16 | locals.labels.buy = {} |
||
17 | locals.labels.buy.short = "|cffffff78Buys (|r%s|cffffff78)|r" |
||
18 | locals.labels.buy.long = "|cffffff78Vendor charges (|r%s|cffffff78)|r" |
||
19 | locals.labels.each = "|cffff3333(each)|r" |
||
20 | |||
21 | locals.msg = {} |
||
22 | locals.msg.short = "Short display mode" |
||
23 | |||
24 | -- Chat handler locals |
||
25 | locals.chat = { |
||
26 | option = "sellvalue", |
||
27 | desc = "Functions relating to remembering buy and sell prices.", |
||
28 | args = { |
||
29 | { |
||
30 | option = "single", |
||
31 | desc = "Toggles display of the single price.", |
||
32 | method = "single" |
||
33 | }, |
||
34 | { |
||
35 | option = "short", |
||
36 | desc = "Toggles use of the short display mode.", |
||
37 | method = "short" |
||
38 | }, |
||
39 | }, |
||
40 | } |
||
41 | |||
42 | end |