ArenaX to X
This commit is contained in:
parent
fdeea258be
commit
9f1bda3e80
2
Lang.lua
2
Lang.lua
@ -427,7 +427,7 @@ elseif GetLocale() == "deDE" then
|
||||
L["Show name text"] = "Namen zeigen"
|
||||
L["Show the units name"] = "Zeige den Namen des Gegners"
|
||||
L["Show ArenaX"] = "ArenaX zeigen"
|
||||
L["Show Arena1-5 as name instead"] = "Zeigt Arena1-5 anstatt des Namens"
|
||||
L["Show 1-5 as name instead"] = "Zeigt 1-5 anstatt des Namens"
|
||||
L["Show the actual health"] = "Zeige die momentane Gesundheit"
|
||||
L["Show the actual health on the health bar"] = "Zeigt die momentane Gesundheit"
|
||||
L["Show max health"] = "Zeige maximale Gesundheit"
|
||||
|
@ -234,7 +234,7 @@ function Healthbar:JOINED_ARENA()
|
||||
if Gladdy.db.healthNameToArenaId and Gladdy.db.healthName then
|
||||
for i=1,Gladdy.curBracket do
|
||||
local healthBar = self.frames["arena" .. i]
|
||||
healthBar.nameText:SetText("Arena" .. i)
|
||||
healthBar.nameText:SetText(i)
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -499,7 +499,7 @@ function Healthbar:GetOptions()
|
||||
healthNameToArenaId = option({
|
||||
type = "toggle",
|
||||
name = L["Show ArenaX"],
|
||||
desc = L["Show Arena1-5 as name instead"],
|
||||
desc = L["Show 1-5 as name instead"],
|
||||
order = 3,
|
||||
width = "full",
|
||||
disabled = function() return not Gladdy.db.healthName end
|
||||
|
Loading…
Reference in New Issue
Block a user