summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-17 19:24:06 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-17 19:24:06 +0200
commit15c9a0f405631c937a935ba781b1c73a7db82556 (patch)
tree894fa8120d7e569a5d352e6ec90d9530510f06a3 /core/js
parent12f4494de02457d51004ca6a82c1b2160189819f (diff)
downloadnextcloud-server-15c9a0f405631c937a935ba781b1c73a7db82556.tar.gz
nextcloud-server-15c9a0f405631c937a935ba781b1c73a7db82556.zip
fixing undefined js error
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index c2b81ae3272..75a2b51a43f 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -69,7 +69,7 @@ function initL10N(app) {
var code = 'var plural; var nplurals; '+pf+' return { "nplural" : nplurals, "plural" : (plural === true ? 1 : plural ? plural : 0) };';
t.plural_function = new Function("n", code);
} else {
- console.log("Syntax error in language file. Plural-Forms header is invalid ["+plural_forms+"]");
+ console.log("Syntax error in language file. Plural-Forms header is invalid ["+ t.plural_forms+"]");
}
}
}