diff --git a/modules/addons.lua b/modules/addons.lua index 0343d80e..23cd43a2 100644 --- a/modules/addons.lua +++ b/modules/addons.lua @@ -30,7 +30,7 @@ pfUI:RegisterModule("addons", function () pfUI.addons.caption:SetTextColor(.2, 1, .8, 1) pfUI.addons.caption:SetPoint("TOP", 0, -10) pfUI.addons.caption:SetJustifyH("LEFT") - pfUI.addons.caption:SetText("Addon List") + pfUI.addons.caption:SetText(T["Addon List"]) pfUI.addons.close = CreateFrame("Button", "pfBagClose", pfUI.addons) pfUI.addons.close:SetPoint("TOPRIGHT", -C.appearance.border.default*2,-C.appearance.border.default*2 ) diff --git a/modules/chat.lua b/modules/chat.lua index 8cae5e00..9ea6d2a4 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -433,7 +433,7 @@ pfUI:RegisterModule("chat", function () if C.chat.right.enable == "1" then -- set position of Loot & Spam FCF_SetLocked(ChatFrame3, 1) - FCF_SetWindowName(ChatFrame3, "Loot & Spam") + FCF_SetWindowName(ChatFrame3, T["Loot & Spam"]) FCF_SetWindowColor(ChatFrame3, 0, 0, 0) FCF_SetWindowAlpha(ChatFrame3, 0) FCF_SetChatWindowFontSize(ChatFrame3, 12) diff --git a/modules/firstrun.lua b/modules/firstrun.lua index c11427e8..b208e721 100644 --- a/modules/firstrun.lua +++ b/modules/firstrun.lua @@ -40,7 +40,7 @@ pfUI:RegisterModule("firstrun", function () local txt = T["Welcome to |cff33ffccpf|cffffffffUI|r!\n\nI'm the first run wizzard that will guide you through some basic configuration.\nIf you're lazy, feel free to hit the \"Use Defaults\" button. If you whish to run this\ndialog again, go to the settings and hit the \"Reset Firstrun\" button.\n\nVisit |cff33ffcchttp://shagu.org|r to check for the latest version."] - CreateQuestionDialog(txt, { "Customize", yes } , { "Use Defaults", no }) + CreateQuestionDialog(txt, { T["Customize"], yes } , { T["Use Defaults"], no }) return end diff --git a/modules/xpbar.lua b/modules/xpbar.lua index 8d360317..e4fb0266 100644 --- a/modules/xpbar.lua +++ b/modules/xpbar.lua @@ -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()