-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): add support of the russian language (#2853)
feat(i18n): add formatter support of the russian language
- Loading branch information
Showing
11 changed files
with
151 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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,20 @@ | ||
export const RU = { | ||
小计: 'Промежуточный итог', | ||
总计: 'Общий итог', | ||
总和: '(СУММА)', | ||
项: 'элемент(-а/-ов)', | ||
已选择: 'выбрано', | ||
序号: 'Индекс', | ||
度量: 'Мера', | ||
数值: 'Численная величина', | ||
共计: 'Общее количество', | ||
条: '', | ||
隐藏: 'Скрыть', | ||
趋势: 'Курс', | ||
组内升序: 'Группировать по возрастанию', | ||
组内降序: 'Группировать по убыванию', | ||
升序: 'По возрастанию', | ||
降序: 'По убыванию', | ||
不排序: 'Не отсортировано', | ||
',': ', ', | ||
}; |
This file contains 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 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 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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import type { LocaleType } from '@antv/s2'; | ||
import { EN_US } from './en_US'; | ||
import { RU } from './ru_RU'; | ||
import { ZH_CN } from './zh_CN'; | ||
|
||
export const Locale: LocaleType = { | ||
zh_CN: ZH_CN, | ||
en_US: EN_US, | ||
ru_RU: RU, | ||
}; |
This file contains 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,47 @@ | ||
export const RU: Record<string, string> = { | ||
选择分析信息: 'Выберите информацию для анализа', | ||
切换指标: 'Индикатор переключения', | ||
确定: 'Подтвердить', | ||
取消: 'Отмена', | ||
重置: 'Сбросить', | ||
请输入关键字搜索: 'Пожалуйста, введите поиск по ключевым словам', | ||
搜索: 'Поиск', | ||
恢复: 'Восстановить', | ||
'已选 {} 项': 'Выбран(-но) {} элемент(-а/-ов)', | ||
所选项: 'выбранные элементы', | ||
选择下钻维度: 'Выберите параметры детализации', | ||
恢复默认: 'Сбросить до первоначального состояния', | ||
搜索字段: 'Поисковое поле', | ||
|
||
// switcher | ||
行列切换: 'Конфигурация отображения строк, столбцов и значений', | ||
行头: 'Строки', | ||
列头: 'Колонки', | ||
值: 'Значения', | ||
展开子项: 'Отобразить дочерние элементы', | ||
|
||
// sort | ||
首字母: 'Алфавитная сортировка', | ||
手动排序: 'Ручная сортировка', | ||
其他字段: 'Другое поле', | ||
高级排序: 'Расширенная сортировка', | ||
设置顺序: 'Установить сортировку', | ||
可选字段: 'Необязательные поля', | ||
'按以下规则进行排序(优先级由低到高)': | ||
'Порядок, определеяемый следующими правилами (от низкого приоритета к высокому)', | ||
按: 'По', | ||
说明: 'Описание: ', | ||
|
||
// export | ||
复制原始数据: 'Копировать строковые данные', | ||
复制格式化数据: 'Копировать отформатированные данные', | ||
下载原始数据: 'Скачать строковые данные', | ||
下载格式化数据: 'Скачать отформатированные данные', | ||
操作成功: 'Операция успешно выполнена', | ||
操作失败: 'Операция завершилась неудачно', | ||
|
||
// strategy | ||
时间: 'Дата', | ||
指标: 'Мера', | ||
目标值: 'Целевое Значение', | ||
}; |
This file contains 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 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