-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocales.lua
More file actions
executable file
·58 lines (42 loc) · 2.03 KB
/
Copy pathlocales.lua
File metadata and controls
executable file
·58 lines (42 loc) · 2.03 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
local ADDON_NAME, ns = ...
local L = {}
ns.L = L
setmetatable(L, { __index = function(t, k)
local v = tostring(k)
t[k] = v
return v
end })
L.Version = ns.version .. " is the current version."
L.Install = "Thanks for installing |cff" .. ns.color .. ns.name .. "|r!"
L.AddonCompartmentTooltip1 = "|cff" .. ns.color .. "Left-Click:|r Set Map Pin"
L.AddonCompartmentTooltip2 = "|cff" .. ns.color .. "Right-Click:|r Share Map Pin"
L.Help = "Information and How to Use|r\nType |cff" .. ns.color .. "/" .. ns.command .. "|r to get your coordinates.\nOr you can pass in specific coordinates: |cff" .. ns.color .. "/" .. ns.command .. " 12.34 56.78|r.\nYou can share your coordinates to different channels even if they don't have the AddOn: |cff" .. ns.color .. "/" .. ns.command .. " share guild|r, |cff" .. ns.color .. "/" .. ns.command .. " share whisper NAME(-SERVER)|r.\nCheck out the AddOn on GitHub, WoWInterface, or Curse for more info and support!"
L.Place = "Added a Map Pin %1$s"
L.ParentPlace = "Usually you are unable to place a Map Pin here, but |cff" .. ns.color .. ns.name .. "|r has figured out how to place one for you!"
L.NoPlace = "Unable to place a Map Pin here!"
L.NoShareChannel = "You must provide a valid channel name or be in a group to share!"
L.NoShareMapPin = "You must have an active Map Pin to share!"
-- 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