mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-29 21:27:05 +02:00
Mark user interface strings
For now exclude command help, as cobra itself is not localizable yet.
This commit is contained in:
parent
511b71b909
commit
d6ca8d33f7
27 changed files with 1005 additions and 95 deletions
|
@ -39,23 +39,71 @@ 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,
|
||||
"From timestamp: %v (%v)": 4,
|
||||
"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,
|
||||
"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,
|
||||
"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 service configuration \"%v\"": 46,
|
||||
"unknown backend \"%s\"": 27,
|
||||
}
|
||||
|
||||
var deIndex = []uint32{ // 11 elements
|
||||
var deIndex = []uint32{ // 48 elements
|
||||
// Entry 0 - 1F
|
||||
0x00000000, 0x0000000b, 0x00000016, 0x0000001d,
|
||||
0x00000046, 0x00000064, 0x000000a4, 0x000000cf,
|
||||
0x00000106, 0x00000119, 0x00000142,
|
||||
} // Size: 68 bytes
|
||||
0x00000106, 0x00000119, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
// Entry 20 - 3F
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
0x00000142, 0x00000142, 0x00000142, 0x00000142,
|
||||
} // Size: 216 bytes
|
||||
|
||||
const deData string = "" + // Size: 322 bytes
|
||||
"\x02exportiere\x02importiere\x02fertig\x02Übertrage %[1]s von %[2]s nach" +
|
||||
|
@ -65,17 +113,45 @@ const deData string = "" + // Size: 322 bytes
|
|||
"\x00\x01\x0a\x0e\x02Fehler: %[1]v\x04\x00\x01\x0a$\x02Neuester Zeitstemp" +
|
||||
"el: %[1]v (%[2]v)"
|
||||
|
||||
var enIndex = []uint32{ // 11 elements
|
||||
var enIndex = []uint32{ // 48 elements
|
||||
// Entry 0 - 1F
|
||||
0x00000000, 0x0000000a, 0x00000014, 0x00000019,
|
||||
0x00000043, 0x00000061, 0x0000009a, 0x000000c4,
|
||||
0x000000f5, 0x00000107, 0x0000012c,
|
||||
} // Size: 68 bytes
|
||||
0x000000f5, 0x00000107, 0x0000012c, 0x0000013f,
|
||||
0x00000153, 0x00000170, 0x0000017d, 0x000001a5,
|
||||
0x000001cd, 0x000001f2, 0x00000219, 0x00000235,
|
||||
0x00000268, 0x00000292, 0x0000029a, 0x000002b7,
|
||||
0x000002e6, 0x000002fa, 0x00000329, 0x00000350,
|
||||
0x00000368, 0x00000372, 0x00000380, 0x0000038b,
|
||||
// Entry 20 - 3F
|
||||
0x00000395, 0x000003a2, 0x000003ac, 0x000003bb,
|
||||
0x000003d6, 0x00000403, 0x0000041b, 0x0000042a,
|
||||
0x0000042e, 0x00000431, 0x00000454, 0x0000045c,
|
||||
0x00000464, 0x00000497, 0x000004bc, 0x000004dd,
|
||||
} // Size: 216 bytes
|
||||
|
||||
const enData string = "" + // Size: 300 bytes
|
||||
const enData string = "" + // Size: 1245 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)"
|
||||
"\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" +
|
||||
"te config\x02key must only consist of A-Za-z0-9_-\x02no service configur" +
|
||||
"ation \x22%[1]v\x22"
|
||||
|
||||
// Total table size 758 bytes (0KiB); checksum: D85383CE
|
||||
// Total table size 1999 bytes (1KiB); checksum: FFEA1B2A
|
||||
|
|
|
@ -1,6 +1,82 @@
|
|||
{
|
||||
"language": "de",
|
||||
"messages": [
|
||||
{
|
||||
"id": "Authenticate a service",
|
||||
"message": "Authenticate a service",
|
||||
"translation": "An einem Service anmelden"
|
||||
},
|
||||
{
|
||||
"id": "For backends requiring authentication this command can be used to authenticate.\n\nAuthentication is always done per configured service. That means you can have\nmultiple services using the same backend but different authentication.",
|
||||
"message": "For backends requiring authentication this command can be used to authenticate.\n\nAuthentication is always done per configured service. That means you can have\nmultiple services using the same backend but different authentication.",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"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}",
|
||||
"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": "serviceConfig.Name"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "service configuration (required)",
|
||||
"message": "service configuration (required)",
|
||||
"translation": "Servicekonfiguration (notwendig)"
|
||||
},
|
||||
{
|
||||
"id": "exporting",
|
||||
"message": "exporting",
|
||||
"translation": "exportiere",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "importing",
|
||||
"message": "importing",
|
||||
"translation": "importiere",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "done",
|
||||
"message": "done",
|
||||
"translation": "fertig",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
"message": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
|
@ -159,27 +235,6 @@
|
|||
"expr": "result.LastTimestamp.Unix()"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "exporting",
|
||||
"message": "exporting",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true,
|
||||
"translation": "exportiere"
|
||||
},
|
||||
{
|
||||
"id": "importing",
|
||||
"message": "importing",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true,
|
||||
"translation": "importiere"
|
||||
},
|
||||
{
|
||||
"id": "done",
|
||||
"message": "done",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true,
|
||||
"translation": "fertig"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,6 +1,295 @@
|
|||
{
|
||||
"language": "de",
|
||||
"messages": [
|
||||
{
|
||||
"id": "export: {ExportCapabilities__}",
|
||||
"message": "export: {ExportCapabilities__}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "ExportCapabilities__",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "strings.Join(info.ExportCapabilities, \", \")"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "import: {ImportCapabilities__}",
|
||||
"message": "import: {ImportCapabilities__}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "ImportCapabilities__",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "strings.Join(info.ImportCapabilities, \", \")"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Failed reading config: {Err}",
|
||||
"message": "Failed reading config: {Err}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Err",
|
||||
"string": "%[1]v",
|
||||
"type": "error",
|
||||
"underlyingType": "interface{Error() string}",
|
||||
"argNum": 1,
|
||||
"expr": "err"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Service name",
|
||||
"message": "Service name",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "a service with this name already exists",
|
||||
"message": "a service with this name already exists",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Saved service {Name} using backend {Backend}",
|
||||
"message": "Saved service {Name} using backend {Backend}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[2]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "service.Backend"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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}",
|
||||
"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": "serviceConfig.Name"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Delete the service configuration \"{Service}\"?",
|
||||
"message": "Delete the service configuration \"{Service}\"?",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Service",
|
||||
"string": "%[1]v",
|
||||
"type": "go.uploadedlobster.com/scotty/internal/config.ServiceConfig",
|
||||
"underlyingType": "struct{Name string; Backend string; ConfigValues map[string]any}",
|
||||
"argNum": 1,
|
||||
"expr": "service"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Aborted",
|
||||
"message": "Aborted",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Service \"{Name}\" deleted",
|
||||
"message": "Service \"{Name}\" deleted",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Updated service {Name} using backend {Backend}",
|
||||
"message": "Updated service {Name} using backend {Backend}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[2]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "service.Backend"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "backend: {Backend}",
|
||||
"message": "backend: {Backend}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "s.Backend"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Token received, you can close this window now.",
|
||||
"message": "Token received, you can close this window now.",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "backend {Backend} does not implement {InterfaceName}",
|
||||
"message": "backend {Backend} does not implement {InterfaceName}",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "config.Backend"
|
||||
},
|
||||
{
|
||||
"id": "InterfaceName",
|
||||
"string": "%[2]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "interfaceName"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "unknown backend \"{BackendName}\"",
|
||||
"message": "unknown backend \"{BackendName}\"",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "BackendName",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "backendName"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "Client ID",
|
||||
"message": "Client ID",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Client secret",
|
||||
"message": "Client secret",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Server URL",
|
||||
"message": "Server URL",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "User name",
|
||||
"message": "User name",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Access token",
|
||||
"message": "Access token",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "File path",
|
||||
"message": "File path",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Playlist title",
|
||||
"message": "Playlist title",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Unique playlist identifier",
|
||||
"message": "Unique playlist identifier",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Disable auto correction of submitted listens",
|
||||
"message": "Disable auto correction of submitted listens",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Include skipped listens",
|
||||
"message": "Include skipped listens",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Append to file",
|
||||
"message": "Append to file",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "exporting",
|
||||
"message": "exporting",
|
||||
|
@ -22,6 +311,31 @@
|
|||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Yes",
|
||||
"message": "Yes",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "No",
|
||||
"message": "No",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "no existing service configurations",
|
||||
"message": "no existing service configurations",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Service",
|
||||
"message": "Service",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"message": "Backend",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
"message": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
|
@ -180,6 +494,31 @@
|
|||
"expr": "result.LastTimestamp.Unix()"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "no configuration file defined, cannot write config",
|
||||
"message": "no configuration file defined, cannot write config",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "key must only consist of A-Za-z0-9_-",
|
||||
"message": "key must only consist of A-Za-z0-9_-",
|
||||
"translation": ""
|
||||
},
|
||||
{
|
||||
"id": "no service configuration \"{Name}\"",
|
||||
"message": "no service configuration \"{Name}\"",
|
||||
"translation": "",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "name"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,6 +1,353 @@
|
|||
{
|
||||
"language": "en",
|
||||
"messages": [
|
||||
{
|
||||
"id": "export: {ExportCapabilities__}",
|
||||
"message": "export: {ExportCapabilities__}",
|
||||
"translation": "export: {ExportCapabilities__}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "ExportCapabilities__",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "strings.Join(info.ExportCapabilities, \", \")"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "import: {ImportCapabilities__}",
|
||||
"message": "import: {ImportCapabilities__}",
|
||||
"translation": "import: {ImportCapabilities__}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "ImportCapabilities__",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "strings.Join(info.ImportCapabilities, \", \")"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Failed reading config: {Err}",
|
||||
"message": "Failed reading config: {Err}",
|
||||
"translation": "Failed reading config: {Err}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Err",
|
||||
"string": "%[1]v",
|
||||
"type": "error",
|
||||
"underlyingType": "interface{Error() string}",
|
||||
"argNum": 1,
|
||||
"expr": "err"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Service name",
|
||||
"message": "Service name",
|
||||
"translation": "Service name",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "a service with this name already exists",
|
||||
"message": "a service with this name already exists",
|
||||
"translation": "a service with this name already exists",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Saved service {Name} using backend {Backend}",
|
||||
"message": "Saved service {Name} using backend {Backend}",
|
||||
"translation": "Saved service {Name} using backend {Backend}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[2]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "service.Backend"
|
||||
}
|
||||
],
|
||||
"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}",
|
||||
"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": "serviceConfig.Name"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Delete the service configuration \"{Service}\"?",
|
||||
"message": "Delete the service configuration \"{Service}\"?",
|
||||
"translation": "Delete the service configuration \"{Service}\"?",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Service",
|
||||
"string": "%[1]v",
|
||||
"type": "go.uploadedlobster.com/scotty/internal/config.ServiceConfig",
|
||||
"underlyingType": "struct{Name string; Backend string; ConfigValues map[string]any}",
|
||||
"argNum": 1,
|
||||
"expr": "service"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Aborted",
|
||||
"message": "Aborted",
|
||||
"translation": "Aborted",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Service \"{Name}\" deleted",
|
||||
"message": "Service \"{Name}\" deleted",
|
||||
"translation": "Service \"{Name}\" deleted",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Updated service {Name} using backend {Backend}",
|
||||
"message": "Updated service {Name} using backend {Backend}",
|
||||
"translation": "Updated service {Name} using backend {Backend}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "service.Name"
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[2]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "service.Backend"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "backend: {Backend}",
|
||||
"message": "backend: {Backend}",
|
||||
"translation": "backend: {Backend}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "s.Backend"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Token received, you can close this window now.",
|
||||
"message": "Token received, you can close this window now.",
|
||||
"translation": "Token received, you can close this window now.",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "backend {Backend} does not implement {InterfaceName}",
|
||||
"message": "backend {Backend} does not implement {InterfaceName}",
|
||||
"translation": "backend {Backend} does not implement {InterfaceName}",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Backend",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "config.Backend"
|
||||
},
|
||||
{
|
||||
"id": "InterfaceName",
|
||||
"string": "%[2]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 2,
|
||||
"expr": "interfaceName"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "unknown backend \"{BackendName}\"",
|
||||
"message": "unknown backend \"{BackendName}\"",
|
||||
"translation": "unknown backend \"{BackendName}\"",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "BackendName",
|
||||
"string": "%[1]s",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "backendName"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Client ID",
|
||||
"message": "Client ID",
|
||||
"translation": "Client ID",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Client secret",
|
||||
"message": "Client secret",
|
||||
"translation": "Client secret",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Server URL",
|
||||
"message": "Server URL",
|
||||
"translation": "Server URL",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "User name",
|
||||
"message": "User name",
|
||||
"translation": "User name",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Access token",
|
||||
"message": "Access token",
|
||||
"translation": "Access token",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "File path",
|
||||
"message": "File path",
|
||||
"translation": "File path",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Playlist title",
|
||||
"message": "Playlist title",
|
||||
"translation": "Playlist title",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Unique playlist identifier",
|
||||
"message": "Unique playlist identifier",
|
||||
"translation": "Unique playlist identifier",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Disable auto correction of submitted listens",
|
||||
"message": "Disable auto correction of submitted listens",
|
||||
"translation": "Disable auto correction of submitted listens",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Include skipped listens",
|
||||
"message": "Include skipped listens",
|
||||
"translation": "Include skipped listens",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Append to file",
|
||||
"message": "Append to file",
|
||||
"translation": "Append to file",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "exporting",
|
||||
"message": "exporting",
|
||||
|
@ -22,6 +369,41 @@
|
|||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Yes",
|
||||
"message": "Yes",
|
||||
"translation": "Yes",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "No",
|
||||
"message": "No",
|
||||
"translation": "No",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "no existing service configurations",
|
||||
"message": "no existing service configurations",
|
||||
"translation": "no existing service configurations",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Service",
|
||||
"message": "Service",
|
||||
"translation": "Service",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Backend",
|
||||
"message": "Backend",
|
||||
"translation": "Backend",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
"message": "Transferring {Entity} from {SourceName} to {TargetName}...",
|
||||
|
@ -194,6 +576,37 @@
|
|||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "no configuration file defined, cannot write config",
|
||||
"message": "no configuration file defined, cannot write config",
|
||||
"translation": "no configuration file defined, cannot write config",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "key must only consist of A-Za-z0-9_-",
|
||||
"message": "key must only consist of A-Za-z0-9_-",
|
||||
"translation": "key must only consist of A-Za-z0-9_-",
|
||||
"translatorComment": "Copied from source.",
|
||||
"fuzzy": true
|
||||
},
|
||||
{
|
||||
"id": "no service configuration \"{Name}\"",
|
||||
"message": "no service configuration \"{Name}\"",
|
||||
"translation": "no service configuration \"{Name}\"",
|
||||
"translatorComment": "Copied from source.",
|
||||
"placeholders": [
|
||||
{
|
||||
"id": "Name",
|
||||
"string": "%[1]v",
|
||||
"type": "string",
|
||||
"underlyingType": "string",
|
||||
"argNum": 1,
|
||||
"expr": "name"
|
||||
}
|
||||
],
|
||||
"fuzzy": true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue