-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocales.lua
executable file
·57 lines (41 loc) · 1.47 KB
/
locales.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
local name, ns = ...
local L = {}
ns.L = L
setmetatable(L, { __index = function(t, k)
local v = tostring(k)
t[k] = v
return v
end })
-- Default (English)
L.Saved = "Your %s has been saved." -- C_Map.GetUserWaypointHyperlink()
L.Version = "%s is the current version." -- ns.version
L.OutOfDate = "There is an update available for |cff%s%s|r!" -- ns.color, ns.name
L.Install = "Thanks for installing |cff%s%s|r!" -- ns.color, ns.name
L.Support1 = "This Addon automatically creates a waypoint to the Flight Master when you're in the Oribos Ring of Transference."
L.Support2 = "Check out the Addon on |rGitHub|cffffffff, |rWoWInterface|cffffffff, or |rCurse|cffffffff for more info and support!"
-- Check locale and assign appropriate
local CURRENT_LOCALE = GetLocale()
-- English
if CURRENT_LOCALE == "enUS" then return end
-- German
if CURRENT_LOCALE == "deDE" then return end
-- Spanish
if CURRENT_LOCALE == "esES" then return end
-- Latin-American Spanish
if CURRENT_LOCALE == "esMX" then return end
-- French
if CURRENT_LOCALE == "frFR" then return end
-- Italian
if CURRENT_LOCALE == "itIT" then return end
-- Brazilian Portuguese
if CURRENT_LOCALE == "ptBR" then return end
-- Russian
if CURRENT_LOCALE == "ruRU" then return end
-- Korean
if CURRENT_LOCALE == "koKR" then return end
-- Simplified Chinese
if CURRENT_LOCALE == "zhCN" then return end
-- Traditional Chinese
if CURRENT_LOCALE == "zhTW" then return end
-- Swedish
if CURRENT_LOCALE == "svSE" then return end