fixing undefined js error

This commit is contained in:
Thomas Müller 2013-08-17 19:24:06 +02:00
parent 12f4494de0
commit 15c9a0f405
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+"]");
}
}
}