From dfe6773744a010fc77ea92fbb9ec6ec42fc52bf0 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sun, 4 May 2025 13:07:02 +0200 Subject: [PATCH] Update translations --- internal/translations/catalog.go | 38 ++++++------- .../translations/locales/de/out.gotext.json | 47 ++++++++-------- .../translations/locales/en/out.gotext.json | 53 +++++++++++-------- 3 files changed, 76 insertions(+), 62 deletions(-) diff --git a/internal/translations/catalog.go b/internal/translations/catalog.go index 3eb2f7e..fbe5eef 100644 --- a/internal/translations/catalog.go +++ b/internal/translations/catalog.go @@ -61,9 +61,9 @@ var messageKeyToIndex = map[string]int{ "Ignore listens in incognito mode": 30, "Ignore skipped listens": 27, "Ignored duplicate listen %v: \"%v\" by %v (%v)": 25, - "Import failed, last reported timestamp was %v (%s)": 45, + "Import failed, last reported timestamp was %v (%s)": 46, "Import log:": 47, - "Imported %v of %v %s into %v.": 46, + "Imported %v of %v %s into %v.": 45, "Latest timestamp: %v (%v)": 50, "Minimum playback duration for skipped tracks (seconds)": 31, "No": 39, @@ -85,6 +85,7 @@ var messageKeyToIndex = map[string]int{ "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, @@ -95,7 +96,7 @@ var messageKeyToIndex = map[string]int{ "unknown backend \"%s\"": 14, } -var deIndex = []uint32{ // 55 elements +var deIndex = []uint32{ // 56 elements // Entry 0 - 1F 0x00000000, 0x00000013, 0x00000027, 0x00000052, 0x0000005e, 0x0000008d, 0x000000bd, 0x00000104, @@ -109,10 +110,10 @@ var deIndex = []uint32{ // 55 elements 0x00000418, 0x00000443, 0x0000046d, 0x000004ad, 0x000004b8, 0x000004c3, 0x000004ca, 0x000004cd, 0x000004d2, 0x000004fb, 0x00000503, 0x0000050b, - 0x00000534, 0x00000552, 0x0000058f, 0x000005ba, + 0x00000534, 0x00000552, 0x0000057d, 0x000005ba, 0x000005c5, 0x000005d2, 0x000005f6, 0x00000619, - 0x0000066a, 0x000006a1, 0x000006c8, -} // Size: 244 bytes + 0x0000066a, 0x000006a1, 0x000006c8, 0x000006c8, +} // Size: 248 bytes const deData string = "" + // Size: 1736 bytes "\x04\x01\x09\x00\x0e\x02Export: %[1]s\x04\x01\x09\x01\x0a\x0e\x02Import:" + @@ -136,15 +137,15 @@ const deData string = "" + // Size: 1736 bytes "rein\x04\x00\x01\x0a;\x02Zugriffstoken erhalten, %[1]v kann jetzt verwen" + "det werden.\x02exportiere\x02importiere\x02fertig\x02Ja\x02Nein\x02keine" + " bestehenden Servicekonfigurationen\x02Service\x02Backend\x02Übertrage %" + - "[1]s von %[2]s nach %[3]s…\x02Ab Zeitstempel: %[1]v (%[2]v)\x02Import fe" + - "hlgeschlagen, letzter Zeitstempel war %[1]v (%[2]s)\x02%[1]v von %[2]v %" + - "[3]s in %[4]v importiert.\x02Importlog:\x02%[1]v: %[2]v\x02ungültiger Ze" + + "[1]s von %[2]s nach %[3]s…\x02Ab Zeitstempel: %[1]v (%[2]v)\x02%[1]v von" + + " %[2]v %[3]s in %[4]v importiert.\x02Import fehlgeschlagen, letzter Zeit" + + "stempel war %[1]v (%[2]s)\x02Importlog:\x02%[1]v: %[2]v\x02ungültiger Ze" + "itstempel „%[1]v“\x02Letzter Zeitstempel: %[1]v (%[2]v)\x02keine Konfigu" + "rationsdatei definiert, Konfiguration kann nicht geschrieben werden\x02S" + "chlüssel darf nur die Zeichen A-Za-z0-9_- beinhalten\x02keine Servicekon" + "figuration „%[1]v“" -var enIndex = []uint32{ // 55 elements +var enIndex = []uint32{ // 56 elements // Entry 0 - 1F 0x00000000, 0x00000013, 0x00000027, 0x00000044, 0x00000051, 0x00000079, 0x000000a1, 0x000000de, @@ -158,12 +159,12 @@ var enIndex = []uint32{ // 55 elements 0x0000039c, 0x000003c3, 0x000003df, 0x00000412, 0x0000041c, 0x00000426, 0x0000042b, 0x0000042f, 0x00000432, 0x00000455, 0x0000045d, 0x00000465, - 0x0000048f, 0x000004ad, 0x000004e6, 0x00000510, + 0x0000048f, 0x000004ad, 0x000004d7, 0x00000510, 0x0000051c, 0x00000529, 0x0000054a, 0x0000056a, - 0x0000059d, 0x000005c2, 0x000005e3, -} // Size: 244 bytes + 0x0000059d, 0x000005c2, 0x000005e3, 0x000005e9, +} // Size: 248 bytes -const enData string = "" + // Size: 1507 bytes +const enData string = "" + // Size: 1513 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" + @@ -184,10 +185,11 @@ const enData string = "" + // Size: 1507 bytes "token received, you can use %[1]v now.\x02exporting\x02importing\x02done" + "\x02Yes\x02No\x02no existing service configurations\x02Service\x02Backen" + "d\x02Transferring %[1]s from %[2]s to %[3]s…\x02From timestamp: %[1]v (%" + - "[2]v)\x02Import failed, last reported timestamp was %[1]v (%[2]s)\x02Imp" + - "orted %[1]v of %[2]v %[3]s into %[4]v.\x02Import log:\x02%[1]v: %[2]v" + + "[2]v)\x02Imported %[1]v of %[2]v %[3]s into %[4]v.\x02Import failed, las" + + "t reported timestamp was %[1]v (%[2]s)\x02Import log:\x02%[1]v: %[2]v" + "\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" + "only consist of A-Za-z0-9_-\x02no service configuration \x22%[1]v\x22" + + "\x02error" - // Total table size 3731 bytes (3KiB); checksum: F7951710 + // Total table size 3745 bytes (3KiB); checksum: 5C167C91 diff --git a/internal/translations/locales/de/out.gotext.json b/internal/translations/locales/de/out.gotext.json index 680505e..06f5f82 100644 --- a/internal/translations/locales/de/out.gotext.json +++ b/internal/translations/locales/de/out.gotext.json @@ -378,6 +378,11 @@ "translatorComment": "Copied from source.", "fuzzy": true }, + { + "id": "error", + "message": "error", + "translation": "" + }, { "id": "done", "message": "done", @@ -462,27 +467,6 @@ } ] }, - { - "id": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", - "message": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", - "translation": "Import fehlgeschlagen, letzter Zeitstempel war {Arg_1} ({Arg_2})", - "placeholders": [ - { - "id": "Arg_1", - "string": "%[1]v", - "type": "", - "underlyingType": "interface{}", - "argNum": 1 - }, - { - "id": "Arg_2", - "string": "%[2]s", - "type": "", - "underlyingType": "string", - "argNum": 2 - } - ] - }, { "id": "Imported {ImportCount} of {TotalCount} {Entity} into {TargetName}.", "message": "Imported {ImportCount} of {TotalCount} {Entity} into {TargetName}.", @@ -522,6 +506,27 @@ } ] }, + { + "id": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", + "message": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", + "translation": "Import fehlgeschlagen, letzter Zeitstempel war {Arg_1} ({Arg_2})", + "placeholders": [ + { + "id": "Arg_1", + "string": "%[1]v", + "type": "", + "underlyingType": "interface{}", + "argNum": 1 + }, + { + "id": "Arg_2", + "string": "%[2]s", + "type": "", + "underlyingType": "string", + "argNum": 2 + } + ] + }, { "id": "Import log:", "message": "Import log:", diff --git a/internal/translations/locales/en/out.gotext.json b/internal/translations/locales/en/out.gotext.json index eecf359..0ef12a7 100644 --- a/internal/translations/locales/en/out.gotext.json +++ b/internal/translations/locales/en/out.gotext.json @@ -448,6 +448,13 @@ "translatorComment": "Copied from source.", "fuzzy": true }, + { + "id": "error", + "message": "error", + "translation": "error", + "translatorComment": "Copied from source.", + "fuzzy": true + }, { "id": "done", "message": "done", @@ -546,29 +553,6 @@ ], "fuzzy": true }, - { - "id": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", - "message": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", - "translation": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", - "translatorComment": "Copied from source.", - "placeholders": [ - { - "id": "Arg_1", - "string": "%[1]v", - "type": "", - "underlyingType": "interface{}", - "argNum": 1 - }, - { - "id": "Arg_2", - "string": "%[2]s", - "type": "", - "underlyingType": "string", - "argNum": 2 - } - ], - "fuzzy": true - }, { "id": "Imported {ImportCount} of {TotalCount} {Entity} into {TargetName}.", "message": "Imported {ImportCount} of {TotalCount} {Entity} into {TargetName}.", @@ -610,6 +594,29 @@ ], "fuzzy": true }, + { + "id": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", + "message": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", + "translation": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "Arg_1", + "string": "%[1]v", + "type": "", + "underlyingType": "interface{}", + "argNum": 1 + }, + { + "id": "Arg_2", + "string": "%[2]s", + "type": "", + "underlyingType": "string", + "argNum": 2 + } + ], + "fuzzy": true + }, { "id": "Import log:", "message": "Import log:",