Add Netx Ops i18n and promote settings to a dedicated section.

Localize alarm prompts and UI reason codes for zh/en, and restyle the settings page like uds-auth as its own settings.section.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-09 22:09:47 +08:00
parent 909b5d61a7
commit a4993b2407
18 changed files with 1329 additions and 840 deletions

View file

@ -132,6 +132,7 @@ export async function getSessionsExportStatus(
available: false,
sessionCount: 0,
supportsRawArtifacts: false,
reasonCode: 'no_persistence',
reason: 'sessionPersistence unavailable — mount a JSONL session backend (web profile default)',
}
}
@ -140,6 +141,7 @@ export async function getSessionsExportStatus(
available: false,
sessionCount: 0,
supportsRawArtifacts: false,
reasonCode: 'no_raw_artifacts',
reason: 'persistence backend does not expose per-session raw artifacts (SQLite export unsupported)',
}
}
@ -156,6 +158,7 @@ export async function getSessionsExportStatus(
available: false,
sessionCount: 0,
supportsRawArtifacts: true,
reasonCode: 'list_failed',
reason: error instanceof Error ? error.message : String(error),
}
}