mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 15:16:18 +00:00
Fix referred name of localisable string for recursive transclusion error (#2458)
This commit is contained in:
parent
b161f49126
commit
99c21232ee
@ -79,7 +79,7 @@ TranscludeWidget.prototype.execute = function() {
|
|||||||
// Check for recursion
|
// Check for recursion
|
||||||
var recursionMarker = this.makeRecursionMarker();
|
var recursionMarker = this.makeRecursionMarker();
|
||||||
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
// Check for correct type
|
// Check for correct type
|
||||||
|
Loading…
Reference in New Issue
Block a user