Skip to content

Commit

Permalink
feat(i18n): add translations for mainland traditional Chinese; comple…
Browse files Browse the repository at this point in the history
…te simplified Chinese; drop incomplete zh_TW
  • Loading branch information
wolfgangmm committed Jun 27, 2024
1 parent afb665d commit 0cf6127
Show file tree
Hide file tree
Showing 3 changed files with 430 additions and 218 deletions.
114 changes: 110 additions & 4 deletions i18n/common/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
"browse": {
"description": "使用这个应用程序用来实验和试行各种包含处理模型指令的ODD。您可以上传个人文件并创建自定义的ODD。",
"login": "上传文件或查看管理功能(默认用户:“tei-demo”,密码:“demo”)。",
"login-1": "登录为 ",
"login-2": "密码",
"login-3": "试用您自己的文档和 ODD",
"sort": "排序方式",
"filter": "过滤条件",
"filterPlaceholder": "过滤器",
Expand All @@ -60,6 +63,9 @@
"confirmDeletion": "确定要删除该文件吗?",
"confirmDeletion_plural": "确定要删除该{{count}}份文件吗?",
"documents": "文件",
"documents-removed": "已删除文档",
"document-not-found": "未找到文档",
"document-remove-failed": "删除文档失败",
"collections": "本地收藏夹",
"dts": "分布式文本服务(实验性)",
"test": {
Expand All @@ -78,6 +84,10 @@
"title": "标记符示例",
"description": "静态内容中使用标记符的示例"
},
"annotate": {
"title": "注释示例",
"description": "注释文档的另一个游乐场。"
},
"up": "返回上层"
},
"upload": {
Expand Down Expand Up @@ -111,11 +121,15 @@
"reset": "重置",
"placeholder": "输入查询",
"sections": "章节搜索",
"headings": "标题搜索"
"headings": "标题搜索",
"title": "搜索标题",
"content": "搜索内容",
"scope": "查询范围"
},
"dts": {
"endpoint": "选择终结点",
"note": "实验性: 通过DTS API 访问其他版本"
"note": "实验性: 通过DTS API 访问其他版本",
"requires-login": "需要登录"
},
"odd": {
"files": "ODD 文件",
Expand All @@ -134,6 +148,9 @@
"save": "保存",
"saving": "保存中...",
"saved": "已保存",
"unsaved": "有尚未保存的更改,将被包含在导出中!仍要继续吗?",
"download": "下载 ODD",
"save-as": "保存 ODD 到目录",
"denied": "无权限",
"denied-message": "您没有权限保存 {{odd}}",
"reload": "重新加载",
Expand Down Expand Up @@ -162,15 +179,20 @@
"custom-behaviour-placeholder": "[自定义行为]",
"template-placeholder": "[定义适用于内容的代码模板]",
"param-name-placeholder": "[参数名]",
"empty": "清空 [Empty]"
"empty": "清空 [Empty]",
"mode-placeholder": "[处理模式-传递到后续模型]",
"set-param": "设置"
},
"css-source": "打开CSS文件"
}
},
"facets": {
"show": "显示前50",
"genre": "体裁",
"language": "语言"
"language": "语言",
"feature": "功能",
"form": "表单",
"period": "周期"
},
"appgen": {
"account": {
Expand Down Expand Up @@ -210,5 +232,89 @@
},
"open": "打开",
"success": "您的应用程式已成功产生"
},
"annotations": {
"edit": "编辑批注",
"delete": "删除批注",
"save": "合并并保存批注到 TEI",
"no-properties": "未定义属性。",
"person": "人员",
"organisation": "组织",
"place": "地点",
"term": "术语",
"date": "日期",
"reg": "规范化",
"app": "考证条目",
"hi": "突出显示",
"ref": "链接 (ref)",
"pb": "分页 (pb)",
"pagenum": "页码 (@n)",
"facs": "图像 URL (@facs)",
"abbreviation": "缩写",
"occurrences": "文本中出现的情况",
"correction": "矫正",
"expansion": "扩展",
"reference": "引用",
"lookup": "搜索实体",
"apply": "应用批注",
"apply-all": "选择并应用所有",
"search-other": "在其他文档中搜索事件",
"save-other": "搜索其它文档中的事件并立即应用批注",
"changes": "更改",
"undo": "撤消上次更改",
"download": "将合并的 TEI 保存到本地文件",
"reload": "重新加载源 TEI",
"preview": "刷新预览",
"confirm-restore-title": "确认还原",
"restore": "在上次会话中已找到此文档的注释。您想要重新加载它们吗?",
"confirm-reload-title": "确认重载",
"confirm-reload": "丢弃当前批注并重新加载源?",
"modify": "将编辑应用到基础文本",
"modify-info": "注意:这不是一个批注,将在合并后修改基础文本。",
"permission": "权限被拒绝:您无权保存批注。",
"ner": {
"title": "提取已命名实体",
"description": "尝试在文本中自动找到命名的实体,并将它们标记为批注。",
"run": "运行",
"model": "选择一个模型",
"denied": "未保存的更改:请先存储或丢弃。"
},
"confirm-discard-title": "丢弃",
"confirm-discard": "丢弃事件列表?",
"doc-count": "{{count}} / {{total}}",
"toggle": "显示/隐藏预览/控制面板",
"add-entity": "创建实体",
"edit-entity": "编辑主体",
"edit-reference": "搜索/编辑参考",
"hints": {
"modify": "标记为相同类型但不同键的实体",
"incomplete": "标记为相同类型但没有键",
"unmarked": "文本中未标记的事件",
"open-in-tab": "在新标签中打开文档进行审核"
}
},
"ner": {
"title": "训练一个命名实体识别模型",
"not-found": "此功能需要运行 TEI Publisher NER 服务!无法联系服务。",
"found": "发现带有spaCy版本的 TEI Publisher NER",
"name-placeholder": "要创建的模型名称",
"name": "名称",
"path": "路径",
"path-placeholder": "文档或集合的相对路径",
"path-info": "输入文档或集合的路径以用作训练输入。路径应相对于 TEI Publisher 的数据根目录。",
"lang-info": "您可以为某种语言训练一个新模型,或者选择下面的一个现有模型进行扩展。如果不扩展现有模型,您必须指定一种语言。否则请留空。",
"language-placeholder": "用于创建模型的语言",
"language": "语言",
"language-error": "需要一个语言或基本模型",
"model": "基础模型",
"model-placeholder": "要扩展或复制的基础模型",
"vectors": "仅从基础模型复制向量",
"output": "训练输出",
"prepare": "准备培训数据",
"start": "运行"
},
"timeline": {
"unknown": "未注明日期",
"clear": "清除日期选择"
}
}
Loading

0 comments on commit 0cf6127

Please sign in to comment.