Skip to content
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

Added ru-RU localization #335

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import deLocal from './de-DE';
import huLocal from './hu-HU';
import plLocal from './pl-PL';
import skLocal from './sk-SK';
export type Locale = 'zh-CN' | 'en-US' | 'zh-HK' | 'cs-CZ' | 'de-DE' | 'hu-HU' | 'pl-PL' | 'sk-SK';
import ruLocal from './ru-RU';
export type Locale = 'zh-CN' | 'en-US' | 'zh-HK' | 'cs-CZ' | 'de-DE' | 'hu-HU' | 'pl-PL' | 'sk-SK' | 'ru-RU' ;

const locales = {
'en-US': enUSLocal,
Expand All @@ -18,6 +19,7 @@ const locales = {
'hu-HU': huLocal,
'pl-PL': plLocal,
'sk-SK': skLocal,
'ru-RU': skLocal,
en: enUSLocal,
};

Expand Down
16 changes: 16 additions & 0 deletions src/locale/ru-RU.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default {
placeholder: 'Введите сообщение...',
backToBottom: 'Вернуться вниз',
clearCurrentDialogue: 'Очистить текущий диалог',
clearDialogue: 'Очистить диалог',
clearModalTitle: 'Вы собираетесь очистить сеанс, и вы не сможете восстановить его после очистки. Хотите очистить текущий сеанс?',
defaultHelloMessage: 'Привет! Начнем чат',
cancel: 'Отмена',
confirmed: 'Подтвердить',
copy: 'Копировать',
copySuccess: 'Копировать успешно',
delete: 'Удалить',
edit: 'Изменить',
history: 'История',
regenerate: 'Восстановить',
};