Skip to content

Commit

Permalink
[New] add Ukrainian
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfedak committed Jul 11, 2024
1 parent c310b0b commit c45a8af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ var defaultPluralRules = {
var lastTwo = n % 100;
if (n === 0 || (lastTwo >= 2 && lastTwo <= 19)) { return 1; }
return 2;
}
},
ukrainian: russianPluralGroups
},

// Mapping from pluralization group to individual language codes/locales.
Expand All @@ -113,7 +114,8 @@ var defaultPluralRules = {
polish: ['pl'],
icelandic: ['is', 'mk'],
slovenian: ['sl-SL'],
romanian: ['ro']
romanian: ['ro'],
ukrainian: ['uk', 'ua']
}
};

Expand Down

0 comments on commit c45a8af

Please sign in to comment.