-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathLocalization.lua
More file actions
65 lines (49 loc) · 1.66 KB
/
Copy pathLocalization.lua
File metadata and controls
65 lines (49 loc) · 1.66 KB
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
local L = setmetatable({}, { __index = function(t, k)
local v = tostring(k)
rawset(t, k, v)
return v
end })
local LOCALE = GetLocale()
function ME_GetLocale( ... )
return L,LOCALE
end
if string.find(LOCALE,"^en") then return end
if LOCALE == "esES" or LOCALE == "esMX" then
-- Spanish translations go here
L["ENABLED"] = "ENABLED"
L["DISABLED"] = "DISABLED"
L["is currently"] = "is currently"
L["interface improvement"] = "interface improvement"
--Errors
L["Unknown Option"] = "Unknown Option"
L["Syntax Error"] = "Syntax Error"
L["Usage"] = "Usage"
--Mount Information
L["Requires Riding %((%d+)%)"] = "Requires Riding %((%d+)%)"
L["Increases speed by (%d+)%%."] = "Increases speed by (%d+)%%."
L["Summon Warhorse"] = "Summon Warhorse"
L["Summon Charger"] = "Summon Charger"
L["Summon Dreadsteed"] = "Summon Dreadsteed"
L["Summon Felsteed"] = "Summon Felsteed"
return end
if LOCALE == "deDE" then
-- German translations go here
return end
if LOCALE == "frFR" then
-- French translations go here
return end
if LOCALE == "ptBR" then
-- Brazilian Portuguese translations go here
return end
if LOCALE == "ruRU" then
-- Russian translations go here
return end
if LOCALE == "koKR" then
-- Korean translations go here
return end
if LOCALE == "zhCN" then
-- Simplified Chinese translations go here
return end
if LOCALE == "zhTW" then
-- Traditional Chinese translations go here
return end