Quantcast

-Added the Reagent Bank to the search routine. WHOOPS!

Xruptor [11-20-14 - 14:08]
-Added the Reagent Bank to the search routine.  WHOOPS!
-Added some more localizations for deDE and ptBR
Filename
BagSync.toc
BagSync_Search.lua
localization/localization.lua
diff --git a/BagSync.toc b/BagSync.toc
index 265ac16..e59f11b 100644
--- a/BagSync.toc
+++ b/BagSync.toc
@@ -2,7 +2,7 @@
 ## Title: BagSync
 ## Notes: BagSync tracks your characters items and displays it within tooltips.
 ## Author: Xruptor
-## Version: 7.9
+## Version: 8.0
 ## OptionalDeps: tekDebug
 ## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncTOKEN_DB, BagSyncCRAFT_DB, BagSyncBLACKLIST_DB

diff --git a/BagSync_Search.lua b/BagSync_Search.lua
index 2e016ee..cc94e37 100644
--- a/BagSync_Search.lua
+++ b/BagSync_Search.lua
@@ -187,6 +187,7 @@ local function DoSearch()
 			["void"] = 0,
 			["auction"] = 0,
 			["guild"] = 0,
+			["reagentbank"] = 0,
 		}

 		if string.len(searchStr) > 1 and string.find(searchStr, "@") and allowList[string.sub(searchStr, 2)] ~= nil then playerSearch = true end
diff --git a/localization/localization.lua b/localization/localization.lua
index 8a48d4b..a82384f 100644
--- a/localization/localization.lua
+++ b/localization/localization.lua
@@ -236,6 +236,7 @@ BAGSYNC_L = GetLocale() == "zhCN" and {
 	["Equipped: %d"] = "Angelegt: %d",
 	["Guild: %d"] = "Gilde: %d",
 	["Mailbox: %d"] = "Post: %d",
+	["ReagentBank: %d"] = "Materiallager: %d",
 	["Search"] = "Suche",
 	["Total:"] = "Gesamt:",
 	["Tokens"] = "Abzeichen",
@@ -266,6 +267,9 @@ BAGSYNC_L = GetLocale() == "zhCN" and {
 	["Equipped: %d"] = "Equipado: %d",
 	["Guild: %d"] = "Guilda: %d",
 	["Mailbox: %d"] = "Correio: %d",
+	["Void: %d"] = "Cofre Etéreo: %d",
+	["ReagentBank: %d"] = "Banco de Reagentes: %d",
+	["AH: %d"] = "Casa de Leilão: %d",
 	["Search"] = "Pesquisar",
 	["Total:"] = "Total",
 	["Tokens"] = "Fichas",