From f74df040bbd68bb1e746662e7dafcda417579148 Mon Sep 17 00:00:00 2001 From: GuoQing Liu <842607283@qq.com> Date: Mon, 22 Dec 2025 19:56:19 +0800 Subject: [PATCH] fix: fix password setting overlay time i18n (#21387) --- web/src/components/overlay/SetPasswordDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/overlay/SetPasswordDialog.tsx b/web/src/components/overlay/SetPasswordDialog.tsx index 95c4e73be..c6d861a6b 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(false);