Add localisable strings (#2438)

* Add localisable string for recursive transclusion error

* Add localisable string for count

* Add localisable strings for syncer
This commit is contained in:
Myeongjin
2016-05-12 23:44:28 +09:00
committed by Jeremy Ruston
parent 9f7e55c317
commit 8afc1e9354
16 changed files with 25 additions and 6 deletions

View File

@@ -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: "Recursive transclusion error in transclude widget"}]);
this.makeChildWidgets([{type: "text", text: $tw.language.getString("RecursiveTransclusion")}]);
return;
}
// Check for correct type