From b86d94d59af05d508d1610b0b75ed5104539d314 Mon Sep 17 00:00:00 2001 From: Nehme Roumani Date: Thu, 12 Mar 2020 22:09:37 +0200 Subject: [PATCH] Add the missing "Zero" case --- import_export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/import_export.go b/import_export.go index 7bd76f2..1216f19 100644 --- a/import_export.go +++ b/import_export.go @@ -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":