translations: add new strings

This commit is contained in:
shagu
2017-08-17 22:25:39 +02:00
parent 77d357ea06
commit d7c3361eae
4 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -62,14 +62,14 @@ pfUI:RegisterModule("xpbar", function ()
GameTooltip:ClearLines()
GameTooltip_SetDefaultAnchor(GameTooltip, this)
GameTooltip:SetOwner(this, "ANCHOR_CURSOR")
GameTooltip:AddDoubleLine("|cff555555Experience")
GameTooltip:AddDoubleLine("XP", "|cffffffff" .. xp .. " / " .. xpmax .. " (" .. xp_perc .. "%)")
GameTooltip:AddDoubleLine("Remaining", "|cffffffff" .. remaining .. " (" .. remaining_perc .. "%)")
GameTooltip:AddDoubleLine("|cff555555" .. T["Experience"])
GameTooltip:AddDoubleLine(T["XP"], "|cffffffff" .. xp .. " / " .. xpmax .. " (" .. xp_perc .. "%)")
GameTooltip:AddDoubleLine(T["Remaining"], "|cffffffff" .. remaining .. " (" .. remaining_perc .. "%)")
if IsResting() then
GameTooltip:AddDoubleLine("Status", "|cffffffffResting")
GameTooltip:AddDoubleLine(T["Status"], "|cffffffffResting")
end
if GetXPExhaustion() then
GameTooltip:AddDoubleLine("Rested", "|cff5555ff+" .. exh .. " (" .. exh_perc .. "%)")
GameTooltip:AddDoubleLine(T["Rested"], "|cff5555ff+" .. exh .. " (" .. exh_perc .. "%)")
end
GameTooltip:Show()
end)
@@ -169,7 +169,7 @@ pfUI:RegisterModule("xpbar", function ()
GameTooltip:ClearLines()
GameTooltip_SetDefaultAnchor(GameTooltip, this)
GameTooltip:SetOwner(this, "ANCHOR_CURSOR")
GameTooltip:AddLine("|cff555555Reputation")
GameTooltip:AddLine("|cff555555" .. T["Reputation"])
GameTooltip:AddLine(name .. " (" .. GetText("FACTION_STANDING_LABEL"..standingID, gender) .. ")", color.r + .3, color.g + .3, color.b + .3)
GameTooltip:AddLine(barValue .. " / " .. barMax .. " (" .. round(barValue / barMax * 100) .. "%)",1,1,1)
GameTooltip:Show()