local _, ns = ... --... devuelve el nombre del addon, namespace: una global que se comparte en todos los ficheros para compartir las variables local de cada fichero.
local L = {}
ns.L = setmetatable(L,{__index=function(table,key) --pone la metatabla y devuelve la tabla en uno, con el error __index ejecuta la función
	local value = tostring(key)
	rawset(table,key,value) --añade value a la tabla con la misma clave sin ejecutar la metatabla
	return key
end});
----------------------------------------------------------------------
--El código encima de esto se puede ignorar para buscar la traducción.
----------------------------------------------------------------------

L["Hello World"] = "Hello World"
L["Rings, Trinkets, Necks"] = "Accesories"
L["Grays"] = "A/W Grays"
L["Whites"] = "A/W Whites" 
L["Clear Scrap"] = "Clear Scrap"
L["Sets the max range of the gold slider for better accuracy"] = "Sets the max range of the gold slider for better accuracy."
L["It sets the step increments according with the range"] = "It sets the step increments according with the range."
L["Slider"] = "Slider"
L["Choose a gold value to flag Scrap that cost less than it"] = "Choose a gold value to flag Scrap that cost less than it. AutoScrap will sell any item that cost less that the slider gold value in the AuctionHouse, except if you have a different condition for a group of items in other menu of this Addon."
L["Mousewheel also works"] = "Mousewheel also works."
L["It uses the TSM Dbmarket data (your current server prices) to get the selling price in the auction house."] = "It uses the TSM Dbmarket data (your current server prices) to get the selling price in the auction house."
L["If dbregionmarketavg is also on, then It will get the best selling price between the 2"] = "If dbregionmarketavg is also on, then It will get the best selling price between the 2."
L["It uses the TSM Dbregionmarketavg data (An average price between all your region servers) to get the selling price in the auction house."] = "It uses the TSM Dbregionmarketavg data (An average price between all your region servers) to get the selling price in the auction house."
L["If Dbmarket is also on, then It will get the best selling price between the 2"] = "If Dbmarket is also on, then It will get the best selling price between the 2."
L["Always Scrap all the rings, trinkets and necks, whatever is their selling price in the AH"] = "Always Scrap all the rings, trinkets and necks, whatever is their selling price in the AH. You can setup a modifier by clicking the SET button, but don't forget to tick the checkbox to apply it"
L["Always Scrap all the gray items, no matter of their selling price in the AH"] = "Always Scrap all the gray armors and gray weapons, no matter of their selling price in the AH. You can setup a modifier by clicking the SET button, but don't forget to tick the checkbox to apply it"
L["Always Scrap all the white items, no matter of their selling price in the AH"] = "Always Scrap all the white armors and white weapons, no matter of their selling price in the AH. You can setup a modifier by clicking the SET button, but don't forget to tick the checkbox to apply it"
L["It removes the current selection of Scrap items of your inventory"] = "It removes the current selection of Scrap items of your inventory."
L["It removes only the scrap marks, it doesn't destroy the items"] = "It removes only the scrap marks, it doesn't destroy the items."
L["When AutoScrap is set to On (bubble gum color) it will mark as Scrap all the items in your inventory when you loot them"] ="When AutoScrap is set to On (bubble gum color) it will mark as junk all the items in your inventory when you loot them if their sell price in the AH (or npc vendor) is lower than the slider value"
L["I will run automatically all the time unless you turned it off."]="I will run automatically all the time unless you turned off."
L["This addon only mark items as scrap, it doesn't destroy or sell them, they will get sold with the Scrap addon when you open the vender NPC"]="The items flagged as junk will be sold in a npc vender when you visit it. If you dont want to sell a special item for you, you can add it to the whitelist. Also if you want to sell always an item, you can add it with the manual hotkey."
L["|cffff0000No|r |cff00ff00TSM 4|r |cffff0000 found|r"] = "|cffff0000No|r |cff00ff00TSM 4|r |cffff0000 found|r"
L["|cffff0000https://www.tradeskillmaster.com/install|r"] = "|cffff0000https://www.tradeskillmaster.com/install|r"
L["|cffff0000No addon|r |cff00ff00Scrap|r |cffff0000found, we need it also appart of AutoScrap"] = "|cffff0000No addon|r |cff00ff00Scrap|r |cffff0000found, we need it also"
L["|cffff0000https://www.curseforge.com/wow/addons/scrap|r"] = "|cffff0000https://www.curseforge.com/wow/addons/scrap|r"
L["Old 'Scrapear' files instalation still present"] = "Old 'Scrapear' files instalation still present"
L["Delete the folder 'Scrapear' in the _retail_/Interface/AddOns folder of WoW"] = "Delete the folder 'Scrapear' in the _retail_/Interface/AddOns folder of WoW"
L["You can setup a stop loss to sell all the Rings, Trinkets and Necks."] = "You can setup a stop loss to sell all the Rings, Trinkets and Necks."
L["For example: You can sell all Rings but under 25,000 gold or 0.08 Sell rate insted of ANY."] = "For example: You can sell all Rings but under 25,000 gold or 0.08 Sell rate insted of ANY."
L["You can setup a stop loss to sell all the gray armors and weapons."] = "You can setup a stop loss to sell all the gray armors and weapons."
L["For example: You can sell all Gray Weapons but under 25,000 gold or 0.08 Sell rate insted of ANY."] = "For example: You can sell all Gray Weapons but under 25,000 gold or 0.08 Sell rate insted of ANY."
L["You can setup a stop loss to sell all the white armors and weapons."] = "You can setup a stop loss to sell all the white armors and weapons."
L["For example: You can sell all white Armors but under 25,000 gold or 0.08 Sell rate insted of ANY."] = "For example: You can sell all white Armors but under 25,000 gold or 0.08 Sell rate insted of ANY."
L["White List"] = "White List"
L["All the items in the White List don't be sold EVER. You can put here all your potions, mining pick, special equipment with running abilities, etc.."] = "All the items in the White List don't be sold EVER. You can put here all your potions, mining pick, special equipment with running abilities, etc.."
L["I recommend you to disable the option Protect Soulbinds if you have a whitelist. I protect you from selling soulbind objects by default, but if you farm inside dungeons you get a lot of souldbind items that you want to sell."] = "I recommend you to disable the option Protect Soulbinds if you have a whitelist. I protect you from selling soulbind objects by default, but if you farm inside dungeons you get a lot of souldbind items that you want to sell."
L["SouldBind Protection"] = "SouldBind Protection"
L["By default it is enabled to avoid selling bind items on your bags. But if you have a white list with all your Non-Sellable stuff on it, by disable it you gain the ability to sell the crappy bind items on dungeons, bosses etc.."] = "By default it is enabled to avoid selling bind items on your bags. But if you have a white list with all your Non-Sellable stuff on it, by disable it you gain the ability to sell the crappy bind items on dungeons, bosses etc.."
L["Your Protection tab"] = "Your Protection tab"
L["All the setup here will work as opposite of Main Window, items won't be sold if they are equal or higher than the values of iLevel and ratio. Also you can protect some item class, or unprotect them if you don't care about them."] = "All the setup here will work as opposite of Main Window, items won't be sold if they are equal or higher than the values of iLevel and ratio. Also you can protect some item class, or unprotect them if you don't care about them."
L["Sell Ratio on Auction House"] = "Sell Ratio on Auction House. It is a value between 0 and 1, items more sold are around 0.20"
L["If you enable it you will keep on your inventory all the items with that ratio of selling in the acution house or higher"] = "If you enable it you will keep on your inventory all the items with that ratio of selling in the acution house or higher"
L["If you check Accesories, whites or grays in the MainWindow to be always sold, they won't be affected by this stat, they have their own config."] ="If you check Accesories, whites or grays in the MainWindow to be always sold, they won't be affected by this stat, they have their own config."
L["If you enable it you will keep on your inventory all items with this iLevel or higher."] = "If you enable it you will keep on your inventory all items with this iLevel or higher."
L["Item Level"] = "Item Level"
L["Consumables"] = "Consumables"
L["Protect all the consumable items for being sold, as potions, food that heals you, etc.."] = "Protect all the consumable items from being sold, as potions, food that heals you, etc.."
L["If you have a white list with your inventory consumables, I recommend you to untick this group, because most consumables are junk."] = "If you have a white list with your inventory consumables, I recommend you to untick this group, because most consumables are junk."
L["Recipes"] = "Recipes"
L["Cooking"] = "Cooking"
L["Leather"] = "Leather"
L["Cloths"] = "Cloths"
L["Herbs"] = "Herbs"
L["Mining"] = "Mining"
L["Protect all the recipes for being sold."] = "Protect all the recipes from being sold."
L["Remember that untick a group doesn't mean you sell all of them, they will be sold only if they worth less value of MainWindow slider gold"] = "Remember that untick a group doesn't mean you sell all of them, they will be sold only if they worth less value of MainWindow slider gold"
L["Protect all the cooking stuff for being sold."] = "Protect all the cooking stuff from being sold. (Foods are usually consumables)"
L["Protect all the leather for being sold."] = "Protect all the leather from being sold."
L["Protect all the Cloths (tradeskill cloths) for being sold."] = "Protect all the Cloths (tradeskill cloths) from being sold."
L["Protect all the herbs for being sold."] = "Protect all the herbs from being sold."
L["Protect all the metal and ore for being sold."] = "Protect all the metal and ore from being sold."
L["Empty Scrap List"] = "Empty Scrap List"
L["This will delete all the current Scrap item list. Usually you want to do this when the prices has changed after long time playing."] = "This will delete all the current Scrap item list. Usually you want to do this when the prices has changed after long time playing."
L["**Requiere reload the UI**"] = "**Requiere reload the UI**"
L["Sell "] = "Sell "
L[" from 0g to "] =" from 0g to "
L["g\nDon't sell if iLevel is bigger than "] = "g\nDon't sell if iLevel is bigger than "
L["\nDon't sell if rate is bigger than "] = "\nDon't sell if rate is bigger than "
L["Save"] = "Save"
L["Exit without saving"] = "Exit without saving"
L["If you disable protect soulbinds, i recomend you also to tick iLevel protection to farm new gear for you without taking care to turn AutoScap off at anytime."] = "If you disable protect soulbinds, i recomend you also to tick iLevel protection to farm new gear for you without taking care to turn AutoScap off at anytime."
L["Also I recommend you if you disable SoulBind protection to enable also iLevel protection to forget about if AutoScrap is on when you get new items for you."] = "Also I recommend you if you disable SoulBind protection to enable also iLevel protection to forget about if AutoScrap is on when you get new items for you."
L["Empty the entire\nScrap list"] = "Empty the entire\nScrap list"
L["Send Inventory"] = "Send Inventory"
L["BAGS ARE FULL"] = "BAGS ARE FULL"
L["Faster AutoLoot"] = "Faster AutoLoot"
L["|cffd20a07Another Fasterloot\nDetected|r"] = "|cffd20a07Another Fasterloot\nDetected|r"
L["You can loot faster than the Blizzard default autoloot speed. Enable this and give it a try, you will farm much faster!!"] = "You can loot faster than the Blizzard default autoloot speed. Enable this and give it a try, you will farm much faster!!"
L["It will also automatically enable the Interface->Controls->AutoLoot checkbox for you."] = "It will also automatically enable the Interface->Controls->AutoLoot checkbox for you."
L["It has a message to advise when your bags are full, support TSM disenchant window and avoid getting disconected from server by multiple loot request with inventory full."] = "It has a message to advise when your bags are full, support TSM disenchant window and avoid getting disconected from server by multiple loot request with inventory full."
L["You already has another Fasterloot addon running."] = "You already has another Fasterloot addon running."
L["You cannot use AutoScrap Faster AutoLoot untill you disable it."] = "You cannot use AutoScrap Faster AutoLoot untill you disable it."
L["AutoScrap Faster Autoloot includes faster autoloot, but also a message when your bags are full, support TSM disenchant window or avoid getting disconected from the server by multiple request of looting with inventory full. Give it a try!"] = "AutoScrap Faster Autoloot includes faster autoloot, but also a message when your bags are full, support TSM disenchant window or avoid getting disconected from the server by multiple request of looting with inventory full. Give it a try!"
L["Items moved: "] = "Items moved: "
L["Items are being moved. Don't click anything, just wait!!. Don't touch your Inventory or your GuildBank Frame untill it finish."] = "Items are being moved. Don't click anything, just wait!!. Don't touch your Inventory or your GuildBank Frame untill it finish."
L["Inventory to Bank"] = "Inventory to Bank"
L["Bank to Inventory"]= "Bank to Inventory"
L["|cFFc5aca8Inventory to Bank|r"] = "|cFFc5aca8Inventory to Bank|r"
L["Inv"] = "Inv"
L["Item Name"] = "Item Name"
L["Bank"] = "Bank"
L["AH"] = "AH"
L["Price"] = "Price"
L["Select All"] = "Select All"
L["Select in AH"] = "Select in AH"
L["Move All except 1"] = "Move All except 1"
L["Move All"] = "Move All"
L["Clear Selection"] = "Clear Selection"
L["Select all the items in the list"] = "Select all the items in the list"
L["Select only the items that you already have in the Auction House."] = "Select only the items that you already have in the Auction House."
L["Items in Auction House are cached by TSM, make sure you opened the auction house last time with it."] = "Items in Auction House are cached by TSM, make sure you opened the auction house last time with it."
L["If you have only 1 copy, It won't be moved."] = "If you have only 1 copy, It won't be moved."
L["If you have multiple copys of an Item on your inventory, it will keep 1 and move the rest of the selection to the Bank."] = "If you have multiple copys of an Item on your inventory, it will keep 1 and move the rest of the selection to the Bank."
L["Move all items selected to the Bank."] = "Move all items selected to the Bank."
L["Clear all selected items, so you can select them again."] = "Clear all selected items, so you can select them again."
L["It won't delete or move any item, only clear the selected items from list."] = "It won't delete or move any item, only clear the selected items from list."
L["Select NOT in AH"] = "Select NOT in AH"
L["Move 1 unit"] = "Move 1 unit"
L["Select only the items that you DO NOT have in the Auction House."] = "Select only the items that you DO NOT have in the Auction House."
L["If you have multiple copys of an Item on your bank, it will move 1 to your inventory and keep the rest of the selection in the Bank."] = "If you have multiple copys of an Item on your bank, it will move 1 to your inventory and keep the rest of the selection in the Bank."
L["Move all items selected to the Inventory."] = "Move all items selected to the Inventory."
L["|cFFc5aca8Inventory to GuildBank|r"] = "|cFFc5aca8Inventory to GuildBank|r"
L["|cFFc5aca8GuildBank to Inventory|r"] = "|cFFc5aca8GuildBank to Inventory|r"
L["Abort"] = "Abort"
L["Send LockedBox"] = "Send LockedBox"
L["Send all money"] = "Send all money"
L["You still have items on your inventory"] = "You still have items on your inventory"
L["Advance Options"] = "Advance Options"
L["Close"] = "Close"
L["From |cFFe1740d"] = "From |cFFe1740d"
L["g|r To |cFFe1740d"] = "g|r To |cFFe1740d"
L["g|r  protected Sell Rate: |cFFcc74ff"] = "g|r  protected Sell Rate: |cFFcc74ff"
L["g|r To:"] = "g|r To:"
L["Over |cFFe1740d"] = "Over |cFFe1740d"
L["Interact with Item"] = "AS Add/Remove Item"
L["Set Manual Key"] = "Set Manual Key"
L["Select a binding key to manually add items to the junk list, check the section under the menu AutoScrap in keybindings."] = "Select a binding key to manually add items to the junk list, check the section under the menu AutoScrap in keybindings."
L["Click on top of an item to add it to the junk list. If the item is already on the junk list, it will remove it. If the item is on the AutoScrap junk list, it will add it to the whitelist."] = "Click on top of an item to add it to the junk list. If the item is already on the junk list, it will remove it. If the item is on the AutoScrap junk list, it will add it to the whitelist."
L["If you try to add a whitelist item to junk, i will remove it from the whitelist first, click again to add it to the junk list."] = "If you try to add a whitelist item to junk, i will remove it from the whitelist first, click again to add it to the junk list."
L[" Added to BlackList"] = " Added to BlackList"
L[" Removed from BlackList"] = " Removed from BlackList"
L[" Removed from AutoScrap"] = " Removed from AutoScrap"
L[" Added to AutoScrap"] = " Added to AutoScrap"
L[" Removed from WhiteList"] =  " Removed from WhiteList"
L[" Added to WhiteList"] = " Added to WhiteList"
L["This will delete all the current Scrap item list that you entered manually with the binding key."] = "This will delete all the current Scrap item list that you entered manually with the binding key."
L["Auto Sell"] = "Auto Sell"
L["Enable it if you want to sell all the junk automatically when you open a Merchant Window."] = "Enable it if you want to sell all the junk automatically when you open a Merchant Window. Otherwise, click on the AutoScrap button on the Merchant."
L["Auto Repair"] = "Auto Repair"
L["Enable it if you want to repair autmatically when you open a Merchan that can repair items."] = "Enable it if you want to repair automatically when you open a Merchant that can repair items."
L["Sold: "] = "Sold: "
L["Inscript."] = "Inscript."
L["Locked Boxes"] = "Locked Boxes"
L["Jewelry"] = "Jewelry"
L["Inscription"] = "Inscription"
L["Protect all the inscription crafting struff for being sold."] = "Protect all the inscription crafting stuff for being sold."
L["Protect all the jewel crafting struff for being sold."] = "Protect all the jewel crafting stuff for being sold."
L["Protect all the locked boxes for being sold."] = "Protect all the locked boxes that need the rogue lockpicking skill to be opened from being sold."
L["If you untick them, all the locked boxes will be keeped in your inventory."] = "If you untick them, all the locked boxes will be keeped in your inventory."
L["Cancel"] = "Cancel"
L["Send LockedBox always to:"] = "Send LockedBox always to:"
L["Send Inventory always to:"] = "Send Inventory always to:"
L["Send Money always to:"] = "Send Money always to:"
L["Left Click: Toggle AutoScrap"] = "Left Click: Toggle AutoScrap"
L["Right Click: Toggle Combat Statistics"] = "Right Click: Toggle Combat Statistics"
L["Kill Statistics"] = "Kill Statistics"
L["On the left side it shows the kills across multiples partys, the kills of your party, your own kills and the gold you won."] = "On the left side it shows:\n -Party Kills\n -Your Kills\n -Plants and Mines\n -Gold you Won"
L["On the right side It shows the same kills/gold but simulated per hour if you keep the same killing speed."] = "On the right side It shows the same but simulated per hour if you keep the same farming speed."
L["To remove an item use:"] = "To remove an item use:"
L["Shift + LeftClick"] = "Shift + LeftClick"
L["The bottom bar it's your inventory space occupied"] = "The bottom bar it's your inventory space occupied.\nTo track the ammount of a certain item, select it from the inventory and drop it in this bag."
L["Stats Panel"] = "Stats Panel"
L["Move UIErrorsFrame"] = "Move UIErrorsFrame"
L["Move the Blizzard's UI Errors Window to another spot."] = "Move the Blizzard's UI Errors Window to another spot."
L["Move this window, then disable Move UIErrorsFrame checkbutton"] = "Move this window, then disable 'Move UIErrorsFrame' checkbutton"
L["Sell default junk"] = "Add default junk"
L["Blizzard marks junk items (typically gray quality) with coin icons when you talk to a vendor."] = "Blizzard marks junk items (typically gray) with a coin overlay on their icons when you talk to a vendor."
L["Enabling this option automatically sells all marked items upon opening the vendor window"] = "Enabling this option automatically sells all marked items upon opening the vendor window."
L["Auto Deposit Gold"] = "Auto Deposit Gold"
L["Deposit all except"] = "Deposit all Gold except:"
L["Auto Deposit Options"] = "Auto Deposit Options"
L["Maintain minimum gold on inventory"] = "Refill minimum gold on character."
L["Auto Deposit Gold in the Warband Bank."] = "Auto Deposit Gold in the Warband Bank."
L["Warband Deposit"] = "Warband Deposit"
L["AutoScrap - Assign Key"] = "AutoScrap - Assign Key"
L["— Assign New Key —"] = "— Assign New Key —"
L["Assign a key to manually mark\nitems in your inventory.\n\n"] = "Assign a key to manually mark\nitems in your inventory.\n\n"
L["Key assigned: |cFFFFFF00"] = "Key assigned: |cFFFFFF00"
L["Key assigned: -None-"] = "Key assigned: -None-"
L["Click to assign a new key\n\nBe careful not to press a key that\nyou use for another binding, or it will be changed to this function."] = "Click to assign a new key\n\nBe careful not to press a key that\nyou use for another binding, or it will be changed\n to this function."
L["WoW Token Price Alert"] = "WoW Token Price Alert"
L["Show a message when WoW token price changes"] = "Show a message when the token price changes"
L["Alert when price changes by (gold)"] = "Show when the price increases/decreases by (gold)"
L["Show alerts in raids and battlegrounds"] = "Show message in group instances, PvP, and battlegrounds"
L["WoW Token:"] = "WoW Token:"
L["*Refresh rate 60 seconds"] = "*Refresh rate 60 seconds"
L["Show Wow Token price in Combined Bags"] = "Show Wow Token price in Combined Bags"
L["Wow Token Alert"] = "Wow Token Alert"