diff --git a/client/src/components/UpdateNotifier.tsx b/client/src/components/UpdateNotifier.tsx index 2d943388..f85327aa 100644 --- a/client/src/components/UpdateNotifier.tsx +++ b/client/src/components/UpdateNotifier.tsx @@ -306,7 +306,9 @@ export function UpdateNotifier() { if (e.target === e.currentTarget) dismiss(); }} > -
+ {/* max-w-2xl, not lg: the footer carries up to four buttons and the + longest label is a whole sentence ("restarting the dashboard…"). */} +
{/* Header */}
@@ -432,7 +434,10 @@ export function UpdateNotifier() {
{/* Footer */} -
+ {/* `whitespace-nowrap` inherits, so one class keeps every label on its + own single line; `flex-wrap` then breaks the ROW instead of the + words if a translation still outgrows the modal. */} +
) : null}
diff --git a/client/src/i18n/locales/en/updates.json b/client/src/i18n/locales/en/updates.json index cda6202e..031abdd3 100644 --- a/client/src/i18n/locales/en/updates.json +++ b/client/src/i18n/locales/en/updates.json @@ -25,5 +25,6 @@ "releaseUnavailable": "Could not read the latest release from the repository ({{reason}}); fell back to comparing commits.", "pluginAutoNote": "This dashboard is installed as a Claude Code plugin. \"Update now\" pulls the new plugin version, reinstalls the runtime, and restarts the server for you — it takes a few minutes. Newly added skills and slash commands only appear in an already-open Claude Code session after you run /reload-plugins there.", "pluginUpdating": "Pulling the new plugin version and reinstalling the runtime — this takes a few minutes, the page reloads itself when the new server is up...", - "lastPluginUpdateFailed": "The last plugin update failed at step \"{{step}}\": {{error}} — run /agenthub-update in Claude Code to recover." + "lastPluginUpdateFailed": "The last plugin update failed at step \"{{step}}\": {{error}} — run /agenthub-update in Claude Code to recover.", + "restartingShort": "Restarting…" } diff --git a/client/src/i18n/locales/vi/updates.json b/client/src/i18n/locales/vi/updates.json index f4c6102a..0fa9194f 100644 --- a/client/src/i18n/locales/vi/updates.json +++ b/client/src/i18n/locales/vi/updates.json @@ -25,5 +25,6 @@ "releaseUnavailable": "Không đọc được bản phát hành mới nhất từ repo ({{reason}}); đã quay về so sánh theo commit.", "pluginAutoNote": "Dashboard này cài dạng plugin của Claude Code. Bấm \"Cập nhật ngay\" sẽ tự tải bản plugin mới, cài lại runtime và khởi động lại server — mất vài phút. Riêng skill và slash command mới thì session Claude Code đang mở chỉ thấy sau khi bạn chạy /reload-plugins ở đó.", "pluginUpdating": "Đang tải bản plugin mới và cài lại runtime — mất vài phút, trang sẽ tự reload khi server mới lên...", - "lastPluginUpdateFailed": "Lần cập nhật plugin trước thất bại ở bước \"{{step}}\": {{error}} — chạy /agenthub-update trong Claude Code để khắc phục." + "lastPluginUpdateFailed": "Lần cập nhật plugin trước thất bại ở bước \"{{step}}\": {{error}} — chạy /agenthub-update trong Claude Code để khắc phục.", + "restartingShort": "Đang khởi động lại…" }