mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-12 01:57:36 +03:00
Add i18n
This commit is contained in:
parent
4854262f80
commit
6b70aac1ae
@ -168,5 +168,10 @@
|
|||||||
"label": "Edit Camera Group"
|
"label": "Edit Camera Group"
|
||||||
},
|
},
|
||||||
"exitEdit": "Exit Editing"
|
"exitEdit": "Exit Editing"
|
||||||
|
},
|
||||||
|
"noCameras": {
|
||||||
|
"title": "No Cameras Set Up",
|
||||||
|
"description": "Get started by connecting a camera.",
|
||||||
|
"buttonText": "Add Camera"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -616,13 +616,15 @@ export default function LiveDashboardView({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function NoCameraView() {
|
function NoCameraView() {
|
||||||
|
const { t } = useTranslation(["views/live"]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex size-full items-center justify-center">
|
<div className="flex size-full items-center justify-center">
|
||||||
<EmptyCard
|
<EmptyCard
|
||||||
icon={<BsFillCameraVideoOffFill className="size-8" />}
|
icon={<BsFillCameraVideoOffFill className="size-8" />}
|
||||||
title="No Cameras Set Up"
|
title={t("noCameras.title")}
|
||||||
description="Get started by connecting a camera."
|
description={t("noCameras.description")}
|
||||||
buttonText="Add Camera"
|
buttonText={t("noCameras.buttonText")}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user