make eslint happy

This commit is contained in:
Régis Hanol 2017-02-28 10:33:16 +01:00
parent 5738253998
commit 3f5d8b8000

View File

@ -44,13 +44,13 @@ module("lib:i18n", {
// fake pluralization rules
I18n.pluralizationRules.fr = function(n) {
if (n == 0) return "zero";
if (n == 1) return "one";
if (n == 2) return "two";
if (n === 0) return "zero";
if (n === 1) return "one";
if (n === 2) return "two";
if (n >= 3 && n <= 9) return "few";
if (n >= 10 && n <= 99) return "many";
return "other";
}
};
},
teardown() {