Browse Source
Merge pull request #1039 from hee0624/master
Add Chinese support
pull/1047/head
Hiroki Nakayama
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with
488 additions and
0 deletions
-
frontend/i18n/index.js
-
frontend/i18n/zh/generic.js
-
frontend/i18n/zh/header.js
-
frontend/i18n/zh/home.js
-
frontend/i18n/zh/index.js
-
frontend/i18n/zh/projects/annotation.js
-
frontend/i18n/zh/projects/dataset.js
-
frontend/i18n/zh/projects/errors.js
-
frontend/i18n/zh/projects/guideline.js
-
frontend/i18n/zh/projects/home.js
-
frontend/i18n/zh/projects/labels.js
-
frontend/i18n/zh/projects/members.js
-
frontend/i18n/zh/projects/overview.js
-
frontend/i18n/zh/projects/statistics.js
-
frontend/i18n/zh/rules.js
-
frontend/i18n/zh/toastui.js
-
frontend/i18n/zh/user.js
-
frontend/i18n/zh/vuetify.js
-
frontend/i18n/zh/zh/generic.js
-
frontend/i18n/zh/zh/header.js
-
frontend/i18n/zh/zh/home.js
-
frontend/i18n/zh/zh/index.js
-
frontend/i18n/zh/zh/projects/annotation.js
-
frontend/i18n/zh/zh/projects/dataset.js
-
frontend/i18n/zh/zh/projects/errors.js
-
frontend/i18n/zh/zh/projects/guideline.js
-
frontend/i18n/zh/zh/projects/home.js
-
frontend/i18n/zh/zh/projects/labels.js
-
frontend/i18n/zh/zh/projects/members.js
-
frontend/i18n/zh/zh/projects/overview.js
-
frontend/i18n/zh/zh/projects/statistics.js
-
frontend/i18n/zh/zh/rules.js
-
frontend/i18n/zh/zh/toastui.js
-
frontend/i18n/zh/zh/user.js
-
frontend/i18n/zh/zh/vuetify.js
|
|
@ -6,6 +6,12 @@ export default { |
|
|
|
iso: 'en-CA', |
|
|
|
file: 'en' |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '中文', |
|
|
|
code: 'zh', |
|
|
|
iso: 'zh-CA', |
|
|
|
file: 'zh' |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: 'Français', |
|
|
|
code: 'fr', |
|
|
|
|
|
@ -0,0 +1,20 @@ |
|
|
|
export default { |
|
|
|
continue: '继续', |
|
|
|
yes: '是', |
|
|
|
all: '全部', |
|
|
|
save: '保存', |
|
|
|
edit: '编辑', |
|
|
|
create: '创建', |
|
|
|
cancel: '取消', |
|
|
|
close: '关闭', |
|
|
|
upload: '上传', |
|
|
|
add: '增加', |
|
|
|
delete: '删除', |
|
|
|
search: '搜索', |
|
|
|
name: '名称', |
|
|
|
import: '导入', |
|
|
|
export: '导出', |
|
|
|
description: '描述', |
|
|
|
type: '类型', |
|
|
|
loading: '加载中... 请等待' |
|
|
|
} |
|
|
@ -0,0 +1,3 @@ |
|
|
|
export default { |
|
|
|
projects: '项目' |
|
|
|
} |
|
|
@ -0,0 +1,18 @@ |
|
|
|
export default { |
|
|
|
mainTitle: '文本标注平台', |
|
|
|
getStarted: '快速开始', |
|
|
|
startAnnotation: '开始标注', |
|
|
|
featuresTitle: '最大特色', |
|
|
|
featuresTitle1: '团队合作', |
|
|
|
featuresText1: '与你的团队标注', |
|
|
|
featuresTitle2: '任何语言', |
|
|
|
featuresText2: '用任何语言标注', |
|
|
|
featuresTitle3: '免费开源', |
|
|
|
featuresText3: '免费可自定义', |
|
|
|
footerTitle: '尽快实现你的想法', |
|
|
|
demoDropDown: '试一试', |
|
|
|
demoNER: '命名实体识别', |
|
|
|
demoSent: '情感分析', |
|
|
|
demoTranslation: '文本翻译', |
|
|
|
demoTextToSQL: '语义解析Text-to-SQL' |
|
|
|
} |
|
|
@ -0,0 +1,35 @@ |
|
|
|
import home from './home' |
|
|
|
import header from './header' |
|
|
|
import generic from './generic' |
|
|
|
import rules from './rules' |
|
|
|
import toastui from './toastui' |
|
|
|
import user from './user' |
|
|
|
import vuetify from './vuetify' |
|
|
|
import annotation from './projects/annotation' |
|
|
|
import dataset from './projects/dataset' |
|
|
|
import errors from './projects/errors' |
|
|
|
import guideline from './projects/guideline' |
|
|
|
import projectHome from './projects/home' |
|
|
|
import labels from './projects/labels' |
|
|
|
import members from './projects/members' |
|
|
|
import overview from './projects/overview' |
|
|
|
import statistics from './projects/statistics' |
|
|
|
|
|
|
|
export default { |
|
|
|
home, |
|
|
|
header, |
|
|
|
generic, |
|
|
|
rules, |
|
|
|
toastui, |
|
|
|
user, |
|
|
|
vuetify, |
|
|
|
annotation, |
|
|
|
dataset, |
|
|
|
errors, |
|
|
|
guideline, |
|
|
|
projectHome, |
|
|
|
labels, |
|
|
|
members, |
|
|
|
overview, |
|
|
|
statistics |
|
|
|
} |
|
|
@ -0,0 +1,14 @@ |
|
|
|
export default { |
|
|
|
checkedTooltip: '已选', |
|
|
|
notCheckedTooltip: '未选', |
|
|
|
selectFilterTooltip: '过滤', |
|
|
|
filterOption1: '全部', |
|
|
|
filterOption2: '已标注', |
|
|
|
filterOption3: '未标注', |
|
|
|
guidelineTooltip: '显示指南', |
|
|
|
guidelinePopupTitle: '标注指南', |
|
|
|
metadataDefaultMessage: '没有数据可获得', |
|
|
|
key: '键', |
|
|
|
value: '值', |
|
|
|
newText: '下一条' |
|
|
|
} |
|
|
@ -0,0 +1,19 @@ |
|
|
|
export default { |
|
|
|
dataset: '数据集', |
|
|
|
actions: '操作', |
|
|
|
importDataset: '导入数据集', |
|
|
|
exportDataset: '导出数据集', |
|
|
|
text: '文本', |
|
|
|
metadata: '元数据', |
|
|
|
action: '操作', |
|
|
|
annotate: '标注', |
|
|
|
importDataTitle: '上传数据', |
|
|
|
importDataMessage1: '选择文件格式', |
|
|
|
importDataMessage2: '选择一个文件', |
|
|
|
importDataPlaceholder: '请导入文件', |
|
|
|
exportDataTitle: '导出数据', |
|
|
|
exportDataMessage: '请选择文件格式', |
|
|
|
deleteDocumentsTitle: '删除文档', |
|
|
|
deleteDocumentsMessage: '你确定要从这个项目中删除这些文档吗?', |
|
|
|
pageText: '{0}-{1} of {2}' |
|
|
|
} |
|
|
@ -0,0 +1,5 @@ |
|
|
|
export default { |
|
|
|
fileCannotUpload: '这个文件不能被上传,获取格式错误,请仔细检查文件格式', |
|
|
|
labelCannotCreate: '这个标签不能被创建,你可能在其它的键上用了相同的标签名', |
|
|
|
invalidUserOrPass: '用户名或者密码不正确' |
|
|
|
} |
|
|
@ -0,0 +1,4 @@ |
|
|
|
export default { |
|
|
|
guideline: '指南', |
|
|
|
writeGuidelinePrompt: '请写入标注指南' |
|
|
|
} |
|
|
@ -0,0 +1,11 @@ |
|
|
|
export default { |
|
|
|
home: '主页', |
|
|
|
welcome: '欢迎进入数据标注平台', |
|
|
|
importData: '导入数据集', |
|
|
|
createLabels: '为这个项目创建标签名', |
|
|
|
addMembers: '添加成员', |
|
|
|
defineGuideline: '定义指南', |
|
|
|
annotateDataset: '标注数据集', |
|
|
|
viewStatistics: '查看统计', |
|
|
|
exportDataset: '导出数据集' |
|
|
|
} |
|
|
@ -0,0 +1,17 @@ |
|
|
|
export default { |
|
|
|
labels: '标签', |
|
|
|
shortkey: '短键', |
|
|
|
color: '颜色', |
|
|
|
createLabel: '创建标签', |
|
|
|
importLabels: '导入标签', |
|
|
|
exportLabels: '导出标签', |
|
|
|
labelName: '标签名', |
|
|
|
labelMessage: '请输入标签名', |
|
|
|
key: '键', |
|
|
|
deleteLabel: '删除标签', |
|
|
|
deleteMessage: '你确定要从这个项目中删除这些标签吗', |
|
|
|
importTitle: '导入标签', |
|
|
|
importMessage1: '样例格式', |
|
|
|
importMessage2: '请选择一个文件', |
|
|
|
filePlaceholder: '输入文件' |
|
|
|
} |
|
|
@ -0,0 +1,16 @@ |
|
|
|
export default { |
|
|
|
members: '成员', |
|
|
|
role: '角色', |
|
|
|
updateRole: '更行角色', |
|
|
|
addMember: '添加成员', |
|
|
|
userSearchAPIs: '用户搜索接口', |
|
|
|
userSearchPrompt: '开始搜索', |
|
|
|
removeMember: '移除成员', |
|
|
|
removePrompt: '你确定要移除当前成员吗?', |
|
|
|
roles: { |
|
|
|
projectAdmin: '项目管理员', |
|
|
|
annotator: '标注员', |
|
|
|
annotationApprover: '审查员', |
|
|
|
undefined: '角色未定义' |
|
|
|
} |
|
|
|
} |
|
|
@ -0,0 +1,19 @@ |
|
|
|
export default { |
|
|
|
createProjectTitle: '添加项目', |
|
|
|
projectName: '项目名称', |
|
|
|
projectType: '项目类型', |
|
|
|
textClassification: '文本分类', |
|
|
|
sequenceLabeling: '序列标注', |
|
|
|
sequenceToSequence: '序列到序列', |
|
|
|
randomizeDocOrder: '随机文档顺序', |
|
|
|
shareAnnotations: '在所有用户共享标注', |
|
|
|
delete: '删除', |
|
|
|
deleteProjectTitle: '删除项目', |
|
|
|
deleteProjectMessage: '你确定要删除这些项目吗?', |
|
|
|
search: '搜索', |
|
|
|
projectTypes: [ |
|
|
|
'文本分类', |
|
|
|
'序列标注', |
|
|
|
'序列到序列' |
|
|
|
] |
|
|
|
} |
|
|
@ -0,0 +1,9 @@ |
|
|
|
export default { |
|
|
|
statistics: '统计', |
|
|
|
progress: [ |
|
|
|
'已完成', |
|
|
|
'未完成' |
|
|
|
], |
|
|
|
labelStats: '标签统计', |
|
|
|
userStats: '用户统计' |
|
|
|
} |
|
|
@ -0,0 +1,38 @@ |
|
|
|
export default { |
|
|
|
colorRules: { |
|
|
|
colorRequired: '请输入颜色' |
|
|
|
}, |
|
|
|
labelNameRules: { |
|
|
|
labelRequired: '请输入名称', |
|
|
|
labelLessThan30Chars: '名称必须少于30个字符' |
|
|
|
}, |
|
|
|
userNameRules: { |
|
|
|
userNameRequired: '请输入用户名', |
|
|
|
userNameLessThan30Chars: '用户名必须少于30个字符' |
|
|
|
}, |
|
|
|
roleRules: { |
|
|
|
roleRequired: '请输入角色' |
|
|
|
}, |
|
|
|
projectNameRules: { |
|
|
|
projectNameRequired: '请输入项目名称', |
|
|
|
projectNameLessThan30Chars: '项目名称必须少于30个字符' |
|
|
|
}, |
|
|
|
descriptionRules: { |
|
|
|
descriptionRequired: '请输入描述', |
|
|
|
descriptionLessThan30Chars: '描述必须少于100个字符' |
|
|
|
}, |
|
|
|
projectTypeRules: { |
|
|
|
projectTypeRequired: '请输入项目类型' |
|
|
|
}, |
|
|
|
fileFormatRules: { |
|
|
|
fileFormatRequired: '请输入文件类型' |
|
|
|
}, |
|
|
|
uploadFileRules: { |
|
|
|
fileRequired: '请输入文件', |
|
|
|
fileLessThan1MB: '文件大小必须小于 1 MB!' |
|
|
|
}, |
|
|
|
passwordRules: { |
|
|
|
passwordRequired: '请输入密码', |
|
|
|
passwordLessThan30Chars: '密码必须小于30个字符' |
|
|
|
} |
|
|
|
} |
|
|
@ -0,0 +1,3 @@ |
|
|
|
export default { |
|
|
|
localeCode: 'zh_CN' |
|
|
|
} |
|
|
@ -0,0 +1,6 @@ |
|
|
|
export default { |
|
|
|
login: '登录', |
|
|
|
signOut: '注销', |
|
|
|
username: '用户名', |
|
|
|
password: '密码' |
|
|
|
} |
|
|
@ -0,0 +1,4 @@ |
|
|
|
export default { |
|
|
|
itemsPerPageText: '每页最多可显示', |
|
|
|
noDataAvailable: '没有数据可获得' |
|
|
|
} |
|
|
@ -0,0 +1,20 @@ |
|
|
|
export default { |
|
|
|
continue: '继续', |
|
|
|
yes: '是', |
|
|
|
all: '全部', |
|
|
|
save: '保存', |
|
|
|
edit: '编辑', |
|
|
|
create: '创建', |
|
|
|
cancel: '取消', |
|
|
|
close: '关闭', |
|
|
|
upload: '上传', |
|
|
|
add: '增加', |
|
|
|
delete: '删除', |
|
|
|
search: '搜索', |
|
|
|
name: '名称', |
|
|
|
import: '导入', |
|
|
|
export: '导出', |
|
|
|
description: '描述', |
|
|
|
type: '类型', |
|
|
|
loading: '加载中... 请等待' |
|
|
|
} |
|
|
@ -0,0 +1,3 @@ |
|
|
|
export default { |
|
|
|
projects: '项目' |
|
|
|
} |
|
|
@ -0,0 +1,18 @@ |
|
|
|
export default { |
|
|
|
mainTitle: '让文本标注服务人类', |
|
|
|
getStarted: '快速开始', |
|
|
|
startAnnotation: '开始标注', |
|
|
|
featuresTitle: '功能特性', |
|
|
|
featuresTitle1: '团队合作', |
|
|
|
featuresText1: '与你的团队标注', |
|
|
|
featuresTitle2: '任何语言', |
|
|
|
featuresText2: '用任何语言标注', |
|
|
|
featuresTitle3: '免费开源', |
|
|
|
featuresText3: '标注免费可自定义', |
|
|
|
footerTitle: '尽快实现你的想法', |
|
|
|
demoDropDown: '试一试', |
|
|
|
demoNER: '命名实体识别', |
|
|
|
demoSent: '情感分析', |
|
|
|
demoTranslation: '文本翻译', |
|
|
|
demoTextToSQL: '语义解析Text-to-SQL' |
|
|
|
} |
|
|
@ -0,0 +1,35 @@ |
|
|
|
import home from './home' |
|
|
|
import header from './header' |
|
|
|
import generic from './generic' |
|
|
|
import rules from './rules' |
|
|
|
import toastui from './toastui' |
|
|
|
import user from './user' |
|
|
|
import vuetify from './vuetify' |
|
|
|
import annotation from './projects/annotation' |
|
|
|
import dataset from './projects/dataset' |
|
|
|
import errors from './projects/errors' |
|
|
|
import guideline from './projects/guideline' |
|
|
|
import projectHome from './projects/home' |
|
|
|
import labels from './projects/labels' |
|
|
|
import members from './projects/members' |
|
|
|
import overview from './projects/overview' |
|
|
|
import statistics from './projects/statistics' |
|
|
|
|
|
|
|
export default { |
|
|
|
home, |
|
|
|
header, |
|
|
|
generic, |
|
|
|
rules, |
|
|
|
toastui, |
|
|
|
user, |
|
|
|
vuetify, |
|
|
|
annotation, |
|
|
|
dataset, |
|
|
|
errors, |
|
|
|
guideline, |
|
|
|
projectHome, |
|
|
|
labels, |
|
|
|
members, |
|
|
|
overview, |
|
|
|
statistics |
|
|
|
} |
|
|
@ -0,0 +1,14 @@ |
|
|
|
export default { |
|
|
|
checkedTooltip: '已选', |
|
|
|
notCheckedTooltip: '未选', |
|
|
|
selectFilterTooltip: '过滤', |
|
|
|
filterOption1: '全部', |
|
|
|
filterOption2: '已标注', |
|
|
|
filterOption3: '未标注', |
|
|
|
guidelineTooltip: '显示指南', |
|
|
|
guidelinePopupTitle: '标注指南', |
|
|
|
metadataDefaultMessage: '没有数据可获得', |
|
|
|
key: '键', |
|
|
|
value: '值', |
|
|
|
newText: '下一条' |
|
|
|
} |
|
|
@ -0,0 +1,19 @@ |
|
|
|
export default { |
|
|
|
dataset: '数据集', |
|
|
|
actions: '操作', |
|
|
|
importDataset: '导入数据集', |
|
|
|
exportDataset: '导出数据集', |
|
|
|
text: '文本', |
|
|
|
metadata: '元数据', |
|
|
|
action: '操作', |
|
|
|
annotate: '标注', |
|
|
|
importDataTitle: '上传数据', |
|
|
|
importDataMessage1: '选择文件格式', |
|
|
|
importDataMessage2: '选择一个文件', |
|
|
|
importDataPlaceholder: '请导入文件', |
|
|
|
exportDataTitle: '导出数据', |
|
|
|
exportDataMessage: '请选择文件格式', |
|
|
|
deleteDocumentsTitle: '删除文档', |
|
|
|
deleteDocumentsMessage: '你确定要从这个项目中删除这些文档吗?', |
|
|
|
pageText: '{0}-{1} of {2}' |
|
|
|
} |
|
|
@ -0,0 +1,5 @@ |
|
|
|
export default { |
|
|
|
fileCannotUpload: '这个文件不能被上传,获取格式错误,请仔细检查文件格式', |
|
|
|
labelCannotCreate: '这个标签不能被创建,你可能在其它的键上用了相同的标签名', |
|
|
|
invalidUserOrPass: '用户名或者密码不正确' |
|
|
|
} |
|
|
@ -0,0 +1,4 @@ |
|
|
|
export default { |
|
|
|
guideline: '指南', |
|
|
|
writeGuidelinePrompt: '请写入标注指南' |
|
|
|
} |
|
|
@ -0,0 +1,11 @@ |
|
|
|
export default { |
|
|
|
home: '主页', |
|
|
|
welcome: '欢迎进入数据标注平台', |
|
|
|
importData: '导入数据集', |
|
|
|
createLabels: '为这个项目创建标签名', |
|
|
|
addMembers: '添加成员', |
|
|
|
defineGuideline: '定义指南', |
|
|
|
annotateDataset: '标注数据集', |
|
|
|
viewStatistics: '查看统计', |
|
|
|
exportDataset: '导出数据集' |
|
|
|
} |
|
|
@ -0,0 +1,17 @@ |
|
|
|
export default { |
|
|
|
labels: '标签', |
|
|
|
shortkey: '键', |
|
|
|
color: '颜色', |
|
|
|
createLabel: '创建标签', |
|
|
|
importLabels: '创建标签', |
|
|
|
exportLabels: '导出标签', |
|
|
|
labelName: '标签名', |
|
|
|
labelMessage: '请输入标签名', |
|
|
|
key: 'Key', |
|
|
|
deleteLabel: '删除标签', |
|
|
|
deleteMessage: '你确定要从这个项目中删除这些标签吗', |
|
|
|
importTitle: '导入标签', |
|
|
|
importMessage1: '样例格式', |
|
|
|
importMessage2: '请选择一个文件', |
|
|
|
filePlaceholder: '输入文件' |
|
|
|
} |
|
|
@ -0,0 +1,16 @@ |
|
|
|
export default { |
|
|
|
members: '成员', |
|
|
|
role: '角色', |
|
|
|
updateRole: '更行角色', |
|
|
|
addMember: '添加成员', |
|
|
|
userSearchAPIs: '用户搜索接口', |
|
|
|
userSearchPrompt: '开始搜索', |
|
|
|
removeMember: '移除成员', |
|
|
|
removePrompt: '你确定要移除当前成员吗?', |
|
|
|
roles: { |
|
|
|
projectAdmin: '项目管理员', |
|
|
|
annotator: '标注员', |
|
|
|
annotationApprover: '审查员', |
|
|
|
undefined: '角色未定义' |
|
|
|
} |
|
|
|
} |
|
|
@ -0,0 +1,19 @@ |
|
|
|
export default { |
|
|
|
createProjectTitle: '添加项目', |
|
|
|
projectName: '项目名称', |
|
|
|
projectType: '项目类型', |
|
|
|
textClassification: '文本分类', |
|
|
|
sequenceLabeling: '序列标注', |
|
|
|
sequenceToSequence: '序列到序列', |
|
|
|
randomizeDocOrder: '随机文档顺序', |
|
|
|
shareAnnotations: '在所有用户共享标注', |
|
|
|
delete: '删除', |
|
|
|
deleteProjectTitle: '删除项目', |
|
|
|
deleteProjectMessage: '你确定要删除这些项目吗?', |
|
|
|
search: '搜索', |
|
|
|
projectTypes: [ |
|
|
|
'文本分类', |
|
|
|
'序列标注', |
|
|
|
'序列到序列' |
|
|
|
] |
|
|
|
} |
|
|
@ -0,0 +1,9 @@ |
|
|
|
export default { |
|
|
|
statistics: '统计', |
|
|
|
progress: [ |
|
|
|
'已完成', |
|
|
|
'未完成' |
|
|
|
], |
|
|
|
labelStats: '标签统计', |
|
|
|
userStats: '用户统计' |
|
|
|
} |
|
|
@ -0,0 +1,38 @@ |
|
|
|
export default { |
|
|
|
colorRules: { |
|
|
|
colorRequired: '请输入颜色' |
|
|
|
}, |
|
|
|
labelNameRules: { |
|
|
|
labelRequired: '请输入名称', |
|
|
|
labelLessThan30Chars: '名称必须少于30个字符' |
|
|
|
}, |
|
|
|
userNameRules: { |
|
|
|
userNameRequired: '请输入用户名', |
|
|
|
userNameLessThan30Chars: '用户名必须少于30个字符' |
|
|
|
}, |
|
|
|
roleRules: { |
|
|
|
roleRequired: '请输入角色' |
|
|
|
}, |
|
|
|
projectNameRules: { |
|
|
|
projectNameRequired: '请输入项目名称', |
|
|
|
projectNameLessThan30Chars: '项目名称必须少于30个字符' |
|
|
|
}, |
|
|
|
descriptionRules: { |
|
|
|
descriptionRequired: '请输入描述', |
|
|
|
descriptionLessThan30Chars: '描述必须少于100个字符' |
|
|
|
}, |
|
|
|
projectTypeRules: { |
|
|
|
projectTypeRequired: '请输入项目类型' |
|
|
|
}, |
|
|
|
fileFormatRules: { |
|
|
|
fileFormatRequired: '请输入文件类型' |
|
|
|
}, |
|
|
|
uploadFileRules: { |
|
|
|
fileRequired: '请输入文件', |
|
|
|
fileLessThan1MB: '文件大小必须小于 1 MB!' |
|
|
|
}, |
|
|
|
passwordRules: { |
|
|
|
passwordRequired: '请输入密码', |
|
|
|
passwordLessThan30Chars: '密码必须小于30个字符' |
|
|
|
} |
|
|
|
} |
|
|
@ -0,0 +1,3 @@ |
|
|
|
export default { |
|
|
|
localeCode: 'zh_CN' |
|
|
|
} |
|
|
@ -0,0 +1,6 @@ |
|
|
|
export default { |
|
|
|
login: '登录', |
|
|
|
signOut: '注销', |
|
|
|
username: '用户名', |
|
|
|
password: '密码' |
|
|
|
} |
|
|
@ -0,0 +1,4 @@ |
|
|
|
export default { |
|
|
|
itemsPerPageText: '每页最多可显示', |
|
|
|
noDataAvailable: '没有数据可获得' |
|
|
|
} |