From 67cfcf0daddfccc0104bc07e95bbc23b394515b6 Mon Sep 17 00:00:00 2001 From: Alex <49969959+alexzhang1030@users.noreply.github.com> Date: Wed, 21 Dec 2022 15:47:26 +0800 Subject: [PATCH] feat(i18n): add missing translations (#484) --- locales/zh-CN.json | 54 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 81146c8c..1aaceb01 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -4,7 +4,7 @@ "blocked_by": "您已被此用户拉黑", "blocked_domains": "已拉黑的域名", "blocked_users": "已拉黑的用户", - "blocking": "Blocked", + "blocking": "已拉黑", "bot": "机器人", "favourites": "喜欢的帖文", "follow": "关注", @@ -19,22 +19,23 @@ "joined": "已加入", "moved_title": "的新账号是:", "muted_users": "已屏蔽的用户", - "muting": "Muted", + "muting": "已屏蔽", "mutuals": "互相关注", "pinned": "置顶的帖文", "posts": "帖文", "posts_count": "{0} 条帖文", "profile_description": "{0}的个人资料头图", "profile_unavailable": "个人资料不可见", - "unblock": "Unblock", + "unblock": "取消拉黑", "unfollow": "取消关注", - "unmute": "Unmute" + "unmute": "取消屏蔽" }, "action": { "bookmark": "收藏", "bookmarked": "已收藏", "boost": "转发", "boosted": "已转发", + "close": "关闭", "compose": "撰写", "enter_app": "进入应用", "favourite": "喜欢", @@ -85,8 +86,8 @@ }, "feature_flag": { "avatar_on_avatar": "头像堆叠", - "github_cards": "GitHub Cards", - "user_switcher_sidebar": "User Switcher Sidebar", + "github_cards": "Github 卡片", + "user_switcher_sidebar": "用户切换侧边栏", "virtual_scroll": "虚拟滚动" }, "help": { @@ -149,6 +150,38 @@ "missing_type": "未知的通知类型:", "reblogged_post": "转发了你的帖文", "request_to_follow": "请求关注你", + "settings": { + "alerts": { + "favourite": "喜欢的", + "follow": "新的关注者", + "mention": "提及", + "poll": "投票", + "reblog": "转发了你的帖文", + "title": "接收了什么通知?" + }, + "close_btn": "关闭桌面通知设置", + "policy": { + "all": "任何人", + "followed": "我关注的人", + "follower": "关注我的人", + "none": "无人", + "title": "我可以从谁那里接收通知?" + }, + "save_settings": "保存设置改动", + "show_btn": "打开桌面通知设置", + "title": "桌面通知设置", + "undo_settings": "撤销设置改动", + "unsubscribe": "禁用桌面通知", + "unsubscribed_with_warning": "通过点击“@:{'notification.settings.warning.enable_desktop'}”按钮来启用接收此账号的通知。", + "unsupported": "你的浏览器不支持桌面通知", + "warning": { + "enable_close": "关闭", + "enable_description": "若想在鹿鸣没有打开时接收通知,请启用桌面通知功能。一旦启动,你可以通过上面的“打开设置”按钮来 精确控制哪种类型的互动可以产生桌面通知。", + "enable_description_short": "若想在鹿鸣没有打开时修改桌面通知设置,请启用桌面通知功能。", + "enable_desktop": "启用桌面通知功能", + "enable_title": "不错过任何事" + } + }, "update_status": "更新了他们的状态" }, "placeholder": { @@ -158,6 +191,15 @@ "replying": "回复", "the_thread": "这个帖文" }, + "pwa": { + "dismiss": "忽略", + "message": "@:{'pwa.title'},点击@:{'pwa.reload'}按钮来更新。", + "reload": "重启", + "title": "鹿鸣存在新的更新" + }, + "search": { + "search_desc": "搜索用户或话题标签" + }, "state": { "edited": "(已编辑)", "editing": "编辑中",