diff --git a/web/public/locales/en/translation.json b/web/public/locales/en/translation.json
index e4bcab4e8..52b932197 100644
--- a/web/public/locales/en/translation.json
+++ b/web/public/locales/en/translation.json
@@ -1,9 +1,18 @@
{
+ "are_you_sure": "Are you sure?",
+ "auto_dark_mode": "Auto Dark Mode",
"birdseye": "Birdseye",
"cameras": "Cameras",
+ "cancel": "Cancel",
+ "dark": "Dark",
"debug": "Debug",
"documentation": "Documentation",
"events": "Events",
"github": "GitHub",
- "style_guide": "Style Guide"
+ "light": "Light",
+ "restart_frigate": "Restart Frigate",
+ "restart_in_progress": "Restart in progress",
+ "style_guide": "Style Guide",
+ "wait_for_restart": "Please wait a few seconds for the restart to complete before reloading the page.",
+ "yes": "Yes"
}
\ No newline at end of file
diff --git a/web/src/AppBar.jsx b/web/src/AppBar.jsx
index 09fc2e9d8..80bc00756 100644
--- a/web/src/AppBar.jsx
+++ b/web/src/AppBar.jsx
@@ -10,8 +10,10 @@ import Prompt from './components/Prompt';
import { useDarkMode } from './context';
import { useCallback, useRef, useState } from 'preact/hooks';
import { useRestart } from './api/mqtt';
+import { useTranslation } from 'react-i18next';
export default function AppBar() {
+ const { t } = useTranslation();
const [showMoreMenu, setShowMoreMenu] = useState(false);
const [showDialog, setShowDialog] = useState(false);
const [showDialogWait, setShowDialogWait] = useState(false);
@@ -56,29 +58,29 @@ export default function AppBar() {