mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Add recording translations
This commit is contained in:
parent
e77aedd4a2
commit
388e80ce8d
@ -10,6 +10,9 @@
|
|||||||
"events": "Events",
|
"events": "Events",
|
||||||
"github": "GitHub",
|
"github": "GitHub",
|
||||||
"light": "Light",
|
"light": "Light",
|
||||||
|
"title_no_recordings": "No Recordings Found",
|
||||||
|
"desc_no_recordings": "Make sure you have enabled the record role in your configuration for the {camera} camera.",
|
||||||
|
"recordings": "Recordings",
|
||||||
"restart_frigate": "Restart Frigate",
|
"restart_frigate": "Restart Frigate",
|
||||||
"restart_in_progress": "Restart in progress",
|
"restart_in_progress": "Restart in progress",
|
||||||
"style_guide": "Style Guide",
|
"style_guide": "Style Guide",
|
||||||
|
|||||||
@ -112,10 +112,10 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se
|
|||||||
if (recordingsSummary.length === 0) {
|
if (recordingsSummary.length === 0) {
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<Heading>{camera} Recordings</Heading>
|
<Heading>{camera} {t('recordings')}</Heading>
|
||||||
<div class="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4" role="alert">
|
<div class="bg-yellow-100 border-l-4 border-yellow-500 text-yellow-700 p-4" role="alert">
|
||||||
<p class="font-bold">No Recordings Found</p>
|
<p class="font-bold">{t('title_no_recordings')}</p>
|
||||||
<p>Make sure you have enabled the record role in your configuration for the {camera} camera.</p>
|
<p>{t('desc_no_recordings').replace('{camera}', camera)}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -123,7 +123,7 @@ export default function Recording({ camera, date, hour = '00', minute = '00', se
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4 p-2 px-4">
|
<div className="space-y-4 p-2 px-4">
|
||||||
<Heading>{camera.replaceAll('_', ' ')} Recordings</Heading>
|
<Heading>{camera.replaceAll('_', ' ')} {t('recordings')}</Heading>
|
||||||
|
|
||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
onReady={(player) => {
|
onReady={(player) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user