comparison AskMrRobot.lua @ 49:90175bdc50e6 v17

fixed some localization issues and added new german translation
author yellowfive
date Sun, 09 Nov 2014 11:48:18 -0800
parents 1851d0fd18fa
children
comparison
equal deleted inserted replaced
48:7056a71acab3 49:90175bdc50e6
152 if not AmrDb.SendSettings then 152 if not AmrDb.SendSettings then
153 AmrDb.SendSettings = { 153 AmrDb.SendSettings = {
154 SendGems = true, 154 SendGems = true,
155 SendEnchants = true, 155 SendEnchants = true,
156 SendEnchantMaterials = true, 156 SendEnchantMaterials = true,
157 SendToType = "a friend", 157 SendToType = L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND,
158 SendTo = "" 158 SendTo = ""
159 } 159 }
160 end
161
162 -- fix a translation bug in a previous version
163 if L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND ~= "a friend" and AmrDb.SendSettings.SendToType == "a friend" then
164 AmrDb.SendSettings.SendToType = L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND
160 end 165 end
161 166
162 -- character stuff 167 -- character stuff
163 AskMrRobot.ScanCharacter() 168 AskMrRobot.ScanCharacter()
164 if not AmrDb.BankItems then AmrDb.BankItems = {} end 169 if not AmrDb.BankItems then AmrDb.BankItems = {} end