diff options
author | Owen Winkler <a_github@midnightcircus.com> | 2013-08-18 02:18:04 -0700 |
---|---|---|
committer | Owen Winkler <a_github@midnightcircus.com> | 2013-08-18 02:18:04 -0700 |
commit | c427e256e1509453503140c0adacd3abcb7ef368 (patch) | |
tree | c043d98da7ea2c54cfdd7b7cded047c4ad40936f | |
parent | ce9103d52296a49b5c797b880a61f8490a3f6de1 (diff) | |
parent | 1793ec1d5dcbdf806817da1674562ef6a02b39b0 (diff) | |
download | nextcloud-server-c427e256e1509453503140c0adacd3abcb7ef368.tar.gz nextcloud-server-c427e256e1509453503140c0adacd3abcb7ef368.zip |
Merge pull request #4493 from owncloud/fixing-initL10n-master
fixing undefined js error
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index c2b81ae3272..d580b6113e6 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+"]"); } } } |