From 084dc3128e7235776c3394e4ab4d436a3485b9c9 Mon Sep 17 00:00:00 2001 From: Kai Chu Date: Fri, 14 May 2021 09:17:08 +0200 Subject: [PATCH] fix(admin-ui): Update Chinese translations (#878) * fix(admin-ui): Update zh_hans Chinese translation * fix(admin-ui): Update translate file to use 2 spaces instead of tab Co-authored-by: Kai Chu --- packages/admin-ui/i18n-coverage.json | 12 +- .../src/lib/static/i18n-messages/zh_Hans.json | 348 +++++++++--------- 2 files changed, 180 insertions(+), 180 deletions(-) diff --git a/packages/admin-ui/i18n-coverage.json b/packages/admin-ui/i18n-coverage.json index 7307f9f97f..affe5c749c 100644 --- a/packages/admin-ui/i18n-coverage.json +++ b/packages/admin-ui/i18n-coverage.json @@ -1,6 +1,6 @@ { - "generatedOn": "2021-05-11T11:36:09.539Z", - "lastCommit": "1795f487c8f8f0e146718d31b02fda94fc9a5c4c", + "generatedOn": "2021-05-13T09:41:10.029Z", + "lastCommit": "1fb3620ce86cac7a29c747cbd3cf8cb831aa1983", "translationStatus": { "cs": { "tokenCount": 775, @@ -14,7 +14,7 @@ }, "en": { "tokenCount": 775, - "translatedCount": 774, + "translatedCount": 775, "percentage": 100 }, "es": { @@ -43,9 +43,9 @@ "percentage": 100 }, "zh_Hans": { - "tokenCount": 775, - "translatedCount": 529, - "percentage": 68 + "tokenCount": 773, + "translatedCount": 700, + "percentage": 91 }, "zh_Hant": { "tokenCount": 775, diff --git a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json index 6c7160e468..9474463668 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json @@ -12,7 +12,7 @@ "original-asset-size": "资源大小", "preview": "预览", "remove-asset": "移除资源", - "select-asset": "", + "select-asset": "选择资源", "select-assets": "选择资源", "set-as-featured-asset": "设置为特征图片", "set-focal-point": "设置图片焦点", @@ -22,7 +22,7 @@ "update-focal-point-error": "更新焦点失败", "update-focal-point-success": "更新焦点成功", "upload-assets": "上传资源", - "uploading": "" + "uploading": "正在上传..." }, "breadcrumb": { "administrators": "用户管理", @@ -30,25 +30,25 @@ "channels": "销售渠道", "collections": "商品系列", "countries": "国家列表", - "customer-groups": "", + "customer-groups": "分组管理", "customers": "客户管理", "dashboard": "总览", "facets": "商品特征", "global-settings": "语言设置", - "job-queue": "", + "job-queue": "任务队列", "manage-variants": "商品规格管理", - "modifying": "", + "modifying": "正在修改", "orders": "订单管理", "payment-methods": "支付管理", "products": "商品列表", - "profile": "", + "profile": "个人资料", "promotions": "优惠券管理", "roles": "角色管理", "shipping-methods": "配送方式管理", - "system-status": "", + "system-status": "系统状态", "tax-categories": "税表分类", "tax-rates": "税率管理", - "zones": "" + "zones": "分区列表" }, "catalog": { "add-facet-value": "添加特征值", @@ -58,28 +58,28 @@ "assign-products-to-channel": "分配产品到销售渠道", "assign-to-channel": "分配至销售渠道", "assign-to-named-channel": "分配到{ channelCode }", - "assign-variant-to-channel-success": "", - "assign-variants-to-channel": "", - "auto-update-option-variant-name": "", - "auto-update-product-variant-name": "", + "assign-variant-to-channel-success": "成功添加商品到 \"{ channel }\"", + "assign-variants-to-channel": "添加到销售渠道", + "auto-update-option-variant-name": "此选项自动更新不同商品变体名称", + "auto-update-product-variant-name": "自动更新不同商品变体名称", "channel-price-preview": "渠道价格预览", "collection-contents": "系列产品", "confirm-adding-options-delete-default-body": "添加新规格到此产品会导致含此规格的产品被删除,确认继续吗?", "confirm-adding-options-delete-default-title": "确认删除产品规格么?", - "confirm-delete-administrator": "", - "confirm-delete-assets": "", + "confirm-delete-administrator": "确认删除管理员吗?", + "confirm-delete-assets": "确认删除{count}个资源吗?", "confirm-delete-channel": "确认删除销售渠道?", "confirm-delete-collection": "确认删除商品系列吗?", "confirm-delete-collection-and-children-body": "删除这个系列会删除它所包含的子系列,确认删除码?", "confirm-delete-country": "确认删除国家?", - "confirm-delete-customer": "", + "confirm-delete-customer": "确认删除客户吗?", "confirm-delete-facet": "确认删除特征?", "confirm-delete-facet-value": "确认删除特征值?", "confirm-delete-product": "确认删除商品?", "confirm-delete-product-variant": "确认删除商品规格?", "confirm-delete-promotion": "确认删除优惠券?", "confirm-delete-shipping-method": "确认删除邮寄方式?", - "confirm-delete-zone": "", + "confirm-delete-zone": "确认删除分区么?", "create-new-collection": "添加系列", "create-new-facet": "添加特征", "create-new-product": "添加商品", @@ -92,7 +92,7 @@ "expand-all-collections": "展开所有系列", "facet-values": "特征值列表", "filter-by-name": "按名字过滤", - "filter-by-name-or-sku": "", + "filter-by-name-or-sku": "按名字或商品编码过滤", "filters": "过滤条件", "group-by-product": "按商品分组显示", "manage-variants": "商品规格管理", @@ -104,15 +104,15 @@ "no-selection": "尚未选择", "notify-remove-product-from-channel-error": "从渠道中移除商品失败", "notify-remove-product-from-channel-success": "成功从渠道中移除商品", - "notify-remove-variant-from-channel-error": "", - "notify-remove-variant-from-channel-success": "", + "notify-remove-variant-from-channel-error": "从渠道中移除商品变体失败", + "notify-remove-variant-from-channel-success": "成功从渠道中移除商品变体", "option": "规格", "option-name": "规格名称", "option-values": "规格列表(按回车键添加)", - "out-of-stock-threshold": "", - "out-of-stock-threshold-tooltip": "", + "out-of-stock-threshold": "售空限制", + "out-of-stock-threshold-tooltip": "当此规格产品库存值低于此限制时,产品将为售空状态。设置为负数设置此规格产品为缺货状态。", "price": "价格", - "price-conversion-factor": "Price conversion factor", + "price-conversion-factor": "价格换算因数", "price-in-channel": "渠道{ channel }价格", "price-includes-tax-at": "含税{ rate }%", "price-with-tax-in-default-zone": "含税{ rate }% 价格{ price }", @@ -128,30 +128,30 @@ "remove-from-channel": "从销售渠道移除", "remove-option": "移除选项", "remove-product-from-channel": "从销售渠道移除商品", - "remove-product-variant-from-channel": "", - "search-asset-name-or-tag": "", + "remove-product-variant-from-channel": "从销售渠道移除商品变体", + "search-asset-name-or-tag": "输入要搜索的资源名称或标签", "search-for-term": "输入搜索条目", "search-product-name-or-code": "输入要搜索的商品名称或商品编码", - "select-product": "", - "select-product-variant": "", + "select-product": "选择商品", + "select-product-variant": "选择商品变体", "sku": "商品库存编码", "slug": "名称缩写", - "slug-pattern-error": "", - "stock-allocated": "", - "stock-allocated-tooltip": "", - "stock-on-hand": "库存", - "stock-on-hand-tooltip": "", - "stock-saleable": "", - "stock-saleable-tooltip": "", + "slug-pattern-error": "名称缩写无效", + "stock-allocated": "已分配", + "stock-allocated-tooltip": "已下单但未发货的商品数量", + "stock-on-hand": "当前库存", + "stock-on-hand-tooltip": "当前库存中实际商品数量", + "stock-saleable": "可销售", + "stock-saleable-tooltip": "可销售产品数量,等于当前库存-已分配,如果设置售空限制,可售数量会与之对比。", "tax-category": "税表分类", "taxes": "价格(含税)", "track-inventory": "跟踪库存", - "track-inventory-false": "", + "track-inventory-false": "不跟踪", "track-inventory-inherit": "", - "track-inventory-tooltip": "", - "track-inventory-true": "", + "track-inventory-tooltip": "当设置跟踪,当前规格产品库存数量会跟进销售数量自动减少", + "track-inventory-true": "跟踪", "update-product-option": "更新产品规格", - "use-global-value": "", + "use-global-value": "使用系统默认值", "values": "值", "variant": "商品规格", "view-contents": "查看详情", @@ -160,47 +160,47 @@ "common": { "ID": "ID", "actions": "操作", - "add-item-to-list": "", + "add-item-to-list": "添加到列表", "add-new-variants": "添加{count}个商品规格", - "add-note": "", + "add-note": "添加注释", "available-languages": "可用语言", "cancel": "取消", "cancel-navigation": "取消", - "change-selection": "", + "change-selection": "更改选项", "channel": "销售渠道", "channels": "销售渠道", "code": "编码", - "collapse-entries": "", - "confirm": "", - "confirm-delete-note": "", + "collapse-entries": "收起", + "confirm": "确认", + "confirm-delete-note": "删除笔记", "confirm-navigation": "导航确认", "create": "添加", "created-at": "创建时间", "custom-fields": "客户化字段", "default-channel": "默认销售渠道", - "default-language": "", - "default-tax-category": "", + "default-language": "默认语言", + "default-tax-category": "默认税表", "delete": "删除", "description": "描述", - "details": "", + "details": "详情", "disabled": "禁用", "discard-changes": "放弃修改", "edit": "编辑", "edit-field": "编辑域", - "edit-note": "", + "edit-note": "编辑笔记", "enabled": "启用", - "expand-entries": "", + "expand-entries": "展开", "extension-running-in-separate-window": "扩展已在另一个窗口启动", - "filter": "", + "filter": "过滤", "guest": "游客", "items-per-page-option": "每页显示 { count } 条", "language": "语言", "launch-extension": "启动扩展插件", - "live-update": "", + "live-update": "在线更新", "log-out": "退出", "login": "登陆", - "manage-tags": "", - "manage-tags-description": "", + "manage-tags": "管理标签", + "manage-tags-description": "更新或删除标签", "more": "更多...", "name": "名称", "no-results": "没找到任何结果", @@ -213,7 +213,7 @@ "notify-saved-changes": "修改已保存", "notify-update-error": "更新{ entity }失败", "notify-update-success": "{ entity }已更新", - "notify-updated-tags-success": "", + "notify-updated-tags-success": "成功更新标签", "open": "详情", "password": "密码", "price": "价格", @@ -222,40 +222,40 @@ "public": "公开", "remember-me": "记住我", "remove": "删除", - "remove-item-from-list": "", + "remove-item-from-list": "从列表中移除", "results-count": "{count, plural, 0{无} other {{count}个过滤结果}}", "select": "选择...", "select-display-language": "选择显示语言", "select-today": "选择今天", - "tags": "", - "theme": "", + "tags": "标签", + "theme": "主题", "there-are-unsaved-changes": "修改尚未被保存,现在离开会导致您的修改会被删除", - "toggle-all": "", + "toggle-all": "全部切换", "update": "确认修改", "updated-at": "修改时间", "username": "用户名", "view-next-month": "查看下个月", "view-previous-month": "查看下个月", - "with-selected": "" + "with-selected": "从已选中..." }, "customer": { - "add-customer-to-group": "", - "add-customer-to-groups-with-count": "", - "add-customers-to-group": "", - "add-customers-to-group-success": "", - "add-customers-to-group-with-count": "", - "add-customers-to-group-with-name": "", + "add-customer-to-group": "添加客户到分组", + "add-customer-to-groups-with-count": "添加客户到 {count}个分组", + "add-customers-to-group": "添加客户到分组", + "add-customers-to-group-success": "已添加{customerCount} 个客户到\"{ groupName }\"分组", + "add-customers-to-group-with-count": "添加{count}个客户", + "add-customers-to-group-with-name": "添加客户到\"{ groupName }\"分组", "addresses": "地址", "city": "市", - "confirm-delete-customer-group": "", - "confirm-remove-customer-from-group": "", + "confirm-delete-customer-group": "确认删除客户分组?", + "confirm-remove-customer-from-group": "确认从分组移除客户?", "country": "国家", - "create-customer-group": "", + "create-customer-group": "添加分组", "create-new-address": "添加地址", "create-new-customer": "添加客户", - "create-new-customer-group": "", - "customer-groups": "", - "customer-history": "", + "create-new-customer-group": "确认添加", + "customer-groups": "客户分组", + "customer-history": "客户记录", "customer-type": "客户验证类型", "default-billing-address": "默认账单地址", "default-shipping-address": "默认邮寄地址", @@ -264,71 +264,71 @@ "first-name": "名", "full-name": "名字", "guest": "访客", - "history-customer-added-to-group": "", - "history-customer-address-created": "", - "history-customer-address-deleted": "", - "history-customer-address-updated": "", - "history-customer-detail-updated": "", - "history-customer-email-update-requested": "", - "history-customer-email-update-verified": "", - "history-customer-password-reset-requested": "", - "history-customer-password-reset-verified": "", - "history-customer-password-updated": "", - "history-customer-registered": "", - "history-customer-removed-from-group": "", - "history-customer-verified": "", - "history-using-external-auth-strategy": "", - "history-using-native-auth-strategy": "", - "last-login": "", + "history-customer-added-to-group": "添加客户到分组\"{ groupName }\"", + "history-customer-address-created": "创建地址", + "history-customer-address-deleted": "删除地址", + "history-customer-address-updated": "更新地址", + "history-customer-detail-updated": "更新客户信息", + "history-customer-email-update-requested": "请求更新电子邮件", + "history-customer-email-update-verified": "验证电子邮件更新成功", + "history-customer-password-reset-requested": "请求重置密码", + "history-customer-password-reset-verified": "验证密码重置成功", + "history-customer-password-updated": "更新密码", + "history-customer-registered": "注册客户", + "history-customer-removed-from-group": "从分组\"{ groupName }\"移除", + "history-customer-verified": "验证客户成功", + "history-using-external-auth-strategy": "使用{ strategy }", + "history-using-native-auth-strategy": "使用电子邮件", + "last-login": "上次登陆", "last-name": "姓", "name": "姓名", - "new-email-address": "", + "new-email-address": "新邮件地址", "no-orders-placed": "无订单记录", - "not-a-member-of-any-groups": "", - "old-email-address": "", + "not-a-member-of-any-groups": "未分组", + "old-email-address": "旧邮件地址", "orders": "订单列表", "password": "密码", "phone-number": "电话号码", "postal-code": "邮政编码", "province": "省(直辖市)", "registered": "已注册", - "remove-customers-from-group-success": "", - "remove-from-group": "", + "remove-customers-from-group-success": "成功从分组\"{ groupName }\"中移除{customerCount}个客户", + "remove-from-group": "从分组中移除", "search-customers-by-email": "输入要搜索的客户邮件地址", - "search-customers-by-last-name": "", - "select-customer": "", + "search-customers-by-last-name": "按姓搜索", + "select-customer": "选择客户", "set-as-default-billing-address": "设置为默认账单地址", "set-as-default-shipping-address": "设置为默认邮寄地址", "street-line-1": "街道", "street-line-2": "详细地址(小区,公司门牌号等)", "title": "客户称呼", - "update-customer-group": "", + "update-customer-group": "更新客户分组", "verified": "已验证", - "view-group-members": "" + "view-group-members": "查看分组成员" }, "dashboard": { - "add-widget": "", - "latest-orders": "", - "orders-summary": "", - "remove-widget": "", - "thisMonth": "", - "thisWeek": "", - "today": "", - "total-order-value": "", - "total-orders": "", - "widget-resize": "", - "widget-width": "", - "yesterday": "" + "add-widget": "添加窗口工具", + "latest-orders": "最新订单", + "orders-summary": "订单预览", + "remove-widget": "移除窗口", + "thisMonth": "本月", + "thisWeek": "本周", + "today": "今天", + "total-order-value": "总额", + "total-orders": "总订单数", + "widget-resize": "修改大小", + "widget-width": "宽: {width}", + "yesterday": "昨天" }, "datetime": { - "ago-days": "", - "ago-hours": "", - "ago-minutes": "", - "ago-seconds": "", - "ago-years": "", - "duration-milliseconds": "", - "duration-minutes:seconds": "", - "duration-seconds": "", + "ago-days": "{count, plural, one {昨天} other {{count} 天前}} ", + "ago-hours": "{count}小时前", + "ago-minutes": "{count}分钟前", + "ago-seconds": "{count, plural, =0 {刚刚} other {{count} 秒前}}", + "ago-years": "{count, plural, one {去年} other {{count} 年前}} ", + "duration-milliseconds": "{ms}毫秒", + "duration-minutes:seconds": "{m}分{s}秒", + "duration-seconds": "{s}秒", "month-apr": "4月", "month-aug": "8月", "month-dec": "12月", @@ -364,9 +364,9 @@ "403-forbidden": "无权限访问路径 \"{ path }\"。无权限或会话已过期,请重新登陆", "could-not-connect-to-server": "无法链接服务器 { url }", "facet-value-form-values-do-not-match": "表单中商品特征值数量与实际不符", - "health-check-failed": "", - "no-default-shipping-zone-set": "", - "no-default-tax-zone-set": "", + "health-check-failed": "系统健康状态检查失败", + "no-default-shipping-zone-set": "当前销售渠道没有默认配送区域设置,这会导致计算邮费失败。", + "no-default-tax-zone-set": "当前销售渠道没有没人税表区域设置,这会导致计算价格失败。请创建或选择税区。", "product-variant-form-values-do-not-match": "表单中商品规格数量与实际不符" }, "lang": { @@ -546,11 +546,11 @@ "channels": "销售渠道", "collections": "商品系列", "countries": "国家列表", - "customer-groups": "", + "customer-groups": "分组管理", "customers": "客户管理", "facets": "产品特征", "global-settings": "语言设置", - "job-queue": "", + "job-queue": "任务队列", "marketing": "市场营销", "orders": "订单管理", "payment-methods": "支付管理", @@ -560,47 +560,47 @@ "sales": "销售管理", "settings": "系统设置", "shipping-methods": "配送方式", - "system": "", - "system-status": "", + "system": "系统状态", + "system-status": "系统状态", "tax-categories": "税表分类", "tax-rates": "税表管理", - "zones": "" + "zones": "区域管理" }, "order": { - "add-item-to-order": "", + "add-item-to-order": "添加到订单", "add-note": "添加备注", - "add-payment": "", - "add-payment-to-order": "", - "add-payment-to-order-success": "", - "add-surcharge": "", - "added-items": "", + "add-payment": "添加付款", + "add-payment-to-order": "添加付款到订单", + "add-payment-to-order-success": "成功添加付款到订单", + "add-surcharge": "添加附加费", + "added-items": "添加项目", "amount": "金额", - "apply-filters": "", - "arrange-additional-payment": "", - "billing-address": "", + "apply-filters": "过滤", + "arrange-additional-payment": "添加额外付款", + "billing-address": "账单地址", "cancel": "取消", - "cancel-fulfillment": "", - "cancel-modification": "", + "cancel-fulfillment": "取消发货", + "cancel-modification": "取消修改", "cancel-order": "取消订单", - "cancel-payment": "", + "cancel-payment": "取消付款", "cancel-reason-customer-request": "客户要求", "cancel-reason-not-available": "产品无库存", "cancel-selected-items": "取消已选", "cancellation-reason": "取消原因", "cancelled-order-success": "订单成功取消", - "confirm-modifications": "", + "confirm-modifications": "确认修改", "contents": "具体内容", "create-fulfillment": "确认配货", "create-fulfillment-success": "确认配货成功", "customer": "客户", - "edit-billing-address": "", - "edit-shipping-address": "", - "error-message": "", - "filter-custom": "", - "filter-preset-active": "", - "filter-preset-completed": "", - "filter-preset-open": "", - "filter-preset-shipped": "", + "edit-billing-address": "编辑账单地址", + "edit-shipping-address": "编辑邮寄地址", + "error-message": "错误消息", + "filter-custom": "自定义", + "filter-preset-active": "正在选择商品", + "filter-preset-completed": "已完成", + "filter-preset-open": "已下单", + "filter-preset-shipped": "已发货", "fulfill": "已配货", "fulfill-order": "接受订单", "fulfillment": "配货记录", @@ -716,7 +716,7 @@ "add-products-to-test-order": "添加产品到测试订单", "channel": "销售渠道", "channel-token": "渠道唯一码", - "confirm-delete-payment-method": "", + "confirm-delete-payment-method": "确认删除付款方式?", "confirm-delete-role": "确认删除角色?", "confirm-delete-tax-category": "确认删除税表分类?", "confirm-delete-tax-rate": "去人删除税率?", @@ -771,41 +771,41 @@ }, "state": { "adding-items": "正在选择商品", - "all-orders": "", - "arranging-additional-payment": "", + "all-orders": "所以订单状态", + "arranging-additional-payment": "在付款", "arranging-payment": "正在付款", - "authorized": "", + "authorized": "已授权", "cancelled": "已取消", - "created": "", - "declined": "", + "created": "已创建", + "declined": "已拒绝", "delivered": "已完成", - "error": "", - "failed": "", - "modifying": "", + "error": "错误", + "failed": "失败", + "modifying": "正在修改", "partially-delivered": "部分配货", - "partially-shipped": "", + "partially-shipped": "部分发货", "payment-authorized": "已授权支付", "payment-settled": "已结算", - "pending": "", - "settled": "", - "shipped": "" + "pending": "待处理", + "settled": "已结算", + "shipped": "已发货" }, "system": { - "all-job-queues": "", - "health-all-systems-up": "", - "health-error": "", - "health-last-checked": "", - "health-message": "", - "health-refresh": "", - "health-status": "", - "health-status-down": "", - "health-status-up": "", - "hide-settled-jobs": "", - "job-data": "", - "job-duration": "", - "job-error": "", - "job-queue-name": "", - "job-result": "", - "job-state": "" + "all-job-queues": "所有任务", + "health-all-systems-up": "所以系统正常运行", + "health-error": "错误:一个或多个系统启动失败!", + "health-last-checked": "上次检查", + "health-message": "消息", + "health-refresh": "刷新", + "health-status": "状态", + "health-status-down": "失败", + "health-status-up": "正常", + "hide-settled-jobs": "隐藏已完成任务", + "job-data": "任务数据", + "job-duration": "任务耗时", + "job-error": "任务错误", + "job-queue-name": "队列名称", + "job-result": "任务结果", + "job-state": "任务状态" } -} \ No newline at end of file +}