diff --git a/packages/apps/esm-implementer-tools-app/translations/zh.json b/packages/apps/esm-implementer-tools-app/translations/zh.json new file mode 100644 index 000000000..460a68f72 --- /dev/null +++ b/packages/apps/esm-implementer-tools-app/translations/zh.json @@ -0,0 +1,22 @@ +{ + "activeItemSourceText": "当前值来自", + "backendModules": "后端模块", + "clearConfig": "清除本地配置", + "configuration": "配置", + "devConfig": "Dev配置", + "downloadConfig": "下载配置", + "edit": "编辑", + "editValueButtonText": "编辑", + "frontendModules": "前端模块", + "installedVersion": "已安装版本", + "itemDescriptionSourceDefaultText": "当前值为默认值。", + "jsonEditor": "JSON编辑器", + "missing": "缺失", + "moduleName": "模块名称", + "requiredVersion": "所需版本", + "resetToDefaultValueButtonText": "恢复为默认值", + "uiEditor": "UI编辑器", + "unknownVersion": "未知", + "value": "值", + "view": "查看" +} diff --git a/packages/apps/esm-login-app/translations/zh.json b/packages/apps/esm-login-app/translations/zh.json new file mode 100644 index 000000000..56a4d3376 --- /dev/null +++ b/packages/apps/esm-login-app/translations/zh.json @@ -0,0 +1,27 @@ +{ + "back": "返回", + "change": "更改", + "confirm": "确认", + "contactAdmin": "联系管理员", + "continue": "继续", + "error": "错误", + "found": "已找到", + "invalidCredentials": "用户名或密码无效", + "loading": "加载中", + "locationNotFound": "对不起,未找到匹配的地点。", + "locations": "地点", + "login": "登录", + "Logout": "退出", + "match": "匹配", + "matches": "匹配", + "needHelp": "需要帮助?", + "of": "of", + "password": "密码", + "poweredBy": "Powered by", + "searchForLocation": "搜索一个地点", + "selectYourLocation": "选择您的地点。使用搜索栏搜索。", + "showing": "显示", + "username": "用户名", + "validValueRequired": "需要一个有效的值", + "welcome": "欢迎" +} diff --git a/packages/apps/esm-offline-tools-app/translations/zh.json b/packages/apps/esm-offline-tools-app/translations/zh.json new file mode 100644 index 000000000..ba870559e --- /dev/null +++ b/packages/apps/esm-offline-tools-app/translations/zh.json @@ -0,0 +1,55 @@ +{ + "home": "首页", + "homeHeader": "离线首页", + "homeOverviewCardOfflineActionsFailedToUpload": "上传失败", + "homeOverviewCardOfflineActionsHeader": "离线操作", + "homeOverviewCardOfflineActionsPendingUpload": "等待上传", + "homeOverviewCardPatientsDownloaded": "下载完成", + "homeOverviewCardPatientsHeader": "患者", + "homeOverviewCardPatientsNewlyRegistered": "新注册的", + "homeOverviewCardView": "查看", + "offlineActions": "离线操作", + "offlineActionsDeleteConfirmationModalCancel": "取消", + "offlineActionsDeleteConfirmationModalConfirm": "永久删除", + "offlineActionsDeleteConfirmationModalContent": "你确定要删除所有选择的离线操作吗?这将无法撤销!", + "offlineActionsDeleteConfirmationModalTitle": "删除离线操作", + "offlineActionsHeader": "离线操作", + "offlineActionsNoActionsEmptyStateContent": "所有离线操作已成功上传,并与在线患者记录合并。", + "offlineActionsNoActionsEmptyStateImageAlt": "没有待处理的图像", + "offlineActionsNoActionsEmptyStateTitle": "没有待上传的操作", + "offlineActionsTableAction": "操作", + "offlineActionsTableCreatedOn": "日期/时间", + "offlineActionsTableDeleteAction": "删除操作", + "offlineActionsTableDeleteActions_one": "删除 {count} 个操作", + "offlineActionsTableDeleteActions_other": "删除 {count} 个操作", + "offlineActionsTableError": "错误", + "offlineActionsTablePatient": "患者", + "offlineActionsUpdateOfflinePatients": "更新离线患者", + "offlinePatientsHeader": "离线患者", + "offlinePatientsTableDeleteConfirmationModalCancel": "取消", + "offlinePatientsTableDeleteConfirmationModalConfirm": "删除患者", + "offlinePatientsTableDeleteConfirmationModalContent": "您确定要从离线列表中删除所有选择的患者吗?他们的病历将不再在离线模式下可用,并且任何新注册的患者将被永久删除。", + "offlinePatientsTableDeleteConfirmationModalTitle": "删除离线患者", + "offlinePatientsTableHeaderAge": "年龄", + "offlinePatientsTableHeaderGender": "性别", + "offlinePatientsTableHeaderLastUpdated": "最后更新", + "offlinePatientsTableHeaderName": "名称", + "offlinePatientsTableLastUpdatedDownloading": "下载中...", + "offlinePatientsTableLastUpdatedError": "错误", + "offlinePatientsTableLastUpdatedErrors": "错误", + "offlinePatientsTableLastUpdatedNotYetSynchronized": "未同步", + "offlinePatientsTableLastUpdatedOutdatedData": "过时的数据", + "offlinePatientsTableNameNewlyRegistered": "新建", + "offlinePatientsTableRemoveFromOfflineList": "从列表中删除", + "offlinePatientsTableSearchLabel": "搜索此列表", + "offlinePatientsTableSearchPlaceholder": "搜索此列表", + "offlinePatientsTableTitle": "离线患者", + "offlinePatientsTableUpdatePatient": "更新患者", + "offlinePatientsTableUpdatePatients": "更新患者", + "offlinePatientSyncDetailsDownloadedHeader": "下载到此设备", + "offlinePatientSyncDetailsFailedHeader": "以下项目下载时出现错误", + "offlinePatientSyncDetailsFallbackErrorMessage": "未知错误。", + "offlinePatientSyncDetailsHeader": "离线患者详细信息", + "offlineReady": "离线就绪", + "offlineToolsAppMenuLink": "离线工具" +} diff --git a/packages/apps/esm-primary-navigation-app/translations/zh.json b/packages/apps/esm-primary-navigation-app/translations/zh.json new file mode 100644 index 000000000..5e610475c --- /dev/null +++ b/packages/apps/esm-primary-navigation-app/translations/zh.json @@ -0,0 +1,4 @@ +{ + "notifications": "通知", + "selectLocale": "选择区域" +} diff --git a/tools/i18next-parser.config.js b/tools/i18next-parser.config.js index 38e730662..e48acb3f7 100644 --- a/tools/i18next-parser.config.js +++ b/tools/i18next-parser.config.js @@ -42,7 +42,7 @@ module.exports = { lineEnding: 'auto', // Control the line ending. See options at https://github.com/ryanve/eol - locales: ['en', 'am', 'es', 'fr', 'km', 'he', 'ar'], + locales: ['en', 'am', 'es', 'fr', 'km', 'he', 'ar', 'zh'], // An array of the locales in your applications namespaceSeparator: ':',