Skip to content

Commit 18d2cb0

Browse files
authored
chore: add csv messages to i18n (#373)
1 parent 73ba850 commit 18d2cb0

File tree

13 files changed

+251
-60
lines changed

13 files changed

+251
-60
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.17
55
require (
66
github.com/fatih/color v1.7.1-0.20180516100307-2d684516a886
77
github.com/fatih/structs v1.0.1-0.20171020064819-f5faa72e7309
8+
github.com/gofrs/flock v0.8.1
89
github.com/mattn/go-colorable v0.0.0-20160210001857-9fdad7c47650
910
github.com/mattn/go-runewidth v0.0.0-20151118072159-d96d1bd051f2
1011
github.com/nicksnyder/go-i18n/v2 v2.2.0
@@ -22,10 +23,10 @@ require (
2223
require (
2324
github.com/BurntSushi/toml v1.1.0 // indirect
2425
github.com/davecgh/go-spew v1.1.1 // indirect
25-
github.com/gofrs/flock v0.8.1 // indirect
2626
github.com/golang/protobuf v1.5.2 // indirect
2727
github.com/hpcloud/tail v1.0.0 // indirect
2828
github.com/inconshreveable/mousetrap v1.0.0 // indirect
29+
github.com/jteeuwen/go-bindata v3.0.7+incompatible // indirect
2930
github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035 // indirect
3031
github.com/pmezard/go-difflib v1.0.0 // indirect
3132
golang.org/x/net v0.7.0 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
5858
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
5959
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
6060
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
61+
github.com/jteeuwen/go-bindata v3.0.7+incompatible h1:91Uy4d9SYVr1kyTJ15wJsog+esAZZl7JmEfTkwmhJts=
62+
github.com/jteeuwen/go-bindata v3.0.7+incompatible/go.mod h1:JVvhzYOiGBnFSYRyV00iY8q7/0PThjIYav1p9h5dmKs=
6163
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
6264
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
6365
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=

i18n/resources/all.de_DE.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "FEHLGESCHLAGEN"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.en_US.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "FAILED"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.es_ES.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
"id": "FAILED",
3131
"translation": "ERROR"
3232
},
33+
{
34+
"id": "Failed, header could not convert to csv format",
35+
"translation": "Failed, header could not convert to csv format"
36+
},
37+
{
38+
"id": "Failed, rows could not convert to csv format",
39+
"translation": "Failed, rows could not convert to csv format"
40+
},
3341
{
3442
"id": "Invalid grant type: ",
3543
"translation": "Invalid grant type: "

i18n/resources/all.fr_FR.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "ECHEC"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.it_IT.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "NON RIUSCITO"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.ja_JP.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "失敗"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.ko_KR.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "실패"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

i18n/resources/all.pt_BR.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"id": "FAILED",
3232
"translation": "COM FALHA"
3333
},
34+
{
35+
"id": "Failed, header could not convert to csv format",
36+
"translation": "Failed, header could not convert to csv format"
37+
},
38+
{
39+
"id": "Failed, rows could not convert to csv format",
40+
"translation": "Failed, rows could not convert to csv format"
41+
},
3442
{
3543
"id": "Invalid grant type: ",
3644
"translation": "Invalid grant type: "

0 commit comments

Comments
 (0)