Quantcast

Replaced L strings in lfr.lua with autolocalizing stuff

Darthpred [02-16-13 - 06:11]
Replaced L strings in lfr.lua with autolocalizing stuff
Filename
ElvUI_SLE/modules/datatexts/lfr.lua
diff --git a/ElvUI_SLE/modules/datatexts/lfr.lua b/ElvUI_SLE/modules/datatexts/lfr.lua
index cf09975..3744699 100644
--- a/ElvUI_SLE/modules/datatexts/lfr.lua
+++ b/ElvUI_SLE/modules/datatexts/lfr.lua
@@ -199,7 +199,7 @@ function DT:TwelveShift(id1, id2, id3, id4)
 end

 function DT:DragonSoul(id1, id2)
-	DT.tooltip:AddLine(L["LFR Dragon Soul"]) --Instance name
+	DT.tooltip:AddLine(GetMapNameByID(824)) --Instance name
 	if IsShiftKeyDown() then
 		DT:EightShift(id1, id2)
 	else
@@ -208,7 +208,7 @@ function DT:DragonSoul(id1, id2)
 end

 function DT:Mogushan(id1, id2)
-	DT.tooltip:AddLine(L["LFR Mogu'shan Vaults"]) --Instance name
+	DT.tooltip:AddLine(GetMapNameByID(896)) --Instance name
 	if IsShiftKeyDown() then
 		DT:SixShift(id1, id2)
 	else
@@ -217,7 +217,7 @@ function DT:Mogushan(id1, id2)
 end

 function DT:HoF(id1, id2)
-	DT.tooltip:AddLine(L["LFR Heart of Fear"]) --Instance name
+	DT.tooltip:AddLine(GetMapNameByID(897)) --Instance name
 	if IsShiftKeyDown() then
 		DT:SixShift(id1, id2)
 	else
@@ -226,7 +226,7 @@ function DT:HoF(id1, id2)
 end

 function DT:ToES(id)
-	DT.tooltip:AddLine(L["LFR Terrace of Endless Spring"]) --Instance name
+	DT.tooltip:AddLine(GetMapNameByID(886)) --Instance name
 	if IsShiftKeyDown() then
 		DT:FourShift(id)
 	else
@@ -235,7 +235,7 @@ function DT:ToES(id)
 end

 function DT:ToT(id1, id2, id3, id4)
-	DT.tooltip:AddLine(L["LFR Throne of Thunder"])
+	DT.tooltip:AddLine(GetMapNameByID(930))
 	if IsShiftKeyDown() then
 		DT:TwelveShift(id1, id2, id3, id4)
 	else