From 35bf4a173f493755493e7babc969c89f077b32bc Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 13 Mar 2011 00:43:59 -0600 Subject: [PATCH] Removed DATAMINER_TRAINER_NOTTEACH and DATAMINER_TRAINER_TEACH - there was no reason for them to exist, and their text is no longer valid. --- Locales/devel-enUS.lua | 2 -- Scanner.lua | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua index 662960a..c0f6901 100644 --- a/Locales/devel-enUS.lua +++ b/Locales/devel-enUS.lua @@ -303,8 +303,6 @@ L["DATAMINER_SKILLLEVEL_ERROR"] = "This can only be used for a trade skill train L["DATAMINER_TRAINER_INFO"] = [=[Trainer Name: %s Trainer ID: %s]=] L["DATAMINER_TRAINER_NOTTARGETTED"] = "You must target the trainer when you run this command." -L["DATAMINER_TRAINER_NOTTEACH"] = "%s (%s) - Extra" -L["DATAMINER_TRAINER_TEACH"] = "%s (%s) - Missing" L["DATAMINER_VENDOR_INFO"] = [=[Vendor Name: %s Vendor ID: %s]=] L["DATAMINER_VENDOR_NOTTARGETTED"] = "You must target the vendor when you run this command." diff --git a/Scanner.lua b/Scanner.lua index cdbcb50..6e68828 100644 --- a/Scanner.lua +++ b/Scanner.lua @@ -757,7 +757,7 @@ do for index in ipairs(missing_spell_ids) do local spell_id = missing_spell_ids[index] - table.insert(output, L["DATAMINER_TRAINER_TEACH"]:format(spell_id, recipe_list[spell_id].name)) + table.insert(output, ("%d (%s)"):format(spell_id, recipe_list[spell_id].name)) end end @@ -767,7 +767,7 @@ do for index in ipairs(extra_spell_ids) do local spell_id = extra_spell_ids[index] - table.insert(output, L["DATAMINER_TRAINER_NOTTEACH"]:format(spell_id, recipe_list[spell_id].name)) + table.insert(output, ("%d (%s)"):format(spell_id, recipe_list[spell_id].name)) end end -- 1.7.9.5