Skip to content

Commit

Permalink
Add the missing "Zero" case
Browse files Browse the repository at this point in the history
  • Loading branch information
nehmeroumani committed Mar 12, 2020
1 parent f87b140 commit b86d94d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions import_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ func (t *UniversalTranslator) ImportByReader(format ImportExportFormat, reader i
func stringToPR(s string) locales.PluralRule {

switch s {
case "Zero":
return locales.PluralRuleZero
case "One":
return locales.PluralRuleOne
case "Two":
Expand Down

0 comments on commit b86d94d

Please sign in to comment.