summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go')
-rw-r--r--vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go b/vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go
new file mode 100644
index 000000000..287a87f22
--- /dev/null
+++ b/vendor/github.com/nicksnyder/go-i18n/v2/internal/plural/form.go
@@ -0,0 +1,16 @@
+package plural
+
+// Form represents a language pluralization form as defined here:
+// http://cldr.unicode.org/index/cldr-spec/plural-rules
+type Form string
+
+// All defined plural forms.
+const (
+ Invalid Form = ""
+ Zero Form = "zero"
+ One Form = "one"
+ Two Form = "two"
+ Few Form = "few"
+ Many Form = "many"
+ Other Form = "other"
+)