summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-playground/universal-translator/import_export.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-playground/universal-translator/import_export.go')
-rw-r--r--vendor/github.com/go-playground/universal-translator/import_export.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/go-playground/universal-translator/import_export.go b/vendor/github.com/go-playground/universal-translator/import_export.go
index 7bd76f26b..1216f1923 100644
--- a/vendor/github.com/go-playground/universal-translator/import_export.go
+++ b/vendor/github.com/go-playground/universal-translator/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":