fix(dashboard): default to concise english labels (#29)

This commit is contained in:
Eyejoker
2026-04-27 01:18:16 +09:00
committed by GitHub
parent 635f9851bc
commit 06a3a9a340
2 changed files with 9 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ type InboxFilter = 'all' | InboxItem['kind'];
type HealthLevel = 'ok' | 'stale' | 'down';
const REFRESH_INTERVAL_MS = 15_000;
const LOCALE_STORAGE_KEY = 'ejclaw.dashboard.locale';
const LOCALE_STORAGE_KEY = 'ejclaw.dashboard.locale.v2';
const DEFAULT_VIEW: DashboardView = 'inbox';
const HEALTH_STALE_MS = 5 * 60_000;
const HEALTH_DOWN_MS = 15 * 60_000;
@@ -75,7 +75,7 @@ function readInitialLocale(): Locale {
if (matched) return matched;
}
return 'ko';
return 'en';
}
function formatDate(value: string | null | undefined, locale: Locale): string {