Fix referred name of localisable string for recursive transclusion error (#2458)

This commit is contained in:
Myeongjin
2016-05-22 15:33:02 -06:00
committed by Jeremy Ruston
parent b161f49126
commit 99c21232ee
@@ -79,7 +79,7 @@ TranscludeWidget.prototype.execute = function() {
// Check for recursion
var recursionMarker = this.makeRecursionMarker();
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
this.makeChildWidgets([{type: "text", text: $tw.language.getString("RecursiveTransclusion")}]);
this.makeChildWidgets([{type: "text", text: $tw.language.getString("Error/RecursiveTransclusion")}]);
return;
}
// Check for correct type