This commit is contained in:
Andrew6810
2022-11-05 21:19:42 -07:00
parent b79f4bd588
commit f3e579cb57
386 changed files with 93729 additions and 2 deletions
+153
View File
@@ -0,0 +1,153 @@
v2.0.10
*Increased restock slider cap to 5000.
*Increased quantity slider caps to 5000.
*Implemented the suggestion for specifying stack size multiple for warehouse operations move to bags - enabling this will only move in multiples of the stack size set.
v2.0.9
*Fixed issue with warehousing groups and ignore random enchants
v2.0.8
*Updating group tree creation API call.
v2.0.7
*Fixed an issue where the operation summary description was incorrect
*Added support for DufUIBank
v2.0.6
*Fixed an issue with calculating quantity to move.
v2.0.5
*Added support for cargBags Nivaya.
v2.0.4
*Updated TOC for patch 5.4.
v2.0.3
*Bug fix with v2.0.2 and TSM2.1.
v2.0.2
*Operations are now properly sorted alphabetically.
*Moved operation management to its own tab.
v2.0.1
*Empty bags will now move soulbound items.
v2.0
*First 2.0 Version!
\\
v1.5
*Updated for patch 5.2.
*Many other minor bug fixes and improvements.
v1.4.7
*Compatible with TukUI and AdiBags
*Fixed Issues with ElvUI
*Updated Bank UI to use new TSM Design
*Added Auction Categories
*Fixed issues with OneBank
*Auctioning Categories / Groups take mail quantities into account when moving
*Many other minor bug fixes and improvements.
v1.4.6
*Updated .toc to version 5.1
v1.4.5
*Crafting groups now reset properly
*UPDATEBAGSTATE, and craftstate, are only printed when movedata = true
v1.4.4.3
*Elvui should work now
v1.4.4.2
*Crafting groups should now work properly across multiple chars
v1.4.4.1
*LUI compatible
*removed annoying print statement
v1.4.4
*compatable with famBankFrame
*Tukui!
*ElvUI
v1.4.3.1
*fixed a typo that caused an error
*fixed a bankui issue
*fixed auctioning groups
*fixed and an issue if auctioning or crafting are not installed.
*removed Lisence.txt
*fixed the .toc file
v1.4
*removed Lisence.txt
v1.3.3
*Changed the behavior for auctioning
*Fixed the version number
v1.3.2
*removed print statement
v1.3.1
*fixed a bug with increment
v1.3
*Im experimenting with trying to speed up the gbank, and eliminates dc's
*more local varaibles Sapu rejoice!
v1.2.5
*fixed a bug
v1.2.4
*no longer am I quering the gbanktab
v1.2.2
*set limits to the timeouts
v1.2.1
*You can now close the bankui at will
*You can now adjust the gbank time out
v1.0.9.2
*debug print statement
v1.0.9.1
*added timeouts to the movement code
v1.0.9
*Fixed a bug in canGoInBag
v1.0.8
*Fixed some bugs
v1.0.7
*Warehousing now works with many different bank addons
v1.0.6
*Warehousing now works with ArkInventory
*Slowed the gbank down further
v1.0.5
*So it will show up on curse
*I also fixed a bug last night, but dont remember what it was
v1.0.4
*I fixed it better
v1.0.3
*Attempt to stop the move process if the users bags are closed
v1.0.2
*I hate localizing
v1.0.1
*updated for 4.3....wait what??
*changed inventory_manger to warehousing
v1.0
*it has been released!!
+4
View File
@@ -0,0 +1,4 @@
This addon is licensed under the Attribution-NonCommercial-NoDerivs 3.0
Unported (CC BY-NC-ND 3.0) License. More info about this license can be
found here: http://creativecommons.org/licenses/by-nc-nd/3.0/
@@ -0,0 +1,93 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - deDE
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "deDE")
if not L then return end
-- L["1) Open up a bank (either the gbank or personal bank)"] = ""
-- L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = ""
-- L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = ""
-- L["2) You should see a window on your right with a list of groups"] = ""
-- L["3) Select one or more groups and hit either %s or %s"] = ""
-- L["Bank UI"] = ""
-- L["Canceled"] = ""
-- L["Displays realtime move data."] = ""
L["Empty Bags"] = "Taschen leeren"
L["Empty Bags/Restore Bags"] = "Taschen leeren/Taschen wiederherstellen"
-- L["Enable Restock"] = ""
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
-- L["Error creating operation. Operation with name '%s' already exists."] = ""
-- L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = ""
-- L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = ""
-- L["General"] = ""
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
-- L["Give the new operation a name. A descriptive name will help you find this operation later."] = ""
-- L["Help"] = ""
-- L["Invalid criteria entered."] = ""
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
L["Move Group To Bags"] = "Gruppe in Taschen verschieben"
L["Move Group To Bank"] = "Gruppe in die Bank verschieben"
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
L["Restore Bags"] = "Taschen wiederherstellen"
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
-- L["'%s' has a Warehousing operation of '%s' which no longer exists."] = ""
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,107 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - enUS
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "enUS", true)
if not L then return end
L["'%s' has a Warehousing operation of '%s' which no longer exists."] = true
L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = true
L["1) Open up a bank (either the gbank or personal bank)"] = true
L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = true
L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = true
L["2) You should see a window on your right with a list of groups"] = true
L["3) Select one or more groups and hit either %s or %s"] = true
L["Bank UI"] = true
L["Canceled"] = true
L["Displays realtime move data."] = true
L["Empty Bags"] = true
L["Empty Bags/Restore Bags"] = true
L["Enable Restock"] = true
L["Enable this to set the quantity to keep back in your bags"] = true
L["Enable this to set the quantity to keep back in your bank / guildbank"] = true
L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = true
L["Enable this to set the restock quantity"] = true
L["Enable this to set the stack size multiple to be moved"] = true
L["Error creating operation. Operation with name '%s' already exists."] = true
L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = true
L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = true
L["General"] = true
L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = true
L["Give the new operation a name. A descriptive name will help you find this operation later."] = true
L["Help"] = true
L["Invalid criteria entered."] = true
L["Invalid criteria entered."] = true
L["Keep in Bags Quantity"] = true
L["Keep in Bank/GuildBank Quantity"] = true
L["Management"] = true
L["Move Data has been turned off"] = true
L["Move Data has been turned on"] = true
L["Move Group To Bags"] = true
L["Move Group To Bank"] = true
L["Move Quantity Settings"] = true
L["Move Quantity Settings"] = true
L["Move Quantity"] = true
L["New Operation"] = true
L["Nothing to Move"] = true
L["Nothing to Move"] = true
L["Nothing to Move"] = true
L["Nothing to Restock"] = true
L["Operation Name"] = true
L["Operations"] = true
L["Preparing to Move"] = true
L["Preparing to Move"] = true
L["Preparing to Move"] = true
L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = true
L["Relationships"] = true
L["Restock Bags"] = true
L["Restock Quantity"] = true
L["Restock Settings"] = true
L["Restock Settings"] = true
L["Restocking"] = true
L["Restore Bags"] = true
L["Set Keep in Bags Quantity"] = true
L["Set Keep in Bank Quantity"] = true
L["Set Move Quantity"] = true
L["Set Stack Size for bags"] = true
L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = true
L["Slash Commands"] = true
L["Stack Size Multiple"] = true
L["There are no visible banks."] = true
L["There are no visible banks."] = true
L["There are no visible banks."] = true
L["To create a Warehousing Operation"] = true
L["To move a Group"] = true
L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = true
L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = true
L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = true
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = true
L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = true
L["Warehousing will move a max of %d of each item in this group."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = true
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = true
L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = true
L["Warehousing will move all of the items in this group."] = true
L["Warehousing will move this number of each item"] = true
L["Warehousing will only move items in multiples of the stack size set when moving to your bags, this is useful for milling/prospecting etc to ensure you don't move items you can't process"] = true
L["Warehousing will restock your bags up to this number of items"] = true
L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = true
L["You can toggle the Bank UI by typing the command "] = true
L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = true
@@ -0,0 +1,16 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - esES
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "enES")
if not L then return end
--@localization(locale="enES", format="lua_additive_table")@
@@ -0,0 +1,93 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - esMX
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "esMX")
if not L then return end
-- L["1) Open up a bank (either the gbank or personal bank)"] = ""
-- L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = ""
-- L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = ""
-- L["2) You should see a window on your right with a list of groups"] = ""
-- L["3) Select one or more groups and hit either %s or %s"] = ""
-- L["Bank UI"] = ""
-- L["Canceled"] = ""
-- L["Displays realtime move data."] = ""
-- L["Empty Bags"] = ""
-- L["Empty Bags/Restore Bags"] = ""
-- L["Enable Restock"] = ""
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
-- L["Error creating operation. Operation with name '%s' already exists."] = ""
-- L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = ""
-- L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = ""
-- L["General"] = ""
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
-- L["Give the new operation a name. A descriptive name will help you find this operation later."] = ""
-- L["Help"] = ""
-- L["Invalid criteria entered."] = ""
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
-- L["Move Group To Bags"] = ""
-- L["Move Group To Bank"] = ""
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
-- L["Restore Bags"] = ""
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
-- L["'%s' has a Warehousing operation of '%s' which no longer exists."] = ""
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,93 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - frFR
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "frFR")
if not L then return end
-- L["1) Open up a bank (either the gbank or personal bank)"] = ""
-- L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = ""
-- L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = ""
-- L["2) You should see a window on your right with a list of groups"] = ""
-- L["3) Select one or more groups and hit either %s or %s"] = ""
-- L["Bank UI"] = ""
-- L["Canceled"] = ""
-- L["Displays realtime move data."] = ""
-- L["Empty Bags"] = ""
-- L["Empty Bags/Restore Bags"] = ""
-- L["Enable Restock"] = ""
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
-- L["Error creating operation. Operation with name '%s' already exists."] = ""
-- L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = ""
-- L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = ""
-- L["General"] = ""
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
-- L["Give the new operation a name. A descriptive name will help you find this operation later."] = ""
-- L["Help"] = ""
-- L["Invalid criteria entered."] = ""
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
-- L["Move Group To Bags"] = ""
-- L["Move Group To Bank"] = ""
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
-- L["Restore Bags"] = ""
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
-- L["'%s' has a Warehousing operation of '%s' which no longer exists."] = ""
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,92 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - koKR
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "koKR")
if not L then return end
L["1) Open up a bank (either the gbank or personal bank)"] = "1) 은행을 엽니다. (개인 은행 또는 길드 은행)" -- Needs review
L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = "1) 왼쪽 메뉴에서 작업을 선택하고 \\\"작업 이름\\\" 항목의 텍스트 상자에 이름을 입력한 후 Okey를 클릭하세요." -- Needs review
L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = "2) 작업을 선택하고 작업 관리 아래에 있는 \\\"작업 삭제\\\" 버튼을 클릭하면 작업을 삭제할 수 있습니다." -- Needs review
L["2) You should see a window on your right with a list of groups"] = "2) 우측에 그룹 리스트가 나열된 창이 나타납니다." -- Needs review
L["3) Select one or more groups and hit either %s or %s"] = "3) 하나 또는 그 이상의 그룹을 선택하고 %s 또는 %s 버튼 중 하나를 클릭합니다." -- Needs review
L["Bank UI"] = "은행 UI" -- Needs review
L["Canceled"] = "취소" -- Needs review
L["Displays realtime move data."] = "데이터 이동을 실시간으로 표시합니다." -- Needs review
L["Empty Bags"] = "가방 비우기"
L["Empty Bags/Restore Bags"] = "가방 비우기/가방 복구" -- Needs review
L["Enable Restock"] = "재보충 사용" -- Needs review
L["Enable this to set the quantity to keep back in your bags"] = "활성화 시 가방에 유지할 수량을 설정할 수 있습니다." -- Needs review
L["Enable this to set the quantity to keep back in your bank / guildbank"] = "활성화 시 은행/길드 은행에 유지할 수량을 설정할 수 있습니다." -- Needs review
L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = "활성화 시 이동할 수량을 설정할 수 있습니다. 비활성화 시 모든 아이템이 이동됩니다." -- Needs review
L["Enable this to set the restock quantity"] = "활성화 시 재보충 수량을 설정할 수 있습니다." -- Needs review
L["Error creating operation. Operation with name '%s' already exists."] = "작업 생성 중 오류가 발생했습니다. 작업 이름 '%s'이(가) 이미 존재합니다." -- Needs review
L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = "예 1: /tsm get 문양 20 - 은행/길드 은행에서 이름에 \\\"문양\\\"이 포함된 각각의 아이템 20개씩을 가방으로 가져옵니다." -- Needs review
L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = "예 2: /tsm put 74249 - 가방에 있는 모든 아이템 74249 (영혼 티끌)을 은행/길드 은행에 넣습니다." -- Needs review
L["General"] = "일반" -- Needs review
L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = "아이템 링크, 아이템ID, 입력된 부분적인 아이템 이름과 일치하는 아이템을 은행 또는 길드 은행에서 가져옵니다." -- Needs review
L["Give the new operation a name. A descriptive name will help you find this operation later."] = "작업에 새 이름을 지정합니다. 설명이 포함된 이름은 나중에 작업을 찾는 데 도움이 됩니다." -- Needs review
L["Help"] = "도움말" -- Needs review
L["Invalid criteria entered."] = "입력이 잘못되었습니다." -- Needs review
L["Keep in Bags Quantity"] = "가방에 유지할 수량" -- Needs review
L["Keep in Bank/GuildBank Quantity"] = "은행/길드 은행에 유지할 수량" -- Needs review
L["Move Data has been turned off"] = "데이터 이동 중지" -- Needs review
L["Move Data has been turned on"] = "데이터 이동 가능" -- Needs review
L["Move Group To Bags"] = "가방으로 이동"
L["Move Group To Bank"] = "은행으로 이동"
L["Move Quantity"] = "이동 수량" -- Needs review
L["Move Quantity Settings"] = "이동 수량 설정" -- Needs review
L["New Operation"] = "새 작업" -- Needs review
L["Nothing to Move"] = "이동할 아이템 없음" -- Needs review
L["Nothing to Restock"] = "재보충할 아이템 없음" -- Needs review
L["Operation Name"] = "작업 이름" -- Needs review
L["Operations"] = "작업" -- Needs review
L["Preparing to Move"] = "이동 준비" -- Needs review
L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = "아이템 링크, 아이템ID, 입력된 부분적인 아이템 이름과 일치하는 아이템을 은행 또는 길드 은행에 넣습니다." -- Needs review
L["Relationships"] = "관계" -- Needs review
L["Restock Bags"] = "가방 재보충" -- Needs review
L["Restocking"] = "재보충 중" -- Needs review
L["Restock Quantity"] = "재보충 수량" -- Needs review
L["Restock Settings"] = "재보충 설정" -- Needs review
L["Restore Bags"] = "가방 복구"
L["Set Keep in Bags Quantity"] = "가방에 유지할 수량 설정" -- Needs review
L["Set Keep in Bank Quantity"] = "은행에 유지할 수량 설정" -- Needs review
L["Set Move Quantity"] = "이동 수량 설정" -- Needs review
L["'%s' has a Warehousing operation of '%s' which no longer exists."] = "'%s' 그룹에 포함된 '%s' 작업은 더이상 존재하지 않습니다." -- Needs review
L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = "가방 비우기를 클릭하면, 창고 관리자는 가지고 있던 아이템들을 기억하고 있다가 가방 복구를 클릭할 때 이 아이템들을 모두 다시 가방으로 가져옵니다. 가방이 비어있는 상태에서 가방 비우기를 클릭하면 이전의 가방 상태를 덮어쓰기 때문에 가방 복원은 할 수 없습니다." -- Needs review
L["Slash Commands"] = "명령어" -- Needs review
L["There are no visible banks."] = "은행이 없습니다." -- Needs review
L["To create a Warehousing Operation"] = "창고 작업 생성" -- Needs review
L["To move a Group"] = "그룹 이동" -- Needs review
L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = "/tsm get/put X Y - X는 아이템ID, 아이템 링크(Shift-Click 아이템) 또는 부분적인 아이템 이름일 수 있습니다. Y는 이동을 원하는 수량으로 선택사항입니다." -- Needs review
L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = "창고 작업은 아이템 그룹을 이동할 수 있는 설정을 가지고 있습니다. 아래 상자에 새 작업 이름을 입력하고 '엔터'를 치면 새 창고 작업이 생성됩니다." -- Needs review
L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = "은행 / 길드 은행으로 아이템을 이동시킬 때 이 수량만큼은 가방에 남겨둡니다." -- Needs review
L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = "가방으로 아이템을 이동시킬 때 이 수량만큼은 은행 / 길드 은행에 남겨둡니다." -- Needs review
L["Warehousing will move all of the items in this group."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지하고, 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지하고, 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹의 모든 아이템을 이동시킵니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지하고, 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지하고, 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 가방에서 은행/길드은행으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 은행/길드은행에서 가방으로 이동 시 각각 %d개의 아이템을 유지합니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = "창고 관리자는 이 그룹 아이템을 각각 최대 %d개씩 이동시킵니다. 재보충으로 %d개의 아이템을 가방에 유지합니다." -- Needs review
L["Warehousing will move this number of each item"] = "각 아이템을 이 수량만큼 이동시킵니다." -- Needs review
L["Warehousing will restock your bags up to this number of items"] = "최대 이 수량만큼의 아이템을 가방에 재보충합니다." -- Needs review
L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = "창고 관리자는 정확한 수량의 아이템을 가져오려고 시도하지만, 만일 은행에 충분한 수량의 아이템이 존재하지 않는다면 은행 내의 나머지 아이템을 모두 가져옵니다." -- Needs review
L["You can toggle the Bank UI by typing the command "] = "명령어를 입력하여 은행 UI를 온/오프 시킬 수 있습니다. " -- Needs review
L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = "다음 명령어를 이용해 아이템을 은행 또는 길드 은행에 넣거나 꺼내올 수 있습니다." -- Needs review
@@ -0,0 +1,92 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - ptBR
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "ptBR")
if not L then return end
-- L["1) Open up a bank (either the gbank or personal bank)"] = ""
-- L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = ""
-- L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = ""
-- L["2) You should see a window on your right with a list of groups"] = ""
-- L["3) Select one or more groups and hit either %s or %s"] = ""
-- L["Bank UI"] = ""
-- L["Canceled"] = ""
-- L["Displays realtime move data."] = ""
L["Empty Bags"] = "Esvaziar Bolsas" -- Needs review
L["Empty Bags/Restore Bags"] = "Esvaziar Bolsas/Restaurar Bolsas" -- Needs review
-- L["Enable Restock"] = ""
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
-- L["Error creating operation. Operation with name '%s' already exists."] = ""
-- L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = ""
-- L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = ""
-- L["General"] = ""
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
-- L["Give the new operation a name. A descriptive name will help you find this operation later."] = ""
-- L["Help"] = ""
-- L["Invalid criteria entered."] = ""
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
L["Move Group To Bags"] = "Mover Grupo Para as Bolsas" -- Needs review
L["Move Group To Bank"] = "Mover Grupo Para o Banco" -- Needs review
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
L["Restore Bags"] = "Restaurar Bolsas" -- Needs review
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
-- L["'%s' has a Warehousing operation of '%s' which no longer exists."] = ""
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,94 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - ruRU
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "ruRU")
if not L then return end
L["1) Open up a bank (either the gbank or personal bank)"] = "1) Открыть банк (либо Гилдбанк или персональный Банк\")" -- Needs review
L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = "1) Выберите \"операции\" в левом меню и введите имя в текстовом поле с надписью «Имя операции», и нажмите OK" -- Needs review
L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = "2) Вы можете удалить операцию, выбрав операцию, в группе управления операции нажмите кнопку «Удалить операцию»." -- Needs review
L["2) You should see a window on your right with a list of groups"] = "2) Вы должны увидеть окно, справа от вас с перечнем групп" -- Needs review
L["3) Select one or more groups and hit either %s or %s"] = "3) Выберите одну или несколько групп и удалите %s или %s" -- Needs review
-- L["Bank UI"] = ""
L["Canceled"] = "Отменен" -- Needs review
L["Displays realtime move data."] = "Отображение данных в реальном времени" -- Needs review
L["Empty Bags"] = "Очистить сумки"
L["Empty Bags/Restore Bags"] = "Очистить сумки/Восстановить сумки"
L["Enable Restock"] = "Включить Пополнить" -- Needs review
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
L["Error creating operation. Operation with name '%s' already exists."] = "Ошибка при создании операции. Операции с названием '%s' уже существует." -- Needs review
L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = "Пример 1: /tsm получить символ 20 - получить до 20-го числа каждого элемента в ваш Банк/guildbank, имена которых содержат\"символ\" и поместить их в сумки." -- Needs review
L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = "Пример 2: /tsm положить 74249 - получить все вещи 74249 (Дух Пыли) в ваших сумках и положить их в ваш Банк/гилдbank" -- Needs review
L["General"] = "Общие" -- Needs review
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
L["Give the new operation a name. A descriptive name will help you find this operation later."] = "Дать имя новой операции. Описательное имя поможет вам найти эту операцию позже." -- Needs review
L["Help"] = "Помощь " -- Needs review
L["Invalid criteria entered."] = "Введен недопустимый критерии." -- Needs review
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
L["Move Group To Bags"] = "Переместить группу в сумки"
L["Move Group To Bank"] = "Переместить группу в банк"
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
L["Restore Bags"] = "Восстановить сумки"
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
L["'%s' has a Warehousing operation of '%s' which no longer exists."] = "'% S' имеет складские работы '% S', которая больше не существует." -- Needs review
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,92 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - zhCN
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "zhCN")
if not L then return end
L["1) Open up a bank (either the gbank or personal bank)"] = "1) 开启银行 (公会银行或私人银行)"
L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = "1) 选择左侧菜单中的一项操作并在\"操作名称\"文本框内输入名称, 点击完成按钮"
L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = "2) 您可以在操作管理界面的最下端点击\"删除操作\"来删除该'操作'。"
L["2) You should see a window on your right with a list of groups"] = "2) 您会在右侧看到一个带有分组列表的窗口"
L["3) Select one or more groups and hit either %s or %s"] = "3) 选择一个或多个分组并点击%s或%s"
L["Bank UI"] = "银行界面"
L["Canceled"] = "取消"
L["Displays realtime move data."] = "显示移动实时信息。"
L["Empty Bags"] = "清空背包"
L["Empty Bags/Restore Bags"] = "背包清空/补货"
L["Enable Restock"] = "开启补货"
L["Enable this to set the quantity to keep back in your bags"] = "激活后设置物品的背包最小保有量"
L["Enable this to set the quantity to keep back in your bank / guildbank"] = "激活后设置物品的银行/公会银行最小保有量"
L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = "激活后设置物品的移动数量,如果不激活将以最大数量移动物品。"
L["Enable this to set the restock quantity"] = "激活后设置补货数量"
L["Error creating operation. Operation with name '%s' already exists."] = "创建操作失败,操作名称 '%s' 已经存在。"
L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = "例子 1: /tsm get glyph 20 - 从银行/公会银行中移动20个名称中包含\"glyph\"的物品到你的背包内(模糊匹配)。"
L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = "例子2: /tsm put 74249 - 移动背包中所有的'灵魂尘'到银行/公会银行('灵魂尘'的物品ID就是74249)。"
L["General"] = "常规"
L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = "根据物品链接, 物品ID或输入的部分文本从银行/公会银行提取物品"
L["Give the new operation a name. A descriptive name will help you find this operation later."] = "给新操作命名。一个描述性的名称将方便您的找到它。"
L["Help"] = "帮助"
L["Invalid criteria entered."] = "无效的标准输入。"
L["Keep in Bags Quantity"] = "背包保有数量"
L["Keep in Bank/GuildBank Quantity"] = "银行/公会银行保有数量"
L["Move Data has been turned off"] = "移动数据已经关闭"
L["Move Data has been turned on"] = "移动数据已经开启"
L["Move Group To Bags"] = "将分组移动到背包"
L["Move Group To Bank"] = "将分组移动至银行"
L["Move Quantity"] = "移动数量"
L["Move Quantity Settings"] = "移动数量设置"
L["New Operation"] = "新操作"
L["Nothing to Move"] = "没有物品用以移动"
L["Nothing to Restock"] = "没有物品用以补货"
L["Operation Name"] = "操作名称"
L["Operations"] = "操作"
L["Preparing to Move"] = "准备移动中"
L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = "根据物品链接, 物品ID或输入的部分文本向银行/公会银行存放物品。"
L["Relationships"] = "关联"
L["Restock Bags"] = "背包补货"
L["Restocking"] = "补货中"
L["Restock Quantity"] = "补货数量"
L["Restock Settings"] = "补货设置"
L["Restore Bags"] = "背包补货"
L["Set Keep in Bags Quantity"] = "设置物品的背包保有量"
L["Set Keep in Bank Quantity"] = "设置物品的银行保有量"
L["Set Move Quantity"] = "设置移动数量"
L["'%s' has a Warehousing operation of '%s' which no longer exists."] = "'%s'具有一个已经不存在的Warehousing操作'%s'"
L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = "仅仅单击空白背包, Warehousing会记录你拥有的物品, 这样当你单击补货时, Warehousing 会再次提取出原来所有的物品. 如果当你背包为空时单击空白背包, 这样会覆盖之前的背包状态, 这样你就不能使用补货功能了."
L["Slash Commands"] = "/命令"
L["There are no visible banks."] = "没有打开着的银行"
L["To create a Warehousing Operation"] = "新建一个Warehousing操作"
L["To move a Group"] = "移动一个分组"
L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = "/tsm get/put X Y - X 可以是物品ID,物品链接(shift+左键 物品)或部分文本, Y 是你想要移动的数量。"
L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = "Warehousing操作包括移动分组物品的设置. 在下边的文本框中输入新操作的名称并回车可以创建一个新Warehousing操作。"
L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = "当移动物品到你的银行/公会银行中时,Warehousing会确保此数量的物品保留在你的背包中。"
L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = "当移动物品到你的背包中时,Warehousing会确保此数量的物品保留在你的银行/公会银行中。"
L["Warehousing will move all of the items in this group."] = "Warehousing会移动这个分组内的所有物品"
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = "Warehousing会移动这个分组的所有物品, 当从背包→银行/公会银行时每种物品保留%d件。"
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = "Warehousing会移动这个分组的所有物品, 当从背包→银行/公会银行时每种物品保留%d件, 当从银行/公会银行→背包时每种物品保留%d件。"
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组的所有物品, 当从背包→银行/公会银行时每种物品保留%d件, 当从银行/公会银行→背包时每种物品保留%d件。补货会在背包里保留%d件物品。"
L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组的所有物品, 当从背包→银行/公会银行时每种物品保留%d。补货会在背包里保留%d件物品。"
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = "Warehousing会移动这个分组的所有物品, 当从银行/公会银行→背包时每种物品保留%d件。"
L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组的所有物品, 当从银行/公会银行→背包时每种物品保留%d件. 补货会在背包里保留%d件物品。"
L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组的所有物品. 补货会在背包里保留%d件物品."
L["Warehousing will move a max of %d of each item in this group."] = "Warehousing会移动这个分组中每种物品最多%d件。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从背包→银行/公会银行时每种物品保留%d件。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从背包→银行/公会银行时每种物品保留%d件, 当从银行/公会银行→背包时每种物品保留%d件。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从背包→银行/公会银行时每种物品保留%d件, 当从银行/公会银行→背包时每种物品保留%d件. 补货会保留%d件物品在你的背包里。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从背包→银行/公会银行时每种物品保留%d件. 补货会保留%d件物品在你的背包里。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从银行/公会银行→背包时每种物品保留%d件。"
L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组中每种物品最多%d件, 当从银行/公会银行→背包时每种物品保留%d件。补货会保留%d件物品在背包里。"
L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = "Warehousing会移动这个分组中每种物品最多%d件。补货会保留%d件物品在背包里。"
L["Warehousing will move this number of each item"] = "Warehousing会移动此数量的物品"
L["Warehousing will restock your bags up to this number of items"] = "Warehousing会向你的背包中补充这个数量的物品"
L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = "Warehousing会尝试提取正确数量的物品, 如果银行里没有足够的物品提取, Warehousing会提取现有的全部物品."
L["You can toggle the Bank UI by typing the command "] = "您可以通过指令固定银行界面"
L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = "您可以使用下边的\"/命令\"来从银行或公会银行提取或存放物品"
@@ -0,0 +1,94 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing Locale - zhTW
-- Please use the localization app on CurseForge to update this
-- http://wow.curseforge.com/addons/TradeSkillMaster_Warehousing/localization/
local L = LibStub("AceLocale-3.0"):NewLocale("TradeSkillMaster_Warehousing", "zhTW")
if not L then return end
-- L["1) Open up a bank (either the gbank or personal bank)"] = ""
-- L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] = ""
-- L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "] = ""
-- L["2) You should see a window on your right with a list of groups"] = ""
-- L["3) Select one or more groups and hit either %s or %s"] = ""
-- L["Bank UI"] = ""
-- L["Canceled"] = ""
-- L["Displays realtime move data."] = ""
L["Empty Bags"] = "清空包包"
L["Empty Bags/Restore Bags"] = "清空/還原包包"
-- L["Enable Restock"] = ""
-- L["Enable this to set the quantity to keep back in your bags"] = ""
-- L["Enable this to set the quantity to keep back in your bank / guildbank"] = ""
-- L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"] = ""
-- L["Enable this to set the restock quantity"] = ""
-- L["Error creating operation. Operation with name '%s' already exists."] = ""
-- L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains\"glyph\" and place them in your bags."] = ""
-- L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"] = ""
-- L["General"] = ""
-- L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."] = ""
-- L["Give the new operation a name. A descriptive name will help you find this operation later."] = ""
-- L["Help"] = ""
-- L["Invalid criteria entered."] = ""
-- L["Keep in Bags Quantity"] = ""
-- L["Keep in Bank/GuildBank Quantity"] = ""
-- L["Move Data has been turned off"] = ""
-- L["Move Data has been turned on"] = ""
L["Move Group To Bags"] = "將群組移到包包"
L["Move Group To Bank"] = "將群組移到銀行"
-- L["Move Quantity"] = ""
-- L["Move Quantity Settings"] = ""
-- L["New Operation"] = ""
-- L["Nothing to Move"] = ""
-- L["Nothing to Restock"] = ""
-- L["Operation Name"] = ""
-- L["Operations"] = ""
-- L["Preparing to Move"] = ""
-- L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."] = ""
-- L["Relationships"] = ""
-- L["Restock Bags"] = ""
-- L["Restocking"] = ""
-- L["Restock Quantity"] = ""
-- L["Restock Settings"] = ""
L["Restore Bags"] = "還原包包"
-- L["Set Keep in Bags Quantity"] = ""
-- L["Set Keep in Bank Quantity"] = ""
-- L["Set Move Quantity"] = ""
-- L["'%s' has a Warehousing operation of '%s' which no longer exists."] = ""
-- L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."] = ""
-- L["Slash Commands"] = ""
-- L["There are no visible banks."] = ""
-- L["To create a Warehousing Operation"] = ""
-- L["To move a Group"] = ""
-- L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] = ""
-- L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."] = ""
-- L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."] = ""
-- L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."] = ""
-- L["Warehousing will move all of the items in this group."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."] = ""
-- L["Warehousing will move this number of each item"] = ""
-- L["Warehousing will restock your bags up to this number of items"] = ""
-- L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."] = ""
-- L["You can toggle the Bank UI by typing the command "] = ""
-- L["You can use the following slash commands to get items from or put items into your bank or guildbank."] = ""
@@ -0,0 +1,127 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- loads the localization table --
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing")
-- load the parent file (TSM) into a local variable and register this file as a module
local TSM = select(2, ...)
local bankui = TSM:NewModule("bankui", "AceEvent-3.0")
local AceGUI = LibStub("AceGUI-3.0") -- load the AceGUI librarie
local currentBank = nil
local bFrame = nil
local buttonFrame = nil
local groupTree = nil
function bankui:OnEnable()
bankui:RegisterEvent("GUILDBANKFRAME_OPENED", function(event)
currentBank = "guildbank"
end)
bankui:RegisterEvent("BANKFRAME_OPENED", function(event)
currentBank = "bank"
end)
bankui:RegisterEvent("GUILDBANKFRAME_CLOSED", function(event, addon)
currentBank = nil
end)
bankui:RegisterEvent("BANKFRAME_CLOSED", function(event)
currentBank = nil
end)
end
local function createButton(text, parent, func)
local btn = TSMAPI.GUI:CreateButton(bFrame, 15, "Button")
btn:SetText(text)
btn:SetHeight(17)
btn:SetWidth(230)
return btn
end
function bankui:createTab(parent)
bFrame = CreateFrame("Frame", nil, parent)
--TSMAPI.Design:SetFrameColor(bFrame)
bFrame:Hide()
--size--
bFrame:SetAllPoints()
--GroupTree--
local tFrame = CreateFrame("Frame", nil, bFrame)
tFrame:SetPoint("TOPLEFT", 0, -5)
tFrame:SetPoint("TOPRIGHT", 0, -5)
tFrame:SetPoint("BOTTOMLEFT", 0, 120)
tFrame:SetPoint("BOTTOMRIGHT", 0, 120)
groupTree = TSMAPI:CreateGroupTree(tFrame, "Warehousing", "Warehousing_Bank")
groupTree:SetPoint("TOPLEFT", 5, -5)
groupTree:SetPoint("BOTTOMRIGHT", -5, 5)
--Buttons--
buttonFrame = CreateFrame("Frame", nil, bFrame)
buttonFrame:SetPoint("TOPLEFT", 0, -330)
buttonFrame:SetPoint("TOPRIGHT", 0, -330)
buttonFrame:SetPoint("BOTTOMLEFT")
buttonFrame:SetPoint("BOTTOMRIGHT")
buttonFrame.btnToBags = createButton(L["Move Group To Bags"], buttonFrame, nil)
buttonFrame.btnToBags:SetPoint("BOTTOM", buttonFrame, "BOTTOM", 0, 75)
buttonFrame.btnToBank = createButton(L["Move Group To Bank"], buttonFrame, nil)
buttonFrame.btnToBank:SetPoint("BOTTOM", buttonFrame, "BOTTOM", 0, 95)
buttonFrame.btnRestock = createButton(L["Restock Bags"], buttonFrame, nil)
buttonFrame.btnRestock:SetPoint("BOTTOM", buttonFrame, "BOTTOM", 0, 45)
buttonFrame.btnEmpty = createButton(L["Empty Bags"], buttonFrame, nil)
buttonFrame.btnEmpty:SetPoint("BOTTOM", buttonFrame, "BOTTOM", 0, 25)
buttonFrame.btnRestore = createButton(L["Restore Bags"], buttonFrame, nil)
buttonFrame.btnRestore:SetPoint("BOTTOM", buttonFrame, "BOTTOM", 0, 5)
bankui:updateButtons()
return bFrame
end
function bankui:updateButtons()
------------------
-- Move to Bank --
------------------
buttonFrame.btnToBank:SetScript("OnClick", function(self)
TSM.move:groupTree(groupTree:GetSelectedGroupInfo(), "bags")
end)
-------------------------
-- Empty / Restore Bags--
-------------------------
buttonFrame.btnEmpty:SetScript("OnClick", function(self) TSM.move:EmptyRestore(currentBank) end)
buttonFrame.btnRestore:SetScript("OnClick", function(self)
TSM.move:EmptyRestore(currentBank, true)
end)
-------------------
-- Move to Bags --
-------------------
buttonFrame.btnToBags:SetScript("OnClick", function(self)
TSM.move:groupTree(groupTree:GetSelectedGroupInfo(), currentBank)
end)
-------------------
-- Restock --
-------------------
buttonFrame.btnRestock:SetScript("OnClick", function(self)
TSM.move:restockGroup(groupTree:GetSelectedGroupInfo())
end)
end
@@ -0,0 +1,235 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- loads the localization table --
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing")
-- load the parent file (TSM) into a local variable and register this file as a module
local TSM = select(2, ...)
local data = TSM:NewModule("data", "AceEvent-3.0")
local AceGUI = LibStub("AceGUI-3.0") -- load the AceGUI librarie
----------------------------------
-- Generates the Bagstate table --
----------------------------------
function data:getEmptyRestoreGroup(container, isGuildBank)
TSM.util:setSrcBagFunctions("bags")
local tmp = {}
local grp = {}
local restore = {}
for i, bagid in ipairs(container) do
for slotid = 1, TSM.util.getContainerNumSlotsSrc(bagid) do
local id, quan = TSM.util.getContainerItemIDSrc(bagid, slotid)
if id then
if not isGuildBank or not TSMAPI:IsSoulbound(bagid, slotid) then
if not tmp[id] then tmp[id] = 0 end
tmp[id] = tmp[id] + quan
end --end if
end --end if id
end --end for slots
end --end for bags
for i, q in pairs(tmp) do
grp[i] = q * -1 -- convert to negative number for TSMAPI:MoveItems
restore[i] = q -- for the restore bagstate
end
TSM.db.factionrealm.BagState = restore
return grp
end
function data:unIndexMoveGroupTree(grpInfo, src)
local newgrp = {}
local totalItems = data:getTotalItems(src)
for groupName, info in pairs(grpInfo) do
groupName = TSMAPI:FormatGroupPath(groupName, true)
for _, opName in ipairs(info.operations) do
TSMAPI:UpdateOperation("Warehousing", opName)
local opSettings = TSM.operations[opName]
if not opSettings then
-- operation doesn't exist anymore in Crafting
TSM:Printf(L["'%s' has a Warehousing operation of '%s' which no longer exists."], groupName, opName)
else
-- it's a valid operation
for itemString in pairs(info.items) do
itemString = TSMAPI:GetItemString(itemString)
local totalq = 0
if totalItems then
totalq = totalItems[itemString] or 0
end
if src == "bags" then -- if moving from bags to bank/gbank
if opSettings.moveQtyEnabled and opSettings.keepBagQtyEnabled then -- move specified quantity but keep x in bags
local q = (totalq - opSettings.keepBagQuantity)
if q > 0 then
--newgrp[itemString] = min(tonumber(q), tonumber(opSettings.moveQuantity))
newgrp[itemString] = max(tonumber(q * -1), tonumber(opSettings.moveQuantity * -1))
end
elseif opSettings.moveQtyEnabled then -- move specified quantity
newgrp[itemString] = tonumber(opSettings.moveQuantity * -1)
elseif opSettings.keepBagQtyEnabled then -- move all but keep x in bags
local q = totalq - opSettings.keepBagQuantity
if q > 0 then
newgrp[itemString] = tonumber(q * -1)
end
else -- move everything
if totalq > 0 then
newgrp[itemString] = tonumber(totalq * -1)
end
end
else -- move from bank/gbank to bags
local stacksize = 1
if opSettings.stackSizeEnabled and opSettings.stackSize then -- only move in multiples of the stack size set
stacksize = opSettings.stackSize
end
if opSettings.moveQtyEnabled and opSettings.keepBankQtyEnabled then -- move specified quantity but keep x in bank
local q = (totalq - opSettings.keepBankQuantity)
if q > 0 then
newgrp[itemString] = floor(min(tonumber(q), tonumber(opSettings.moveQuantity)) / tonumber(stacksize)) * tonumber(stacksize)
end
elseif opSettings.moveQtyEnabled then -- move specified quantity
newgrp[itemString] = floor(tonumber(opSettings.moveQuantity) / tonumber(stacksize)) * tonumber(stacksize)
elseif opSettings.keepBankQtyEnabled then -- move all but keep x in bank
local q = totalq - opSettings.keepBankQuantity
if q > 0 then
newgrp[itemString] = floor(tonumber(q) / tonumber(stacksize)) * tonumber(stacksize)
end
else -- move everything
if totalq > 0 then
newgrp[itemString] = floor(tonumber(totalq) / tonumber(stacksize)) * tonumber(stacksize)
end
end
end
end
end
end
end
return newgrp
end
function data:unIndexRestockGroupTree(grpInfo)
local newgrp = {}
local totalItems = data:getTotalItems("bags")
for groupName, info in pairs(grpInfo) do
groupName = TSMAPI:FormatGroupPath(groupName, true)
for _, opName in ipairs(info.operations) do
TSMAPI:UpdateOperation("Warehousing", opName)
local opSettings = TSM.operations[opName]
if not opSettings then
-- operation doesn't exist anymore in Crafting
TSM:Printf(L["'%s' has a Warehousing operation of '%s' which no longer exists."], groupName, opName)
else
-- it's a valid operation
for itemString in pairs(info.items) do
local totalq = 0
if totalItems then
totalq = totalItems[itemString] or 0
end
if opSettings.restockQtyEnabled then -- work out qty to add or remove from bags
local q = opSettings.restockQuantity - totalq
if q ~= 0 then
newgrp[itemString] = tonumber(q)
end
end
end
end
end
end
return newgrp
end
function data:unIndexItem(searchString, src, quantity)
local newgrp = {}
local totalItems = data:getTotalItems(src) -- table of itemstrings and total qty in source
if totalItems then
local matchedString = TSMAPI:GetBaseItemString(TSMAPI:GetItemString(searchString))
if matchedString then
for itemString, totalQty in pairs(totalItems) do
if TSMAPI:GetBaseItemString(itemString) == matchedString then
if quantity then
if src == "bags" then
newgrp[itemString] = tonumber(quantity * -1)
else
newgrp[itemString] = tonumber(quantity)
end
else
if src == "bags" then
newgrp[itemString] = tonumber(totalQty * -1)
else
newgrp[itemString] = tonumber(totalQty)
end
end
end
end
else
for itemString, totalQty in pairs(totalItems) do
local name = strlower(TSMAPI:GetSafeItemInfo(itemString))
if strfind(name, strlower(searchString)) then
if quantity then
if src == "bags" then
newgrp[itemString] = tonumber(quantity * -1)
else
newgrp[itemString] = tonumber(quantity)
end
else
if src == "bags" then
newgrp[itemString] = tonumber(totalQty * -1)
else
newgrp[itemString] = tonumber(totalQty)
end
end
end
end
end
end
return newgrp
end
function data:getTotalItems(src)
local results = {}
if src == "bank" then
local function ScanBankBag(bag)
for slot = 1, GetContainerNumSlots(bag) do
local itemString = TSMAPI:GetBaseItemString(GetContainerItemLink(bag, slot), true)
if itemString then
local quantity = select(2, GetContainerItemInfo(bag, slot))
if not results[itemString] then results[itemString] = 0 end
results[itemString] = results[itemString] + quantity
end
end
end
for bag = NUM_BAG_SLOTS + 1, NUM_BAG_SLOTS + NUM_BANKBAGSLOTS do
ScanBankBag(bag)
end
ScanBankBag(-1)
return results
elseif src == "guildbank" then
for bag = 1, GetNumGuildBankTabs() do
for slot = 1, MAX_GUILDBANK_SLOTS_PER_TAB or 98 do
local link = GetGuildBankItemLink(bag, slot)
local itemString = TSMAPI:GetBaseItemString(link, true)
if itemString then
local quantity = select(2, GetGuildBankItemInfo(bag, slot))
if not results[itemString] then results[itemString] = 0 end
results[itemString] = results[itemString] + quantity
end
end
end
return results
elseif src == "bags" then
for _, _, itemString, quantity in TSMAPI:GetBagIterator(true) do
results[itemString] = (results[itemString] or 0) + quantity
end
return results
end
end
@@ -0,0 +1,160 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- loads the localization table --
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing")
-- load the parent file (TSM) into a local variable and register this file as a module
local TSM = select(2, ...)
local move = TSM:NewModule("move", "AceEvent-3.0")
local AceGUI = LibStub("AceGUI-3.0") -- load the AceGUI libraries
function move:restockGroup(grpInfo)
local restockItems, next = TSM.data:unIndexRestockGroupTree(grpInfo), next
if next(restockItems) == nil then
TSM:Print(L["Nothing to Restock"])
else
TSM:Print(L["Restocking"])
TSMAPI:MoveItems(restockItems, TSM.PrintMsg)
end
end
function move:groupTree(grpInfo, src)
local moveItems, next = TSM.data:unIndexMoveGroupTree(grpInfo, src), next
if next(moveItems) == nil then
TSM:Print(L["Nothing to Move"])
else
TSM:Print(L["Preparing to Move"])
TSMAPI:MoveItems(moveItems, TSM.PrintMsg)
end
end
function move:EmptyRestore(dest, restore)
local moveItems
local next = next
local isGuildBank = false
if dest == "guildbank" then
isGuildBank = true
else
isGuildBank = false
end
if restore then
moveItems = TSM.db.factionrealm.BagState
else
local srcTable = move:getContainerTable("bags")
moveItems = TSM.data:getEmptyRestoreGroup(srcTable, isGuildBank)
end
if next(moveItems) == nil then
TSM:Print(L["Nothing to Move"])
else
TSM:Print(L["Preparing to Move"])
TSMAPI:MoveItems(moveItems, TSM.PrintMsg, true)
if restore then
TSM.db.factionrealm.BagState = {}
end
end
end
function move:manualMove(searchString, src, quantity)
local moveItems = TSM.data:unIndexItem(searchString, src, quantity)
local next = next
if next(moveItems) == nil then
TSM:Print(L["Nothing to Move"])
else
TSM:Print(L["Preparing to Move"])
TSMAPI:MoveItems(moveItems, TSM.PrintMsg)
end
end
function move:getContainerTable(cnt)
local t = {}
if cnt == "bank" then
local numSlots, _ = GetNumBankSlots()
for i = 1, numSlots + 1 do
if i == 1 then
t[i] = -1
else
t[i] = i + 3
end
end
return t
elseif cnt == "guildbank" then
for i = 1, GetNumGuildBankTabs() do
local canView, canDeposit, stacksPerDay = GetGuildBankTabInfo(i);
if canView and canDeposit and stacksPerDay then
t[i] = i
end
end
return t
elseif cnt == "bags" then
for i = 1, NUM_BAG_SLOTS + 1 do t[i] = i - 1
end
return t
end
end
function move:areBanksVisible()
if BagnonFrameguildbank and BagnonFrameguildbank:IsVisible() then
return true
elseif BagnonFramebank and BagnonFramebank:IsVisible() then
return true
elseif GuildBankFrame and GuildBankFrame:IsVisible() then
return true
elseif BankFrame and BankFrame:IsVisible() then
return true
elseif (ARKINV_Frame4 and ARKINV_Frame4:IsVisible()) or (ARKINV_Frame3 and ARKINV_Frame3:IsVisible()) then
return true
elseif (BagginsBag8 and BagginsBag8:IsVisible()) or (BagginsBag9 and BagginsBag9:IsVisible()) or (BagginsBag10 and BagginsBag10:IsVisible()) or (BagginsBag11 and BagginsBag11:IsVisible()) or (BagginsBag12 and BagginsBag12:IsVisible()) then
return true
elseif (CombuctorFrame2 and CombuctorFrame2:IsVisible()) then
return true
elseif (BaudBagContainer2_1 and BaudBagContainer2_1:IsVisible()) then
return true
elseif (AdiBagsContainer2 and AdiBagsContainer2:IsVisible()) then
return true
elseif (OneBankFrame and OneBankFrame:IsVisible()) then
return true
elseif (EngBank_frame and EngBank_frame:IsVisible()) then
return true
elseif (TBnkFrame and TBnkFrame:IsVisible()) then
return true
elseif (famBankFrame and famBankFrame:IsVisible()) then
return true
elseif (LUIBank and LUIBank:IsVisible()) then
return true
elseif (ElvUI_BankContainerFrame and ElvUI_BankContainerFrame:IsVisible()) then
return true
elseif (TukuiBank and TukuiBank:IsShown()) then
return true
elseif (AdiBagsContainer1 and AdiBagsContainer1.isBank and AdiBagsContainer1:IsVisible()) or (AdiBagsContainer2 and AdiBagsContainer2.isBank and AdiBagsContainer2:IsVisible()) then
return true
elseif BagsFrameBank and BagsFrameBank:IsVisible() then
return true
elseif AspUIBank and AspUIBank:IsVisible() then
return true
elseif NivayacBniv_Bank and NivayacBniv_Bank:IsVisible() then
return true
elseif DufUIBank and DufUIBank:IsVisble() then
return true
end
TSM:Print(L["Canceled"])
return nil
end
function TSM.PrintMsg(message)
TSM:Print(message)
end
@@ -0,0 +1,432 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- load the parent file (TSM) into a local variable and register this file as a module
local TSM = select(2, ...)
local Options = TSM:NewModule("Options", "AceEvent-3.0", "AceHook-3.0")
local AceGUI = LibStub("AceGUI-3.0") -- load the AceGUI libraries
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing") -- loads the localization table
local function getHelpString1()
return
L["Warehousing will try to get the right number of items, if there are not enough in the bank to fill out the order, it will grab all that there is."]
end
local function getHelpString2()
return
L["1) Select Operations on the left menu and type a name in the textbox labeled \"Operation Name\", hit okay"] .. "\n" ..
L["2) You can delete an operation by selecting the operation and then under Operation Management click the button labelled \"Delete Operation\". "]
end
local function getHelpString3()
return
L["Simply hit empty bags, warehousing will remember what you had so that when you hit restore, it will grab all those items again. If you hit empty bags while your bags are empty it will overwrite the previous bag state, so you will not be able to use restore."]
end
local function getHelpString4()
return
L["1) Open up a bank (either the gbank or personal bank)"] .. "\n" ..
L["2) You should see a window on your right with a list of groups"] .. "\n" ..
format(L["3) Select one or more groups and hit either %s or %s"], "\"" .. L["Move Group To Bank"] .. "\"", "\"" .. L["Move Group To Bags"] .. "\"")
end
local function getHelpString5()
return
L["You can use the following slash commands to get items from or put items into your bank or guildbank."] .. "\n" ..
L["/tsm get/put X Y - X can be either an itemID, ItemLink (shift-click item) or partial text. Y is optionally the quantity you want to move."] .. "\n\n" ..
L["Example 1: /tsm get glyph 20 - get up to 20 of each item in your bank/guildbank where the name contains" .. "\"" .. "glyph" .. "\"" .. " and place them in your bags."] .. "\n\n" ..
L["Example 2: /tsm put 74249 - get all of item 74249 (Spirit Dust) from your bags and put them in your bank/guildbank"]
end
local function getHelpString6()
return
L["You can toggle the Bank UI by typing the command "] .. "/tsm bankui "
end
local function CreateOperation(name)
TSM.operations[name] = CopyTable(TSM.operationDefaults)
end
local function DeleteOperation(name)
TSM.operations[name] = nil
end
function Options:Load(parent, operation, group)
Options.treeGroup = AceGUI:Create("TSMTreeGroup")
Options.treeGroup:SetLayout("Fill")
Options.treeGroup:SetCallback("OnGroupSelected", function(...) Options:SelectTree(...) end)
Options.treeGroup:SetStatusTable(TSM.db.global.optionsTreeStatus)
parent:AddChild(Options.treeGroup)
Options:UpdateTree()
if operation then
if operation == "" then
Options.currentGroup = group
Options.treeGroup:SelectByPath(2)
Options.currentGroup = nil
else
Options.treeGroup:SelectByPath(2, operation)
end
else
Options.treeGroup:SelectByPath(1)
end
end
function Options:UpdateTree()
local operationTreeChildren = {}
for name in pairs(TSM.operations) do
tinsert(operationTreeChildren, { value = name, text = name })
end
sort(operationTreeChildren, function(a, b) return a.value < b.value end)
Options.treeGroup:SetTree({ { value = 1, text = L["Help"] }, { value = 2, text = L["Operations"], children = operationTreeChildren } })
end
function Options:SelectTree(treeGroup, _, selection)
treeGroup:ReleaseChildren()
local major, minor = ("\001"):split(selection)
major = tonumber(major)
if major == 1 then
Options:DrawHelp(treeGroup)
elseif minor then
Options:DrawOperationSettings(treeGroup, minor)
else
Options:DrawNewOperation(treeGroup)
end
end
function Options:DrawHelp(container)
local page = {
{
type = "ScrollFrame",
layout = "List",
children = {
{
type = "InlineGroup",
layout = "flow",
title = "TSM_Warehousing",
children = {
{
type = "Label",
text = getHelpString1(),
relativeWidth = 1,
},
},
},
{
type = "Spacer",
},
{
type = "InlineGroup",
layout = "flow",
title = L["To create a Warehousing Operation"],
children = {
{
type = "Label",
text = getHelpString2(),
relativeWidth = 1,
},
},
},
{
type = "Spacer",
},
{
type = "InlineGroup",
layout = "flow",
title = L["Empty Bags/Restore Bags"],
children = {
{
type = "Label",
text = getHelpString3(),
relativeWidth = 1,
},
},
},
{
type = "Spacer",
},
{
type = "InlineGroup",
layout = "flow",
title = L["To move a Group"],
children = {
{
type = "Label",
text = getHelpString4(),
relativeWidth = 1,
},
},
},
{
type = "Spacer",
},
{
type = "InlineGroup",
layout = "flow",
title = L["Slash Commands"],
children = {
{
type = "Label",
text = getHelpString5(),
relativeWidth = 1,
},
},
},
{
type = "InlineGroup",
layout = "flow",
title = L["Bank UI"],
children = {
{
type = "Label",
text = getHelpString6(),
relativeWidth = 1,
},
},
}
}
}
}
TSMAPI:BuildPage(container, page)
end
function Options:DrawNewOperation(container)
local currentGroup = Options.currentGroup
local page = {
{
-- scroll frame to contain everything
type = "ScrollFrame",
layout = "List",
children = {
{
type = "InlineGroup",
layout = "flow",
title = L["New Operation"],
children = {
{
type = "Label",
text = L["Warehousing operations contain settings for moving the items in a group. Type the name of the new operation into the box below and hit 'enter' to create a new Warehousing operation."],
relativeWidth = 1,
},
{
type = "EditBox",
label = L["Operation Name"],
relativeWidth = 0.8,
callback = function(self, _, name)
name = (name or ""):trim()
if name == "" then return end
if TSM.operations[name] then
self:SetText("")
return TSM:Printf(L["Error creating operation. Operation with name '%s' already exists."], name)
end
CreateOperation(name)
Options:UpdateTree()
Options.treeGroup:SelectByPath(2, name)
TSMAPI:NewOperationCallback("Warehousing", currentGroup, name)
end,
tooltip = L["Give the new operation a name. A descriptive name will help you find this operation later."],
},
},
},
},
},
}
TSMAPI:BuildPage(container, page)
end
function Options:DrawOperationSettings(container, operationName)
local tg = AceGUI:Create("TSMTabGroup")
tg:SetLayout("Fill")
tg:SetFullHeight(true)
tg:SetFullWidth(true)
tg:SetTabs({{value=1, text=L["General"]}, {value=2, text=L["Relationships"]}, {value=3, text=L["Management"]}})
tg:SetCallback("OnGroupSelected", function(self,_,value)
tg:ReleaseChildren()
TSMAPI:UpdateOperation("Warehousing", operationName)
if value == 1 then
Options:DrawOperationGeneral(self, operationName)
elseif value == 2 then
Options:DrawOperationRelationships(self, operationName)
elseif value == 3 then
TSMAPI:DrawOperationManagement(TSM, self, operationName)
end
end)
container:AddChild(tg)
tg:SelectTab(1)
end
function Options:DrawOperationGeneral(container, operationName)
local operationSettings = TSM.operations[operationName]
local page = {
{
-- scroll frame to contain everything
type = "ScrollFrame",
layout = "List",
children = {
{
type = "InlineGroup",
layout = "flow",
title = L["Move Quantity Settings"],
children = {
{
type = "CheckBox",
label = L["Set Move Quantity"],
relativeWidth = 0.35,
settingInfo = {operationSettings, "moveQtyEnabled"},
callback = function() container:ReloadTab() end,
tooltip = L["Enable this to set the quantity to move, if disabled Warehousing will move all of the item"],
},
{
-- slider to set the move quantity
type = "Slider",
settingInfo = {operationSettings, "moveQuantity"},
label = L["Move Quantity"],
disabled = not operationSettings.moveQtyEnabled,
isPercent = false,
min = 1,
max = 5000,
step = 1,
relativeWidth = 0.65,
tooltip = L["Warehousing will move this number of each item"],
},
{
type = "Spacer",
},
{
type = "CheckBox",
label = L["Set Stack Size for bags"],
relativeWidth = 0.35,
settingInfo = {operationSettings, "stackSizeEnabled"},
callback = function() container:ReloadTab() end,
tooltip = L["Enable this to set the stack size multiple to be moved"],
},
{
-- slider to set the move quantity
type = "Slider",
settingInfo = {operationSettings, "stackSize"},
label = L["Stack Size Multiple"],
disabled = not operationSettings.stackSizeEnabled,
isPercent = false,
min = 1,
max = 200,
step = 1,
relativeWidth = 0.65,
tooltip = L["Warehousing will only move items in multiples of the stack size set when moving to your bags, this is useful for milling/prospecting etc to ensure you don't move items you can't process"],
},
{
type = "Spacer",
},
{
type = "CheckBox",
settingInfo = {operationSettings, "keepBagQtyEnabled"},
label = L["Set Keep in Bags Quantity"],
relativeWidth = 0.35,
callback = function() container:ReloadTab() end,
tooltip = L["Enable this to set the quantity to keep back in your bags"],
},
{
-- slider to set the keep bags qty
type = "Slider",
settingInfo = {operationSettings, "keepBagQuantity"},
label = L["Keep in Bags Quantity"],
disabled = not operationSettings.keepBagQtyEnabled,
isPercent = false,
min = 1,
max = 5000,
step = 1,
relativeWidth = 0.65,
tooltip = L["Warehousing will ensure this number remain in your bags when moving items to the bank / guildbank."],
},
{
type = "Spacer",
},
{
type = "CheckBox",
settingInfo = {operationSettings, "keepBankQtyEnabled"},
label = L["Set Keep in Bank Quantity"],
relativeWidth = 0.35,
callback = function() container:ReloadTab() end,
tooltip = L["Enable this to set the quantity to keep back in your bank / guildbank"],
},
{
-- slider to set the keep bank qty
type = "Slider",
settingInfo = {operationSettings, "keepBankQuantity"},
label = L["Keep in Bank/GuildBank Quantity"],
disabled = not operationSettings.keepBankQtyEnabled,
isPercent = false,
min = 1,
max = 5000,
step = 1,
relativeWidth = 0.65,
tooltip = L["Warehousing will ensure this number remain in your bank / guildbank when moving items to your bags."],
},
},
},
{
type = "Spacer",
},
{
type = "InlineGroup",
layout = "flow",
title = L["Restock Settings"],
children = {
{
type = "CheckBox",
settingInfo = {operationSettings, "restockQtyEnabled"},
label = L["Enable Restock"],
relativeWidth = 0.25,
callback = function() container:ReloadTab() end,
tooltip = L["Enable this to set the restock quantity"],
},
{
-- slider to set the move quantity
type = "Slider",
settingInfo = {operationSettings, "restockQuantity"},
label = L["Restock Quantity"],
disabled = not operationSettings.restockQtyEnabled,
isPercent = false,
min = 1,
max = 5000,
step = 1,
relativeWidth = 0.75,
tooltip = L["Warehousing will restock your bags up to this number of items"],
},
},
},
},
},
}
TSMAPI:BuildPage(container, page)
end
function Options:DrawOperationRelationships(container, operationName)
local settingInfo = {
{
label = L["Move Quantity Settings"],
{key="moveQtyEnabled", label=L["Set Move Quantity"]},
{key="moveQuantity", label=L["Move Quantity"]},
{key="keepBagQtyEnabled", label=L["Set Keep in Bags Quantity"]},
{key="keepBagQuantity", label=L["Keep in Bags Quantity"]},
{key="keepBankQtyEnabled", label=L["Set Keep in Bank Quantity"]},
{key="keepBankQuantity", label=L["Keep in Bank/GuildBank Quantity"]},
},
{
label = L["Restock Settings"],
{key="restockQtyEnabled", label=L["Enable Restock"]},
{key="restockQuantity", label=L["Restock Quantity"]},
},
}
TSMAPI:ShowOperationRelationshipTab(TSM, container, TSM.operations[operationName], settingInfo)
end
@@ -0,0 +1,125 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- loads the localization table --
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing")
-- load the parent file (TSM) into a local variable and register this file as a module
local TSM = select(2, ...)
local util = TSM:NewModule("util", "AceEvent-3.0")
local AceGUI = LibStub("AceGUI-3.0") -- load the AceGUI libraries
-- this is a set of wrapper functions so that I can switch
-- between guildbank and bank function easily
util.pickupContainerItemSrc = nil
util.getContainerItemIDSrc = nil
util.getContainerNumSlotsSrc = nil
util.getContainerItemLinkSrc = nil
util.getContainerNumFreeSlotsSrc = nil
util.splitContainerItemSrc = nil
util.pickupContainerItemDest = nil
util.getContainerItemIDDest = nil
util.getContainerNumSlotsDest = nil
util.getContainerItemLinkDest = nil
util.getContainerNumFreeSlotsDest = nil
util.getItemString = nil
util.autoStoreItem = nil
function util:setSrcBagFunctions(bagType)
if bagType == "guildbank" then
util.autoStoreItem = function(bag, slot) AutoStoreGuildBankItem(bag, slot) end
util.splitContainerItemSrc = function(bag, slot, need) SplitGuildBankItem(bag, slot, need); end
util.pickupContainerItemSrc = function(bag, slot) PickupGuildBankItem(bag, slot) end
util.getContainerNumSlotsSrc = function(bag) return MAX_GUILDBANK_SLOTS_PER_TAB or 98 end
util.getContainerItemLinkSrc = function(bag, slot) return GetGuildBankItemLink(bag, slot) end
util.getContainerNumFreeSlotsSrc = function(bag) return MAX_GUILDBANK_SLOTS_PER_TAB or 98 end --need to change this eventually
util.getContainerItemIDSrc = function(bag, slot)
local tmpLink = GetGuildBankItemLink(bag, slot)
local quantity = select(2, GetGuildBankItemInfo(bag, slot))
if tmpLink then
return TSMAPI:GetItemString(tmpLink), quantity
else
return nil
end
end
elseif bagType == "mail" then
util.autoStoreItem = function(bag, slot) TakeInboxItem(bag, slot) end
util.splitContainerItemSrc = function(bag, slot, need) TakeInboxItem(bag, slot) end
util.pickupContainerItemSrc = function(bag, slot) return end
util.getContainerItemIDSrc = function(bag, slot)
local quantity = select(3, GetInboxItem(bag, slot))
local tmpLink = GetInboxItemLink(bag, slot)
return TSMAPI:GetItemString(tmpLink), quantity
end
util.getContainerNumSlotsSrc = function(bag) return 16 end
util.getContainerItemLinkSrc = function(bag, slot) return GetInboxItemLink(bag, slot) end
util.getContainerNumFreeSlotsSrc = function(bag) return 16 end
else
util.autoStoreItem = function(bag, slot) UseContainerItem(bag, slot) end
util.splitContainerItemSrc = function(bag, slot, need) SplitContainerItem(bag, slot, need) end
util.pickupContainerItemSrc = function(bag, slot) PickupContainerItem(bag, slot) end
util.getContainerItemIDSrc = function(bag, slot)
local tmpLink = GetContainerItemLink(bag, slot)
local quantity = select(2, GetContainerItemInfo(bag, slot))
return TSMAPI:GetItemString(tmpLink), quantity
end
util.getContainerNumSlotsSrc = function(bag) return GetContainerNumSlots(bag) end
util.getContainerItemLinkSrc = function(bag, slot) return GetContainerItemLink(bag, slot) end
util.getContainerNumFreeSlotsSrc = function(bag) return GetContainerNumFreeSlots(bag) end
end
end
function util:setDestBagFunctions(bagType)
if bagType == "guildbank" then
util.pickupContainerItemDest = function(bag, slot) PickupGuildBankItem(bag, slot) end
util.getContainerNumSlotsDest = function(bag) return 98 end
util.getContainerNumFreeSlotsDest = function(bag) return 98 end --need to change this eventually
util.getContainerItemLinkDest = function(bag, slot) return GetGuildBankItemLink(bag, slot) end
util.getContainerItemIDDest = function(bag, slot)
local tmpLink = GetGuildBankItemLink(bag, slot)
local quantity = select(2, GetGuildBankItemInfo(bag, slot))
if tmpLink then
return TSMAPI:GetItemString(tmpLink), quantity
else
return nil
end
end
else
util.pickupContainerItemDest = function(bag, slot) PickupContainerItem(bag, slot) end
util.getContainerItemIDDest = function(bag, slot)
local tmpLink = GetContainerItemLink(bag, slot)
local quantity = select(2, GetContainerItemInfo(bag, slot))
return TSMAPI:GetItemString(tmpLink), quantity
end
util.getContainerNumSlotsDest = function(bag) return GetContainerNumSlots(bag) end
util.getContainerItemLinkDest = function(bag, slot) return GetContainerItemLink(bag, slot) end
util.getContainerNumFreeSlotsDest = function(bag) return GetContainerNumFreeSlots(bag) end
end
end
--
--This will find a special bag for your special item
--
function util:canGoInBag(item, destTable)
local itemFamily = GetItemFamily(item)
local default
for bag, _ in pairs(destTable) do
local bagFamily = GetItemFamily(GetBagName(bag)) or 0
if itemFamily and bagFamily and bagFamily > 0 and bit.band(itemFamily, bagFamily) > 0 then
return bag
elseif bagFamily == 0 then
default = bag
end
end
return default
end
@@ -0,0 +1,240 @@
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster_Warehousing --
-- http://www.curse.com/addons/wow/tradeskillmaster_warehousing --
-- --
-- A TradeSkillMaster Addon (http://tradeskillmaster.com) --
-- All Rights Reserved* - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
-- setup
local TSM = select(2, ...)
TSM = LibStub("AceAddon-3.0"):NewAddon(TSM, "TSM_Warehousing", "AceEvent-3.0", "AceConsole-3.0")
local AceGUI = LibStub("AceGUI-3.0")
-- loads the localization table --
local L = LibStub("AceLocale-3.0"):GetLocale("TradeSkillMaster_Warehousing")
-- default values for the savedDB
local savedDBDefaults = {
-- any global
global = {
defaultIncrement = 1,
isBankui = true,
ShowLogData = false,
DefaultTimeOut = 4,
optionsTreeStatus = {},
},
-- data that is stored per realm/faction combination
factionrealm = {
BagState = {},
},
-- data that is stored per user profile
profile = {},
}
local bankUI
local bankFrame
local bank
-- Called once the player has loaded into the game
-- Anything that needs to be done in order to initialize the addon should go here
function TSM:OnEnable()
for name, module in pairs(TSM.modules) do
TSM[name] = module
end
-- load the saved variables table into TSM.db
TSM.db = LibStub:GetLibrary("AceDB-3.0"):New("TradeSkillMaster_WarehousingDB", savedDBDefaults, true)
-- register the module with TSM
TSM:RegisterModule()
if TSM.db.factionrealm.WarehousingGroups then -- remove old 1.x data on first load of 2.0
for key in pairs(TSM.db.factionrealm) do
TSM.db.factionrealm[key] = nil
end
end
--add stackSize to operation if it doesn't exist
for name in pairs(TSM.operations) do
TSMAPI:UpdateOperation("Warehousing", name)
local settings = TSM.operations[name]
if not settings then return end
if not settings.stackSize then
settings.stackSize = 5
end
end
TSM:RegisterEvent("GUILDBANKFRAME_OPENED", function(event)
bank = "guildbank"
end)
TSM:RegisterEvent("BANKFRAME_OPENED", function(event)
bank = "bank"
end)
TSM:RegisterEvent("GUILDBANKFRAME_CLOSED", function(event, addon)
bank = nil
end)
TSM:RegisterEvent("BANKFRAME_CLOSED", function(event)
bank = nil
end)
end
function TSM:RegisterModule()
TSM.slashCommands = {
{ key = "movedata", label = L["Displays realtime move data."], callback = "SetLogFlag" },
{ key = "get", label = L["Gets items from the bank or guild bank matching the itemstring, itemID or partial text entered."], callback = "GetItem" },
{ key = "put", label = L["Puts items matching the itemstring, itemID or partial text entered into the bank or guild bank."], callback = "PutItem" },
}
TSM.operations = { maxOperations = 1, callbackOptions = "Options:Load", callbackInfo = "GetOperationInfo" }
TSM.bankUiButton = { callback = "bankui:createTab" }
TSMAPI:NewModule(TSM)
end
TSM.operationDefaults = {
moveQtyEnabled = nil,
moveQuantity = 1, -- move 1
keepBagQtyEnabled = nil,
keepBagQuantity = 1, -- keep 1 in bags
keepBankQtyEnabled = nil,
keepBankQuantity = 1, --keep 1 in bank
restockQtyEnabled = nil,
restockQuantity = 1, --restock 1
stackSize = 5,
stackSizeEnabled = nil,
ignorePlayer = {},
ignoreFactionrealm = {},
relationships = {},
}
function TSM:GetOperationInfo(name)
TSMAPI:UpdateOperation("Warehousing", name)
local settings = TSM.operations[name]
if not settings then return end
if (settings.keepBagQtyEnabled or settings.keepBankQtyEnabled) and not settings.moveQtyEnabled then
if settings.keepBagQtyEnabled then
if settings.keepBankQtyEnabled then
if settings.restockQtyEnabled then
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."], settings.keepBagQuantity, settings.keepBankQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."], settings.keepBagQuantity, settings.keepBankQuantity)
end
else
if settings.restockQtyEnabled then
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."], settings.keepBagQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bags > bank/gbank."], settings.keepBagQuantity)
end
end
else
if settings.restockQtyEnabled then
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."], settings.keepBankQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move all of the items in this group keeping %d of each item back when bank/gbank > bags."], settings.keepBankQuantity)
end
end
elseif (settings.keepBagQtyEnabled or settings.keepBankQtyEnabled) and settings.moveQtyEnabled then
if settings.keepBagQtyEnabled then
if settings.keepBankQtyEnabled then
if settings.restockQtyEnabled then
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."], settings.moveQuantity, settings.keepBagQuantity, settings.keepBankQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank, %d of each item back when bank/gbank > bags."], settings.moveQuantity, settings.keepBagQuantity, settings.keepBankQuantity)
end
else
if settings.restockQtyEnabled then
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank. Restock will maintain %d items in your bags."], settings.keepBankQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bags > bank/gbank."], settings.keepBankQuantity)
end
end
else
if settings.restockQtyEnabled then
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags. Restock will maintain %d items in your bags."], settings.moveQuantity, settings.keepBankQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move a max of %d of each item in this group keeping %d of each item back when bank/gbank > bags."], settings.moveQuantity, settings.keepBankQuantity)
end
end
elseif settings.moveQtyEnabled then
if settings.restockQtyEnabled then
return format(L["Warehousing will move a max of %d of each item in this group. Restock will maintain %d items in your bags."], settings.moveQuantity, settings.restockQuantity)
else
return format(L["Warehousing will move a max of %d of each item in this group."], settings.moveQuantity)
end
else
if settings.restockQtyEnabled then
return format(L["Warehousing will move all of the items in this group. Restock will maintain %d items in your bags."], settings.restockQuantity)
else
return L["Warehousing will move all of the items in this group."]
end
end
end
function TSM:IsOperationIgnored(operationName)
TSMAPI:UpdateOperation("Warehousing", operationName)
local operation = TSM.operations[operationName]
if not operation then return end
local playerKey = UnitName("player").." - "..TSM.db.keys.factionrealm
return operation.ignorePlayer[playerKey] or operation.ignoreFactionrealm[TSM.db.keys.factionrealm]
end
function TSM:toggleBankUI()
if TSM.move:areBanksVisible() then
bankUI = TSM.bankui:getFrame(bankFrame)
TSM.db.global.isBankui = true
else
TSM:Print(L["There are no visible banks."])
end
end
function TSM:SetLogFlag()
if TSM.db.global.ShowLogData then
TSM.db.global.ShowLogData = false
TSM:Print(L["Move Data has been turned off"])
else
TSM.db.global.ShowLogData = true
TSM:Print(L["Move Data has been turned on"])
end
end
function TSM:GetItem(args)
if args then
if TSM.move:areBanksVisible() then
local quantity = tonumber(strmatch(args, " ([0-9]+)$"))
local searchString = gsub(args, " ([0-9]+)$", "")
if not searchString and TSMAPI:GetSafeItemInfo(quantity) then -- incase an itemID was entered but no qty then the strmatch would have incorrectly set as quantity
searchString = quantity
quantity = nil
end
TSM.move:manualMove(searchString, bank, quantity)
else
TSM:Print(L["There are no visible banks."])
end
else
TSM:Print(L["Invalid criteria entered."])
end
end
function TSM:PutItem(args)
if args then
if TSM.move:areBanksVisible() then
local quantity = tonumber(strmatch(args, " ([0-9]+)$"))
local searchString = gsub(args, " ([0-9]+)$", "")
if not searchString and TSMAPI:GetSafeItemInfo(quantity) then -- incase an itemID was entered but no qty then the strmatch would have incorrectly set as quantity
searchString = quantity
quantity = nil
end
TSM.move:manualMove(searchString, "bags", quantity)
else
TSM:Print(L["There are no visible banks."])
end
else
TSM:Print(L["Invalid criteria entered."])
end
end
@@ -0,0 +1,26 @@
## Interface: 30300
## Title: |cff00ff00TradeSkillMaster_Warehousing|r
## Notes: Manages your inventory by allowing you to easily move predefined groups of items between your bags, bank, and guild bank.
## Author: Sapu94, Bart39
## Version: v2.0.10
## SavedVariables: TradeSkillMaster_WarehousingDB
## Dependency: TradeSkillMaster
Locale\enUS.lua
Locale\frFR.lua
Locale\deDE.lua
Locale\koKR.lua
Locale\esMX.lua
Locale\ruRU.lua
Locale\zhCN.lua
Locale\esES.lua
Locale\zhTW.lua
Locale\ptBR.lua
TradeSkillMaster_Warehousing.lua
Modules\options.lua
Modules\move.lua
Modules\util.lua
Modules\data.lua
Modules\bankui.lua