Merge pull request #4493 from owncloud/fixing-initL10n-master

fixing undefined js error
This commit is contained in:
Owen Winkler 2013-08-18 02:18:04 -07:00
commit c427e256e1
1 changed files with 1 additions and 1 deletions

View 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+"]");
}
}
}