-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocale.lua
80 lines (77 loc) · 2.08 KB
/
locale.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
local _, vars = ...;
local Ld, La = {}, {}
local locale = GetLocale()
vars.L = setmetatable({},{
__index = function(t, s) return La[s] or Ld[s] or rawget(t,s) or s end
})
-- Ld means default (english) if no translation found. So we don't need a translation for "enUS" or "enGB".
Ld["Agi"] = "Agi"
Ld["Crit"] = "Crit"
Ld["Haste"] = "Haste"
Ld["Int"] = "Int"
Ld["Mastery"] = "Mastery"
Ld["Sta"] = "Stam"
Ld["Str"] = "Str"
Ld["Vers"] = "Vers"
Ld["Armor"] = "Armor"
if locale == "deDE" then do end
La["Agi"] = "Bewegl."
La["Haste"] = "Tempo"
La["Crit"] = "Krit"
La["Int"] = "Int"
La["Mastery"] = "Meistersch."
La["Sta"] = "Ausdauer"
La["Str"] = "St\195\164rke"
La["Vers"] = "Vielseitigk."
La["Armor"] = "R\195\188stung"
elseif locale == "ruRU" then do end
La["Agi"] = "Ловкость"
La["Haste"] = "Скорость"
La["Crit"] = "Крит."
La["Int"] = "Интеллект"
La["Mastery"] = "Искустность"
La["Sta"] = "Выносливость"
La["Str"] = "Сила"
La["Vers"] = "Универсальность"
La["Armor"] = "Броня"
elseif locale == "frFR" then do end
La["Agi"] = "Agi"
La["Haste"] = "Hâte"
La["Crit"] = "Crit"
La["Int"] = "Intel"
La["Mastery"] = "Maîtrise"
La["Sta"] = "Endu"
La["Str"] = "Force"
La["Vers"] = "Poly"
La["Armor"] = "Armure"
elseif locale == "koKR" then do end
La["Agi"] = "민첩성"
La["Haste"] = "가속"
La["Crit"] = "치명타"
La["Int"] = "지능"
La["Mastery"] = "특화"
La["Sta"] = "체력"
La["Str"] = "힘"
La["Vers"] = "유연성"
La["Armor"] = "갑옷"
elseif locale == "zhCN" then do end
La["Agi"] = "敏捷"
La["Haste"] = "急速"
La["Crit"] = "暴击"
La["Int"] = "智力"
La["Mastery"] = "精通"
La["Sta"] = "耐力"
La["Str"] = "力量"
La["Vers"] = "全能"
La["Armor"] = "盔甲"
elseif locale == "zhTW" then do end
La["Agi"] = "敏捷"
La["Haste"] = "加速"
La["Crit"] = "致命"
La["Int"] = "智力"
La["Mastery"] = "精通"
La["Sta"] = "耐力"
La["Str"] = "力量"
La["Vers"] = "臨機"
La["Armor"] = "盔甲"
end