-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocales.lua
executable file
·58 lines (44 loc) · 1.58 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
58
local _, 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.CycleNameplates = "Cycle Through Nameplates"
L.Support1 = "This Addon uses a Keybind setting to cycle through nameplates. Go to your Keybindings or search in Game Options to find an option to \"Cycle Through Nameplates\"."
L.Support2 = "Check out the Addon on CurseForge, GitHub, or WoWInterface for more info and support!"
L.Version = "%s is the current version." -- ns.version
L.Install = "Thanks for installing |cff%1$sv%2$s|r!" -- ns.color, ns.version
L.All = "all"
L.Friendly = "friendly"
L.Enemy = "enemy"
L.Showing = "Showing |cff%1$s%2$s|r nameplates." -- DYNAMIC, DYNAMIC
L.Hiding = "Hiding |cff%1$s%2$s|r nameplates." -- DYNAMIC, DYNAMIC
L.Warning = "You cannot change nameplates while in combat!"
-- Check locale and assign appropriate
local CURRENT_LOCALE = GetLocale()
-- 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