mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
Add birdseye translations
This commit is contained in:
parent
9eefe8133c
commit
9b81dcb8fa
@ -9,7 +9,7 @@ i18n
|
||||
.use(initReactI18next) // passes i18n down to react-i18next
|
||||
.init({
|
||||
fallbackLng: 'en',
|
||||
debug: true,
|
||||
debug: false,
|
||||
|
||||
interpolation: {
|
||||
escapeValue: false, // react already safes from xss
|
||||
|
||||
@ -1,11 +1,14 @@
|
||||
import { h } from 'preact';
|
||||
import JSMpegPlayer from '../components/JSMpegPlayer';
|
||||
import Heading from '../components/Heading';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export default function Birdseye() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<div className="space-y-4 p-2 px-4">
|
||||
<Heading size="2xl">Birdseye</Heading>
|
||||
<Heading size="2xl">{t('birdseye')}</Heading>
|
||||
<div>
|
||||
<JSMpegPlayer camera="birdseye" />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user