From a07a6c5cf5b78e716efbb618e51223e36c1b966d Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 7 Mar 2022 10:00:18 +0900 Subject: [PATCH] Remove duplicated zh --- frontend/i18n/zh/zh/generic.js | 20 ------------ frontend/i18n/zh/zh/header.js | 3 -- frontend/i18n/zh/zh/home.js | 18 ---------- frontend/i18n/zh/zh/index.js | 35 -------------------- frontend/i18n/zh/zh/projects/annotation.js | 14 -------- frontend/i18n/zh/zh/projects/dataset.js | 19 ----------- frontend/i18n/zh/zh/projects/errors.js | 5 --- frontend/i18n/zh/zh/projects/guideline.js | 4 --- frontend/i18n/zh/zh/projects/home.js | 11 ------- frontend/i18n/zh/zh/projects/labels.js | 20 ------------ frontend/i18n/zh/zh/projects/members.js | 16 --------- frontend/i18n/zh/zh/projects/overview.js | 19 ----------- frontend/i18n/zh/zh/projects/statistics.js | 9 ----- frontend/i18n/zh/zh/rules.js | 38 ---------------------- frontend/i18n/zh/zh/toastui.js | 3 -- frontend/i18n/zh/zh/user.js | 6 ---- frontend/i18n/zh/zh/vuetify.js | 4 --- 17 files changed, 244 deletions(-) delete mode 100644 frontend/i18n/zh/zh/generic.js delete mode 100644 frontend/i18n/zh/zh/header.js delete mode 100644 frontend/i18n/zh/zh/home.js delete mode 100644 frontend/i18n/zh/zh/index.js delete mode 100644 frontend/i18n/zh/zh/projects/annotation.js delete mode 100644 frontend/i18n/zh/zh/projects/dataset.js delete mode 100644 frontend/i18n/zh/zh/projects/errors.js delete mode 100644 frontend/i18n/zh/zh/projects/guideline.js delete mode 100644 frontend/i18n/zh/zh/projects/home.js delete mode 100644 frontend/i18n/zh/zh/projects/labels.js delete mode 100644 frontend/i18n/zh/zh/projects/members.js delete mode 100644 frontend/i18n/zh/zh/projects/overview.js delete mode 100644 frontend/i18n/zh/zh/projects/statistics.js delete mode 100644 frontend/i18n/zh/zh/rules.js delete mode 100644 frontend/i18n/zh/zh/toastui.js delete mode 100644 frontend/i18n/zh/zh/user.js delete mode 100644 frontend/i18n/zh/zh/vuetify.js diff --git a/frontend/i18n/zh/zh/generic.js b/frontend/i18n/zh/zh/generic.js deleted file mode 100644 index e8fbd5ad..00000000 --- a/frontend/i18n/zh/zh/generic.js +++ /dev/null @@ -1,20 +0,0 @@ -export default { - continue: '继续', - yes: '是', - all: '全部', - save: '保存', - edit: '编辑', - create: '创建', - cancel: '取消', - close: '关闭', - upload: '上传', - add: '增加', - delete: '删除', - search: '搜索', - name: '名称', - import: '导入', - export: '导出', - description: '描述', - type: '类型', - loading: '加载中... 请等待' -} diff --git a/frontend/i18n/zh/zh/header.js b/frontend/i18n/zh/zh/header.js deleted file mode 100644 index 9f50d6ab..00000000 --- a/frontend/i18n/zh/zh/header.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - projects: '项目' -} diff --git a/frontend/i18n/zh/zh/home.js b/frontend/i18n/zh/zh/home.js deleted file mode 100644 index a08eb781..00000000 --- a/frontend/i18n/zh/zh/home.js +++ /dev/null @@ -1,18 +0,0 @@ -export default { - mainTitle: '让文本标注服务人类', - getStarted: '快速开始', - startAnnotation: '开始标注', - featuresTitle: '功能特性', - featuresTitle1: '团队合作', - featuresText1: '与你的团队标注', - featuresTitle2: '任何语言', - featuresText2: '用任何语言标注', - featuresTitle3: '免费开源', - featuresText3: '标注免费可自定义', - footerTitle: '尽快实现你的想法', - demoDropDown: '试一试', - demoNER: '命名实体识别', - demoSent: '情感分析', - demoTranslation: '文本翻译', - demoTextToSQL: '语义解析Text-to-SQL' -} diff --git a/frontend/i18n/zh/zh/index.js b/frontend/i18n/zh/zh/index.js deleted file mode 100644 index 0f1ae8e6..00000000 --- a/frontend/i18n/zh/zh/index.js +++ /dev/null @@ -1,35 +0,0 @@ -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 -} diff --git a/frontend/i18n/zh/zh/projects/annotation.js b/frontend/i18n/zh/zh/projects/annotation.js deleted file mode 100644 index dd142a54..00000000 --- a/frontend/i18n/zh/zh/projects/annotation.js +++ /dev/null @@ -1,14 +0,0 @@ -export default { - checkedTooltip: '已选', - notCheckedTooltip: '未选', - selectFilterTooltip: '过滤', - filterOption1: '全部', - filterOption2: '已标注', - filterOption3: '未标注', - guidelineTooltip: '显示指南', - guidelinePopupTitle: '标注指南', - metadataDefaultMessage: '没有数据可获得', - key: '键', - value: '值', - newText: '下一条' -} diff --git a/frontend/i18n/zh/zh/projects/dataset.js b/frontend/i18n/zh/zh/projects/dataset.js deleted file mode 100644 index f3046a89..00000000 --- a/frontend/i18n/zh/zh/projects/dataset.js +++ /dev/null @@ -1,19 +0,0 @@ -export default { - dataset: '数据集', - actions: '操作', - importDataset: '导入数据集', - exportDataset: '导出数据集', - text: '文本', - metadata: '元数据', - action: '操作', - annotate: '标注', - importDataTitle: '上传数据', - importDataMessage1: '选择文件格式', - importDataMessage2: '选择一个文件', - importDataPlaceholder: '请导入文件', - exportDataTitle: '导出数据', - exportDataMessage: '请选择文件格式', - deleteDocumentsTitle: '删除文档', - deleteDocumentsMessage: '你确定要从这个项目中删除这些文档吗?', - pageText: '{0}-{1} of {2}' -} diff --git a/frontend/i18n/zh/zh/projects/errors.js b/frontend/i18n/zh/zh/projects/errors.js deleted file mode 100644 index 933160e3..00000000 --- a/frontend/i18n/zh/zh/projects/errors.js +++ /dev/null @@ -1,5 +0,0 @@ -export default { - fileCannotUpload: '这个文件不能被上传,获取格式错误,请仔细检查文件格式', - labelCannotCreate: '这个标签不能被创建,你可能在其它的键上用了相同的标签名', - invalidUserOrPass: '用户名或者密码不正确' -} diff --git a/frontend/i18n/zh/zh/projects/guideline.js b/frontend/i18n/zh/zh/projects/guideline.js deleted file mode 100644 index dedb79b6..00000000 --- a/frontend/i18n/zh/zh/projects/guideline.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - guideline: '指南', - writeGuidelinePrompt: '请写入标注指南' -} diff --git a/frontend/i18n/zh/zh/projects/home.js b/frontend/i18n/zh/zh/projects/home.js deleted file mode 100644 index 63d9faf4..00000000 --- a/frontend/i18n/zh/zh/projects/home.js +++ /dev/null @@ -1,11 +0,0 @@ -export default { - home: '主页', - welcome: '欢迎进入数据标注平台', - importData: '导入数据集', - createLabels: '为这个项目创建标签名', - addMembers: '添加成员', - defineGuideline: '定义指南', - annotateDataset: '标注数据集', - viewStatistics: '查看统计', - exportDataset: '导出数据集' -} diff --git a/frontend/i18n/zh/zh/projects/labels.js b/frontend/i18n/zh/zh/projects/labels.js deleted file mode 100644 index 7439b2d5..00000000 --- a/frontend/i18n/zh/zh/projects/labels.js +++ /dev/null @@ -1,20 +0,0 @@ -export default { - labels: '标签', - shortkey: '键', - color: '颜色', - createLabel: '创建标签', - importLabels: '创建标签', - exportLabels: '导出标签', - labelName: '标签名', - labelMessage: '请输入标签名', - createLink: 'Create Link', - linkName: 'Link name', - linkMessage: 'Link name is required', - key: 'Key', - deleteLabel: '删除标签', - deleteMessage: '你确定要从这个项目中删除这些标签吗', - importTitle: '导入标签', - importMessage1: '样例格式', - importMessage2: '请选择一个文件', - filePlaceholder: '输入文件' -} diff --git a/frontend/i18n/zh/zh/projects/members.js b/frontend/i18n/zh/zh/projects/members.js deleted file mode 100644 index 2ce9a525..00000000 --- a/frontend/i18n/zh/zh/projects/members.js +++ /dev/null @@ -1,16 +0,0 @@ -export default { - members: '成员', - role: '角色', - updateRole: '更行角色', - addMember: '添加成员', - userSearchAPIs: '用户搜索接口', - userSearchPrompt: '开始搜索', - removeMember: '移除成员', - removePrompt: '你确定要移除当前成员吗?', - roles: { - projectAdmin: '项目管理员', - annotator: '标注员', - annotationApprover: '审查员', - undefined: '角色未定义' - } -} diff --git a/frontend/i18n/zh/zh/projects/overview.js b/frontend/i18n/zh/zh/projects/overview.js deleted file mode 100644 index 5a74b10b..00000000 --- a/frontend/i18n/zh/zh/projects/overview.js +++ /dev/null @@ -1,19 +0,0 @@ -export default { - createProjectTitle: '添加项目', - projectName: '项目名称', - projectType: '项目类型', - textClassification: '文本分类', - sequenceLabeling: '序列标注', - sequenceToSequence: '序列到序列', - randomizeDocOrder: '随机文档顺序', - shareAnnotations: '在所有用户共享标注', - delete: '删除', - deleteProjectTitle: '删除项目', - deleteProjectMessage: '你确定要删除这些项目吗?', - search: '搜索', - projectTypes: [ - '文本分类', - '序列标注', - '序列到序列' - ] -} diff --git a/frontend/i18n/zh/zh/projects/statistics.js b/frontend/i18n/zh/zh/projects/statistics.js deleted file mode 100644 index 602c70ce..00000000 --- a/frontend/i18n/zh/zh/projects/statistics.js +++ /dev/null @@ -1,9 +0,0 @@ -export default { - statistics: '统计', - progress: [ - '已完成', - '未完成' - ], - labelStats: '标签统计', - userStats: '用户统计' -} diff --git a/frontend/i18n/zh/zh/rules.js b/frontend/i18n/zh/zh/rules.js deleted file mode 100644 index 23914714..00000000 --- a/frontend/i18n/zh/zh/rules.js +++ /dev/null @@ -1,38 +0,0 @@ -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个字符' - } -} diff --git a/frontend/i18n/zh/zh/toastui.js b/frontend/i18n/zh/zh/toastui.js deleted file mode 100644 index 7d8afa93..00000000 --- a/frontend/i18n/zh/zh/toastui.js +++ /dev/null @@ -1,3 +0,0 @@ -export default { - localeCode: 'zh_CN' -} diff --git a/frontend/i18n/zh/zh/user.js b/frontend/i18n/zh/zh/user.js deleted file mode 100644 index d1b571ca..00000000 --- a/frontend/i18n/zh/zh/user.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - login: '登录', - signOut: '注销', - username: '用户名', - password: '密码' -} diff --git a/frontend/i18n/zh/zh/vuetify.js b/frontend/i18n/zh/zh/vuetify.js deleted file mode 100644 index 8f6d2420..00000000 --- a/frontend/i18n/zh/zh/vuetify.js +++ /dev/null @@ -1,4 +0,0 @@ -export default { - itemsPerPageText: '每页最多可显示', - noDataAvailable: '没有数据可获得' -}