Quantcast

Removed DATAMINER_TRAINER_NOTTEACH and DATAMINER_TRAINER_TEACH - there was no reason for them to exist, and their text is no longer valid.

James D. Callahan III [03-13-11 - 06:43]
Removed DATAMINER_TRAINER_NOTTEACH and DATAMINER_TRAINER_TEACH - there was no reason for them to exist, and their text is no longer valid.
Filename
Locales/devel-enUS.lua
Scanner.lua
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