# feat(i18n): Hebrew locale + full RTL support ## Summary This PR adds full Hebrew (he) locale support to the UI, including a complete translation of all user-facing strings and comprehensive RTL layout support across all components. ## What was done ### Hebrew translation - Full translation of all i18n message files for the `he` locale (17 translation files) - Registered the language in the i18n system and the language picker ### RTL support - Automatic direction detection (`dir="rtl"`) when Hebrew is selected - Replaced physical CSS properties (`left`/`right`) with logical equivalents (`inline-start`/`inline-end`) across the project - Fixed resize direction, file path alignment, and textarea padding - Fixed navigation button positioning in textarea for RTL - Fixed scrollbar direction in RTL - Fixed code block direction and selector alignment - Fixed Monaco editor direction in the file viewer - Auto-detect text direction in reasoning block (`dir="auto"` + `unicode-bidi: plaintext`) ### Adapted components - `session-layout` — sidebar and resize handle - `prompt-input` — text direction and buttons - `message-base` — message blocks and reasoning - `message-timeline` — timeline bar - `right-panel` — right side panel - `tool-call` — tool call display - `settings-screen` — settings page - `selector` — selection component - `instance-shell` — main shell ## New files ``` packages/ui/src/lib/i18n/messages/he/ advancedSettings.ts app.ts commands.ts dialogs.ts filesystem.ts folderSelection.ts index.ts instance.ts loadingScreen.ts logs.ts markdown.ts messaging.ts remoteAccess.ts session.ts settings.ts time.ts toolCall.ts ``` ## Suggested testing - Switch language to Hebrew and verify all strings are translated - Verify RTL layout is correct across all screens (session, settings, file viewer) - Verify that English text inside a reasoning block is displayed LTR - Switch back to English and verify everything returns to LTR --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Shantur Rathore <i@shantur.com>
133 lines
7.0 KiB
TypeScript
133 lines
7.0 KiB
TypeScript
export const toolCallMessages = {
|
|
"toolCall.pending.waitingToRun": "ממתין להרצה...",
|
|
"toolCall.error.label": "שגיאה:",
|
|
|
|
"toolCall.header.copyTitle": "העתק כותרת קריאת כלי",
|
|
"toolCall.header.copyAriaLabel": "העתק כותרת קריאת כלי",
|
|
|
|
"toolCall.header.showInputTitle": "הצג ארגומנטי כלי",
|
|
"toolCall.header.showInputAriaLabel": "הצג ארגומנטי כלי",
|
|
"toolCall.header.hideInputTitle": "הסתר ארגומנטי כלי",
|
|
"toolCall.header.hideInputAriaLabel": "הסתר ארגומנטי כלי",
|
|
|
|
"toolCall.io.input": "קלט כלי",
|
|
"toolCall.io.output": "פלט כלי",
|
|
|
|
"toolCall.diff.label": "Diff",
|
|
"toolCall.diff.label.withPath": "Diff · {path}",
|
|
"toolCall.diff.viewMode.ariaLabel": "מצב תצוגת diff",
|
|
"toolCall.diff.viewMode.split": "מפוצל",
|
|
"toolCall.diff.viewMode.unified": "מאוחד",
|
|
|
|
"toolCall.diagnostics.title": "אבחון",
|
|
"toolCall.diagnostics.ariaLabel": "אבחון",
|
|
"toolCall.diagnostics.ariaLabel.withLabel": "אבחון {label}",
|
|
"toolCall.diagnostics.severity.error.short": "שגיאה",
|
|
"toolCall.diagnostics.severity.warning.short": "אזהרה",
|
|
"toolCall.diagnostics.severity.info.short": "מידע",
|
|
|
|
"toolCall.renderer.toolName.shell": "מעטפת",
|
|
"toolCall.renderer.toolName.fetch": "Fetch",
|
|
"toolCall.renderer.toolName.invalid": "לא תקין",
|
|
"toolCall.renderer.toolName.plan": "תוכנית",
|
|
"toolCall.renderer.toolName.applyPatch": "החל תיקון",
|
|
|
|
"toolCall.renderer.action.working": "עובד...",
|
|
"toolCall.renderer.action.writingCommand": "כותב פקודה...",
|
|
"toolCall.renderer.action.preparingEdit": "מכין עריכה...",
|
|
"toolCall.renderer.action.readingFile": "קורא קובץ...",
|
|
"toolCall.renderer.action.preparingWrite": "מכין כתיבה...",
|
|
"toolCall.renderer.action.preparingPatch": "מכין תיקון...",
|
|
"toolCall.renderer.action.planning": "מתכנן...",
|
|
"toolCall.renderer.action.fetchingFromWeb": "מאחזר מהאינטרנט...",
|
|
"toolCall.renderer.action.findingFiles": "מחפש קבצים...",
|
|
"toolCall.renderer.action.searchingContent": "מחפש תוכן...",
|
|
"toolCall.renderer.action.listingDirectory": "מפרט ספרייה...",
|
|
|
|
"toolCall.renderer.bash.title.timeout": "פסק זמן: {timeout}",
|
|
"toolCall.renderer.read.detail.offset": "היסט: {offset}",
|
|
"toolCall.renderer.read.detail.limit": "מגבלה: {limit}",
|
|
|
|
"toolCall.renderer.todo.empty": "אין פריטי תוכנית עדיין.",
|
|
"toolCall.renderer.todo.status.pending": "ממתין",
|
|
"toolCall.renderer.todo.status.inProgress": "בביצוע",
|
|
"toolCall.renderer.todo.status.completed": "הושלם",
|
|
"toolCall.renderer.todo.status.cancelled": "בוטל",
|
|
"toolCall.renderer.todo.title.plan": "תוכנית",
|
|
"toolCall.renderer.todo.title.creating": "יוצר תוכנית",
|
|
"toolCall.renderer.todo.title.completing": "משלים תוכנית",
|
|
"toolCall.renderer.todo.title.updating": "מעדכן תוכנית",
|
|
|
|
"toolCall.permission.status.required": "נדרש אישור",
|
|
"toolCall.permission.status.queued": "אישור בתור",
|
|
"toolCall.permission.requestedDiff.label": "diff מבוקש",
|
|
"toolCall.permission.requestedDiff.withPath": "diff מבוקש · {path}",
|
|
"toolCall.permission.queuedText": "ממתין לתגובות אישור קודמות.",
|
|
"toolCall.permission.actions.allowOnce": "אפשר פעם אחת",
|
|
"toolCall.permission.actions.alwaysAllow": "אפשר תמיד",
|
|
"toolCall.permission.actions.deny": "דחה",
|
|
"toolCall.permission.shortcuts.allowOnce": "אפשר פעם אחת",
|
|
"toolCall.permission.shortcuts.alwaysAllow": "אפשר תמיד",
|
|
"toolCall.permission.shortcuts.deny": "דחה",
|
|
"toolCall.permission.errors.unableToUpdate": "לא ניתן לעדכן אישור",
|
|
|
|
"permissionApproval.title": "בקשות",
|
|
"permissionApproval.empty": "אין בקשות ממתינות.",
|
|
"permissionApproval.kind.permission": "אישור",
|
|
"permissionApproval.kind.question": "שאלה",
|
|
"permissionApproval.questionCount.one": "שאלה אחת",
|
|
"permissionApproval.questionCount.other": "{count} שאלות",
|
|
"permissionApproval.status.active": "פעיל",
|
|
"permissionApproval.actions.closeAriaLabel": "סגור",
|
|
"permissionApproval.actions.goToSession": "עבור לסשן",
|
|
"permissionApproval.actions.loadingSession": "טוען…",
|
|
"permissionApproval.actions.loadSession": "טען סשן",
|
|
"permissionApproval.actions.allowOnce": "אפשר פעם אחת",
|
|
"permissionApproval.actions.alwaysAllow": "אפשר תמיד",
|
|
"permissionApproval.actions.deny": "דחה",
|
|
"permissionApproval.fallbackHint": "טען סשן לקבלת מידע נוסף.",
|
|
"permissionApproval.errors.unableToUpdatePermission": "לא ניתן לעדכן אישור",
|
|
|
|
"toolCall.question.status.required": "נדרשת תשובה",
|
|
"toolCall.question.status.queued": "שאלה בתור",
|
|
"toolCall.question.status.questions": "שאלות",
|
|
"toolCall.question.action.awaitingAnswers": "ממתין לתשובות...",
|
|
"toolCall.question.title.questions": "שאלות",
|
|
"toolCall.question.title.askingQuestions": "שואל שאלות",
|
|
"toolCall.question.type.one": "שאלה",
|
|
"toolCall.question.type.other": "שאלות",
|
|
"toolCall.question.number": "ש{number}:",
|
|
"toolCall.question.multiple": "מרובות",
|
|
"toolCall.question.custom.title": "הקלד תשובה מותאמת אישית",
|
|
"toolCall.question.custom.label": "תשובה מותאמת אישית",
|
|
"toolCall.question.custom.placeholder": "הקלד תשובה משלך",
|
|
"toolCall.question.actions.submit": "שלח",
|
|
"toolCall.question.actions.dismiss": "סגור",
|
|
"toolCall.question.shortcuts.submit": "שלח",
|
|
"toolCall.question.shortcuts.dismiss": "סגור",
|
|
"toolCall.question.queuedText": "ממתין לתגובות קודמות.",
|
|
"toolCall.question.validation.answerAll": "אנא ענה על כל השאלות לפני השליחה.",
|
|
"toolCall.question.errors.unableToReply": "לא ניתן לשלוח תשובה",
|
|
"toolCall.question.errors.unableToDismiss": "לא ניתן לסגור",
|
|
|
|
"toolCall.task.action.delegating": "מאציל...",
|
|
"toolCall.task.sections.prompt": "פקודה",
|
|
"toolCall.task.sections.steps": "שלבים",
|
|
"toolCall.task.sections.output": "פלט",
|
|
"toolCall.task.steps.count": "{count} שלבים",
|
|
"toolCall.task.meta.agentModel": "סוכן: {agent} • מודל: {model}",
|
|
"toolCall.task.meta.agent": "סוכן: {agent}",
|
|
"toolCall.task.meta.model": "מודל: {model}",
|
|
|
|
"toolCall.status.pending": "ממתין",
|
|
"toolCall.status.running": "רץ",
|
|
"toolCall.status.completed": "הושלם",
|
|
"toolCall.status.error": "שגיאה",
|
|
"toolCall.status.unknown": "לא ידוע",
|
|
|
|
"toolCall.applyPatch.action.preparing": "מכין apply_patch...",
|
|
"toolCall.applyPatch.title.withFileCount.one": "{tool} (קובץ אחד)",
|
|
"toolCall.applyPatch.title.withFileCount.other": "{tool} ({count} קבצים)",
|
|
"toolCall.applyPatch.fileFallback": "קובץ {number}",
|
|
} as const
|