mirror of
https://git.sr.ht/~phw/scotty
synced 2025-05-11 02:27:05 +02:00
Change string for aborted progress bar
This commit is contained in:
parent
a8517ea249
commit
05f0e8d172
4 changed files with 21 additions and 21 deletions
|
@ -61,7 +61,7 @@ func setupProgressBar(p *mpb.Progress, name string) *mpb.Bar {
|
||||||
decor.OnComplete(
|
decor.OnComplete(
|
||||||
decor.OnAbort(
|
decor.OnAbort(
|
||||||
decor.EwmaETA(decor.ET_STYLE_GO, 0, decor.WC{C: decor.DSyncWidth}),
|
decor.EwmaETA(decor.ET_STYLE_GO, 0, decor.WC{C: decor.DSyncWidth}),
|
||||||
i18n.Tr("error"),
|
i18n.Tr("aborted"),
|
||||||
),
|
),
|
||||||
i18n.Tr("done"),
|
i18n.Tr("done"),
|
||||||
),
|
),
|
||||||
|
|
|
@ -83,9 +83,9 @@ var messageKeyToIndex = map[string]int{
|
||||||
"Visit the URL for authorization: %v": 32,
|
"Visit the URL for authorization: %v": 32,
|
||||||
"Yes": 38,
|
"Yes": 38,
|
||||||
"a service with this name already exists": 4,
|
"a service with this name already exists": 4,
|
||||||
|
"aborted": 54,
|
||||||
"backend %s does not implement %s": 13,
|
"backend %s does not implement %s": 13,
|
||||||
"done": 37,
|
"done": 37,
|
||||||
"error": 54,
|
|
||||||
"exporting": 35,
|
"exporting": 35,
|
||||||
"importing": 36,
|
"importing": 36,
|
||||||
"invalid timestamp string \"%v\"": 49,
|
"invalid timestamp string \"%v\"": 49,
|
||||||
|
@ -161,10 +161,10 @@ var enIndex = []uint32{ // 56 elements
|
||||||
0x00000432, 0x00000455, 0x0000045d, 0x00000465,
|
0x00000432, 0x00000455, 0x0000045d, 0x00000465,
|
||||||
0x0000048f, 0x000004ad, 0x000004d7, 0x00000510,
|
0x0000048f, 0x000004ad, 0x000004d7, 0x00000510,
|
||||||
0x0000051c, 0x00000529, 0x0000054a, 0x0000056a,
|
0x0000051c, 0x00000529, 0x0000054a, 0x0000056a,
|
||||||
0x0000059d, 0x000005c2, 0x000005e3, 0x000005e9,
|
0x0000059d, 0x000005c2, 0x000005e3, 0x000005eb,
|
||||||
} // Size: 248 bytes
|
} // Size: 248 bytes
|
||||||
|
|
||||||
const enData string = "" + // Size: 1513 bytes
|
const enData string = "" + // Size: 1515 bytes
|
||||||
"\x04\x01\x09\x00\x0e\x02export: %[1]s\x04\x01\x09\x01\x0a\x0e\x02import:" +
|
"\x04\x01\x09\x00\x0e\x02export: %[1]s\x04\x01\x09\x01\x0a\x0e\x02import:" +
|
||||||
" %[1]s\x02Failed reading config: %[1]v\x02Service name\x02a service with" +
|
" %[1]s\x02Failed reading config: %[1]v\x02Service name\x02a service with" +
|
||||||
" this name already exists\x02Saved service %[1]v using backend %[2]v\x02" +
|
" this name already exists\x02Saved service %[1]v using backend %[2]v\x02" +
|
||||||
|
@ -190,6 +190,6 @@ const enData string = "" + // Size: 1513 bytes
|
||||||
"\x02invalid timestamp string \x22%[1]v\x22\x02Latest timestamp: %[1]v (%" +
|
"\x02invalid timestamp string \x22%[1]v\x22\x02Latest timestamp: %[1]v (%" +
|
||||||
"[2]v)\x02no configuration file defined, cannot write config\x02key must " +
|
"[2]v)\x02no configuration file defined, cannot write config\x02key must " +
|
||||||
"only consist of A-Za-z0-9_-\x02no service configuration \x22%[1]v\x22" +
|
"only consist of A-Za-z0-9_-\x02no service configuration \x22%[1]v\x22" +
|
||||||
"\x02error"
|
"\x02aborted"
|
||||||
|
|
||||||
// Total table size 3745 bytes (3KiB); checksum: 5C167C91
|
// Total table size 3747 bytes (3KiB); checksum: 1EAA307C
|
||||||
|
|
|
@ -379,8 +379,8 @@
|
||||||
"fuzzy": true
|
"fuzzy": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "error",
|
"id": "aborted",
|
||||||
"message": "error",
|
"message": "aborted",
|
||||||
"translation": ""
|
"translation": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -449,9 +449,9 @@
|
||||||
"fuzzy": true
|
"fuzzy": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "error",
|
"id": "aborted",
|
||||||
"message": "error",
|
"message": "aborted",
|
||||||
"translation": "error",
|
"translation": "aborted",
|
||||||
"translatorComment": "Copied from source.",
|
"translatorComment": "Copied from source.",
|
||||||
"fuzzy": true
|
"fuzzy": true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue