diff --git a/api/unitframes.lua b/api/unitframes.lua index 9d49435e..a83ba79d 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1409,7 +1409,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.group:SetFont(pfUI.font_unit, 8, "OUTLINE") f.group:SetTextColor(1,1,1,.8) f.group:SetHeight(16) - f.group:SetText("Group " .. group) + f.group:SetText(T["Group"] .. " " .. group) f.group:Hide() end diff --git a/env/translations_enUS.lua b/env/translations_enUS.lua index 1f529fd6..4b0bfb90 100644 --- a/env/translations_enUS.lua +++ b/env/translations_enUS.lua @@ -62,7 +62,9 @@ pfUI_translation["enUS"] = { ["Bankslots Per Row"] = nil, ["Bar Background"] = nil, ["Bar Texture"] = nil, + ["Battleground Frames"] = nil, ["Battleground Statistics"] = nil, + ["BEHIND"] = nil, ["Blacklist"] = nil, ["Blinding Powder"] = nil, ["Blue Border On Friendly Players"] = nil, @@ -328,6 +330,7 @@ pfUI_translation["enUS"] = { ["Export"] = nil, ["Face"] = nil, ["Fade To Custom Color"] = nil, + ["FARM MODE"] = nil, ["Fast"] = nil, ["Filter Mode"] = nil, ["Finish"] = nil, @@ -538,6 +541,7 @@ pfUI_translation["enUS"] = { ["Next Memory Cleanup"] = nil, ["No"] = nil, ["No Anchor"] = nil, + ["NO LOS"] = nil, ["None"] = nil, ["Not a valid button!"] = nil, ["No tracking spell active"] = nil, @@ -773,6 +777,8 @@ pfUI_translation["enUS"] = { ["Small"] = nil, ["Some settings need to reload the UI to take effect.\nDo you want to reload now?"] = nil, ["Some settings need to reload the UI to take effect.\nDo you want to reloadUI now?"] = nil, + ["Sort Bags"] = nil, + ["Sort Bank"] = nil, ["Sort Order"] = nil, ["Soul Shard"] = nil, ["Soulshard Counter"] = nil, diff --git a/modules/bags.lua b/modules/bags.lua index 1df4ddb9..a88a8f71 100644 --- a/modules/bags.lua +++ b/modules/bags.lua @@ -972,7 +972,7 @@ pfUI:RegisterModule("bags", function () frame.sort.backdrop:SetBackdropBorderColor(1,1,.25,1) frame.sort.texture:SetVertexColor(1,1,.25,1) GameTooltip:SetOwner(this, "ANCHOR_RIGHT") - GameTooltip:SetText("Sort Bags") + GameTooltip:SetText(T["Sort Bags"]) GameTooltip:Show() end) @@ -1207,7 +1207,7 @@ pfUI:RegisterModule("bags", function () frame.sort.backdrop:SetBackdropBorderColor(1,1,.25,1) frame.sort.texture:SetVertexColor(1,1,.25,1) GameTooltip:SetOwner(this, "ANCHOR_RIGHT") - GameTooltip:SetText("Sort Bank") + GameTooltip:SetText(T["Sort Bank"]) GameTooltip:Show() end) diff --git a/modules/bgscore.lua b/modules/bgscore.lua index 26e425a1..81dc7997 100644 --- a/modules/bgscore.lua +++ b/modules/bgscore.lua @@ -32,7 +32,7 @@ pfUI:RegisterModule("bgscore", function () -- Title label local title = mover:CreateFontString(nil, "OVERLAY") title:SetFont("Fonts\\FRIZQT__.TTF", 14, "OUTLINE") - title:SetText("Battleground Frames") + title:SetText(T["Battleground Frames"]) title:SetPoint("TOP", mover, "TOP", 0, -2) -- BG score preview text diff --git a/modules/farmmode.lua b/modules/farmmode.lua index e825ba2c..a158a3c9 100644 --- a/modules/farmmode.lua +++ b/modules/farmmode.lua @@ -136,7 +136,7 @@ pfUI:RegisterModule("farmmode", function () pfUI.farmmap.button.txt = pfUI.farmmap.button:CreateFontString("pfFarmMapText", "LOW", "GameFontWhite") pfUI.farmmap.button.txt:SetFont(pfUI.font_default, C.global.font_size, "OUTLINE") pfUI.farmmap.button.txt:SetPoint("CENTER", 0, 0) - pfUI.farmmap.button.txt:SetText("|cff33ffcc FARM MODE") + pfUI.farmmap.button.txt:SetText("|cff33ffcc " .. T["FARM MODE"]) end CreateBackdrop(pfUI.farmmap) diff --git a/modules/unitxp.lua b/modules/unitxp.lua index 8f69202d..2a787b4e 100644 --- a/modules/unitxp.lua +++ b/modules/unitxp.lua @@ -28,7 +28,7 @@ pfUI:RegisterModule("unitxp", function () behindFrame.text:SetFont(pfUI.font_default, fontSize, "OUTLINE") behindFrame.text:SetPoint("RIGHT", behindFrame, "RIGHT", -1, 0) behindFrame.text:SetTextColor(0.3, 1, 0.3, 1) - behindFrame.text:SetText("BEHIND") + behindFrame.text:SetText(T["BEHIND"]) behindFrame.text:Hide() local lastCheck = 0 @@ -62,7 +62,7 @@ pfUI:RegisterModule("unitxp", function () losFrame.text:SetFont(pfUI.font_default, fontSize, "OUTLINE") losFrame.text:SetPoint("RIGHT", losFrame, "RIGHT", -1, -slot) losFrame.text:SetTextColor(1, 0.3, 0.3, 1) - losFrame.text:SetText("NO LOS") + losFrame.text:SetText(T["NO LOS"]) losFrame.text:Hide() local lastCheck = 0