fix(dashboard): default to concise english labels (#29)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user