Files
CodeNomad/packages/ui/src/lib/i18n/messages/en/session.ts
Shantur Rathore 5b1e21345f feat(ui): localize UI strings
Converts hardcoded UI copy to i18n keys across the app, adds global translation for non-component modules, and splits the English catalog into feature modules with duplicate-key detection.
2026-01-26 12:26:12 +00:00

68 lines
3.7 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.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.copyId.ariaLabel": "Copy session ID",
"sessionList.actions.copyId.title": "Copy session ID",
"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.delete.error": "Unable to delete session",
"sessionList.rename.error": "Unable to rename session",
"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.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