mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 11:40:01 +00:00
translations: add missing words
This commit is contained in:
@@ -4,7 +4,7 @@ pfUI:RegisterModule("autovendor", function ()
|
||||
local function RepairItems()
|
||||
local cost, possible = GetRepairAllCost()
|
||||
if cost > 0 and possible then
|
||||
DEFAULT_CHAT_FRAME:AddMessage("Your items have been repaired for " .. CreateGoldString(cost))
|
||||
DEFAULT_CHAT_FRAME:AddMessage(T["Your items have been repaired for"] .. " " .. CreateGoldString(cost))
|
||||
RepairAllItems()
|
||||
end
|
||||
end
|
||||
@@ -70,7 +70,7 @@ pfUI:RegisterModule("autovendor", function ()
|
||||
|
||||
autovendor:SetScript("OnHide", function()
|
||||
if this.count > 0 then
|
||||
DEFAULT_CHAT_FRAME:AddMessage("Your vendor trash has been sold and you earned " .. CreateGoldString(this.price))
|
||||
DEFAULT_CHAT_FRAME:AddMessage(T["Your vendor trash has been sold and you earned"] .. " " .. CreateGoldString(this.price))
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -112,7 +112,7 @@ pfUI:RegisterModule("autovendor", function ()
|
||||
autovendor.button:SetHighlightTexture("Interface\\Buttons\\ButtonHilight-Square")
|
||||
autovendor.button:SetScript("OnEnter", function()
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText("Sell Grey Items");
|
||||
GameTooltip:SetText(T["Sell Grey Items"]);
|
||||
GameTooltip:Show();
|
||||
end)
|
||||
|
||||
|
||||
+3
-3
@@ -559,7 +559,7 @@ pfUI:RegisterModule("bags", function ()
|
||||
|
||||
frame.search.edit:SetFont(pfUI.font_default, C.global.font_size, "OUTLINE")
|
||||
frame.search.edit:SetAutoFocus(false)
|
||||
frame.search.edit:SetText("Search")
|
||||
frame.search.edit:SetText(T["Search"])
|
||||
frame.search.edit:SetTextColor(.5,.5,.5,1)
|
||||
|
||||
frame.search.edit:SetScript("OnEditFocusGained", function()
|
||||
@@ -567,7 +567,7 @@ pfUI:RegisterModule("bags", function ()
|
||||
end)
|
||||
|
||||
frame.search.edit:SetScript("OnEditFocusLost", function()
|
||||
this:SetText("Search")
|
||||
this:SetText(T["Search"])
|
||||
for bag=-2, 11 do
|
||||
local bagsize = GetContainerNumSlots(bag)
|
||||
if bag == -2 and pfUI.bag.showKeyring == true then bagsize = GetKeyRingSize() end
|
||||
@@ -581,7 +581,7 @@ pfUI:RegisterModule("bags", function ()
|
||||
end)
|
||||
|
||||
frame.search.edit:SetScript("OnTextChanged", function()
|
||||
if this:GetText() == "Search" then return end
|
||||
if this:GetText() == T["Search"] then return end
|
||||
for bag=-2, 11 do
|
||||
local bagsize = GetContainerNumSlots(bag)
|
||||
if bag == -2 and pfUI.bag.showKeyring == true then bagsize = GetKeyRingSize() end
|
||||
|
||||
@@ -25,15 +25,15 @@ pfUI:RegisterModule("sellvalue", function ()
|
||||
GameTooltip:AddLine(" ")
|
||||
|
||||
if count > 1 then
|
||||
GameTooltip:AddDoubleLine("Sell:", CreateGoldString(sell) .. "|cff555555 // " .. CreateGoldString(sell*count), 1, 1, 1);
|
||||
GameTooltip:AddDoubleLine(T["Sell"] .. ":", CreateGoldString(sell) .. "|cff555555 // " .. CreateGoldString(sell*count), 1, 1, 1);
|
||||
else
|
||||
GameTooltip:AddDoubleLine("Sell:", CreateGoldString(sell * count), 1, 1, 1);
|
||||
GameTooltip:AddDoubleLine(T["Sell"] .. ":", CreateGoldString(sell * count), 1, 1, 1);
|
||||
end
|
||||
|
||||
if count > 1 then
|
||||
GameTooltip:AddDoubleLine("Buy:", CreateGoldString(buy) .. "|cff555555 // " .. CreateGoldString(buy*count), 1, 1, 1);
|
||||
GameTooltip:AddDoubleLine(T["Buy"] .. ":", CreateGoldString(buy) .. "|cff555555 // " .. CreateGoldString(buy*count), 1, 1, 1);
|
||||
else
|
||||
GameTooltip:AddDoubleLine("Buy:", CreateGoldString(buy), 1, 1, 1);
|
||||
GameTooltip:AddDoubleLine(T["Buy"] .. ":", CreateGoldString(buy), 1, 1, 1);
|
||||
end
|
||||
end
|
||||
GameTooltip:Show()
|
||||
|
||||
Reference in New Issue
Block a user