From 8ed1451b73e247f55b738827377cc31c0eccbc97 Mon Sep 17 00:00:00 2001 From: Yichao 'Peak' Ji Date: Tue, 7 Feb 2023 10:48:35 +0800 Subject: [PATCH] Add Chinese translation (#1245) --- website/public/locales/zh/common.json | 27 +++++++ website/public/locales/zh/dashboard.json | 8 +++ website/public/locales/zh/index.json | 23 ++++++ website/public/locales/zh/labelling.json | 24 +++++++ website/public/locales/zh/leaderboard.json | 18 +++++ website/public/locales/zh/message.json | 20 ++++++ website/public/locales/zh/side_menu.json | 12 ++++ website/public/locales/zh/tasks.json | 82 ++++++++++++++++++++++ website/public/locales/zh/tos.json | 6 ++ 9 files changed, 220 insertions(+) create mode 100644 website/public/locales/zh/common.json create mode 100644 website/public/locales/zh/dashboard.json create mode 100644 website/public/locales/zh/index.json create mode 100644 website/public/locales/zh/labelling.json create mode 100644 website/public/locales/zh/leaderboard.json create mode 100644 website/public/locales/zh/message.json create mode 100644 website/public/locales/zh/side_menu.json create mode 100644 website/public/locales/zh/tasks.json create mode 100644 website/public/locales/zh/tos.json diff --git a/website/public/locales/zh/common.json b/website/public/locales/zh/common.json new file mode 100644 index 00000000..bba05485 --- /dev/null +++ b/website/public/locales/zh/common.json @@ -0,0 +1,27 @@ +{ + "about": "关于", + "account_settings": "帐号", + "admin_dashboard": "管理面板", + "connect": "连接", + "conversational": "每个人的对话式人工智能。", + "copied": "已复制", + "dark_mode": "深色模式", + "dashboard": "概览", + "delete": "删除", + "discord": "Discord", + "docs": "文档", + "github": "GitHub", + "legal": "法律信息", + "light_mode": "浅色模式", + "loading": "载入中...", + "more_information": "更多信息", + "no": "否", + "privacy_policy": "隐私政策", + "report_a_bug": "报告问题", + "sign_in": "登入", + "sign_out": "登出", + "success": "成功", + "terms_of_service": "服务条款", + "title": "Open Assistant", + "yes": "是" +} diff --git a/website/public/locales/zh/dashboard.json b/website/public/locales/zh/dashboard.json new file mode 100644 index 00000000..2e240956 --- /dev/null +++ b/website/public/locales/zh/dashboard.json @@ -0,0 +1,8 @@ +{ + "grab_a_task": "选择任务!", + "create": "新建", + "evaluate": "评估", + "label": "标注", + "dashboard": "概览", + "go": "开始" +} diff --git a/website/public/locales/zh/index.json b/website/public/locales/zh/index.json new file mode 100644 index 00000000..4e6db31c --- /dev/null +++ b/website/public/locales/zh/index.json @@ -0,0 +1,23 @@ +{ + "blurb": "我们可以创造一场革命。", + "blurb1": "正如 Stable Diffusion 为世界带来了艺术创作的全新途径,我们想用令人惊叹的对话式人工智能让世界再进一步。", + "description": "每个人的对话式人工智能。由 LAION 和全世界的贡献者们一同运作的开源项目,致力于创造一个对话式的 GPT 大模型。", + "faq_items": { + "q0": "项目进展到什么阶段了?", + "a0": "我们处于研发的初期阶段,正在参照现有研究将 RLHF 应用在大型语言模型中。", + "q1": "谁在支持 Open Assistant?", + "a1": "Open Assistant 是一个由 LAION 和全世界致力于将该技术带给每个人的志愿者们共同组织的项目。", + "q2": "Open Assistant 使用什么开源协议?", + "a2": "代码和模型均基于 Apache 2.0 license 分发。", + "q3": "训练数据也会公开吗?", + "a3": "是的,将基于 CC BY 4.0 协议公开。", + "q4": "Open Assistant 会是免费的么?", + "a4": "是的,Open Assistant 可被免费使用和修改。", + "q5": "什么样的硬件能够运行这些模型?", + "a5": "将会提供可在消费级硬件上运行的模型版本。" + }, + "faq_title": "常见问题", + "join_us_description": "所有开源项目都始于像你一样的人。开源是一种信念,我们相信在合作中将知识和技术赠予世界将会造福人类。想一起来吗?我们在这里:", + "join_us_title": "加入我们", + "subtitle": "每个人的对话式人工智能。" +} diff --git a/website/public/locales/zh/labelling.json b/website/public/locales/zh/labelling.json new file mode 100644 index 00000000..6e33b8d5 --- /dev/null +++ b/website/public/locales/zh/labelling.json @@ -0,0 +1,24 @@ +{ + "fails_task.question": "对于该提示任务来说这不是个好的回复?", + "hate_speech": "仇恨言论", + "hate_speech.explanation": "内容涉及辱骂或威胁,表达了对受保护特征的偏见。偏见是指非理性的先入为主的观点。受保护的特征包括性别、种族、宗教、性取向和类似特征。", + "label_highlighted_flag_instruction": "选择适用于高亮信息的选项:", + "label_highlighted_likert_instruction": "评价高亮信息:", + "label_highlighted_yes_no_instruction": "回答关于高亮信息的以下问题:", + "label_message_flag_instruction": "选择适用于该信息的选项:", + "label_message_likert_instruction": "评价该信息:", + "label_message_yes_no_instruction": "回答关于该信息的以下问题:", + "lang_mismatch": "语言错误", + "lang_mismatch.explanation": "并非以当前选择的语言书写。", + "moral_judgement": "道德判断", + "moral_judgement.explanation": "表达了道德判断。", + "not_appropriate": "不合时宜", + "not_appropriate.explanation": "对于用户助理来说是不合适的。", + "pii": "个人信息", + "pii.explanation": "含有个人信息。例如个人联系方式、证件执照、银行资料和其他身份信息。", + "political_content": "政治内容", + "political_content.explanation": "表达了政治观点或倾向。", + "sexual_content": "色情内容", + "sexual_content.explanation": "包含色情内容。", + "spam.question": "是否为垃圾信息?" +} diff --git a/website/public/locales/zh/leaderboard.json b/website/public/locales/zh/leaderboard.json new file mode 100644 index 00000000..edeb8e81 --- /dev/null +++ b/website/public/locales/zh/leaderboard.json @@ -0,0 +1,18 @@ +{ + "daily": "每日", + "label": "标注数", + "last_updated_at": "最后更新于:{{val, datetime}}", + "leaderboard": "排行榜", + "monthly": "每月", + "next": "下一页", + "overall": "总体", + "previous": "上一页", + "prompt": "提示数", + "rank": "排名", + "reply": "回复数", + "score": "积分", + "top_5_contributors_today": "本日五大贡献者", + "user": "用户", + "view_all": "查看全部", + "weekly": "每周" +} diff --git a/website/public/locales/zh/message.json b/website/public/locales/zh/message.json new file mode 100644 index 00000000..6a975798 --- /dev/null +++ b/website/public/locales/zh/message.json @@ -0,0 +1,20 @@ +{ + "copy_message_id": "复制信息 ID", + "label_action": "标注", + "label_title": "标注", + "message_deleted": "信息已删除", + "message": "信息", + "open_new_tab_action": "在新标签页中打开", + "parent": "上级", + "reactions": "反馈", + "recent_messages": "最新信息", + "report_action": "报告", + "report_placeholder": "为什么该信息需要被检查?", + "report_title": "报告", + "send_report": "发送", + "stop_tree": "终止树", + "submit_labels": "提交", + "tree_stopped": "树终止于 {{id}}", + "view_user": "查看用户", + "your_recent_messages": "你的最新信息" +} diff --git a/website/public/locales/zh/side_menu.json b/website/public/locales/zh/side_menu.json new file mode 100644 index 00000000..fbb69bd1 --- /dev/null +++ b/website/public/locales/zh/side_menu.json @@ -0,0 +1,12 @@ +{ + "dashboard": "概览", + "dashboard_home": "概览首页", + "messages": "信息", + "messages_dashboard": "信息概览", + "leaderboard": "排行榜", + "user_leaderboard": "用户排行榜", + "users": "用户", + "users_dashboard": "用户概览", + "status": "状态", + "status_dashboard": "状态概览" +} diff --git a/website/public/locales/zh/tasks.json b/website/public/locales/zh/tasks.json new file mode 100644 index 00000000..788dcdd6 --- /dev/null +++ b/website/public/locales/zh/tasks.json @@ -0,0 +1,82 @@ +{ + "default": { + "unchanged_title": "无变化", + "unchanged_message": "确定要继续吗?" + }, + "random": { + "label": "手气不错", + "desc": "通过开始一个随机任务来改进 Open Assistant。" + }, + "create_initial_prompt": { + "label": "创建初始提示", + "desc": "编写初始提示来让 Open Assistant 尝试回复各种不同的信息。", + "overview": "创建发送给助理的第一条信息", + "instruction": "提供初始提示", + "response_placeholder": "在这里输入你的提示..." + }, + "reply_as_user": { + "label": "作为用户回复", + "desc": "通过与 Open Assistant 聊天来帮助改进它的回复。", + "overview": "基于如下的对话提供一个合适的回复", + "instruction": "提供作为用户的回复", + "response_placeholder": "在这里输入你的回复..." + }, + "reply_as_assistant": { + "label": "作为助理回复", + "desc": "帮助 Open Assistant 改进它与其他用户对话的响应。", + "overview": "基于如下的对话提供一个合适的回复", + "response_placeholder": "在这里输入你的回复..." + }, + "rank_user_replies": { + "label": "用户回复排序", + "desc": "帮助 Open Assistant 改进它与其他用户对话的响应。", + "overview": "将给出的用户回复按照从优到劣排序。", + "unchanged_title": "排序未改变", + "unchanged_message": "你并未改变提示的排序。确定要继续吗?" + }, + "rank_assistant_replies": { + "label": "助理回复排序", + "desc": "根据准确性和可读性为 Open Assistant 的提示进行评价。", + "overview": "将给出的助理回复按照从优到劣排序。", + "unchanged_title": "排序未改变", + "unchanged_message": "你并未改变提示的排序。确定要继续吗?" + }, + "rank_initial_prompts": { + "label": "初始提示排序", + "desc": "根据准确性和可读性为 Open Assistant 的提示进行评价。", + "overview": "将给出的初始提示按照从优到劣排序。", + "unchanged_title": "排序未改变", + "unchanged_message": "你并未改变提示的排序。确定要继续吗?" + }, + "label_initial_prompt": { + "label": "标注初始提示", + "desc": "为提示提供标注", + "overview": "对以下提示进行标注" + }, + "label_prompter_reply": { + "label": "标注提示者回复", + "desc": "为提示提供标注", + "overview": "基于以下讨论,对最后的提示进行标注。" + }, + "label_assistant_reply": { + "label": "标注助理回复", + "desc": "为提示提供标注", + "overview": "基于以下讨论,对最后的提示进行标注。" + }, + "classify_initial_prompt": { + "label": "分类初始提示", + "desc": "为提示提供标注", + "overview": "阅读以下的提示并回答其中的问题。" + }, + "classify_prompter_reply": { + "label": "分类提示者回复", + "desc": "为提示提供标注", + "overview": "阅读以下对话并回答最后一个回复中的问题。" + }, + "classify_assistant_reply": { + "label": "分类助理回复", + "desc": "为提示提供标注", + "overview": "阅读以下对话并回答最后一个回复中的问题。" + }, + "available_task_count": "{{count}} 个可用任务" +} diff --git a/website/public/locales/zh/tos.json b/website/public/locales/zh/tos.json new file mode 100644 index 00000000..612fe535 --- /dev/null +++ b/website/public/locales/zh/tos.json @@ -0,0 +1,6 @@ +{ + "title": "Open Assistant 服务条款", + "content": "你需要接受服务条款以继续使用 Open Assistant。", + "accept": "接受", + "decline": "拒绝" +}