Browse Source

Added Chinese (Simplified) (zh-Hans or zh-CN).

Thanks to translators!
Lauri Ojansivu 3 years ago
parent
commit
f2c242f49e
3 changed files with 19 additions and 16 deletions
  1. 1 1
      .tx/config
  2. 15 15
      i18n/zh-CN.i18n.json
  3. 3 0
      releases/translations/pull-translations.sh

+ 1 - 1
.tx/config

@@ -39,7 +39,7 @@ host = https://www.transifex.com
 # tap:i18n requires us to use `-` separator in the language identifiers whereas
 # tap:i18n requires us to use `-` separator in the language identifiers whereas
 # Transifex uses a `_` separator, without an option to customize it on one side
 # Transifex uses a `_` separator, without an option to customize it on one side
 # or the other, so we need to do a Manual mapping.
 # or the other, so we need to do a Manual mapping.
-lang_map = ar_EG:ar-EG, bg_BG:bg, de_CH:de-CH, en_IT:en-IT, en_GB:en-GB, es_AR:es-AR, es_CL:es-CL, es_419:es-LA, es_PE:es-PE, es_MX:es-MX, es_TX:es-TX, es_PY:es-PY, el_GR:el, fa_IR:fa-IR, fi_FI:fi, fr_CH:fr-CH, hu_HU:hu, id_ID:id, mn_MN:mn, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, sl_SI:sl, zh_CN:zh-CN, zh_TW:zh-TW, zh_HK:zh-HK
+lang_map = ar_EG:ar-EG, bg_BG:bg, de_CH:de-CH, en_IT:en-IT, en_GB:en-GB, es_AR:es-AR, es_CL:es-CL, es_419:es-LA, es_PE:es-PE, es_MX:es-MX, es_TX:es-TX, es_PY:es-PY, el_GR:el, fa_IR:fa-IR, fi_FI:fi, fr_CH:fr-CH, hu_HU:hu, id_ID:id, mn_MN:mn, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, sl_SI:sl, zh_CN:zh-CN, zh_TW:zh-TW, zh_Hans:zh-Hans, zh_HK:zh-HK
 
 
 [wekan.application]
 [wekan.application]
 file_filter = i18n/<lang>.i18n.json
 file_filter = i18n/<lang>.i18n.json

+ 15 - 15
i18n/zh-CN.i18n.json

@@ -1,5 +1,5 @@
 {
 {
-    "accept": "接受",
+    "accept": "同意",
     "act-activity-notify": "活动通知",
     "act-activity-notify": "活动通知",
     "act-addAttachment": "添加附件 __attachment__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中",
     "act-addAttachment": "添加附件 __attachment__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中",
     "act-deleteAttachment": "删除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的附件 __attachment__",
     "act-deleteAttachment": "删除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的附件 __attachment__",
@@ -42,7 +42,7 @@
     "act-unjoinMember": "移除成员  __member__  从卡片 __card__ 列表 __list__ a泳道 __swimlane__ 看板 __board__",
     "act-unjoinMember": "移除成员  __member__  从卡片 __card__ 列表 __list__ a泳道 __swimlane__ 看板 __board__",
     "act-withBoardTitle": "看板__board__",
     "act-withBoardTitle": "看板__board__",
     "act-withCardTitle": "[看板 __board__] 卡片 __card__",
     "act-withCardTitle": "[看板 __board__] 卡片 __card__",
-    "actions": "作",
+    "actions": "作",
     "activities": "活动",
     "activities": "活动",
     "activity": "活动",
     "activity": "活动",
     "activity-added": "添加 %s 至 %s",
     "activity-added": "添加 %s 至 %s",
@@ -81,15 +81,15 @@
     "activity-endDate": "已将结束日期从 %s 修改为 %s",
     "activity-endDate": "已将结束日期从 %s 修改为 %s",
     "add-attachment": "添加附件",
     "add-attachment": "添加附件",
     "add-board": "添加看板",
     "add-board": "添加看板",
-    "add-template": "新增模板",
+    "add-template": "添加模板",
     "add-card": "添加卡片",
     "add-card": "添加卡片",
-    "add-card-to-top-of-list": "新增卡片到列表顶部",
-    "add-card-to-bottom-of-list": "新增卡片到列表底部",
+    "add-card-to-top-of-list": "添加卡片到列表顶部",
+    "add-card-to-bottom-of-list": "添加卡片到列表底部",
     "add-swimlane": "添加泳道图",
     "add-swimlane": "添加泳道图",
     "add-subtask": "添加子任务",
     "add-subtask": "添加子任务",
-    "add-checklist": "添加待办清单",
-    "add-checklist-item": "扩充清单",
-    "convertChecklistItemToCardPopup-title": "Convert to Card",
+    "add-checklist": "添加清单",
+    "add-checklist-item": "添加项目清单",
+    "convertChecklistItemToCardPopup-title": "转为卡片",
     "add-cover": "添加封面",
     "add-cover": "添加封面",
     "add-label": "添加标签",
     "add-label": "添加标签",
     "add-list": "添加列表",
     "add-list": "添加列表",
@@ -149,7 +149,7 @@
     "board-view-cal": "日历",
     "board-view-cal": "日历",
     "board-view-swimlanes": "泳道图",
     "board-view-swimlanes": "泳道图",
     "board-view-collapse": "崩溃",
     "board-view-collapse": "崩溃",
-    "board-view-gantt": "甘特",
+    "board-view-gantt": "甘特",
     "board-view-lists": "列表",
     "board-view-lists": "列表",
     "bucket-example": "例如 “目标清单”",
     "bucket-example": "例如 “目标清单”",
     "cancel": "取消",
     "cancel": "取消",
@@ -203,7 +203,7 @@
     "poker-result-votes": "投票",
     "poker-result-votes": "投票",
     "poker-result-who": "何人",
     "poker-result-who": "何人",
     "poker-replay": "Replay",
     "poker-replay": "Replay",
-    "set-estimation": "Set Estimation",
+    "set-estimation": "设置预估时间",
     "deletePokerPopup-title": "删除计划扑克?",
     "deletePokerPopup-title": "删除计划扑克?",
     "poker-delete-pop": "永久删除。对该计划扑克的所有操作记录将会丢失。",
     "poker-delete-pop": "永久删除。对该计划扑克的所有操作记录将会丢失。",
     "cardDeletePopup-title": "彻底删除卡片?",
     "cardDeletePopup-title": "彻底删除卡片?",
@@ -267,7 +267,7 @@
     "comment": "评论",
     "comment": "评论",
     "comment-placeholder": "添加评论",
     "comment-placeholder": "添加评论",
     "comment-only": "仅能评论",
     "comment-only": "仅能评论",
-    "comment-only-desc": "能在卡片上评论。",
+    "comment-only-desc": "能在卡片上评论。",
     "no-comments": "暂无评论",
     "no-comments": "暂无评论",
     "no-comments-desc": "无法查看评论和活动。",
     "no-comments-desc": "无法查看评论和活动。",
     "worker": "人员",
     "worker": "人员",
@@ -322,7 +322,7 @@
     "editCardStartDatePopup-title": "修改起始日期",
     "editCardStartDatePopup-title": "修改起始日期",
     "editCardDueDatePopup-title": "修改截止日期",
     "editCardDueDatePopup-title": "修改截止日期",
     "editCustomFieldPopup-title": "编辑字段",
     "editCustomFieldPopup-title": "编辑字段",
-    "addReactionPopup-title": "Add reaction",
+    "addReactionPopup-title": "新增动作",
     "editCardSpentTimePopup-title": "修改耗时",
     "editCardSpentTimePopup-title": "修改耗时",
     "editLabelPopup-title": "更改标签",
     "editLabelPopup-title": "更改标签",
     "editNotificationPopup-title": "编辑通知",
     "editNotificationPopup-title": "编辑通知",
@@ -352,10 +352,10 @@
     "error-user-doesNotExist": "该用户不存在",
     "error-user-doesNotExist": "该用户不存在",
     "error-user-notAllowSelf": "无法邀请自己",
     "error-user-notAllowSelf": "无法邀请自己",
     "error-user-notCreated": "该用户未能成功创建",
     "error-user-notCreated": "该用户未能成功创建",
-    "error-username-taken": "此用户名已存在",
+    "error-username-taken": "此用户名已被使用",
     "error-orgname-taken": "此组织名称已被使用",
     "error-orgname-taken": "此组织名称已被使用",
     "error-teamname-taken": "此团队名称已被使用",
     "error-teamname-taken": "此团队名称已被使用",
-    "error-email-taken": "此EMail已存在",
+    "error-email-taken": "此邮箱已被使用",
     "export-board": "导出看板",
     "export-board": "导出看板",
     "export-board-json": "看板导出为JSON",
     "export-board-json": "看板导出为JSON",
     "export-board-csv": "看板导出为CSV",
     "export-board-csv": "看板导出为CSV",
@@ -392,7 +392,7 @@
     "filter-member-label": "按成员过滤",
     "filter-member-label": "按成员过滤",
     "filter-no-member": "无成员",
     "filter-no-member": "无成员",
     "filter-assignee-label": "按指定人过滤",
     "filter-assignee-label": "按指定人过滤",
-    "filter-no-assignee": "没有代理人",
+    "filter-no-assignee": "没有指派人",
     "filter-custom-fields-label": "按自定义字段过滤",
     "filter-custom-fields-label": "按自定义字段过滤",
     "filter-no-custom-fields": "无自定义字段",
     "filter-no-custom-fields": "无自定义字段",
     "filter-show-archive": "显示归档的列表",
     "filter-show-archive": "显示归档的列表",

+ 3 - 0
releases/translations/pull-translations.sh

@@ -27,6 +27,9 @@ tx pull -f -l zh_CN
 echo "Chinese (Hong Kong):"
 echo "Chinese (Hong Kong):"
 tx pull -f -l zh_HK
 tx pull -f -l zh_HK
 
 
+echo "Chinese Simplified (zh-Hans):"
+tx pull -f -l zh_Hans
+
 echo "Chinese (Taiwan):"
 echo "Chinese (Taiwan):"
 tx pull -f -l zh_TW
 tx pull -f -l zh_TW