diff --git a/src/translator.js b/src/translator.js index b6f133f..0a279ea 100644 --- a/src/translator.js +++ b/src/translator.js @@ -172,7 +172,7 @@ plurals[domain].fn = new Function('n', plurals[domain].code); } - return plurals[domain].fn.call(this, value); + return plurals[domain].fn.call(this, value) + 0; } function mergeTranslations(translations, newTranslations) {