Quantcast

Make custom db entries localized.

ackis [01-06-09 - 22:11]
Make custom db entries localized.
Filename
Locals/ARLLocals-enUS.lua
RecipeDB/ARL-Custom.lua
diff --git a/Locals/ARLLocals-enUS.lua b/Locals/ARLLocals-enUS.lua
index 5cfbe3b..0f74384 100644
--- a/Locals/ARLLocals-enUS.lua
+++ b/Locals/ARLLocals-enUS.lua
@@ -316,7 +316,38 @@ L["Lunar Festival"] = true
 L["Darkmoon Faire"] = true
 L["Seasonal"] = true

--- Monster/Quest/Trainer/Vendor (auto-generatored) strings:
+-- Custom database strings:
+
+L["Custom1"] = "Discovered by making elixirs or flasks using Burning Crusade or higher ingredients."
+L["Custom2"] = "Discovered by making potions using Burning Crusade or higher ingredients."
+L["Custom3"] = "Discovered by doing transmutes using Burning Crusade or higher ingredients."
+L["Custom4"] = "Discovered by Major Protection Potions using Burning Crusade or higher ingredients."
+L["Custom5"] = "Randomly obtained by completing the cooking daily quest in Shattrath and selecting the meat crate."
+L["Custom6"] = "Randomly obtained by completing the cooking daily quest in Shattrath and selecting the fish barrel."
+L["Custom7"] = "Randomly obtained by completing the fishing daily quest in Shattrath."
+L["Custom8"] = "Learnt by default when learning the profession."
+L["Custom9"] = "Recipe is created by Engineers."
+L["Custom10"] = "Quest to obtain the recipe opens up after turning in the Head of Onyxia."
+L["Custom11"] = "Obtained by clicking on a tablet in Zul'Gurub in the Edge of Madness."
+L["Custom12"] = "Discovered by doing transmutes using Wrath of the Lich King ingredients."
+L["Custom13"] = "Goldthorn Tea Henry Stern."
+L["Custom14"] = "Minor Inscription Research."
+L["Custom15"] = "Northrend Inscription Research."
+L["Custom16"] = "EngineeringRenewalReward."
+L["Custom17"] = "The schematic can be found on the floor near Golem Lord Argelmach in Blackrock Depths. Only engineers with 300 skill may learn the schematic after clicking on it."
+L["Custom18"] = "Northrend Alchemy Research."
+L["Custom19"] = "Northrend Transmute."
+L["Custom20"] = "Goblin transport."
+L["Custom21"] = "Gnome transport."
+L["Custom22"] = "Random BoP drop off of bosses in AQ40."
+L["Custom23"] = "DM Cache - Knot Thimblejack"
+L["Custom24"] = "Sunwell Trash Drop"
+L["Custom25"] = "There is a chance that you find it in 5 different rooms in blackrock depths, its random spawn though, and sometimes it doesnt even spawn at all."
+L["Custom26"] = "Molten Core Bosses"
+L["Custom27"] = "MC Duder In BWL"
+L["Custom28"] = "BT trash/bosses"
+
+-- Monster/Quest/Trainer/Vendor strings:

 -- Do not translate anything below this line without talking to Ackis first please.

diff --git a/RecipeDB/ARL-Custom.lua b/RecipeDB/ARL-Custom.lua
index 360c5ef..67b89e6 100644
--- a/RecipeDB/ARL-Custom.lua
+++ b/RecipeDB/ARL-Custom.lua
@@ -33,34 +33,34 @@ local L					= LibStub("AceLocale-3.0"):GetLocale(MODNAME)

 function addon:InitCustom(CustomDB)

-	self:addLookupList(CustomDB, 1, "Discovered by making elixirs or flasks using Burning Crusade or higher ingredients.")
-	self:addLookupList(CustomDB, 2, "Discovered by making potions using Burning Crusade or higher ingredients.")
-	self:addLookupList(CustomDB, 3, "Discovered by doing transmutes using Burning Crusade or higher ingredients.")
-	self:addLookupList(CustomDB, 4, "Discovered by Major Protection Potions using Burning Crusade or higher ingredients.")
-	self:addLookupList(CustomDB, 5, "Randomly obtained by completing the cooking daily quest in Shattrath and selecting the meat crate.")
-	self:addLookupList(CustomDB, 6, "Randomly obtained by completing the cooking daily quest in Shattrath and selecting the fish barrel.")
-	self:addLookupList(CustomDB, 7, "Randomly obtained by completing the fishing daily quest in Shattrath.")
-	self:addLookupList(CustomDB, 8, "Learnt by default when learning the profession.")
-	self:addLookupList(CustomDB, 9, "Recipe is created by Engineers.")
-	self:addLookupList(CustomDB, 10, "Quest to obtain the recipe opens up after turning in the Head of Onyxia.")
-	self:addLookupList(CustomDB, 11, "Obtained by clicking on a tablet in Zul'Gurub in the Edge of Madness.")
-	self:addLookupList(CustomDB, 12, "Discovered by doing transmutes using Wrath of the Lich King ingredients.")
-	self:addLookupList(CustomDB, 13, "Goldthorn Tea Henry Stern.")
-	self:addLookupList(CustomDB, 14, "Minor Inscription Research.")
-	self:addLookupList(CustomDB, 15, "Northrend Inscription Research.")
-	self:addLookupList(CustomDB, 16, "EngineeringRenewalReward.")
-	self:addLookupList(CustomDB, 17, "The schematic can be found on the floor near Golem Lord Argelmach in Blackrock Depths. Only engineers with 300 skill may learn the schematic after clicking on it.")
-	self:addLookupList(CustomDB, 18, "Northrend Alchemy Research.")
-	self:addLookupList(CustomDB, 19, "Northrend Transmute.")
-	self:addLookupList(CustomDB, 20, "Goblin transport.")
-	self:addLookupList(CustomDB, 21, "Gnome transport.")
-	self:addLookupList(CustomDB, 22, "Random BoP drop off of bosses in AQ40.")
-	self:addLookupList(CustomDB, 23, "DM Cache - Knot Thimblejack")
-	self:addLookupList(CustomDB, 24, "Sunwell Trash Drop")
-	self:addLookupList(CustomDB, 25, "There is a chance that you find it in 5 different rooms in blackrock depths, its random spawn though, and sometimes it doesnt even spawn at all.")
-	self:addLookupList(CustomDB, 26, "Molten Core Bosses")
-	self:addLookupList(CustomDB, 27, "MC Duder In BWL")
-	self:addLookupList(CustomDB, 28, "BT trash/bosses")
+	self:addLookupList(CustomDB, 1, L["Custom1"])
+	self:addLookupList(CustomDB, 2, L["Custom2"])
+	self:addLookupList(CustomDB, 3, L["Custom3"])
+	self:addLookupList(CustomDB, 4, L["Custom4"])
+	self:addLookupList(CustomDB, 5, L["Custom5"])
+	self:addLookupList(CustomDB, 6, L["Custom6"])
+	self:addLookupList(CustomDB, 7, L["Custom7"])
+	self:addLookupList(CustomDB, 8, L["Custom8"])
+	self:addLookupList(CustomDB, 9, L["Custom9"])
+	self:addLookupList(CustomDB, 10, L["Custom10"])
+	self:addLookupList(CustomDB, 11, L["Custom11"])
+	self:addLookupList(CustomDB, 12, L["Custom12"])
+	self:addLookupList(CustomDB, 13, L["Custom13"])
+	self:addLookupList(CustomDB, 14, L["Custom14"])
+	self:addLookupList(CustomDB, 15, L["Custom15"])
+	self:addLookupList(CustomDB, 16, L["Custom16"])
+	self:addLookupList(CustomDB, 17, L["Custom17"])
+	self:addLookupList(CustomDB, 18, L["Custom18"])
+	self:addLookupList(CustomDB, 19, L["Custom19"])
+	self:addLookupList(CustomDB, 20, L["Custom20"])
+	self:addLookupList(CustomDB, 21, L["Custom21"])
+	self:addLookupList(CustomDB, 22, L["Custom22"])
+	self:addLookupList(CustomDB, 23, L["Custom23"])
+	self:addLookupList(CustomDB, 24, L["Custom24"])
+	self:addLookupList(CustomDB, 25, L["Custom25"])
+	self:addLookupList(CustomDB, 26, L["Custom26"])
+	self:addLookupList(CustomDB, 27, L["Custom27"])
+	self:addLookupList(CustomDB, 28, L["Custom28"])

 end