From 23e555c9aa7fcb309300977311902bce631de055 Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 25 Jan 2011 08:35:00 -0700 Subject: [PATCH] Localize the command line scanning message. --- Locales/devel-enUS.lua | 3 ++- core.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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. -- 1.7.9.5