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 {

View File

@@ -520,12 +520,12 @@ export const messages = {
},
usage: {
empty: 'No usage snapshot. Check collector.',
current: 'In use',
tightest: 'Lowest',
current: 'Active',
tightest: 'Tightest',
watch: 'Watch',
remaining: 'Left',
speed: 'Speed',
inUse: 'in use',
speed: 'Rate',
inUse: 'active',
reset: 'reset',
noReset: 'no reset',
limitBasis: {
@@ -540,12 +540,12 @@ export const messages = {
groupPrimary: 'Claude / Kimi',
groupCodex: 'Codex',
risk: {
ok: 'Clear',
ok: 'OK',
warn: 'Watch',
critical: 'Limit risk',
critical: 'Risk',
},
speedLabel: {
ok: 'Normal',
ok: 'OK',
warn: 'Fast',
critical: 'Too fast',
},