From 473acc61c8392dc7ae303d91568e179c4f105a76 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 Jul 2019 12:12:53 +0200 Subject: add black list --- .../extract/locales/de/messages.gotext.json | 186 ------------------- .../examples/extract/locales/de/out.gotext.json | 206 --------------------- .../extract/locales/en-US/messages.gotext.json | 82 -------- .../examples/extract/locales/en-US/out.gotext.json | 206 --------------------- .../examples/extract/locales/extracted.gotext.json | 206 --------------------- .../extract/locales/zh/messages.gotext.json | 203 -------------------- .../examples/extract/locales/zh/out.gotext.json | 206 --------------------- 7 files changed, 1295 deletions(-) delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/out.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/extracted.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/messages.gotext.json delete mode 100755 vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/out.gotext.json (limited to 'vendor/golang.org/x/text/cmd/gotext/examples/extract/locales') diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/messages.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/messages.gotext.json deleted file mode 100755 index 221990f..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/messages.gotext.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "language": "de", - "messages": [ - { - "id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "Hallo Welt!\n", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:27:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "Hallo {City}!\n", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:31:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "Hallo {Town}!\n", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:35:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "{Person} besucht {Place}!\n", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:40:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "{Person} besucht {Place}!\n", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:55:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "Noch {N} Bestände zu gehen!", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:67:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:73:10" - }, - { - "id": [ "msgOutOfOrder", "{Device} is out of order!" ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:81:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:85:10" - } - ] -} diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/out.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/out.gotext.json deleted file mode 100755 index 354e8e6..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/de/out.gotext.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "language": "de", - "messages": [ - { - "id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:28:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:32:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:36:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:41:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:56:10" - }, - { - "id": "{} files remaining!", - "key": "%d files remaining!", - "message": "{} files remaining!", - "translation": "", - "placeholders": [ - { - "id": "", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "2" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:63:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:68:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:74:10" - }, - { - "id": [ - "msgOutOfOrder", - "{Device} is out of order!" - ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:82:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:86:10" - } - ] -} \ No newline at end of file diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/messages.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/messages.gotext.json deleted file mode 100755 index 37d691b..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/messages.gotext.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "language": "en-US", - "messages": [ - { -"id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "Hello world!\n", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:27:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "Hello {City}!\n" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "Hello {Town}!\n", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ] - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "{Person} is visiting {Place}!\n" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "{Person} is visiting {Place}!\n", - "comment": "Person visiting a place." - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": { - "select": { - "feature": "plural", - "arg": "N", - "cases": { - "one": "One file remaining!", - "other": "There are {N} more files remaining!" - } - } - } - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "" - }, - { - "id": [ "msgOutOfOrder", "{Device} is out of order!" ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "{Device} is out of order!", - "comment": "FOO\n" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "{Miles} miles traveled ({Miles_1})" - } - ] -} diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/out.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/out.gotext.json deleted file mode 100755 index fea86e5..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/en-US/out.gotext.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "language": "en-US", - "messages": [ - { - "id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:28:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:32:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:36:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:41:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:56:10" - }, - { - "id": "{} files remaining!", - "key": "%d files remaining!", - "message": "{} files remaining!", - "translation": "", - "placeholders": [ - { - "id": "", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "2" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:63:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:68:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:74:10" - }, - { - "id": [ - "msgOutOfOrder", - "{Device} is out of order!" - ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:82:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:86:10" - } - ] -} \ No newline at end of file diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/extracted.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/extracted.gotext.json deleted file mode 100755 index fea86e5..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/extracted.gotext.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "language": "en-US", - "messages": [ - { - "id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:28:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:32:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:36:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:41:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:56:10" - }, - { - "id": "{} files remaining!", - "key": "%d files remaining!", - "message": "{} files remaining!", - "translation": "", - "placeholders": [ - { - "id": "", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "2" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:63:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:68:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:74:10" - }, - { - "id": [ - "msgOutOfOrder", - "{Device} is out of order!" - ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:82:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:86:10" - } - ] -} \ No newline at end of file diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/messages.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/messages.gotext.json deleted file mode 100755 index 8530740..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/messages.gotext.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "language": "zh", - "messages": [ - { -"id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:27:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:31:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:35:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:40:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:55:10" - }, - { - "id": "{} files remaining!", - "key": "%d files remaining!", - "message": "{} files remaining!", - "translation": "", - "placeholders": [ - { - "id": "", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "2" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:62:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:67:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:73:10" - }, - { - "id": [ "{Device} is out of order!", "msgOutOfOrder" ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:81:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:85:10" - } - ] -} \ No newline at end of file diff --git a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/out.gotext.json b/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/out.gotext.json deleted file mode 100755 index 88739a3..0000000 --- a/vendor/golang.org/x/text/cmd/gotext/examples/extract/locales/zh/out.gotext.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "language": "zh", - "messages": [ - { - "id": "Hello world!\n", - "key": "Hello world!\n", - "message": "Hello world!\n", - "translation": "", - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:28:10" - }, - { - "id": "Hello {City}!\n", - "key": "Hello %s!\n", - "message": "Hello {City}!\n", - "translation": "", - "placeholders": [ - { - "id": "City", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "city" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:32:10" - }, - { - "id": "Hello {Town}!\n", - "key": "Hello %s!\n", - "message": "Hello {Town}!\n", - "translation": "", - "placeholders": [ - { - "id": "Town", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "town", - "comment": "Town" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:36:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%s is visiting %s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "person", - "comment": "The person of matter." - }, - { - "id": "Place", - "string": "%[2]s", - "type": "string", - "underlyingType": "string", - "argNum": 2, - "expr": "place", - "comment": "Place the person is visiting." - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:41:10" - }, - { - "id": "{Person} is visiting {Place}!\n", - "key": "%[1]s is visiting %[3]s!\n", - "message": "{Person} is visiting {Place}!\n", - "translation": "", - "comment": "Person visiting a place.", - "placeholders": [ - { - "id": "Person", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "pp.Person" - }, - { - "id": "Place", - "string": "%[3]s", - "type": "string", - "underlyingType": "string", - "argNum": 3, - "expr": "pp.Place", - "comment": "Place the person is visiting." - }, - { - "id": "Extra", - "string": "%[2]v", - "type": "int", - "underlyingType": "int", - "argNum": 2, - "expr": "pp.extra" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:56:10" - }, - { - "id": "{} files remaining!", - "key": "%d files remaining!", - "message": "{} files remaining!", - "translation": "", - "placeholders": [ - { - "id": "", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "2" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:63:10" - }, - { - "id": "{N} more files remaining!", - "key": "%d more files remaining!", - "message": "{N} more files remaining!", - "translation": "", - "placeholders": [ - { - "id": "N", - "string": "%[1]d", - "type": "int", - "underlyingType": "int", - "argNum": 1, - "expr": "n" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:68:10" - }, - { - "id": "Use the following code for your discount: {ReferralCode}\n", - "key": "Use the following code for your discount: %d\n", - "message": "Use the following code for your discount: {ReferralCode}\n", - "translation": "", - "placeholders": [ - { - "id": "ReferralCode", - "string": "%[1]d", - "type": "golang.org/x/text/cmd/gotext/examples/extract.referralCode", - "underlyingType": "int", - "argNum": 1, - "expr": "c" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:74:10" - }, - { - "id": [ - "msgOutOfOrder", - "{Device} is out of order!" - ], - "key": "%s is out of order!", - "message": "{Device} is out of order!", - "translation": "", - "comment": "FOO\n", - "placeholders": [ - { - "id": "Device", - "string": "%[1]s", - "type": "string", - "underlyingType": "string", - "argNum": 1, - "expr": "device" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:82:10" - }, - { - "id": "{Miles} miles traveled ({Miles_1})", - "key": "%.2[1]f miles traveled (%[1]f)", - "message": "{Miles} miles traveled ({Miles_1})", - "translation": "", - "placeholders": [ - { - "id": "Miles", - "string": "%.2[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - }, - { - "id": "Miles_1", - "string": "%[1]f", - "type": "float64", - "underlyingType": "float64", - "argNum": 1, - "expr": "miles" - } - ], - "position": "golang.org/x/text/cmd/gotext/examples/extract/main.go:86:10" - } - ] -} \ No newline at end of file -- cgit v1.2.3