diff 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
line wrap: on
line diff
--- a/AskMrRobot.lua	Sun Nov 02 11:56:55 2014 -0800
+++ b/AskMrRobot.lua	Sun Nov 09 11:48:18 2014 -0800
@@ -154,10 +154,15 @@
             SendGems = true,
             SendEnchants = true,
             SendEnchantMaterials = true,
-            SendToType = "a friend",
+            SendToType = L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND,
             SendTo = ""
         }
     end
+
+    -- fix a translation bug in a previous version
+    if L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND ~= "a friend" and AmrDb.SendSettings.SendToType == "a friend" then
+    	AmrDb.SendSettings.SendToType = L.AMR_SHOPPINGLISTTAB_DROPDOWN_FRIEND
+    end
     
     -- character stuff
     AskMrRobot.ScanCharacter()