]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing undefined js error
authorThomas Müller <thomas.mueller@tmit.eu>
Sat, 17 Aug 2013 17:24:06 +0000 (19:24 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Sat, 17 Aug 2013 17:24:06 +0000 (19:24 +0200)
core/js/js.js

index c2b81ae3272b06902078a321b1e68ac276862901..75a2b51a43f80ca559abfbfa1f797e6181940998 100644 (file)
@@ -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+"]");
                }
        }
 }