mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:33:40 +08:00
make eslint happy
This commit is contained in:
parent
5738253998
commit
3f5d8b8000
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user