Use localized title string

This commit is contained in:
Sandor Takacs
2015-01-06 22:23:08 +01:00
parent b03e7b4df2
commit 5fc53d2191

View File

@ -1234,7 +1234,7 @@ function MyBagsCore:UpdateTitle()
titleString = L["MYBAGS_TITLE0"] titleString = L["MYBAGS_TITLE0"]
end end
titleString = titleString .. _G[strupper(self.frameName) .. "_TITLE"] titleString = titleString .. L[strupper(self.frameName) .. "_TITLE"]
local title = _G[self.frameName .. "Name"] local title = _G[self.frameName .. "Name"]
local player, realm = self:SplitString(self:GetCurrentPlayer(), L["CHARACTER_DELIMITOR"]) local player, realm = self:SplitString(self:GetCurrentPlayer(), L["CHARACTER_DELIMITOR"])
title:SetText(format(titleString, player, realm)) title:SetText(format(titleString, player, realm))