mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Fix missing i18n key and make small UI tweak for disabled cameras
This commit is contained in:
parent
d4d5c4aac8
commit
864c85197a
@ -410,9 +410,9 @@ export default function LivePlayer({
|
|||||||
<TbExclamationCircle className="mb-3 size-10" />
|
<TbExclamationCircle className="mb-3 size-10" />
|
||||||
<p className="max-w-96 text-center">
|
<p className="max-w-96 text-center">
|
||||||
<Trans
|
<Trans
|
||||||
|
ns="components/player"
|
||||||
values={{
|
values={{
|
||||||
cameraName: capitalizeFirstLetter(cameraConfig.name),
|
cameraName: capitalizeFirstLetter(cameraConfig.name),
|
||||||
ns: "components/player",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
streamOffline.desc
|
streamOffline.desc
|
||||||
@ -423,7 +423,7 @@ export default function LivePlayer({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{!cameraEnabled && (
|
{!cameraEnabled && (
|
||||||
<div className="relative flex h-full w-full items-center justify-center">
|
<div className="relative flex h-full w-full items-center justify-center rounded-2xl border bg-background/90 dark:border-secondary-foreground dark:bg-background_alt">
|
||||||
<div className="flex h-32 flex-col items-center justify-center rounded-lg p-4 md:h-48 md:w-48">
|
<div className="flex h-32 flex-col items-center justify-center rounded-lg p-4 md:h-48 md:w-48">
|
||||||
<LuVideoOff className="mb-2 size-8 md:size-10" />
|
<LuVideoOff className="mb-2 size-8 md:size-10" />
|
||||||
<p className="max-w-32 text-center text-sm md:max-w-40 md:text-base">
|
<p className="max-w-32 text-center text-sm md:max-w-40 md:text-base">
|
||||||
|
Loading…
Reference in New Issue
Block a user