Merge pull request #4493 from owncloud/fixing-initL10n-master
fixing undefined js error
This commit is contained in:
commit
c427e256e1
|
@ -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+"]");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue