Skip to content

Commit

Permalink
fix: update zh-CN translations and remove unused setting (#2132)
Browse files Browse the repository at this point in the history
* chore(translations): update zh-CN locale files for accuracy

* chore: auto-fix linting and formatting issues

* update

* update

* chore: auto-fix linting and formatting issues

* update

* update

---------

Co-authored-by: ericyzhu <ericyzhu@users.noreply.github.com>
  • Loading branch information
ericyzhu and ericyzhu authored Dec 16, 2024
1 parent ffca130 commit 0dcfde5
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/server/client/components/layout/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const Header = () => {
onClick={handleToApp}
>
Open app
<Kbd className="kbd-xs !leading-0 !dark:bg-zinc-200 ml-2 size-5 scale-[0.85] rounded-sm !border-transparent !bg-zinc-50 !font-mono text-black">
<Kbd className="!leading-0 !dark:bg-zinc-200 kbd-xs ml-2 size-5 scale-[0.85] rounded-sm !border-transparent !bg-zinc-50 !font-mono text-black">
L
</Kbd>
</Button>
Expand Down
11 changes: 7 additions & 4 deletions locales/app/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"discover.import.result": "成功导入了 <SuccessfulNum /> 个订阅源,<ConflictNum /> 个已订阅,<ErrorNum /> 个导入失败。",
"discover.import.successfulItems": "成功项目",
"discover.inbox.actions": "操作",
"discover.inbox.description": "你可以通过电子邮件和 Webhook 在收件箱接收信息。",
"discover.inbox.email": "电子邮件",
"discover.inbox.description": "你可以通过邮件和 Webhook 在收件箱接收信息。",
"discover.inbox.email": "邮件地址",
"discover.inbox.handle": "唯一标识",
"discover.inbox.secret": "密钥",
"discover.inbox.title": "标题",
Expand All @@ -88,7 +88,7 @@
"discover.inbox_destroy_confirm": "确认删除收件箱?",
"discover.inbox_destroy_error": "删除收件箱失败。",
"discover.inbox_destroy_success": "收件箱删除成功。",
"discover.inbox_destroy_warning": "警告:一旦删除,电子邮件将不再可用,所有内容将被永久删除且无法恢复。",
"discover.inbox_destroy_warning": "警告:一旦删除,邮件地址将不再可用,所有内容将被永久删除且无法恢复。",
"discover.inbox_handle": "唯一标识",
"discover.inbox_title": "标题",
"discover.inbox_update": "更新",
Expand Down Expand Up @@ -219,6 +219,7 @@
"feed_item.claimed_by_unknown": "未知所有者",
"feed_item.claimed_by_you": "订阅源由你提供",
"feed_item.claimed_feed": "已认证源",
"feed_item.claimed_list": "已认证列表",
"feed_item.error_since": "源失效:",
"feed_item.not_publicly_visible": "在个人页面上隐藏",
"feed_view_type.articles": "文章",
Expand Down Expand Up @@ -307,7 +308,7 @@
"sidebar.category_remove_dialog.title": "删除分类",
"sidebar.feed_actions.claim": "认证",
"sidebar.feed_actions.claim_feed": "认证订阅",
"sidebar.feed_actions.copy_email_address": "复制电子邮件地址",
"sidebar.feed_actions.copy_email_address": "复制邮件地址",
"sidebar.feed_actions.copy_feed_id": "复制 ID",
"sidebar.feed_actions.copy_feed_url": "复制链接",
"sidebar.feed_actions.copy_list_id": "复制列表 ID",
Expand Down Expand Up @@ -372,6 +373,7 @@
"trending.user": "热门用户",
"user_button.account": "账号",
"user_button.achievement": "成就",
"user_button.actions": "自动化",
"user_button.download_desktop_app": "下载客户端",
"user_button.log_out": "登出",
"user_button.power": "Power",
Expand All @@ -384,6 +386,7 @@
"user_profile.share": "分享",
"user_profile.toggle_item_style": "切换列表样式",
"words.achievement": "成就",
"words.actions": "自动化",
"words.add": "添加",
"words.boost": "助力",
"words.browser": "浏览器",
Expand Down
28 changes: 27 additions & 1 deletion locales/external/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
"feed.follower_other": "关注者",
"feed.followsAndFeeds": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}}和 {{feedsCount}} 个{{feedsNoun}}",
"feed.followsAndReads": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}},{{readCount}} 次近期{{readNoun}}",
"feed.madeby": "创建者",
"feed.preview": "预览",
"feed.read_one": "阅读",
"feed.read_other": "阅读",
"feed.view_feed_url": "查看链接",
"feed_item.claimed_by_owner": "订阅源所有者",
"feed_item.claimed_by_unknown": "未知所有者",
"feed_item.claimed_by_you": "订阅源由你提供",
"feed_item.claimed_feed": "已认证源",
"feed_item.claimed_list": "已认证列表",
"feed_item.error_since": "源失效:",
"feed_item.not_publicly_visible": "在个人资料页面上隐藏",
"header.app": "应用",
Expand All @@ -31,14 +34,37 @@
"invitation.getCodeMessage": "通过以下方式获取:",
"invitation.title": "邀请码",
"login.backToWebApp": "返回网页版",
"login.confirm_password.label": "确认密码",
"login.continueWith": "使用 {{provider}} 登入",
"login.email": "邮件地址",
"login.forget_password.description": "请输入与你的帐户关联的邮件地址,我们将向你发送一封关于如何重置密码的邮件。",
"login.forget_password.label": "忘记密码",
"login.forget_password.note": "忘记了密码?",
"login.forget_password.success": "邮件已成功发送。",
"login.logInTo": "登入至 ",
"login.logInWithEmail": "使用邮件地址登入",
"login.new_password.label": "新密码",
"login.openApp": "打开应用",
"login.or": "",
"login.password": "密码",
"login.redirecting": "正在重定向",
"login.register": "创建账户",
"login.reset_password.description": "请输入新密码并确认以重置你的密码。",
"login.reset_password.label": "重置密码",
"login.reset_password.success": "密码已成功重置。",
"login.signOut": "登出",
"login.signUp": "使用邮件地址注册",
"login.submit": "提交",
"login.welcomeTo": "欢迎来到 ",
"redirect.continueInBrowser": "在浏览器中继续",
"redirect.instruction": "现在可以打开 {{app_name}} 并关闭此页面。",
"redirect.openApp": "打开 {{app_name}}",
"redirect.successMessage": "已成功连接到 {{app_name}} 账户。"
"redirect.successMessage": "已成功连接到 {{app_name}} 账户。",
"register.confirm_password": "确认密码",
"register.email": "邮件地址",
"register.label": "创建 {{app_name}} 账户",
"register.login": "登入",
"register.note": "已有账户?<LoginLink />",
"register.password": "密码",
"register.submit": "创建账户"
}
1 change: 0 additions & 1 deletion locales/settings/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"about.socialMedia": "Social Media",
"actions.actionName": "Action {{number}}",
"actions.action_card.add": "Add",
"actions.action_card.add_action": "Add Action",
"actions.action_card.all": "All",
"actions.action_card.and": "And",
"actions.action_card.block": "Block",
Expand Down
12 changes: 12 additions & 0 deletions locales/settings/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"data_control.app_cache_limit.label": "应用缓存限制",
"data_control.clean_cache.button": "清理缓存",
"data_control.clean_cache.description": "清理应用缓存以释放空间。",
"data_control.clean_cache.description_web": "清理 Web 应用的 Service Worker 缓存以释放空间。",
"feeds.claimTips": "要认证你的订阅源并接收打赏,请在订阅列表中右键点击订阅源并选择「认证」。",
"feeds.noFeeds": "没有已认证的订阅源",
"feeds.tableHeaders.name": "名称",
Expand Down Expand Up @@ -258,14 +259,25 @@
"lists.title": "标题",
"lists.view": "视图",
"profile.avatar.label": "头像",
"profile.change_password.label": "更改密码",
"profile.confirm_password.label": "确认密码",
"profile.current_password.label": "当前密码",
"profile.email.label": "邮件地址",
"profile.email.send_verification": "发送验证邮件",
"profile.email.unverified": "未验证",
"profile.email.verification_sent": "验证邮件已发送。",
"profile.email.verified": "已验证",
"profile.handle.description": "你的唯一标识。",
"profile.handle.label": "唯一标识",
"profile.name.description": "你的公开显示名称。",
"profile.name.label": "显示名称",
"profile.new_password.label": "新密码",
"profile.reset_password_mail_sent": "重置密码邮件已发送。",
"profile.sidebar_title": "个人资料",
"profile.submit": "提交",
"profile.title": "个人资料设置",
"profile.updateSuccess": "个人资料已更新。",
"profile.update_password_success": "密码已更新。",
"titles.about": "关于",
"titles.actions": "自动化",
"titles.appearance": "外观",
Expand Down
1 change: 0 additions & 1 deletion locales/settings/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"about.socialMedia": "社群媒體",
"actions.actionName": "操作 {{number}}",
"actions.action_card.add": "新增",
"actions.action_card.add_action": "新增自動化指令",
"actions.action_card.all": "全部",
"actions.action_card.and": "",
"actions.action_card.block": "封鎖",
Expand Down

0 comments on commit 0dcfde5

Please sign in to comment.