From 38ee83e45b4de7edf89bf9f0ef629eb4c6ad0fa8 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 12 May 2016 23:56:07 -0400 Subject: Moving to glide --- .../goi18n/testdata/input/yaml/ar-ar.one.json | 54 ++++++++++++++++++++++ .../goi18n/testdata/input/yaml/ar-ar.two.json | 54 ++++++++++++++++++++++ .../goi18n/testdata/input/yaml/en-us.one.yaml | 19 ++++++++ .../goi18n/testdata/input/yaml/en-us.two.json | 26 +++++++++++ .../go-i18n/goi18n/testdata/input/yaml/fr-fr.json | 0 5 files changed, 153 insertions(+) create mode 100644 vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.one.json create mode 100644 vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.two.json create mode 100644 vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.one.yaml create mode 100644 vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.two.json create mode 100644 vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/fr-fr.json (limited to 'vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml') diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.one.json b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.one.json new file mode 100644 index 000000000..f5af1d6f4 --- /dev/null +++ b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.one.json @@ -0,0 +1,54 @@ +[ + { + "id": "d_days", + "translation": { + "few": "arabic few translation of d_days", + "many": "arabic many translation of d_days", + "one": "", + "other": "", + "two": "", + "zero": "" + } + }, + { + "id": "person_greeting", + "translation": "arabic translation of person_greeting" + }, + { + "id": "person_unread_email_count", + "translation": { + "few": "arabic few translation of person_unread_email_count", + "many": "arabic many translation of person_unread_email_count", + "one": "arabic one translation of person_unread_email_count", + "other": "", + "two": "", + "zero": "" + } + }, + { + "id": "person_unread_email_count_timeframe", + "translation": { + "few": "", + "many": "", + "one": "", + "other": "", + "two": "", + "zero": "" + } + }, + { + "id": "program_greeting", + "translation": "" + }, + { + "id": "your_unread_email_count", + "translation": { + "few": "", + "many": "", + "one": "", + "other": "", + "two": "", + "zero": "" + } + } +] diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.two.json b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.two.json new file mode 100644 index 000000000..e98d7e9b2 --- /dev/null +++ b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/ar-ar.two.json @@ -0,0 +1,54 @@ +[ + { + "id": "d_days", + "translation": { + "few": "new arabic few translation of d_days", + "many": "", + "one": "arabic one translation of d_days", + "other": "", + "two": "", + "zero": "" + } + }, + { + "id": "person_greeting", + "translation": "new arabic translation of person_greeting" + }, + { + "id": "person_unread_email_count", + "translation": { + "few": "", + "many": "", + "one": "", + "other": "arabic other translation of person_unread_email_count", + "two": "arabic two translation of person_unread_email_count", + "zero": "arabic zero translation of person_unread_email_count" + } + }, + { + "id": "person_unread_email_count_timeframe", + "translation": { + "few": "", + "many": "", + "one": "", + "other": "", + "two": "", + "zero": "" + } + }, + { + "id": "program_greeting", + "translation": "" + }, + { + "id": "your_unread_email_count", + "translation": { + "few": "", + "many": "", + "one": "", + "other": "", + "two": "", + "zero": "" + } + } +] diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.one.yaml b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.one.yaml new file mode 100644 index 000000000..3ca8e380d --- /dev/null +++ b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.one.yaml @@ -0,0 +1,19 @@ +- id: program_greeting + translation: Hello world + +- id: your_unread_email_count + translation: + one: You have {{.Count}} unread email. + other: You have {{.Count}} unread emails. + +- id: my_height_in_meters + translation: + one: I am {{.Count}} meter tall. + other: I am {{.Count}} meters tall. + +- id: person_unread_email_count_timeframe + translation: + one: "{{.Person}} has {{.Count}} unread email in the past {{.Timeframe}}." + +- id: d_days + translation: this should get overwritten \ No newline at end of file diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.two.json b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.two.json new file mode 100644 index 000000000..dcc715c43 --- /dev/null +++ b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/en-us.two.json @@ -0,0 +1,26 @@ +[ + { + "id": "person_greeting", + "translation": "Hello {{.Person}}" + }, + { + "id": "person_unread_email_count", + "translation": { + "one": "{{.Person}} has {{.Count}} unread email.", + "other": "{{.Person}} has {{.Count}} unread emails." + } + }, + { + "id": "person_unread_email_count_timeframe", + "translation": { + "other": "{{.Person}} has {{.Count}} unread emails in the past {{.Timeframe}}." + } + }, + { + "id": "d_days", + "translation": { + "one": "{{.Count}} day", + "other": "{{.Count}} days" + } + } +] diff --git a/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/fr-fr.json b/vendor/github.com/nicksnyder/go-i18n/goi18n/testdata/input/yaml/fr-fr.json new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3-1-g7c22