vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | KC_ITEMS_LOCALS.modules.linkview = {} |
2 | local locals = KC_ITEMS_LOCALS.modules.linkview |
||
3 | |||
4 | if( not ace:LoadTranslation("KC_Linkview") ) then |
||
5 | |||
6 | locals.name = "KC_Linkview" |
||
7 | locals.description = "Allows you to view your link database." |
||
8 | |||
9 | locals.msg = {} |
||
10 | locals.msg.tooltip = "Tooltip is now set to show on the" |
||
11 | |||
12 | locals.gui = {} |
||
13 | locals.gui.title = "KC_Linkview" |
||
14 | locals.gui.items = "Items" |
||
15 | locals.gui.sortopt = "Sort Options" |
||
16 | locals.gui.searchopt = "Search Options" |
||
17 | locals.gui.searchtxt = "Search Text" |
||
18 | locals.gui.search = "Search" |
||
19 | locals.gui.advsearch = "Adv Search" |
||
20 | locals.gui.tier1 = "Tier 1" |
||
21 | locals.gui.tier2 = "Tier 2" |
||
22 | locals.gui.tier3 = "Tier 3" |
||
23 | locals.gui.please = "Please Search" |
||
24 | locals.gui.nothing = "Nothing Found" |
||
25 | |||
26 | locals.gui.name = "Name" |
||
27 | locals.gui.quality = "Quality" |
||
28 | locals.gui.class = "Class" |
||
29 | locals.gui.type = "Type" |
||
30 | locals.gui.slot = "Slot" |
||
31 | locals.gui.level = "Level" |
||
32 | |||
33 | locals.gui.stats = "Total Links: %s | Good Links: %s | Matches: %s" |
||
34 | |||
35 | locals.gui.sortlist = { |
||
36 | {val=locals.gui.name ,tip="Sorts an item by its name."}, |
||
37 | {val=locals.gui.quality ,tip="Sorts an item by its quality."}, |
||
38 | {val=locals.gui.class ,tip="Sorts an item by its class."}, |
||
39 | {val=locals.gui.type ,tip="Sorts an item by its type."}, |
||
40 | {val=locals.gui.slot ,tip="Sorts an item by its slot."}, |
||
41 | {val=locals.gui.level ,tip="Sorts an item by its level."}, |
||
42 | } |
||
43 | |||
44 | locals.adv = {} |
||
45 | locals.adv.title = "Advanced Search" |
||
46 | locals.adv.ext = "Search Item Suffixes" |
||
47 | locals.adv.options = "Search Options" |
||
48 | locals.adv.reset = "Reset" |
||
49 | |||
50 | -- Do not localize cross |
||
51 | locals.adv.cross = { |
||
52 | Armor = "Cloth Leather Mail Plate Shields Miscellaneous", |
||
53 | Container = "Bag Soul Bag", |
||
54 | Projectile = "Arrow Bullet", |
||
55 | Quiver = "Quiver Ammo Pouch", |
||
56 | Recipe = "Alchemy Blacksmithing Book Cooking Enchanting Engineering First Aid Fishing Leatherworking Tailoring", |
||
57 | ["Trade Goods"] = "Explosives Devices Trade Goods Parts", |
||
58 | Weapons = "Bows Crossbows Daggers Fist Weapons Fishing Pole Guns One-Handed Axes One-Handed Maces One-Handed Swords Polearms Staves Thrown Two-Handed Axes Two-Handed Maces Two-Handed Swords Wands", |
||
59 | } |
||
60 | |||
61 | -- Do not localize the translist |
||
62 | locals.gui.translist = {} |
||
63 | locals.gui.translist[locals.gui.name] = "name" |
||
64 | locals.gui.translist[locals.gui.quality] = "squality" |
||
65 | locals.gui.translist[locals.gui.class] = "class" |
||
66 | locals.gui.translist[locals.gui.type] = "subclass" |
||
67 | locals.gui.translist[locals.gui.slot] = "location" |
||
68 | locals.gui.translist[locals.gui.level] = "minlevel" |
||
69 | |||
70 | |||
71 | |||
72 | -- Chat handler locals |
||
73 | locals.chat = { |
||
74 | option = "linkview", |
||
75 | desc = "Functions relating to the linkview window.", |
||
76 | args = { |
||
77 | { |
||
78 | option = "open", |
||
79 | desc = "Toggles view of the linkview window.", |
||
80 | method = "show" |
||
81 | }, |
||
82 | { |
||
83 | option = "side", |
||
84 | desc = "Toggles which side of the linkview window the tooltip will be displayed.", |
||
85 | method = "side" |
||
86 | }, |
||
87 | }, |
||
88 | } |
||
89 | |||
90 | end |