diff ui/HelpTab.lua @ 11:ece9167c0d1c v1.2.14.0

Localization support, combat log features (wipe command, aura/pet tracking, and realm detection).
author yellowfive
date Thu, 10 Jul 2014 12:24:59 -0700
parents ec731d2fe6ba
children e77e01abce98
line wrap: on
line diff
--- a/ui/HelpTab.lua	Wed May 21 00:01:02 2014 -0500
+++ b/ui/HelpTab.lua	Thu Jul 10 12:24:59 2014 -0700
@@ -1,4 +1,5 @@
 local _, AskMrRobot = ...
+local L = AskMrRobot.L;
 
 -- initialize the HelpTab class
 AskMrRobot.HelpTab = AskMrRobot.inheritsFrom(AskMrRobot.Frame)
@@ -13,23 +14,23 @@
 
 	local text = tab:CreateFontString("AmrHelpText1", "ARTWORK", "GameFontNormalLarge")
 	text:SetPoint("TOPLEFT", 0, -5)
-	text:SetText("Help")
+	text:SetText(L.AMR_HELPTAB_TITLE)
 
 	local text2 = tab:CreateFontString(nil, "ARTWORK", "GameFontWhite")
 	text2:SetPoint("TOPLEFT", text, "BOTTOMLEFT", 0, -20)
 	text2:SetPoint("RIGHT", tab, "RIGHT", -25, -20)
 	text2:SetWidth(text2:GetWidth())
-	text2:SetText("Visit |c003333ffhttp://blog.askmrrobot.com/addon/|r  for a full tutorial and to ask questions.\r\r" ..
-                  "|c00999999Q:|r Do I have to get a new text-string every time I need to optimize?\r" ..
-                  '|c0066dd66A:|r Yes. Go to the website and click the green "Update from Armory" button to the left of your character to make sure you have the most up-to-date gear. Optimize your gear and then click the "Export to Addon" button to get your new text-string.\r\r' ..
-				  "|c00999999Q:|r The belt buckle didn't show up in my list.\r" ..
-                  "|c0066dd66A:|r Correct, it's actually quite hard to detect it's status in-game, believe it or not. But we're working on a clever way to detect it!\r\r"..
-                  "|c00999999Q:|r My cogwheels/tinkers didn't show up.\r"..
-                  "|c0066dd66A:|r Correct, we're working on adding those into the list as well... the problem is Mr. Robot has been using them to build other robots...\r\r"..
-                  "|c00999999Q:|r Can I send my shopping list to an alt?\r"..
-                  '|c0066dd66A:|r Yes, go to the shopping list tab and select the "mail" option in the drop down. You can mail the list to your alt.\r\r'..
-                  "|c00999999Q:|r I am in the middle of a raid and just won a piece of loot. Can I optimize really quick\r"..
-                  "|c0066dd66A:|r Yes! You'll want to read the tutorial on that here: |c003333ffhttp://blog.askmrrobot.com/addon#raid|r")
+	text2:SetText(L.AMR_HELPTAB_LINK ..
+                  L.AMR_HELPTAB_Q1 ..
+                  L.AMR_HELPTAB_A1 ..
+				  L.AMR_HELPTAB_Q2 ..
+                  L.AMR_HELPTAB_A2 ..
+                  L.AMR_HELPTAB_Q3 ..
+                  L.AMR_HELPTAB_A3 ..
+                  L.AMR_HELPTAB_Q4 ..
+                  L.AMR_HELPTAB_A4 ..
+                  L.AMR_HELPTAB_Q5 ..
+                  L.AMR_HELPTAB_A5)
 	--text2:SetHeight(100)
 	text2:SetJustifyH("LEFT")