translations: add missing words

This commit is contained in:
shagu
2017-10-18 23:49:50 +02:00
parent d3d5b67645
commit 482c03ca26
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -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
View File
@@ -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
+4 -4
View File
@@ -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()