-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLocalization.lua
153 lines (122 loc) · 4.46 KB
/
Localization.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
-- Divisor by Vger-Azjol-Nerub
--
-- English resources
------------------------------------------------------------
------------------------------------------------------------
-- Interface Options UI strings
------------------------------------------------------------
DivisorUIFrame_AboutTab_Text = "About"
DivisorUIFrame_AboutHeaderLabel_Text = "by Vger-Azjol-Nerub"
DivisorUIFrame_AboutVersionLabel_Text = "Version %s"
DivisorUIFrame_AboutTranslationLabel_Text = "Official English version" -- Translators: credit yourself here... "Klingon translation by Stovokor"
DivisorUIFrame_OptionsHeaderLabel_Text = "Divisor has no options UI."
DivisorUIFrame_OptionsSubHeaderLabel_Text = "Sorry! Type /divisor to see how you can customize Divisor."
------------------------------------------------------------
-- UI strings
------------------------------------------------------------
DivisorLocal =
{
-- Commands
ResetOptionsCommand = "reset",
ResetOptionsMessage = "Divisor stack sizes have been reset.",
ListStacksCommand = "list stacks",
ListStacksStackMessage = "%d %s",
SetStackCommand = "stack ",
SetStackUsage = "Usage: /divisor stack (quantity) (item) -- where quantity is the desired stack size > 1, and item is the item name or link",
SetStackMessage = "Divisor will now display prices for %s stacks of size %d.",
DeleteStackCommand = "unstack ",
DeleteStackUsage = "Usage: /divisor unstack (item) -- where item is the item name or link",
DeleteStackMessage = "Divisor will now display only individual prices for %s.",
-- Initialization
NeedNewerVgerCoreMessage = "Divisor needs a newer version of VgerCore. Please use the version of VgerCore that came with Divisor.",
-- Money formatting
GoldLetter = "g",
SilverLetter = "s",
CopperLetter = "c",
-- Tooltip text (there are in-game constants for these types of strings but they're not exactly what we want for the tooltip)
MinimumBid = "Minimum bid",
YourBid = "Your bid",
Buyout = "Buyout",
-- Slash commands
Usage =
[[
Divisor by Vger-Azjol-Nerub
www.vgermods.com
/divisor stack (quantity) (item) -- sets a new custom stack size for an item
/divisor unstack (item) -- removes the custom stack size for an item
/divisor reset -- resets all stack sizes to the defaults
/divisor list stacks -- lists all stack sizes
For more information, see the readme file that comes with Divisor.
]],
}
------------------------------------------------------------
-- Item names
------------------------------------------------------------
-- This table lists items that are commonly stacked, matching the name of the item with the common stack size. For example,
-- since 3 lesser eternal essences can be converted into 1 greater eternal essence, it's useful to know the price of 3 of them.
-- This list is far from complete.
function DivisorGetDefaultStacks()
return {
-- General crafting items
["Mote of Shadow"] = 10,
["Mote of Life"] = 10,
["Mote of Fire"] = 10,
["Mote of Earth"] = 10,
["Mote of Air"] = 10,
["Mote of Water"] = 10,
["Mote of Mana"] = 10,
["Crystallized Shadow"] = 10,
["Crystallized Life"] = 10,
["Crystallized Fire"] = 10,
["Crystallized Earth"] = 10,
["Crystallized Air"] = 10,
["Crystallized Water"] = 10,
-- Enchanting items
["Spirit Dust"] = 5,
["Lesser Magic Essence"] = 3,
["Lesser Astral Essence"] = 3,
["Lesser Mystic Essence"] = 3,
["Lesser Nether Essence"] = 3,
["Lesser Eternal Essence"] = 3,
["Lesser Planar Essence"] = 3,
["Lesser Cosmic Essence"] = 3,
["Lesser Celestial Essence"] = 3,
["Mysterious Essence"] = 3,
["Greater Mysterious Essence"] = 3,
["Small Prismatic Shard"] = 3,
["Small Dream Shard"] = 3,
["Small Heavenly Shard"] = 3,
["Small Ethereal Shard"] = 3,
["Ethereal Shard"] = 3,
-- Reputation items, sorted alphabetically by faction
-- Aldor
["Mark of Kil'jaeden"] = 10,
["Mark of Sargeras"] = 10,
-- Argent Dawn
["Bone Fragments"] = 30,
["Core of Elements"] = 30,
["Crypt Fiend Parts"] = 30,
["Dark Iron Scraps"] = 30,
["Savage Frond"] = 30,
-- Cenarion Expedition
["Unidentified Plant Parts"] = 10,
-- The Consortium
["Pair of Ivory Tusks"] = 3,
["Oshu'gun Crystal Fragment"] = 10,
-- Netherwing
["Nethercite Ore"] = 40,
["Netherdust Pollen"] = 40,
["Nethermine Flayer Hide"] = 35,
-- Scryers
["Firewing Signet"] = 10,
["Sunfury Signet"] = 10,
-- Sha'tari Skyguard
["Shadow Dust"] = 6,
["Time-Lost Scroll"] = 10,
-- Sons of Hodir
["Relic of Ulduar"] = 10,
-- Sporeggar
["Fertile Spores"] = 10,
["Sanguine Hibiscus"] = 5,
}
end