Change string for aborted progress bar

This commit is contained in:
Philipp Wolfer 2025-05-04 13:24:12 +02:00
parent a8517ea249
commit 05f0e8d172
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
4 changed files with 21 additions and 21 deletions

View file

@ -61,7 +61,7 @@ func setupProgressBar(p *mpb.Progress, name string) *mpb.Bar {
decor.OnComplete(
decor.OnAbort(
decor.EwmaETA(decor.ET_STYLE_GO, 0, decor.WC{C: decor.DSyncWidth}),
i18n.Tr("error"),
i18n.Tr("aborted"),
),
i18n.Tr("done"),
),

View file

@ -83,17 +83,17 @@ var messageKeyToIndex = map[string]int{
"Visit the URL for authorization: %v": 32,
"Yes": 38,
"a service with this name already exists": 4,
"backend %s does not implement %s": 13,
"done": 37,
"error": 54,
"exporting": 35,
"importing": 36,
"invalid timestamp string \"%v\"": 49,
"key must only consist of A-Za-z0-9_-": 52,
"no configuration file defined, cannot write config": 51,
"no existing service configurations": 40,
"no service configuration \"%v\"": 53,
"unknown backend \"%s\"": 14,
"aborted": 54,
"backend %s does not implement %s": 13,
"done": 37,
"exporting": 35,
"importing": 36,
"invalid timestamp string \"%v\"": 49,
"key must only consist of A-Za-z0-9_-": 52,
"no configuration file defined, cannot write config": 51,
"no existing service configurations": 40,
"no service configuration \"%v\"": 53,
"unknown backend \"%s\"": 14,
}
var deIndex = []uint32{ // 56 elements
@ -161,10 +161,10 @@ var enIndex = []uint32{ // 56 elements
0x00000432, 0x00000455, 0x0000045d, 0x00000465,
0x0000048f, 0x000004ad, 0x000004d7, 0x00000510,
0x0000051c, 0x00000529, 0x0000054a, 0x0000056a,
0x0000059d, 0x000005c2, 0x000005e3, 0x000005e9,
0x0000059d, 0x000005c2, 0x000005e3, 0x000005eb,
} // 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:" +
" %[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" +
@ -190,6 +190,6 @@ const enData string = "" + // Size: 1513 bytes
"\x02invalid timestamp string \x22%[1]v\x22\x02Latest timestamp: %[1]v (%" +
"[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" +
"\x02error"
"\x02aborted"
// Total table size 3745 bytes (3KiB); checksum: 5C167C91
// Total table size 3747 bytes (3KiB); checksum: 1EAA307C

View file

@ -379,8 +379,8 @@
"fuzzy": true
},
{
"id": "error",
"message": "error",
"id": "aborted",
"message": "aborted",
"translation": ""
},
{

View file

@ -449,9 +449,9 @@
"fuzzy": true
},
{
"id": "error",
"message": "error",
"translation": "error",
"id": "aborted",
"message": "aborted",
"translation": "aborted",
"translatorComment": "Copied from source.",
"fuzzy": true
},