ArenaX to X

This commit is contained in:
Sumsebrum 2021-07-26 14:55:23 +02:00
parent fdeea258be
commit 9f1bda3e80
2 changed files with 3 additions and 3 deletions

View File

@ -427,7 +427,7 @@ elseif GetLocale() == "deDE" then
L["Show name text"] = "Namen zeigen" L["Show name text"] = "Namen zeigen"
L["Show the units name"] = "Zeige den Namen des Gegners" L["Show the units name"] = "Zeige den Namen des Gegners"
L["Show ArenaX"] = "ArenaX zeigen" 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"] = "Zeige die momentane Gesundheit"
L["Show the actual health on the health bar"] = "Zeigt die momentane Gesundheit" L["Show the actual health on the health bar"] = "Zeigt die momentane Gesundheit"
L["Show max health"] = "Zeige maximale Gesundheit" L["Show max health"] = "Zeige maximale Gesundheit"

View File

@ -234,7 +234,7 @@ function Healthbar:JOINED_ARENA()
if Gladdy.db.healthNameToArenaId and Gladdy.db.healthName then if Gladdy.db.healthNameToArenaId and Gladdy.db.healthName then
for i=1,Gladdy.curBracket do for i=1,Gladdy.curBracket do
local healthBar = self.frames["arena" .. i] local healthBar = self.frames["arena" .. i]
healthBar.nameText:SetText("Arena" .. i) healthBar.nameText:SetText(i)
end end
end end
end end
@ -499,7 +499,7 @@ function Healthbar:GetOptions()
healthNameToArenaId = option({ healthNameToArenaId = option({
type = "toggle", type = "toggle",
name = L["Show ArenaX"], name = L["Show ArenaX"],
desc = L["Show Arena1-5 as name instead"], desc = L["Show 1-5 as name instead"],
order = 3, order = 3,
width = "full", width = "full",
disabled = function() return not Gladdy.db.healthName end disabled = function() return not Gladdy.db.healthName end