1
0
forked from baron/baron-sso

공용 i18n namespace 정리

This commit is contained in:
2026-05-19 17:47:41 +09:00
parent c2dbc8fc88
commit fc4a2f3536
9 changed files with 175 additions and 25 deletions

View File

@@ -84,15 +84,15 @@ export function buildShellSessionStatus({
let toneClass =
"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300";
let text = t("ui.dev.session.active", "세션 활성");
let text = t("ui.shell.session.active", "세션 활성");
if (remainingMs === null) {
toneClass = "border-border bg-card text-muted-foreground";
text = t("ui.dev.session.unknown", "알 수 없음");
text = t("ui.shell.session.unknown", "알 수 없음");
} else if (remainingMs <= 0) {
toneClass =
"border-rose-500/30 bg-rose-500/10 text-rose-700 dark:text-rose-300";
text = t("ui.dev.session.expired", "세션 만료");
text = t("ui.shell.session.expired", "세션 만료");
} else if (
remainingMinutes !== null &&
remainingSeconds !== null &&
@@ -101,7 +101,7 @@ export function buildShellSessionStatus({
toneClass =
"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300";
text = t(
"ui.dev.session.expiring",
"ui.shell.session.expiring",
"만료 임박: {{minutes}}분 {{seconds}}초 남음",
{
minutes: remainingMinutes,
@@ -110,7 +110,7 @@ export function buildShellSessionStatus({
);
} else {
text = t(
"ui.dev.session.remaining",
"ui.shell.session.remaining",
"만료 예정: {{minutes}}분 {{seconds}}초 남음",
{
minutes: remainingMinutes ?? 0,