1
0
Fork 0
mirror of https://git.sr.ht/~phw/scotty synced 2025-04-21 12:19:29 +02:00

Update translations

This commit is contained in:
Philipp Wolfer 2024-01-15 07:35:44 +01:00
parent 210fe928fd
commit 91f9b62db3
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
3 changed files with 225 additions and 38 deletions
internal/translations

View file

@ -47,27 +47,33 @@ var messageKeyToIndex = map[string]int{
"Access token received, you can use %v now.\n": 28, "Access token received, you can use %v now.\n": 28,
"Append to file": 21, "Append to file": 21,
"Backend": 36, "Backend": 36,
"Client ID": 15, "Check for duplicate listens on import (slower)": 47,
"Client secret": 16, "Client ID": 15,
"Delete the service configuration \"%v\"?": 7, "Client secret": 16,
"Delete the service configuration \"%v\"?": 7,
"Directory path": 49,
"Disable auto correction of submitted listens": 24, "Disable auto correction of submitted listens": 24,
"During the import the following errors occurred:": 41, "During the import the following errors occurred:": 41,
"Error: %v\n": 42, "Error: %v": 42,
"Error: OAuth state mismatch": 27, "Error: OAuth state mismatch": 27,
"Failed reading config: %v": 2, "Failed reading config: %v": 2,
"File path": 20, "File path": 20,
"From timestamp: %v (%v)": 38, "From timestamp: %v (%v)": 38,
"Import failed, last reported timestamp was %v (%s)": 39, "Ignore listens in incognito mode": 50,
"Imported %v of %v %s into %v.": 40, "Ignore skipped listens": 51,
"Include skipped listens": 25, "Ignored duplicate listen %v: \"%v\" by %v (%v)": 48,
"Latest timestamp: %v (%v)": 43, "Import failed, last reported timestamp was %v (%s)": 39,
"No": 33, "Imported %v of %v %s into %v.": 40,
"Playlist title": 22, "Include skipped listens": 25,
"Saved service %v using backend %v": 5, "Latest timestamp: %v (%v)": 43,
"Server URL": 17, "Minimum playback duration for skipped tracks (seconds)": 52,
"Service": 35, "No": 33,
"Service \"%v\" deleted\n": 9, "Playlist title": 22,
"Service name": 3, "Saved service %v using backend %v": 5,
"Server URL": 17,
"Service": 35,
"Service \"%v\" deleted\n": 9,
"Service name": 3,
"The backend %v requires authentication. Authenticate now?": 6, "The backend %v requires authentication. Authenticate now?": 6,
"Token received, you can close this window now.": 12, "Token received, you can close this window now.": 12,
"Transferring %s from %s to %s...": 37, "Transferring %s from %s to %s...": 37,
@ -81,6 +87,7 @@ var messageKeyToIndex = map[string]int{
"done": 31, "done": 31,
"exporting": 29, "exporting": 29,
"importing": 30, "importing": 30,
"invalid timestamp string \"%v\"": 53,
"key must only consist of A-Za-z0-9_-": 45, "key must only consist of A-Za-z0-9_-": 45,
"no configuration file defined, cannot write config": 44, "no configuration file defined, cannot write config": 44,
"no existing service configurations": 34, "no existing service configurations": 34,
@ -88,7 +95,7 @@ var messageKeyToIndex = map[string]int{
"unknown backend \"%s\"": 14, "unknown backend \"%s\"": 14,
} }
var deIndex = []uint32{ // 48 elements var deIndex = []uint32{ // 55 elements
// Entry 0 - 1F // Entry 0 - 1F
0x00000000, 0x00000013, 0x00000027, 0x00000052, 0x00000000, 0x00000013, 0x00000027, 0x00000052,
0x0000005e, 0x0000008d, 0x000000bd, 0x00000104, 0x0000005e, 0x0000008d, 0x000000bd, 0x00000104,
@ -101,11 +108,13 @@ var deIndex = []uint32{ // 48 elements
// Entry 20 - 3F // Entry 20 - 3F
0x000003ba, 0x000003bd, 0x000003c2, 0x000003eb, 0x000003ba, 0x000003bd, 0x000003c2, 0x000003eb,
0x000003f3, 0x000003fb, 0x00000424, 0x00000442, 0x000003f3, 0x000003fb, 0x00000424, 0x00000442,
0x0000047f, 0x000004aa, 0x000004e1, 0x000004f4, 0x0000047f, 0x000004aa, 0x000004e1, 0x000004ef,
0x00000517, 0x00000568, 0x0000059f, 0x000005c6, 0x00000512, 0x00000563, 0x0000059a, 0x000005c1,
} // Size: 216 bytes 0x000005c1, 0x000005c1, 0x000005c1, 0x000005c1,
0x000005c1, 0x000005c1, 0x000005c1,
} // Size: 244 bytes
const deData string = "" + // Size: 1478 bytes const deData string = "" + // Size: 1473 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\x02Fehler beim Lesen der Konfiguration: %[1]v\x02Servicename\x02e" + " %[1]s\x02Fehler beim Lesen der Konfiguration: %[1]v\x02Servicename\x02e" +
"in Service mit diesem Namen existiert bereits\x02Service %[1]v mit dem B" + "in Service mit diesem Namen existiert bereits\x02Service %[1]v mit dem B" +
@ -126,12 +135,12 @@ const deData string = "" + // Size: 1478 bytes
" von %[2]s nach %[3]s...\x02Ab Zeitstempel: %[1]v (%[2]v)\x02Import fehl" + " von %[2]s nach %[3]s...\x02Ab Zeitstempel: %[1]v (%[2]v)\x02Import fehl" +
"geschlagen, letzter Zeitstempel war %[1]v (%[2]s)\x02%[1]v von %[2]v %[3" + "geschlagen, letzter Zeitstempel war %[1]v (%[2]s)\x02%[1]v von %[2]v %[3" +
"]s in %[4]v importiert.\x02Während des Imports sind folgende Fehler aufg" + "]s in %[4]v importiert.\x02Während des Imports sind folgende Fehler aufg" +
"etreten:\x04\x00\x01\x0a\x0e\x02Fehler: %[1]v\x02Letzter Zeitstempel: %[" + "etreten:\x02Fehler: %[1]v\x02Letzter Zeitstempel: %[1]v (%[2]v)\x02keine" +
"1]v (%[2]v)\x02keine Konfigurationsdatei definiert, Konfiguration kann n" + " Konfigurationsdatei definiert, Konfiguration kann nicht geschrieben wer" +
"icht geschrieben werden\x02Schlüssel darf nur die Zeichen A-Za-z0-9_- be" + "den\x02Schlüssel darf nur die Zeichen A-Za-z0-9_- beinhalten\x02keine Se" +
"inhalten\x02keine Servicekonfiguration „%[1]v“" "rvicekonfiguration „%[1]v“"
var enIndex = []uint32{ // 48 elements var enIndex = []uint32{ // 55 elements
// Entry 0 - 1F // Entry 0 - 1F
0x00000000, 0x00000013, 0x00000027, 0x00000044, 0x00000000, 0x00000013, 0x00000027, 0x00000044,
0x00000051, 0x00000079, 0x000000a1, 0x000000de, 0x00000051, 0x00000079, 0x000000a1, 0x000000de,
@ -144,11 +153,13 @@ var enIndex = []uint32{ // 48 elements
// Entry 20 - 3F // Entry 20 - 3F
0x0000032f, 0x00000333, 0x00000336, 0x00000359, 0x0000032f, 0x00000333, 0x00000336, 0x00000359,
0x00000361, 0x00000369, 0x00000393, 0x000003b1, 0x00000361, 0x00000369, 0x00000393, 0x000003b1,
0x000003ea, 0x00000414, 0x00000445, 0x00000457, 0x000003ea, 0x00000414, 0x00000445, 0x00000452,
0x00000477, 0x000004aa, 0x000004cf, 0x000004f0, 0x00000472, 0x000004a5, 0x000004ca, 0x000004eb,
} // Size: 216 bytes 0x0000051a, 0x00000553, 0x00000562, 0x00000583,
0x0000059a, 0x000005d1, 0x000005f2,
} // Size: 244 bytes
const enData string = "" + // Size: 1264 bytes const enData string = "" + // Size: 1522 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" +
@ -167,9 +178,13 @@ const enData string = "" + // Size: 1264 bytes
"e\x02Backend\x02Transferring %[1]s from %[2]s to %[3]s...\x02From timest" + "e\x02Backend\x02Transferring %[1]s from %[2]s to %[3]s...\x02From timest" +
"amp: %[1]v (%[2]v)\x02Import failed, last reported timestamp was %[1]v (" + "amp: %[1]v (%[2]v)\x02Import failed, last reported timestamp was %[1]v (" +
"%[2]s)\x02Imported %[1]v of %[2]v %[3]s into %[4]v.\x02During the import" + "%[2]s)\x02Imported %[1]v of %[2]v %[3]s into %[4]v.\x02During the import" +
" the following errors occurred:\x04\x00\x01\x0a\x0d\x02Error: %[1]v\x02L" + " the following errors occurred:\x02Error: %[1]v\x02Latest timestamp: %[1" +
"atest timestamp: %[1]v (%[2]v)\x02no configuration file defined, cannot " + "]v (%[2]v)\x02no configuration file defined, cannot write config\x02key " +
"write config\x02key must only consist of A-Za-z0-9_-\x02no service confi" + "must only consist of A-Za-z0-9_-\x02no service configuration \x22%[1]v" +
"guration \x22%[1]v\x22" "\x22\x02Check for duplicate listens on import (slower)\x02Ignored duplic" +
"ate listen %[1]v: \x22%[2]v\x22 by %[3]v (%[4]v)\x02Directory path\x02Ig" +
"nore listens in incognito mode\x02Ignore skipped listens\x02Minimum play" +
"back duration for skipped tracks (seconds)\x02invalid timestamp string " +
"\x22%[1]v\x22"
// Total table size 3174 bytes (3KiB); checksum: 18BB58D4 // Total table size 3483 bytes (3KiB); checksum: 43313DBC

View file

@ -255,6 +255,50 @@
"message": "Unique playlist identifier", "message": "Unique playlist identifier",
"translation": "Eindeutige Playlist-ID" "translation": "Eindeutige Playlist-ID"
}, },
{
"id": "Check for duplicate listens on import (slower)",
"message": "Check for duplicate listens on import (slower)",
"translation": ""
},
{
"id": "Ignored duplicate listen {ListenedAt}: \"{TrackName}\" by {ArtistName} ({RecordingMbid})",
"message": "Ignored duplicate listen {ListenedAt}: \"{TrackName}\" by {ArtistName} ({RecordingMbid})",
"translation": "",
"placeholders": [
{
"id": "ListenedAt",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "l.ListenedAt"
},
{
"id": "TrackName",
"string": "%[2]v",
"type": "string",
"underlyingType": "string",
"argNum": 2,
"expr": "l.TrackName"
},
{
"id": "ArtistName",
"string": "%[3]v",
"type": "string",
"underlyingType": "string",
"argNum": 3,
"expr": "l.ArtistName()"
},
{
"id": "RecordingMbid",
"string": "%[4]v",
"type": "go.uploadedlobster.com/scotty/internal/models.MBID",
"underlyingType": "string",
"argNum": 4,
"expr": "l.RecordingMbid"
}
]
},
{ {
"id": "Disable auto correction of submitted listens", "id": "Disable auto correction of submitted listens",
"message": "Disable auto correction of submitted listens", "message": "Disable auto correction of submitted listens",
@ -265,6 +309,26 @@
"message": "Include skipped listens", "message": "Include skipped listens",
"translation": "Übersprungene Titel einbeziehen" "translation": "Übersprungene Titel einbeziehen"
}, },
{
"id": "Directory path",
"message": "Directory path",
"translation": ""
},
{
"id": "Ignore listens in incognito mode",
"message": "Ignore listens in incognito mode",
"translation": ""
},
{
"id": "Ignore skipped listens",
"message": "Ignore skipped listens",
"translation": ""
},
{
"id": "Minimum playback duration for skipped tracks (seconds)",
"message": "Minimum playback duration for skipped tracks (seconds)",
"translation": ""
},
{ {
"id": "Visit the URL for authorization: {Url}", "id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}", "message": "Visit the URL for authorization: {Url}",
@ -478,6 +542,21 @@
} }
] ]
}, },
{
"id": "invalid timestamp string \"{FlagValue}\"",
"message": "invalid timestamp string \"{FlagValue}\"",
"translation": "",
"placeholders": [
{
"id": "FlagValue",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "flagValue"
}
]
},
{ {
"id": "Latest timestamp: {Arg_1} ({Arg_2})", "id": "Latest timestamp: {Arg_1} ({Arg_2})",
"message": "Latest timestamp: {Arg_1} ({Arg_2})", "message": "Latest timestamp: {Arg_1} ({Arg_2})",

View file

@ -303,6 +303,54 @@
"translatorComment": "Copied from source.", "translatorComment": "Copied from source.",
"fuzzy": true "fuzzy": true
}, },
{
"id": "Check for duplicate listens on import (slower)",
"message": "Check for duplicate listens on import (slower)",
"translation": "Check for duplicate listens on import (slower)",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Ignored duplicate listen {ListenedAt}: \"{TrackName}\" by {ArtistName} ({RecordingMbid})",
"message": "Ignored duplicate listen {ListenedAt}: \"{TrackName}\" by {ArtistName} ({RecordingMbid})",
"translation": "Ignored duplicate listen {ListenedAt}: \"{TrackName}\" by {ArtistName} ({RecordingMbid})",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "ListenedAt",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "l.ListenedAt"
},
{
"id": "TrackName",
"string": "%[2]v",
"type": "string",
"underlyingType": "string",
"argNum": 2,
"expr": "l.TrackName"
},
{
"id": "ArtistName",
"string": "%[3]v",
"type": "string",
"underlyingType": "string",
"argNum": 3,
"expr": "l.ArtistName()"
},
{
"id": "RecordingMbid",
"string": "%[4]v",
"type": "go.uploadedlobster.com/scotty/internal/models.MBID",
"underlyingType": "string",
"argNum": 4,
"expr": "l.RecordingMbid"
}
],
"fuzzy": true
},
{ {
"id": "Disable auto correction of submitted listens", "id": "Disable auto correction of submitted listens",
"message": "Disable auto correction of submitted listens", "message": "Disable auto correction of submitted listens",
@ -317,6 +365,34 @@
"translatorComment": "Copied from source.", "translatorComment": "Copied from source.",
"fuzzy": true "fuzzy": true
}, },
{
"id": "Directory path",
"message": "Directory path",
"translation": "Directory path",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Ignore listens in incognito mode",
"message": "Ignore listens in incognito mode",
"translation": "Ignore listens in incognito mode",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Ignore skipped listens",
"message": "Ignore skipped listens",
"translation": "Ignore skipped listens",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Minimum playback duration for skipped tracks (seconds)",
"message": "Minimum playback duration for skipped tracks (seconds)",
"translation": "Minimum playback duration for skipped tracks (seconds)",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{ {
"id": "Visit the URL for authorization: {Url}", "id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}", "message": "Visit the URL for authorization: {Url}",
@ -558,6 +634,23 @@
], ],
"fuzzy": true "fuzzy": true
}, },
{
"id": "invalid timestamp string \"{FlagValue}\"",
"message": "invalid timestamp string \"{FlagValue}\"",
"translation": "invalid timestamp string \"{FlagValue}\"",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "FlagValue",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "flagValue"
}
],
"fuzzy": true
},
{ {
"id": "Latest timestamp: {Arg_1} ({Arg_2})", "id": "Latest timestamp: {Arg_1} ({Arg_2})",
"message": "Latest timestamp: {Arg_1} ({Arg_2})", "message": "Latest timestamp: {Arg_1} ({Arg_2})",