Update translations

This commit is contained in:
Philipp Wolfer 2023-12-09 23:19:23 +01:00
parent ab0e50f7aa
commit 3d52f8779a
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
3 changed files with 247 additions and 241 deletions

View file

@ -39,119 +39,117 @@ func init() {
}
var messageKeyToIndex = map[string]int{
"\tbackend: %v": 24,
"\texport: %s": 10,
"\timport: %s\n": 11,
"Aborted": 21,
"Access token": 32,
"Access token received, you can use %v now.\n": 19,
"Append to file": 38,
"Backend": 43,
"Client ID": 28,
"Client secret": 29,
"Delete the service configuration \"%v\"?": 20,
"Disable auto correction of submitted listens": 36,
"During the import the following errors occurred:": 7,
"Error: %v\n": 8,
"Error: OAuth state mismatch": 18,
"Failed reading config: %v": 12,
"File path": 33,
"From timestamp: %v (%v)": 4,
"Import failed, last reported timestamp was %v (%v)": 5,
"Imported %v of %v %s into %v.": 6,
"Include skipped listens": 37,
"Latest timestamp: %v (%v)\n": 9,
"No": 40,
"Playlist title": 34,
"Saved service %v using backend %v": 15,
"Server URL": 30,
"Service": 42,
"Service \"%v\" deleted\n": 22,
"Service name": 13,
"Token received, you can close this window now.": 25,
"\tbackend: %v": 18,
"\texport: %s": 7,
"\timport: %s\n": 8,
"Aborted": 15,
"Access token": 26,
"Access token received, you can use %v now.\n": 35,
"Append to file": 32,
"Backend": 40,
"Client ID": 22,
"Client secret": 23,
"Delete the service configuration \"%v\"?": 14,
"Disable auto correction of submitted listens": 30,
"During the import the following errors occurred:": 5,
"Error: %v\n": 6,
"Error: OAuth state mismatch": 34,
"Failed reading config: %v": 9,
"File path": 27,
"From timestamp: %v (%v)": 41,
"Import failed, last reported timestamp was %v (%s)": 42,
"Imported %v of %v %s into %v.": 4,
"Include skipped listens": 31,
"Latest timestamp: %v (%v)": 43,
"No": 37,
"Playlist title": 28,
"Saved service %v using backend %v": 12,
"Server URL": 24,
"Service": 39,
"Service \"%v\" deleted\n": 16,
"Service name": 10,
"The backend %v requires authentication. Authenticate now?": 13,
"Token received, you can close this window now.": 19,
"Transferring %s from %s to %s...": 3,
"Unique playlist identifier": 35,
"Updated service %v using backend %v\n": 23,
"User name": 31,
"Visit the URL for authorization: %v": 17,
"Yes": 39,
"a service with this name already exists": 14,
"backend %s does not implement %s": 26,
"Unique playlist identifier": 29,
"Updated service %v using backend %v\n": 17,
"User name": 25,
"Visit the URL for authorization: %v": 33,
"Yes": 36,
"a service with this name already exists": 11,
"backend %s does not implement %s": 20,
"done": 2,
"exporting": 0,
"failed loading service configuration": 16,
"importing": 1,
"key must only consist of A-Za-z0-9_-": 45,
"no configuration file defined, cannot write config": 44,
"no existing service configurations": 41,
"no existing service configurations": 38,
"no service configuration \"%v\"": 46,
"unknown backend \"%s\"": 27,
"unknown backend \"%s\"": 21,
}
var deIndex = []uint32{ // 48 elements
// Entry 0 - 1F
0x00000000, 0x0000000b, 0x00000016, 0x0000001d,
0x00000046, 0x00000064, 0x000000a4, 0x000000cf,
0x00000106, 0x00000119, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000046, 0x00000071, 0x000000a8, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
// Entry 20 - 3F
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x00000142, 0x00000142, 0x00000142, 0x00000142,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
0x000000bb, 0x000000bb, 0x000000bb, 0x000000bb,
} // Size: 216 bytes
const deData string = "" + // Size: 322 bytes
const deData string = "" + // Size: 187 bytes
"\x02exportiere\x02importiere\x02fertig\x02Übertrage %[1]s von %[2]s nach" +
" %[3]s...\x02Ab Zeitstempel: %[1]v (%[2]v)\x02Import fehlgeschlagen, der" +
" letzte Zeitstempel war %[1]v (%[2]v)\x02%[1]v von %[2]v %[3]s in %[4]v " +
"importiert.\x02Während des Imports sind folgende Fehler aufgetreten:\x04" +
"\x00\x01\x0a\x0e\x02Fehler: %[1]v\x04\x00\x01\x0a$\x02Neuester Zeitstemp" +
"el: %[1]v (%[2]v)"
" %[3]s...\x02%[1]v von %[2]v %[3]s in %[4]v importiert.\x02Während des I" +
"mports sind folgende Fehler aufgetreten:\x04\x00\x01\x0a\x0e\x02Fehler: " +
"%[1]v"
var enIndex = []uint32{ // 48 elements
// Entry 0 - 1F
0x00000000, 0x0000000a, 0x00000014, 0x00000019,
0x00000043, 0x00000061, 0x0000009a, 0x000000c4,
0x000000f5, 0x00000107, 0x0000012c, 0x0000013f,
0x00000153, 0x00000170, 0x0000017d, 0x000001a5,
0x000001cd, 0x000001f2, 0x00000219, 0x00000235,
0x00000268, 0x00000292, 0x0000029a, 0x000002b7,
0x000002e6, 0x000002fa, 0x00000329, 0x00000350,
0x00000368, 0x00000372, 0x00000380, 0x0000038b,
0x00000043, 0x0000006d, 0x0000009e, 0x000000b0,
0x000000c3, 0x000000d7, 0x000000f4, 0x00000101,
0x00000129, 0x00000151, 0x0000018e, 0x000001b8,
0x000001c0, 0x000001dd, 0x0000020c, 0x00000220,
0x0000024f, 0x00000276, 0x0000028e, 0x00000298,
0x000002a6, 0x000002b1, 0x000002bb, 0x000002c8,
0x000002d2, 0x000002e1, 0x000002fc, 0x00000329,
// Entry 20 - 3F
0x00000395, 0x000003a2, 0x000003ac, 0x000003bb,
0x000003d6, 0x00000403, 0x0000041b, 0x0000042a,
0x0000042e, 0x00000431, 0x00000454, 0x0000045c,
0x00000464, 0x00000497, 0x000004bc, 0x000004dd,
0x00000341, 0x00000350, 0x00000377, 0x00000393,
0x000003c6, 0x000003ca, 0x000003cd, 0x000003f0,
0x000003f8, 0x00000400, 0x0000041e, 0x00000457,
0x00000477, 0x000004aa, 0x000004cf, 0x000004f0,
} // Size: 216 bytes
const enData string = "" + // Size: 1245 bytes
const enData string = "" + // Size: 1264 bytes
"\x02exporting\x02importing\x02done\x02Transferring %[1]s from %[2]s to %" +
"[3]s...\x02From timestamp: %[1]v (%[2]v)\x02Import failed, last reported" +
" timestamp was %[1]v (%[2]v)\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\x04\x00\x01\x0a \x02Latest timestamp: %[1]v (%[2]v)" +
"\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" +
"failed loading service configuration\x02Visit the URL for authorization:" +
" %[1]v\x02Error: OAuth state mismatch\x04\x00\x01\x0a.\x02Access token r" +
"eceived, you can use %[1]v now.\x02Delete the service configuration \x22" +
"%[1]v\x22?\x02Aborted\x04\x00\x01\x0a\x18\x02Service \x22%[1]v\x22 delet" +
"ed\x04\x00\x01\x0a*\x02Updated service %[1]v using backend %[2]v\x04\x01" +
"\x09\x00\x0f\x02backend: %[1]v\x02Token received, you can close this win" +
"dow now.\x02backend %[1]s does not implement %[2]s\x02unknown backend " +
"\x22%[1]s\x22\x02Client ID\x02Client secret\x02Server URL\x02User name" +
"\x02Access token\x02File path\x02Playlist title\x02Unique playlist ident" +
"ifier\x02Disable auto correction of submitted listens\x02Include skipped" +
" listens\x02Append to file\x02Yes\x02No\x02no existing service configura" +
"tions\x02Service\x02Backend\x02no configuration file defined, cannot wri" +
"[3]s...\x02Imported %[1]v of %[2]v %[3]s into %[4]v.\x02During the impor" +
"t the following errors occurred:\x04\x00\x01\x0a\x0d\x02Error: %[1]v\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 thi" +
"s name already exists\x02Saved service %[1]v using backend %[2]v\x02The " +
"backend %[1]v requires authentication. Authenticate now?\x02Delete the s" +
"ervice configuration \x22%[1]v\x22?\x02Aborted\x04\x00\x01\x0a\x18\x02Se" +
"rvice \x22%[1]v\x22 deleted\x04\x00\x01\x0a*\x02Updated service %[1]v us" +
"ing backend %[2]v\x04\x01\x09\x00\x0f\x02backend: %[1]v\x02Token receive" +
"d, you can close this window now.\x02backend %[1]s does not implement %[" +
"2]s\x02unknown backend \x22%[1]s\x22\x02Client ID\x02Client secret\x02Se" +
"rver URL\x02User name\x02Access token\x02File path\x02Playlist title\x02" +
"Unique playlist identifier\x02Disable auto correction of submitted liste" +
"ns\x02Include skipped listens\x02Append to file\x02Visit the URL for aut" +
"horization: %[1]v\x02Error: OAuth state mismatch\x04\x00\x01\x0a.\x02Acc" +
"ess token received, you can use %[1]v now.\x02Yes\x02No\x02no existing s" +
"ervice configurations\x02Service\x02Backend\x02From timestamp: %[1]v (%[" +
"2]v)\x02Import failed, last reported timestamp was %[1]v (%[2]s)\x02Late" +
"st timestamp: %[1]v (%[2]v)\x02no configuration file defined, cannot wri" +
"te config\x02key must only consist of A-Za-z0-9_-\x02no service configur" +
"ation \x22%[1]v\x22"
// Total table size 1999 bytes (1KiB); checksum: FFEA1B2A
// Total table size 1883 bytes (1KiB); checksum: 6875B9DE

View file

@ -80,42 +80,17 @@
]
},
{
"id": "failed loading service configuration",
"message": "failed loading service configuration",
"translation": ""
},
{
"id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}",
"id": "The backend {Backend} requires authentication. Authenticate now?",
"message": "The backend {Backend} requires authentication. Authenticate now?",
"translation": "",
"placeholders": [
{
"id": "Url",
"id": "Backend",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "authUrl.Url"
}
]
},
{
"id": "Error: OAuth state mismatch",
"message": "Error: OAuth state mismatch",
"translation": ""
},
{
"id": "Access token received, you can use {Name} now.",
"message": "Access token received, you can use {Name} now.",
"translation": "",
"placeholders": [
{
"id": "Name",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "serviceConfig.Name"
"expr": "service.Backend"
}
]
},
@ -290,6 +265,41 @@
"message": "Append to file",
"translation": ""
},
{
"id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}",
"translation": "",
"placeholders": [
{
"id": "Url",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "authUrl.Url"
}
]
},
{
"id": "Error: OAuth state mismatch",
"message": "Error: OAuth state mismatch",
"translation": ""
},
{
"id": "Access token received, you can use {Name} now.",
"message": "Access token received, you can use {Name} now.",
"translation": "",
"placeholders": [
{
"id": "Name",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "service.Name"
}
]
},
{
"id": "exporting",
"message": "exporting",
@ -368,48 +378,44 @@
]
},
{
"id": "From timestamp: {Timestamp} ({Unix})",
"message": "From timestamp: {Timestamp} ({Unix})",
"translation": "Ab Zeitstempel: {Timestamp} ({Unix})",
"id": "From timestamp: {Arg_1} ({Arg_2})",
"message": "From timestamp: {Arg_1} ({Arg_2})",
"translation": "",
"placeholders": [
{
"id": "Timestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "timestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"id": "Arg_2",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "timestamp.Unix()"
"type": "",
"underlyingType": "interface{}",
"argNum": 2
}
]
},
{
"id": "Import failed, last reported timestamp was {LastTimestamp} ({Unix})",
"message": "Import failed, last reported timestamp was {LastTimestamp} ({Unix})",
"translation": "Import fehlgeschlagen, der letzte Zeitstempel war {LastTimestamp} ({Unix})",
"id": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})",
"message": "Import failed, last reported timestamp was {Arg_1} ({Arg_2})",
"translation": "",
"placeholders": [
{
"id": "LastTimestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "result.LastTimestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "result.LastTimestamp.Unix()"
"id": "Arg_2",
"string": "%[2]s",
"type": "",
"underlyingType": "string",
"argNum": 2
}
]
},
@ -473,25 +479,23 @@
]
},
{
"id": "Latest timestamp: {LastTimestamp} ({Unix})",
"message": "Latest timestamp: {LastTimestamp} ({Unix})",
"translation": "Neuester Zeitstempel: {LastTimestamp} ({Unix})",
"id": "Latest timestamp: {Arg_1} ({Arg_2})",
"message": "Latest timestamp: {Arg_1} ({Arg_2})",
"translation": "",
"placeholders": [
{
"id": "LastTimestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "result.LastTimestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"id": "Arg_2",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "result.LastTimestamp.Unix()"
"type": "",
"underlyingType": "interface{}",
"argNum": 2
}
]
},

View file

@ -92,49 +92,18 @@
"fuzzy": true
},
{
"id": "failed loading service configuration",
"message": "failed loading service configuration",
"translation": "failed loading service configuration",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}",
"translation": "Visit the URL for authorization: {Url}",
"id": "The backend {Backend} requires authentication. Authenticate now?",
"message": "The backend {Backend} requires authentication. Authenticate now?",
"translation": "The backend {Backend} requires authentication. Authenticate now?",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "Url",
"id": "Backend",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "authUrl.Url"
}
],
"fuzzy": true
},
{
"id": "Error: OAuth state mismatch",
"message": "Error: OAuth state mismatch",
"translation": "Error: OAuth state mismatch",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Access token received, you can use {Name} now.",
"message": "Access token received, you can use {Name} now.",
"translation": "Access token received, you can use {Name} now.",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "Name",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "serviceConfig.Name"
"expr": "service.Backend"
}
],
"fuzzy": true
@ -348,6 +317,47 @@
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Visit the URL for authorization: {Url}",
"message": "Visit the URL for authorization: {Url}",
"translation": "Visit the URL for authorization: {Url}",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "Url",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "authUrl.Url"
}
],
"fuzzy": true
},
{
"id": "Error: OAuth state mismatch",
"message": "Error: OAuth state mismatch",
"translation": "Error: OAuth state mismatch",
"translatorComment": "Copied from source.",
"fuzzy": true
},
{
"id": "Access token received, you can use {Name} now.",
"message": "Access token received, you can use {Name} now.",
"translation": "Access token received, you can use {Name} now.",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "Name",
"string": "%[1]v",
"type": "string",
"underlyingType": "string",
"argNum": 1,
"expr": "service.Name"
}
],
"fuzzy": true
},
{
"id": "exporting",
"message": "exporting",
@ -438,51 +448,47 @@
"fuzzy": true
},
{
"id": "From timestamp: {Timestamp} ({Unix})",
"message": "From timestamp: {Timestamp} ({Unix})",
"translation": "From timestamp: {Timestamp} ({Unix})",
"id": "From timestamp: {Arg_1} ({Arg_2})",
"message": "From timestamp: {Arg_1} ({Arg_2})",
"translation": "From timestamp: {Arg_1} ({Arg_2})",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "Timestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "timestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"id": "Arg_2",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "timestamp.Unix()"
"type": "",
"underlyingType": "interface{}",
"argNum": 2
}
],
"fuzzy": true
},
{
"id": "Import failed, last reported timestamp was {LastTimestamp} ({Unix})",
"message": "Import failed, last reported timestamp was {LastTimestamp} ({Unix})",
"translation": "Import failed, last reported timestamp was {LastTimestamp} ({Unix})",
"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": "LastTimestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "result.LastTimestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "result.LastTimestamp.Unix()"
"id": "Arg_2",
"string": "%[2]s",
"type": "",
"underlyingType": "string",
"argNum": 2
}
],
"fuzzy": true
@ -553,26 +559,24 @@
"fuzzy": true
},
{
"id": "Latest timestamp: {LastTimestamp} ({Unix})",
"message": "Latest timestamp: {LastTimestamp} ({Unix})",
"translation": "Latest timestamp: {LastTimestamp} ({Unix})",
"id": "Latest timestamp: {Arg_1} ({Arg_2})",
"message": "Latest timestamp: {Arg_1} ({Arg_2})",
"translation": "Latest timestamp: {Arg_1} ({Arg_2})",
"translatorComment": "Copied from source.",
"placeholders": [
{
"id": "LastTimestamp",
"id": "Arg_1",
"string": "%[1]v",
"type": "time.Time",
"underlyingType": "struct{wall uint64; ext int64; loc *time.Location}",
"argNum": 1,
"expr": "result.LastTimestamp"
"type": "",
"underlyingType": "interface{}",
"argNum": 1
},
{
"id": "Unix",
"id": "Arg_2",
"string": "%[2]v",
"type": "int64",
"underlyingType": "int64",
"argNum": 2,
"expr": "result.LastTimestamp.Unix()"
"type": "",
"underlyingType": "interface{}",
"argNum": 2
}
],
"fuzzy": true