mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 11:40:01 +00:00
translations: add new strings
This commit is contained in:
+6
-6
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user