|
|
|
@ -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 ["+ t.plural_forms+"]"); |
|
|
|
|
console.log("Syntax error in language file. Plural-Forms header is invalid ["+t.plural_forms+"]"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|