fix: fix password setting overlay time i18n

This commit is contained in:
ZhaiSoul 2025-12-22 14:55:04 +08:00
parent 54f4af3c6a
commit 7fc8b6a2d8

View File

@ -54,7 +54,7 @@ export default function SetPasswordDialog({
config?.auth?.refresh_time ?? undefined; config?.auth?.refresh_time ?? undefined;
const refreshTimeLabel = refreshSeconds const refreshTimeLabel = refreshSeconds
? formatSecondsToDuration(refreshSeconds) ? formatSecondsToDuration(refreshSeconds)
: "30 minutes"; : t("time.30minutes", { ns: "common" });
// visibility toggles for password fields // visibility toggles for password fields
const [showOldPassword, setShowOldPassword] = useState<boolean>(false); const [showOldPassword, setShowOldPassword] = useState<boolean>(false);