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.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"),
), ),

View file

@ -83,17 +83,17 @@ 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,
"backend %s does not implement %s": 13, "aborted": 54,
"done": 37, "backend %s does not implement %s": 13,
"error": 54, "done": 37,
"exporting": 35, "exporting": 35,
"importing": 36, "importing": 36,
"invalid timestamp string \"%v\"": 49, "invalid timestamp string \"%v\"": 49,
"key must only consist of A-Za-z0-9_-": 52, "key must only consist of A-Za-z0-9_-": 52,
"no configuration file defined, cannot write config": 51, "no configuration file defined, cannot write config": 51,
"no existing service configurations": 40, "no existing service configurations": 40,
"no service configuration \"%v\"": 53, "no service configuration \"%v\"": 53,
"unknown backend \"%s\"": 14, "unknown backend \"%s\"": 14,
} }
var deIndex = []uint32{ // 56 elements var deIndex = []uint32{ // 56 elements
@ -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

View file

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

View file

@ -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
}, },