feat(i18n): add new localization strings for settings and two-step login across multiple languages

style: adjust grid layout for app main and add responsive styles for settings category

style: enhance management styles with new settings category layout and tabs

style: improve responsive design for settings modules and submodules
This commit is contained in:
shuaiplus
2026-07-03 19:19:24 +08:00
parent 6284c632de
commit c7eb6c663d
12 changed files with 963 additions and 310 deletions
+5
View File
@@ -39,6 +39,7 @@ export interface AppMainRoutesProps {
session: SessionState | null;
mobileLayout: boolean;
mobileSidebarToggleKey: number;
themePreference: 'system' | 'light' | 'dark';
importRoute: string;
settingsHomeRoute: string;
settingsAccountRoute: string;
@@ -66,6 +67,7 @@ export interface AppMainRoutesProps {
onNavigate: (path: string) => void;
onLogout: () => void;
onNotify: (type: 'success' | 'error' | 'warning', text: string) => void;
onThemePreferenceChange: (preference: 'system' | 'light' | 'dark') => void;
onImport: (
payload: CiphersImportPayload,
options: { folderMode: 'original' | 'none' | 'target'; targetFolderId: string | null },
@@ -266,8 +268,11 @@ export default function AppMainRoutes(props: AppMainRoutesProps) {
<SettingsPage
profile={props.profile}
totpEnabled={props.totpEnabled}
themePreference={props.themePreference}
lockTimeoutMinutes={props.lockTimeoutMinutes}
sessionTimeoutAction={props.sessionTimeoutAction}
onThemePreferenceChange={props.onThemePreferenceChange}
onVerifyMasterPassword={props.onVerifyMasterPassword}
onChangePassword={props.onChangePassword}
onSavePasswordHint={props.onSavePasswordHint}
onEnableTotp={props.onEnableTotp}