Skip to content

NVR with realtime local object detection for IP cameras

fix: fix password setting overlay time i18n (#21387)

GuoQing Liuf74df040bbd6
diff --git a/web/src/components/overlay/SetPasswordDialog.tsx b/web/src/components/overlay/SetPasswordDialog.tsx
index 95c4e73bec..c6d861a6ba 100644
--- a/web/src/components/overlay/SetPasswordDialog.tsx
+++ b/web/src/components/overlay/SetPasswordDialog.tsx
@@ -54,7 +54,7 @@ export default function SetPasswordDialog({
config?.auth?.refresh_time ?? undefined;
const refreshTimeLabel = refreshSeconds
? formatSecondsToDuration(refreshSeconds)
- : "30 minutes";
+ : t("time.30minutes", { ns: "common" });
// visibility toggles for password fields
const [showOldPassword, setShowOldPassword] = useState<boolean>(false);