-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat(i18n): add Russian locale #409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kostyaff
wants to merge
3
commits into
fathah:main
Choose a base branch
from
kostyaff:feat/russian-locale
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ export const APP_LOCALES: AppLocale[] = [ | |
| "pl", | ||
| "pt-BR", | ||
| "pt-PT", | ||
| "ru", | ||
| "tr", | ||
| "zh-CN", | ||
| "zh-TW", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| export default { | ||
| title: "Профили", | ||
| subtitle: | ||
| "Каждый профиль — это изолированное рабочее пространство Hermes со своей конфигурацией, памятью и навыками", | ||
| newAgent: "Новый агент", | ||
| namePlaceholder: "Имя агента (например, coder)", | ||
| cloneConfig: "Клонировать конфигурацию и API keys из профиля по умолчанию", | ||
| createFailed: "Не удалось создать профиль", | ||
| creating: "Создание...", | ||
| create: "Создать", | ||
| deleteFailed: "Не удалось удалить профиль", | ||
| active: "Активен", | ||
| noModel: "Модель не выбрана", | ||
| skillsCount: "Навыков: {{count}}", | ||
| gatewayRunning: "Gateway запущен", | ||
| gatewayOff: "Gateway выключен", | ||
| chat: "Чат", | ||
| deleteConfirm: "Удалить?", | ||
| yes: "Да", | ||
| no: "Нет", | ||
| deleteTitle: "Удалить агента", | ||
| auto: "Авто", | ||
| local: "Локально", | ||
| manageProfiles: "Управлять профилями", | ||
| switchProfile: "Переключить профиль", | ||
| defaultTag: "по умолчанию", | ||
| } as const; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| export default { | ||
| title: "Новый чат", | ||
| sessionTitle: "Сессия {{id}}", | ||
| noModel: "Модель не выбрана", | ||
| auto: "Авто", | ||
| commandsTitle: "Команды", | ||
| typeMessage: "Введите сообщение... (Shift+Enter для новой строки)", | ||
| quickAskTitle: | ||
| "Быстрый вопрос (/btw) — побочный вопрос, который не повлияет на контекст диалога", | ||
| send: "Отправить", | ||
| custom: "Своя", | ||
| typeModelName: "Введите название модели...", | ||
| emptyTitle: "Чем я могу помочь сегодня?", | ||
| emptyHint: | ||
| "Попросите написать код, ответить на вопрос, найти информацию в интернете и многое другое", | ||
| suggestionSearch: "Найти в интернете", | ||
| suggestionReminder: "Поставить напоминание", | ||
| suggestionEmail: "Сделать сводку писем", | ||
| suggestionScript: "Написать скрипт", | ||
| suggestionSchedule: "Создать cron-задачу", | ||
| suggestionAnalyze: "Проанализировать данные", | ||
| approve: "Разрешить", | ||
| deny: "Отклонить", | ||
| thinking: "Думаю...", | ||
| thought: "Мысль", | ||
| toolCall: "Вызов инструмента", | ||
| toolResult: "Результат инструмента", | ||
| newChat: "Новый чат (Cmd+N)", | ||
| clearChat: "Очистить чат", | ||
| clearChatConfirm: "Очистить этот диалог? Это действие нельзя отменить.", | ||
| setContextFolder: "Задать папку контекста", | ||
| contextFolderChip: "Выбрать папку", | ||
| contextFolderActive: "Папка контекста: {{path}}", | ||
| removeContextFolder: "Убрать папку контекста", | ||
| attach: "Прикрепить файлы", | ||
| voiceInput: "Голосовой ввод", | ||
| voiceStop: "Остановить запись", | ||
| voiceTranscribing: "Распознавание...", | ||
| contextWindow: "Контекстное окно", | ||
| contextUsed: "Использовано {{pct}}% (осталось {{left}}%)", | ||
| contextTokens: "Использовано токенов: {{used}} / {{total}}", | ||
| contextCache: | ||
| "Кеш: {{pct}}% попаданий (прочитано {{read}} / записано {{write}})", | ||
| removeAttachment: "Убрать вложение", | ||
| dropToAttach: "Перетащите файлы сюда, чтобы прикрепить", | ||
| attachUnsupported: "{{name}}: тип файла не поддерживается", | ||
| attachImageTooLarge: "{{name}}: изображение слишком большое (макс. 20 МБ)", | ||
| attachImageUncompressible: | ||
| "{{name}}: не удалось сжать изображение до допустимого размера (анимированные GIF или неподдерживаемый формат). Попробуйте статичный скриншот.", | ||
| attachTextTooLarge: "{{name}}: файл слишком большой (макс. 256 КБ)", | ||
| attachTooMany: "Слишком много вложений (макс. 10 на сообщение)", | ||
| attachReadFailed: "{{name}}: не удалось прочитать файл", | ||
| attachRemoteModeBinary: | ||
| "{{name}}: PDF/бинарные вложения требуют локального режима — изображения и текстовые файлы по-прежнему работают.", | ||
| validation: { | ||
| noModel: "Модель не выбрана. Выберите ее в переключателе чата ниже.", | ||
| noProvider: "Для активной модели не задан провайдер.", | ||
| missingKey: "Отсутствует {{key}} — это требуется активному провайдеру.", | ||
| fixInProviders: "Задайте в Providers →", | ||
| fixInModels: "Выберите модель в Models →", | ||
| fixInGateway: "Проверьте вкладку Gateway →", | ||
| fixInSetup: "Запустите настройку →", | ||
| }, | ||
| fastMode: "Быстрый режим", | ||
| fastModeOn: "Быстрый режим включен", | ||
| fastModeActive: | ||
| "Приоритетная обработка включена — пониженная задержка на поддерживаемых моделях. Нажмите, чтобы отключить.", | ||
| fastModeInactive: | ||
| "Включить приоритетную обработку для меньшей задержки на моделях OpenAI и Anthropic.", | ||
| availableCommands: "Доступные команды", | ||
| categoryChat: "Чат", | ||
| categoryAgent: "Агент", | ||
| categoryTools: "Инструменты", | ||
| categoryInfo: "Информация", | ||
| noUsageData: "Данных об использовании пока нет. Сначала отправьте сообщение.", | ||
| media: { | ||
| open: "Открыть", | ||
| saveAs: "Сохранить как...", | ||
| saveImage: "Сохранить изображение", | ||
| }, | ||
| commands: { | ||
| new: "Начать новый чат", | ||
| clear: "Очистить историю диалога", | ||
| btw: "Задать побочный вопрос без влияния на контекст", | ||
| approve: "Разрешить ожидающее действие", | ||
| deny: "Отклонить ожидающее действие", | ||
| status: "Показать текущий статус агента", | ||
| reset: "Сбросить контекст диалога", | ||
| compact: "Сжать и кратко пересказать диалог", | ||
| undo: "Отменить последнее действие", | ||
| retry: "Повторить последнее неудачное действие", | ||
| web: "Найти в интернете", | ||
| image: "Сгенерировать изображение", | ||
| browse: "Открыть URL", | ||
| code: "Написать или выполнить код", | ||
| file: "Читать или записывать файлы", | ||
| shell: "Выполнить shell-команду", | ||
| help: "Показать доступные команды и справку", | ||
| tools: "Показать доступные инструменты", | ||
| skills: "Показать установленные навыки", | ||
| model: "Показать или переключить текущую модель", | ||
| memory: "Показать память агента", | ||
| persona: "Показать текущую персону", | ||
| version: "Показать версию Hermes", | ||
| }, | ||
| queued: | ||
| "Сообщений в очереди: {{count}} — отправка начнется, когда агент закончит", | ||
| worktree: { | ||
| loading: "Загрузка", | ||
| empty: "Папка пуста", | ||
| emptyFolder: "Пустая папка", | ||
| errorLoading: "Не удалось загрузить содержимое папки", | ||
| closeFile: "Закрыть", | ||
| open: "Открыть", | ||
| openInEditor: "Открыть в редакторе по умолчанию", | ||
| openTerminal: "Открыть терминал здесь", | ||
| openTerminalFailed: "Не удалось открыть терминал для этой папки.", | ||
| fileTruncated: "обрезано", | ||
| fileTruncatedWarning: | ||
| "Файл слишком большой — показаны только первые 100 КБ", | ||
| }, | ||
| showWorktree: "Показать файловый проводник", | ||
| hideWorktree: "Скрыть файловый проводник", | ||
| } as const; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| export default { | ||
| appName: "Hermes One", | ||
| continue: "Продолжить", | ||
| cancel: "Отмена", | ||
| retry: "Повторить", | ||
| loading: "Загрузка...", | ||
| loadingShort: "Загрузка", | ||
| saved: "Сохранено", | ||
| save: "Сохранить", | ||
| search: "Поиск", | ||
| searchPlaceholder: "Поиск...", | ||
| show: "Показать", | ||
| hide: "Скрыть", | ||
| delete: "Удалить", | ||
| remove: "Убрать", | ||
| add: "Добавить", | ||
| create: "Создать", | ||
| close: "Закрыть", | ||
| dismiss: "Скрыть", | ||
| confirm: "Подтвердить", | ||
| reset: "Сбросить", | ||
| back: "Назад", | ||
| open: "Открыть", | ||
| install: "Установить", | ||
| start: "Запустить", | ||
| stop: "Остановить", | ||
| refresh: "Обновить", | ||
| copy: "Копировать", | ||
| settings: "Настройки", | ||
| provider: "Провайдер", | ||
| model: "Модель", | ||
| baseUrl: "Base URL", | ||
| port: "Порт", | ||
| home: "Домой", | ||
| released: "Выпущено", | ||
| engine: "Движок", | ||
| desktop: "Desktop", | ||
| noResults: "Ничего не найдено", | ||
| noData: "Данных пока нет", | ||
| optional: "необязательно", | ||
| devOnly: "Только для разработчиков", | ||
| updateAvailable: "Обновить до v{{version}}", | ||
| downloading: "Загрузка {{percent}}%", | ||
| restartToUpdate: "Перезапустить для обновления", | ||
| updateFailed: "Не удалось обновить", | ||
| errorTitle: "Что-то пошло не так", | ||
| errorMessage: "Произошла непредвиденная ошибка.", | ||
| tryAgain: "Попробовать снова", | ||
| copied: "Скопировано!", | ||
| } as const; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Навыков: {{count}}"uses the genitive plural and will render as"Навыков: 1", which is ungrammatical in Russian. The correct forms are"1 навык"(1),"2 навыка"(2–4), and"5 навыков"(5+). The same pattern appears inmemory.tswithentries: "Записей: {{count}}". The PR notes this is deferred to a future i18n-architecture change, which is reasonable, but it's worth tracking as a known user-facing rough edge for Russian speakers.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!