Quantcast

fixed: localization strings

Alex Shubert [04-20-12 - 11:29]
fixed: localization strings
Filename
AutoTurnIn.lua
localization_DE.lua
localization_EN.lua
localization_RU.lua
diff --git a/AutoTurnIn.lua b/AutoTurnIn.lua
index feba483..da004cc 100644
--- a/AutoTurnIn.lua
+++ b/AutoTurnIn.lua
@@ -297,7 +297,7 @@ function AutoTurnIn:Need()
 		local class, subclass, _, equipSlot = select(6, GetItemInfo(link))
 		--[[relics and trinkets are out of autoloot]]--
 		if  (UnitHasRelicSlot("player") and 'INVTYPE_RELIC' == equipSlot) or 'INVTYPE_TRINKET' == equipSlot then
-			self:Print(L["stopitemfound"])
+			self:Print(L["stopitemfound"]:format(equipSlot))
 			return true
 		end

diff --git a/localization_DE.lua b/localization_DE.lua
index 0d89486..6ab9770 100644
--- a/localization_DE.lua
+++ b/localization_DE.lua
@@ -40,7 +40,7 @@ privateTable.L = setmetatable({
 	["nosuitablefound"]="Nichts hat sich als geeignet erwiesen. "..ERR_QUEST_MUST_CHOOSE,
 	["gogreedy"]="Nichts hat sich als geeignet erwiesen. Wir nehmen uns die teuerste, was.",
 	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
-	["stopitemfound"]="gefunden " .. INVTYPE_RELIC .. ' oder ' .. INVTYPE_TRINKET.. ': '.. ERR_QUEST_MUST_CHOOSE,
+	["stopitemfound"]="Gefunden %s. Ihr müsst eine Belohnung manuell auswählen.",
 	},

 	{__index = function(table, index) return index end})
diff --git a/localization_EN.lua b/localization_EN.lua
index 0accfe9..56b847b 100644
--- a/localization_EN.lua
+++ b/localization_EN.lua
@@ -36,7 +36,7 @@ privateTable.L = setmetatable({
 	["nosuitablefound"]="No suitable reward found. "..ERR_QUEST_MUST_CHOOSE,
 	["gogreedy"]="No suitable reward found, choosing highest value one.",
 	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
-	["stopitemfound"]="Found " .. INVTYPE_RELIC .. ' or ' .. INVTYPE_TRINKET.. ': '.. ERR_QUEST_MUST_CHOOSE,
+	["stopitemfound"]="There are %s in rewards. Choose an item by yourself.",
 	},
 	{__index = function(table, index) return index end})

diff --git a/localization_RU.lua b/localization_RU.lua
index b31e290..717d0a7 100644
--- a/localization_RU.lua
+++ b/localization_RU.lua
@@ -40,7 +40,7 @@ privateTable.L = setmetatable({
 	["nosuitablefound"]="Подходящих предметов не найдено. "..ERR_QUEST_MUST_CHOOSE,
 	["gogreedy"]="Подходящих предметов не найдено. Берем самую дорогую.",
 	["rewardlag"]=BUTTON_LAG_LOOT_TOOLTIP.. '. '..ERR_QUEST_MUST_CHOOSE,
-	["stopitemfound"]="Найдено " .. INVTYPE_RELIC .. ' или ' .. INVTYPE_TRINKET.. ': '.. ERR_QUEST_MUST_CHOOSE,
+	["stopitemfound"]="Среди наград есть %s. Выберите предмет самостоятельно.",
 	},

 	{__index = function(table, index) return index end})