Preserve retry metadata from session.status events so the session list and header can show a live retry countdown with context. Notify users when a session enters retry and reuse the existing error styling so retrying feels actionable without losing the current badge layout.
98 lines
5.4 KiB
TypeScript
98 lines
5.4 KiB
TypeScript
export const sessionMessages = {
|
|
"sessionPicker.title": "OpenCode • {folder}",
|
|
"sessionPicker.empty.noPrevious": "No previous sessions",
|
|
"sessionPicker.resume.title": "Resume a session ({count}):",
|
|
"sessionPicker.session.untitled": "Untitled",
|
|
"sessionPicker.divider.or": "or",
|
|
"sessionPicker.new.title": "Start new session:",
|
|
"sessionPicker.agents.loading": "Loading agents...",
|
|
"sessionPicker.actions.creating": "Creating...",
|
|
"sessionPicker.actions.createSession": "Create Session",
|
|
"sessionPicker.actions.cancel": "Cancel",
|
|
|
|
"sessionList.header.title": "Sessions",
|
|
"sessionList.session.untitled": "Untitled",
|
|
"sessionList.status.working": "Working",
|
|
"sessionList.status.compacting": "Compacting",
|
|
"sessionList.status.idle": "Idle",
|
|
"sessionList.status.retrying": "Retrying",
|
|
"sessionList.status.retryingIn": "Retrying in {seconds}s",
|
|
"sessionList.status.retryTooltip": "{message} (Attempt {attempt})",
|
|
"sessionList.status.retryToast": "{countdown}: {message} (Attempt {attempt})",
|
|
"sessionList.status.needsPermission": "Needs Permission",
|
|
"sessionList.status.needsInput": "Needs Input",
|
|
"sessionList.expand.collapseAriaLabel": "Collapse session",
|
|
"sessionList.expand.expandAriaLabel": "Expand session",
|
|
"sessionList.expand.collapseTitle": "Collapse",
|
|
"sessionList.expand.expandTitle": "Expand",
|
|
"sessionList.actions.newSession.ariaLabel": "New session",
|
|
"sessionList.actions.newSession.title": "New session",
|
|
"sessionList.actions.copyId.ariaLabel": "Copy session ID",
|
|
"sessionList.actions.copyId.title": "Copy session ID",
|
|
"sessionList.actions.reload.ariaLabel": "Reload session",
|
|
"sessionList.actions.reload.title": "Reload session",
|
|
"sessionList.actions.rename.ariaLabel": "Rename session",
|
|
"sessionList.actions.rename.title": "Rename session",
|
|
"sessionList.actions.delete.ariaLabel": "Delete session",
|
|
"sessionList.actions.delete.title": "Delete session",
|
|
"sessionList.copyId.success": "Session ID copied",
|
|
"sessionList.copyId.error": "Unable to copy session ID",
|
|
"sessionList.reload.error": "Unable to reload session",
|
|
"sessionList.delete.error": "Unable to delete session",
|
|
"sessionList.delete.title": "Delete session",
|
|
"sessionList.delete.confirmMessage": "Delete \"{label}\"? This cannot be undone.",
|
|
"sessionList.delete.confirmLabel": "Delete",
|
|
"sessionList.delete.cancelLabel": "Cancel",
|
|
"sessionList.rename.error": "Unable to rename session",
|
|
|
|
"sessionList.filter.placeholder": "Search sessions…",
|
|
"sessionList.filter.ariaLabel": "Search sessions",
|
|
"sessionList.selection.selectAllLabel": "Select all",
|
|
"sessionList.selection.selectAllAriaLabel": "Select all sessions",
|
|
"sessionList.selection.clearLabel": "Clear",
|
|
"sessionList.selection.clearAriaLabel": "Clear selection",
|
|
"sessionList.selection.checkboxAriaLabel": "Select session",
|
|
"sessionList.bulkDelete.button": "Delete {count}",
|
|
"sessionList.bulkDelete.ariaLabel": "Delete {count} selected sessions",
|
|
"sessionList.bulkDelete.title": "Delete sessions",
|
|
"sessionList.bulkDelete.confirmMessage": "Delete {count} selected sessions? This cannot be undone.",
|
|
"sessionList.bulkDelete.confirmLabel": "Delete",
|
|
"sessionList.bulkDelete.cancelLabel": "Cancel",
|
|
"sessionList.bulkDelete.error": "Unable to delete {count} sessions",
|
|
|
|
"sessionRenameDialog.title": "Rename Session",
|
|
"sessionRenameDialog.description.withLabel": "Update the title for \"{label}\".",
|
|
"sessionRenameDialog.description.default": "Set a new title for this session.",
|
|
"sessionRenameDialog.input.label": "Session name",
|
|
"sessionRenameDialog.input.placeholder": "Enter a session name",
|
|
"sessionRenameDialog.actions.cancel": "Cancel",
|
|
"sessionRenameDialog.actions.rename": "Rename",
|
|
"sessionRenameDialog.actions.renaming": "Renaming…",
|
|
|
|
"sessionView.fallback.sessionNotFound": "Session not found",
|
|
"sessionView.alerts.abortFailed.message": "Failed to stop session",
|
|
"sessionView.alerts.abortFailed.title": "Stop failed",
|
|
"sessionView.alerts.revertFailed.message": "Failed to revert to message",
|
|
"sessionView.alerts.revertFailed.title": "Revert failed",
|
|
"sessionView.alerts.deleteUpToFailed.message": "Failed to delete messages",
|
|
"sessionView.alerts.deleteUpToFailed.title": "Delete failed",
|
|
"sessionView.alerts.forkFailed.message": "Failed to fork session",
|
|
"sessionView.alerts.forkFailed.title": "Fork failed",
|
|
"sessionView.attachments.expandPastedTextAriaLabel": "Expand pasted text",
|
|
"sessionView.attachments.insertPastedTextTitle": "Insert pasted text",
|
|
"sessionView.attachments.removeAriaLabel": "Remove attachment",
|
|
|
|
"sessionEvents.sessionCompactedToast": "Session {label} was compacted",
|
|
"sessionEvents.sessionError.unknown": "Unknown error",
|
|
"sessionEvents.sessionError.title": "Session error",
|
|
"sessionEvents.sessionError.message": "Error: {message}",
|
|
|
|
"sessionState.cleanup.deepConfirm.message": "This cleanup may be slow, and may delete sessions you didn't intend to delete. Are you sure?",
|
|
"sessionState.cleanup.deepConfirm.title": "Deep Clean Sessions",
|
|
"sessionState.cleanup.deepConfirm.detail": "Deep Clean Sessions will delete all sessions that have no messages, remove any finished sub-agent sessions, and clear out any unused forks of a session.",
|
|
"sessionState.cleanup.deepConfirm.confirmLabel": "Continue",
|
|
"sessionState.cleanup.deepConfirm.cancelLabel": "Cancel",
|
|
"sessionState.cleanup.toast.one": "Cleaned up {count} blank session",
|
|
"sessionState.cleanup.toast.other": "Cleaned up {count} blank sessions",
|
|
} as const
|