mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Update translations
This commit is contained in:
parent
210fe928fd
commit
91f9b62db3
3 changed files with 225 additions and 38 deletions
|
@ -47,27 +47,33 @@ var messageKeyToIndex = map[string]int{
|
|||
"Access token received, you can use %v now.\n": 28,
|
||||
"Append to file": 21,
|
||||
"Backend": 36,
|
||||
"Client ID": 15,
|
||||
"Client secret": 16,
|
||||
"Delete the service configuration \"%v\"?": 7,
|
||||
"Check for duplicate listens on import (slower)": 47,
|
||||
"Client ID": 15,
|
||||
"Client secret": 16,
|
||||
"Delete the service configuration \"%v\"?": 7,
|
||||
"Directory path": 49,
|
||||
"Disable auto correction of submitted listens": 24,
|
||||
"During the import the following errors occurred:": 41,
|
||||
"Error: %v\n": 42,
|
||||
"Error: OAuth state mismatch": 27,
|
||||
"Failed reading config: %v": 2,
|
||||
"File path": 20,
|
||||
"From timestamp: %v (%v)": 38,
|
||||
"Import failed, last reported timestamp was %v (%s)": 39,
|
||||
"Imported %v of %v %s into %v.": 40,
|
||||
"Include skipped listens": 25,
|
||||
"Latest timestamp: %v (%v)": 43,
|
||||
"No": 33,
|
||||
"Playlist title": 22,
|
||||
"Saved service %v using backend %v": 5,
|
||||
"Server URL": 17,
|
||||
"Service": 35,
|
||||
"Service \"%v\" deleted\n": 9,
|
||||
"Service name": 3,
|
||||
"Error: %v": 42,
|
||||
"Error: OAuth state mismatch": 27,
|
||||
"Failed reading config: %v": 2,
|
||||
"File path": 20,
|
||||
"From timestamp: %v (%v)": 38,
|
||||
"Ignore listens in incognito mode": 50,
|
||||
"Ignore skipped listens": 51,
|
||||
"Ignored duplicate listen %v: \"%v\" by %v (%v)": 48,
|
||||
"Import failed, last reported timestamp was %v (%s)": 39,
|
||||
"Imported %v of %v %s into %v.": 40,
|
||||
"Include skipped listens": 25,
|
||||
"Latest timestamp: %v (%v)": 43,
|
||||
"Minimum playback duration for skipped tracks (seconds)": 52,
|
||||
"No": 33,
|
||||
"Playlist title": 22,
|
||||
"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,
|
||||
"Token received, you can close this window now.": 12,
|
||||
"Transferring %s from %s to %s...": 37,
|
||||
|
@ -81,6 +87,7 @@ var messageKeyToIndex = map[string]int{
|
|||
"done": 31,
|
||||
"exporting": 29,
|
||||
"importing": 30,
|
||||
"invalid timestamp string \"%v\"": 53,
|
||||
"key must only consist of A-Za-z0-9_-": 45,
|
||||
"no configuration file defined, cannot write config": 44,
|
||||
"no existing service configurations": 34,
|
||||
|
@ -88,7 +95,7 @@ var messageKeyToIndex = map[string]int{
|
|||
"unknown backend \"%s\"": 14,
|
||||
}
|
||||
|
||||
var deIndex = []uint32{ // 48 elements
|
||||
var deIndex = []uint32{ // 55 elements
|
||||
// Entry 0 - 1F
|
||||
0x00000000, 0x00000013, 0x00000027, 0x00000052,
|
||||
0x0000005e, 0x0000008d, 0x000000bd, 0x00000104,
|
||||
|
@ -101,11 +108,13 @@ var deIndex = []uint32{ // 48 elements
|
|||
// Entry 20 - 3F
|
||||
0x000003ba, 0x000003bd, 0x000003c2, 0x000003eb,
|
||||
0x000003f3, 0x000003fb, 0x00000424, 0x00000442,
|
||||
0x0000047f, 0x000004aa, 0x000004e1, 0x000004f4,
|
||||
0x00000517, 0x00000568, 0x0000059f, 0x000005c6,
|
||||
} // Size: 216 bytes
|
||||
0x0000047f, 0x000004aa, 0x000004e1, 0x000004ef,
|
||||
0x00000512, 0x00000563, 0x0000059a, 0x000005c1,
|
||||
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:" +
|
||||
" %[1]s\x02Fehler beim Lesen der Konfiguration: %[1]v\x02Servicename\x02e" +
|
||||
"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" +
|
||||
"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" +
|
||||
"etreten:\x04\x00\x01\x0a\x0e\x02Fehler: %[1]v\x02Letzter Zeitstempel: %[" +
|
||||
"1]v (%[2]v)\x02keine Konfigurationsdatei definiert, Konfiguration kann n" +
|
||||
"icht geschrieben werden\x02Schlüssel darf nur die Zeichen A-Za-z0-9_- be" +
|
||||
"inhalten\x02keine Servicekonfiguration „%[1]v“"
|
||||
"etreten:\x02Fehler: %[1]v\x02Letzter Zeitstempel: %[1]v (%[2]v)\x02keine" +
|
||||
" Konfigurationsdatei definiert, Konfiguration kann nicht geschrieben wer" +
|
||||
"den\x02Schlüssel darf nur die Zeichen A-Za-z0-9_- beinhalten\x02keine Se" +
|
||||
"rvicekonfiguration „%[1]v“"
|
||||
|
||||
var enIndex = []uint32{ // 48 elements
|
||||
var enIndex = []uint32{ // 55 elements
|
||||
// Entry 0 - 1F
|
||||
0x00000000, 0x00000013, 0x00000027, 0x00000044,
|
||||
0x00000051, 0x00000079, 0x000000a1, 0x000000de,
|
||||
|
@ -144,11 +153,13 @@ var enIndex = []uint32{ // 48 elements
|
|||
// Entry 20 - 3F
|
||||
0x0000032f, 0x00000333, 0x00000336, 0x00000359,
|
||||
0x00000361, 0x00000369, 0x00000393, 0x000003b1,
|
||||
0x000003ea, 0x00000414, 0x00000445, 0x00000457,
|
||||
0x00000477, 0x000004aa, 0x000004cf, 0x000004f0,
|
||||
} // Size: 216 bytes
|
||||
0x000003ea, 0x00000414, 0x00000445, 0x00000452,
|
||||
0x00000472, 0x000004a5, 0x000004ca, 0x000004eb,
|
||||
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:" +
|
||||
" %[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" +
|
||||
|
@ -167,9 +178,13 @@ const enData string = "" + // Size: 1264 bytes
|
|||
"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 (" +
|
||||
"%[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" +
|
||||
"atest timestamp: %[1]v (%[2]v)\x02no configuration file defined, cannot " +
|
||||
"write config\x02key must only consist of A-Za-z0-9_-\x02no service confi" +
|
||||
"guration \x22%[1]v\x22"
|
||||
" the following errors occurred:\x02Error: %[1]v\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\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
|
||||
|
|
|
@ -255,6 +255,50 @@
|
|||
"message": "Unique playlist identifier",
|
||||
"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",
|
||||
"message": "Disable auto correction of submitted listens",
|
||||
|
@ -265,6 +309,26 @@
|
|||
"message": "Include skipped listens",
|
||||
"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}",
|
||||
"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})",
|
||||
"message": "Latest timestamp: {Arg_1} ({Arg_2})",
|
||||
|
|
|
@ -303,6 +303,54 @@
|
|||
"translatorComment": "Copied from source.",
|
||||
"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",
|
||||
"message": "Disable auto correction of submitted listens",
|
||||
|
@ -317,6 +365,34 @@
|
|||
"translatorComment": "Copied from source.",
|
||||
"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}",
|
||||
"message": "Visit the URL for authorization: {Url}",
|
||||
|
@ -558,6 +634,23 @@
|
|||
],
|
||||
"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})",
|
||||
"message": "Latest timestamp: {Arg_1} ({Arg_2})",
|
||||
|
|
Loading…
Add table
Reference in a new issue