-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathLocalization.lua
More file actions
164 lines (127 loc) · 5.6 KB
/
Localization.lua
File metadata and controls
164 lines (127 loc) · 5.6 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
local addon, nPlates = ...
local L = {}
nPlates.L = L
setmetatable(L, { __index = function(t, k)
local v = tostring(k)
t[k] = v
return v
end })
------------------------------------------------------------------------
-- Global
------------------------------------------------------------------------
L.AddonTitle = C_AddOns.GetAddOnMetadata(addon, "Title")
------------------------------------------------------------------------
-- English
------------------------------------------------------------------------
L.CompartmentTooltip = "Shows configuration options for nPlates nameplates."
L.SlashCommand = "|cffCC3333n|rPlates Options\nconfig - Shows configuration options.\nreset - Reset all cvar options to Blizzard defaults. |cffCC3333"..REQUIRES_RELOAD
-- Name Options
L.NameOptionsLabel = "Name Options"
L.ShowLevel = "Display Unit Level"
L.ShowLevelToolitp = "Displays the unit's level next to its name. Always hidden on player nameplates."
L.AlwaysShowName = "Always Show Names"
L.AlwaysShowNameTooltip = "Always display unit names, ignoring automatic visibility rules."
L.PlayerThreatLevel = "Player Threat Level"
L.PlayerThreatLevelTooltip = "Colors the name of enemy players depending on their relative level to the player."
-- Castbar Options
L.CastbarOptions = "Castbar Options"
L.CastTarget = "Show Cast Target"
L.CastTargetTooltip = "Shows the name of the spells current target."
-- Coloring Options
L.ColoringOptionsLabel = "Coloring Options"
L.ColorHealthBy = "Color Health By"
L.ColorHealthByTooltip = "Colors the health bar. Options are default coloring, by threat, or by mob type." .. ORANGE_FONT_COLOR:WrapTextInColorCode("\n\nMob type only works in dungeons and raids.")
L.ColorBorderBy = "Color Border By"
L.ColorBorderByTooltip = "Colors the border. Options are default coloring, by threat, or by mob type." .. ORANGE_FONT_COLOR:WrapTextInColorCode("\n\nMob type only works in dungeons and raids.")
L.Default = "Default"
L.ThreatColoring = "Threat Coloring"
L.MobType = "Mob Type Only"
L.MobTypeOrHealth = "Mob Type with Threat Coloring"
L.OffTankColor = "Off Tank Color"
L.OffTankColorTooltip = "Color to use when another tank has aggro. Only works when the player is a tank."
L.SelectionColor = "Target Selection Color"
L.SelectionColorTooltip = "Displays a custom selection border."
L.FocusColor = "Focus Color"
L.FocusColorTooltip = "Colors the border of your current focus target."
L.ColorPickerToolitp = "Click to set color."
-- Aura Options
L.AuraOptions = "Aura Options"
L.ShowBuffs = "Show Buffs"
L.ShowBuffsTooltip = "Display buffs to the left of the nameplate.\n\nFor player it only shows important buffs.\nFor NPCs it will show nameplate buffs."
L.SortBy = "Sort By"
L.SortByTooltip = "Change how auras are sorted. Options are default, name, or time."
L.Name = "Name"
L.Time = "Time"
L.SortDirection = "Sort Direction"
L.SortDirectionTooltip = "Change the order that the debuffs are sorted. Options are default or reverse."
L.Reverse = "Reverse"
L.ShowDebuffType = "Show Debuff Type"
L.ShowDebuffTypeTooltip = "Displays the debuff type color on the icon."
L.CrowdControl = "Show Crowd Control"
L.CrowdControlTooltip = "Displays icon for crowd control spells to the right of the health bar."
L.CooldownNumbers = "Show Cooldown Numbers"
L.CooldownNumbersTooltip = "Shows or hides cooldown text."
L.CooldownEdge = "Show Cooldown Edge"
L.CooldownEdgeTooltip = "Shows or hides the edge animation."
L.CooldownSwipe = "Show Cooldown Swipe"
L.CooldownSwipeTooltip = "Shows or hides the cooldown swipe animation."
L.AuraScale = "Debuff Scale"
L.AuraScaleTooltip = "Adjusts the size of debuff icons."
-- Frame Options
L.FrameOptionsLabel = "Frame Options"
L.ClassResource = "Show Class Resource"
L.ClassResourceTooltip = "Displays your class resource above the nameplate. Currently supports combo points, chi, and essence. More coming in the future."
L.ShowQuest = "Show Quest Marker"
L.ShowQuestTooltip = "Displays a quest marker next to the nameplate of quest mobs."
L.OnlyName = "Hide Friendly Nameplates"
L.OnlyNameToolitp = "Friendly player nameplates display names only. Not available in raids or dungeons."
L.HealthOptions = "Health Options"
L.HealthOptionsTooltip = "Adjusts how health is displayed on the nameplate."
L.HealthBoth = "Health - Percent"
L.PercentHealth = "Precent - Health"
L.HealthDisabled = "Disabled"
L.HealthPercOnly = "Percent Only"
L.HealthValueOnly = "Health Only"
L.NameplateOccludedAlpha = "Behind Object Alpha"
L.NameplateOccludedAlphaTooltip = "Adjusts the transparency of nameplates that are behind other objects."
-- Nameplate Distance
L.NameplateDistance = "Nameplate Distance"
L.NpcRange = "NPC Range"
L.NpcRangeTooltip = "Adjusts the distance at which NPC nameplates are shown."
L.PlayerRange = "Player Range"
L.PlayerRangeTooltip = "Adjusts the distance at which player nameplates are shown."
-- Misc
L.SimplifiedScale = "Simplified Scale"
L.SimplifiedScaleTooltip = "Adjust how big simplified nameplates are scaled. Blizzard default is 30%."
local CURRENT_LOCALE = GetLocale()
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