Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

language added: zh-cn. #2

Open
wants to merge 2 commits into
base: master
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
7 changes: 5 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import hi from './translations/hi';
import hu from './translations/hu';
import se from './translations/se';
import gr from './translations/gr';
import zh_cn from './translations/zh-cn';

const translations = {
de: de,
Expand All @@ -13,7 +14,8 @@ const translations = {
hi: hi,
hu: hu,
se: se,
gr: gr
gr: gr,
zh_cn: zh_cn
};

export {
Expand All @@ -23,7 +25,8 @@ export {
hi,
hu,
se,
gr
gr,
zh_cn
}

export default translations;
37 changes: 37 additions & 0 deletions src/translations/zh-cn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// prettier-ignore
const zh_cn = {
translation: {
'Cancel': '取消',
'Categories': '类别',
'Create category': '创建类别',
'Create new classifier': '新建分类器',
'Delete category': '删除类别',
'Delete images': '删除图片',
'Description': '注释',
'Edit': '编辑',
'Edit category': '编辑类别',
'Help': '帮助',
'Hide other categories': '隐藏其他类别',
'Hide sidebar': '隐藏边栏',
'Import images': '导入图片',
'Logo': '徽标',
'Model': '模型',
'Open classifier': '打开分类器',
'Open example classifier': '打开示例分类器',
'Open weights': '打开权重',
'Open': '打开',
'Run classifier': '运行分类器',
'Save annotations and predictions': '保存标注和预测',
'Save classifier': '保存分类器',
'Save weights': '保存权重',
'Save': '保存',
'Search images': '搜索图片',
'Send feedback': '发送反馈',
'Settings': '设置',
'Show sidebar': '显示边栏',
'Unknown': '未知'
}
};

export default zh_cn;

Frost-Lee marked this conversation as resolved.
Show resolved Hide resolved