mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
update error message
This commit is contained in:
parent
681172fe8e
commit
cf1527dc8a
2 changed files with 11 additions and 4 deletions
|
|
@ -1143,7 +1143,8 @@
|
|||
"description": "<0>Migrate my data</0> to a new server.",
|
||||
"link": "Migrate my data"
|
||||
},
|
||||
"documentation": "Backend documentation"
|
||||
"documentation": "Backend documentation",
|
||||
"error": "Error connecting to backend"
|
||||
},
|
||||
"setup": {
|
||||
"doSetup": "Do setup",
|
||||
|
|
|
|||
|
|
@ -67,9 +67,15 @@ function BackendOptionItem({
|
|||
</span>
|
||||
</div>
|
||||
) : option.error ? (
|
||||
<div>
|
||||
<p className="text-white font-medium">{hostname}</p>
|
||||
<p className="text-type-secondary text-sm">{option.url}</p>
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="flex flex-col">
|
||||
<p className="text-white font-medium">{hostname}</p>
|
||||
<p className="text-type-secondary text-sm">{option.url}</p>
|
||||
</div>
|
||||
<Icon icon={Icons.WARNING} className="text-type-danger text-sm" />
|
||||
<span className="text-type-danger text-sm">
|
||||
{t("settings.connections.server.error")}
|
||||
</span>
|
||||
</div>
|
||||
) : option.meta ? (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue