فهرست منبع

fix(admin-ui): Fixed unsupported plural for Simple Chinese translation (#888)

Kai Chu 4 سال پیش
والد
کامیت
d43602fea0
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json

+ 4 - 4
packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json

@@ -321,11 +321,11 @@
     "yesterday": "昨天"
   },
   "datetime": {
-    "ago-days": "{count, plural, one {昨天} other {{count} 天前}} ",
+    "ago-days": "{count, plural, =1 {昨天} other {{count} 天前}} ",
     "ago-hours": "{count}小时前",
     "ago-minutes": "{count}分钟前",
     "ago-seconds": "{count, plural, =0 {刚刚} other {{count} 秒前}}",
-    "ago-years": "{count, plural, one {去年} other {{count} 年前}} ",
+    "ago-years": "{count, plural, =1 {去年} other {{count} 年前}} ",
     "duration-milliseconds": "{ms}毫秒",
     "duration-minutes:seconds": "{m}分{s}秒",
     "duration-seconds": "{s}秒",
@@ -738,8 +738,8 @@
     "filter-by-member-name": "",
     "first-name": "名",
     "fulfillment-handler": "",
-    "global-out-of-stock-threshold": "",
-    "global-out-of-stock-threshold-tooltip": "",
+    "global-out-of-stock-threshold": "默认售空限制",
+    "global-out-of-stock-threshold-tooltip": "当此规格产品库存值低于此限制时,产品将为售空状态。设置为负数设置此规格产品为缺货状态。可以在产品页面更改默认限制",
     "last-name": "姓",
     "no-eligible-shipping-methods": "没有符合条件的配送方式",
     "password": "密码",