Quantcast

Localize the command line scanning message.

John Pasula [01-25-11 - 15:35]
Localize the command line scanning message.
Filename
Locales/devel-enUS.lua
core.lua
diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua
index e4dece1..377191d 100644
--- a/Locales/devel-enUS.lua
+++ b/Locales/devel-enUS.lua
@@ -1455,4 +1455,5 @@ L["FILTERING_CATA_DESC"] = "Configuration for which Cataclysm Reputation reward
 L["CATA_WOW_DESC"] = "Recipes available with Cataclysm."
 L["Krenk Choplimb"] = true
 L["Agatian Fallanos"] = true
-L["Senthii"] = true
\ No newline at end of file
+L["Senthii"] = true
+L["COMMAND_LINE_SCAN"] = "To run a scan from a command line you need to specify the profession like: /arl scan enchanting"
\ No newline at end of file
diff --git a/core.lua b/core.lua
index 65f0ad4..ade9075 100644
--- a/core.lua
+++ b/core.lua
@@ -1523,7 +1523,7 @@ function addon:ChatCommand(input)
 		InterfaceOptionsFrame_OpenToCategory(self.optionsFrame["Documentation"])
 	elseif (arg1 == strlower(L["Scan"])) then
 		if not arg2 then
-			self:Print("To run a scan from a command line you need to specify the profession like: /arl scan enchanting")
+			self:Print(L["COMMAND_LINE_SCAN"])
 		else
 			CastSpellByName(arg2)
 			-- If the ARL window is shown, hide it.