From 30d63681cd3c9e6a4ee7963a0379e7542032a3c7 Mon Sep 17 00:00:00 2001 From: Peter Zhao Date: Wed, 4 Sep 2019 11:57:10 +0800 Subject: [PATCH 1/4] Add missing translations --- .../admin/src/translations/zh-Hans.json | 293 +++++++++++++++--- 1 file changed, 247 insertions(+), 46 deletions(-) diff --git a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json index 742be63028..93bfc235ab 100644 --- a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json +++ b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json @@ -1,54 +1,255 @@ { + "Analytics": "分析器", + "Content Manager": "内容管理", + "Content Type Builder": "建立和更新内容类型", + "Email": "电子邮件", + "Files Upload": "上传文件", + "HomePage.notification.newsLetter.success": "成功订阅电子邮件", + "New entry": "新增条目", + "Password": "密码", + "Provider": "提供者", + "ResetPasswordToken": "密码重设令牌", + "Role": "身份", + "Roles & Permissions": "身份与权限", + "Settings Manager": "设置", + "Username": "用户名", + "Users": "用户", + "Users & Permissions": "用户与权限", + "app.components.BlockLink.code": "范例", + "app.components.BlockLink.code.content": "透过社群所开发的项目学习", + "app.components.BlockLink.documentation": "阅读文件", + "app.components.BlockLink.documentation.content": "了解其中的观念、参考指南以及教学。", + "app.components.Button.cancel": "取消", + "app.components.Button.save": "保存", + "app.components.ComingSoonPage.comingSoon": "即将推出", + "app.components.ComingSoonPage.featuresNotAvailable": "这个功能正在开发中", + "app.components.DownloadInfo.download": "下载中...", + "app.components.DownloadInfo.text": "请稍候几分钟,谢谢。", + "app.components.EmptyAttributes.title": "这里还没有任何项目", + "app.components.HomePage.button.blog": "到博客上阅读更多", + "app.components.HomePage.button.quickStart": "开始新手教学", + "app.components.HomePage.community": "探索开发社群", + "app.components.HomePage.community.content": "在不同的社群中与其他成员、贡献者以及开发者讨论。", + "app.components.HomePage.create": "建立您的第一个内容类型", + "app.components.HomePage.createBlock.content.first": " ", + "app.components.HomePage.createBlock.content.second": " 这个插件可以帮助您定义自己的内容类型。如果您是第一次使用,我们推荐您先阅读 ", + "app.components.HomePage.createBlock.content.tutorial": " 教学。", + "app.components.HomePage.cta": "送出", + "app.components.HomePage.newsLetter": "订阅电子邮件以获得 Strapi 的最新讯息", + "app.components.HomePage.support": "支持我们", + "app.components.HomePage.support.content": "通过购买T恤,可以让我们继续开发这个项目并给您更佳的使用者体验!", + "app.components.HomePage.support.link": "立刻购买", + "app.components.HomePage.welcome": "欢迎加入!", + "app.components.HomePage.welcome.again": "欢迎回来! ", + "app.components.HomePage.welcomeBlock.content": "我们很高兴您能成为我们社群的一份子。我们随时欢迎您的意见,因此不要吝啬于发消息到 ", + "app.components.HomePage.welcomeBlock.content.again": "希望您在您的项目中有所进展... 随时欢迎您来看看 Strapi 的新功能。我们正在尽最大的努力依照您的建议改进这个产品。", + "app.components.HomePage.welcomeBlock.content.issues": "问题。", + "app.components.HomePage.welcomeBlock.content.raise": "或是回报", + "app.components.ImgPreview.hint": "将您要上传的文件拖曳到此区域,或是浏览文件", + "app.components.ImgPreview.hint.browse": "浏览", + "app.components.InputFile.newFile": "增加新文件", + "app.components.InputFileDetails.open": "在新分页中开启", + "app.components.InputFileDetails.originalName": "原始名称:", + "app.components.InputFileDetails.remove": "移除文件", + "app.components.InputFileDetails.size": "大小:", + "app.components.InstallPluginPage.InputSearch.label": " ", + "app.components.InstallPluginPage.InputSearch.placeholder": "搜索插件... (范例: authentication)", + "app.components.InstallPluginPage.description": "轻松扩展您的应用", + "app.components.InstallPluginPage.helmet": "市场 - 插件", + "app.components.InstallPluginPage.plugin.support-us.description": "透过购买 Strapi T-shirt 来支持我们。这些资金将帮助我们继续努力打造更好的产品和使用者体验!", + "app.components.InstallPluginPage.title": "市场 - 插件", + "app.components.InstallPluginPopup.downloads": "下载", + "app.components.InstallPluginPopup.navLink.avis": "视图", + "app.components.InstallPluginPopup.navLink.changelog": "更新纪录", + "app.components.InstallPluginPopup.navLink.description": "说明", + "app.components.InstallPluginPopup.navLink.faq": "常见问题", + "app.components.InstallPluginPopup.navLink.screenshots": "屏幕截图", + "app.components.InstallPluginPopup.noDescription": "目前没有说明", + "app.components.LeftMenuFooter.poweredBy": "Powered by ", + "app.components.LeftMenuLinkContainer.configuration": "设定", + "app.components.LeftMenuLinkContainer.general": "一般", + "app.components.LeftMenuLinkContainer.installNewPlugin": "市场", + "app.components.LeftMenuLinkContainer.listPlugins": "插件", + "app.components.LeftMenuLinkContainer.noPluginsInstalled": "目前没有安装任何插件", + "app.components.LeftMenuLinkContainer.plugins": "插件功能", + "app.components.ListPluginsPage.description": "这个项目安装的插件功能列表", + "app.components.ListPluginsPage.helmet.title": "插件列表", + "app.components.ListPluginsPage.title": "插件", + "app.components.Logout.profile": "资料", + "app.components.Logout.logout": "登出", + "app.components.NotFoundPage.back": "回到主页", + "app.components.NotFoundPage.description": "找不到此页面", + "app.components.Official": "官方", + "app.components.PluginCard.Button.label.download": "下载", + "app.components.PluginCard.Button.label.install": "已安装", + "app.components.PluginCard.Button.label.support": "帮助我们", + "app.components.PluginCard.compatible": "与您的项目兼容", + "app.components.PluginCard.compatibleCommunity": "兼容社区", + "app.components.PluginCard.more-details": "显示更多", + "app.components.PluginCard.price.free": "免费", + "app.components.listPlugins.button": "安装新的插件", + "app.components.listPlugins.title.none": "目前没有安装任何插件", + "app.components.listPlugins.title.plural": "安装了 {number} 个插件", + "app.components.listPlugins.title.singular": "安装了 {number} 个插件", + "app.components.listPluginsPage.deletePlugin.error": "移除插件时发生了错误", + "app.utils.SelectOption.defaultMessage": " ", + "app.utils.defaultMessage": " ", + "app.utils.placeholder.defaultMessage": " ", + "components.AutoReloadBlocker.header": "这个插件需要自动重新整理功能才能载入", + "components.ErrorBoundary.title": "有错误发生...", + "components.Input.error.attribute.key.taken": "这个数值已经存在了", + "components.Input.error.attribute.sameKeyAndName": "不能等于", + "components.Input.error.attribute.taken": "这个栏位名称已经存在了", + "components.Input.error.contentTypeName.taken": "这个名称已经存在了", + "components.Input.error.custom-error": "{errorMessage} ", + "components.Input.error.validation.email": "请输入有效的电子邮件地址", + "components.Input.error.validation.json": "非法的JSON格式", + "components.Input.error.validation.max": "数值过高", + "components.Input.error.validation.maxLength": "长度过长", + "components.Input.error.validation.min": "数值过低", + "components.Input.error.validation.minLength": "长度不足", + "components.Input.error.validation.minSupMax": "不能高于最大值", + "components.Input.error.validation.regex": "输入无法与正规表达式匹配", + "components.Input.error.validation.required": "必填选项", + "components.ListRow.empty": "没有资料可以显示", + "components.OverlayBlocker.description": "您正在使用的功能需要重新启动,请等待重新启动完成。", + "components.OverlayBlocker.title": "等待重新启动中...", + "components.PageFooter.select": "项目/页", + "components.ProductionBlocker.description": "为了安全起见,我们需要在其他环境关闭这个插件", + "components.ProductionBlocker.header": "这个插件只能在开发环境中使用", + "components.Wysiwyg.ToggleMode.markdown": "切换到编辑模式", + "components.Wysiwyg.ToggleMode.preview": "切换到预览模式", + "components.Wysiwyg.collapse": "折叠", + "components.Wysiwyg.selectOptions.H1": "标题1", + "components.Wysiwyg.selectOptions.H2": "标题2", + "components.Wysiwyg.selectOptions.H3": "标题3", + "components.Wysiwyg.selectOptions.H4": "标题4", + "components.Wysiwyg.selectOptions.H5": "标题5", + "components.Wysiwyg.selectOptions.H6": "标题6", + "components.Wysiwyg.selectOptions.title": "新增标题", + "components.WysiwygBottomControls.charactersIndicators": "字符", + "components.WysiwygBottomControls.fullscreen": "展开", + "components.WysiwygBottomControls.uploadFiles": "拖曳文件、从剪贴板上传或 {browse}.", + "components.WysiwygBottomControls.uploadFiles.browse": "选择文件", + "components.popUpWarning.button.cancel": "取消", + "components.popUpWarning.button.confirm": "确认", + "components.popUpWarning.message": "您确定要删除此项目吗?", + "components.popUpWarning.title": "请确认", + "notification.error": "发生错误", + "notification.error.layout": "无法获取布局", + "request.error.model.unknown": "不存在的资料", + "app.utils.delete": "删除", "EditRelations.title": "关系数据", + "components.AddFilterCTA.add": "过滤器", + "components.AddFilterCTA.hide": "过滤器", + "components.DraggableAttr.edit": "点击以编辑", + "components.EmptyAttributesBlock.button": "前往设置页面", + "components.EmptyAttributesBlock.description": "您可以更改设置", + "components.FilterOptions.FILTER_TYPES.=": "等于", + "components.FilterOptions.FILTER_TYPES._contains": "包含", + "components.FilterOptions.FILTER_TYPES._containss": "包含(区分大小写)", + "components.FilterOptions.FILTER_TYPES._gt": "大于", + "components.FilterOptions.FILTER_TYPES._gte": "大于等于", + "components.FilterOptions.FILTER_TYPES._lt": "小于", + "components.FilterOptions.FILTER_TYPES._lte": "小于等于", + "components.FilterOptions.FILTER_TYPES._ne": "不等于", + "components.FilterOptions.button.apply": "应用", + "components.FiltersPickWrapper.PluginHeader.actions.apply": "应用", + "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "清除", + "components.FiltersPickWrapper.PluginHeader.description": "设置过滤条件", + "components.FiltersPickWrapper.PluginHeader.title.filter": "过滤器", + "components.FiltersPickWrapper.hide": "隐藏", "components.LimitSelect.itemsPerPage": "每页显示数目", - "containers.Edit.delete": "删除", - "containers.Edit.editing": "编辑...", + "components.Search.placeholder": "搜索...", + "components.TableDelete.delete": "刪除", + "components.TableDelete.deleteSelected": "删除所选", + "components.TableDelete.entries.plural": "已选取 {number} 个条目", + "components.TableDelete.entries.singular": "已选取 {number} 个条目", + "components.TableEmpty.withFilters": "找不到 {contentType} 按照过滤条件...", + "components.TableEmpty.withSearch": "找不到 {contentType} 按照过滤条件: ({search})...", + "components.TableEmpty.withoutFilter": "找不到 {contentType}...", + "containers.Edit.addAnItem": "新增关联...", + "containers.Edit.clickToJump": "跳转到该项内容", + "containers.Edit.delete": "刪除", + "containers.Edit.editing": "编辑中...", "containers.Edit.reset": "重置", - "containers.Edit.returnList": "返回列表", - "containers.Edit.submit": "保存", - "containers.Home.introduction": "要编辑您的条目,请转到左边菜单中的特定链接。这个插件没有合适的方法来编辑设置,它仍然在积极的开发中。", - "containers.Home.pluginHeaderDescription": "通过一个强大而漂亮的界面管理你的条目。", - "containers.Home.pluginHeaderTitle": "内容管理器", - "containers.List.addAnEntry": "增加新的 {entity}", + "containers.Edit.returnList": "回到列表", + "containers.Edit.seeDetails": "详细信息", + "containers.Edit.submit": "提交", + "containers.Home.introduction": "这个插件还在开发阶段,如果要编辑项目,请前往左边菜单中对应的链接", + "containers.Home.pluginHeaderDescription": "通过强大的页面来管理你的内容", + "containers.Home.pluginHeaderTitle": "內容管理员", + "containers.List.addAnEntry": "建立新的 {entity}", "containers.List.errorFetchRecords": "错误", - "containers.List.pluginHeaderDescription": "找到 {label} 条目", - "containers.List.pluginHeaderDescription.singular": "找到 {label} 条目", - "containers.SettingPage.editSettings.description": "Drag & drop the fields to build the layout", - "containers.SettingPage.editSettings.title": "Edit — Settings", - "containers.SettingPage.relations": "Relational fields", - "emptyAttributes.button": "转到内容类型生成器", - "emptyAttributes.description": "为你的内容类型添加第一个字段", - "emptyAttributes.title": "还没有字段", - "error.attribute.key.taken": "该值已存在", - "error.attribute.sameKeyAndName": "不能相等", - "error.attribute.taken": "该名称已被使用", - "error.contentTypeName.taken": "该名称已被使用", - "error.model.fetch": "获取models配置时发生错误", - "error.record.create": "创建记录时发生错误", - "error.record.delete": "删除记录时发生错误", - "error.record.fetch": "获取记录时发生错误。", - "error.record.update": "更新记录时发生错误", - "error.records.count": "获取记录数count时发生错误。", - "error.records.fetch": "获取记录时发生错误。", - "error.schema.generation": "Schema生成过程中发生错误。", - "error.validation.max": "超过最大值", - "error.validation.maxLength": "长度太长", - "error.validation.min": "小于最小值", - "error.validation.minLength": "长度太短", - "error.validation.minSupMax": "最小值大于最大值。", - "error.validation.regex": "格式错误", - "error.validation.required": "必填项", - "form.Input.description": "Description", - "form.Input.description.placeholder": "Display name in the profile", - "form.Input.disabled": "Editable field", - "notification.error.relationship.fetch": "获取关联数据时发生错误", - "pageNotFound": "页面未找到", - "plugin.description.long": "快速查看、编辑和删除数据库中的数据。", - "plugin.description.short": "快速查看、编辑和删除数据库中的数据。", - "popUpWarning.bodyMessage.contentType.delete": "确实要删除此条目吗?", + "containers.List.pluginHeaderDescription": "找到 {label} 项内容", + "containers.List.pluginHeaderDescription.singular": "找到 {label} 项内容", + "containers.ListPage.displayedFields": "显示字段", + "containers.SettingPage.addField": "新增字段", + "containers.SettingPage.addRelationalField": "新增关联字段", + "containers.SettingPage.attributes": "属性", + "containers.SettingPage.attributes.description": "调整字段的顺序", + "containers.SettingPage.editSettings.description": "拖曳字段以规划排版", + "containers.SettingPage.editSettings.title": "编辑 (设置)", + "containers.SettingPage.listSettings.description": "调整这个内容类型的的字段", + "containers.SettingPage.listSettings.title": "列表 (设置)", + "containers.SettingPage.pluginHeaderDescription": "调整这个内容类型的的显示设置", + "containers.SettingPage.relations": "关联字段", + "containers.SettingsPage.Block.contentType.description": "调整指定内容类型的的字段", + "containers.SettingsPage.Block.contentType.title": "内容类型", + "containers.SettingsPage.Block.generalSettings.description": "调整内容类型的默认选项", + "containers.SettingsPage.Block.generalSettings.title": "总览", + "containers.SettingsPage.pluginHeaderDescription": "调整所有内容类型的的显示设置", + "emptyAttributes.button": "前往内容类型管理页面", + "emptyAttributes.description": "增加您第一个字段到内容类型", + "emptyAttributes.title": "目前还沒有字段", + "error.attribute.key.taken": "这个key已存在", + "error.attribute.sameKeyAndName": "不能等于", + "error.attribute.taken": "这个字段名称已存在", + "error.contentTypeName.taken": "这个名称已存在", + "error.model.fetch": "读取内容类型设置时发生错误", + "error.record.create": "增加内容时发生错误", + "error.record.delete": "删除内容时发生错误", + "error.record.fetch": "读取内容时发生错误", + "error.record.update": "更新内容时发生错误", + "error.records.count": "读取内容计数时发生错误", + "error.records.fetch": "讀取資料時發生錯誤", + "error.schema.generation": "生成内容模型时发生错误", + "error.validation.json": "非法的JSON格式", + "error.validation.max": "数值过高", + "error.validation.maxLength": "长度过长", + "error.validation.min": "数值过低", + "error.validation.minLength": "长度不足", + "error.validation.minSupMax": "不能高于最大值", + "error.validation.regex": "此字段无法与正则表达式匹配", + "error.validation.required": "必填字段", + "form.Input.bulkActions": "启用批量操作", + "form.Input.defaultSort": "默认排序设置", + "form.Input.description": "描述", + "form.Input.description.placeholder": "描述这个字段", + "form.Input.disabled": "不可修改字段", + "form.Input.filters": "应用过滤器", + "form.Input.label": "标签", + "form.Input.label.inputDescription": "这个标签会显示在表格的标题列名称", + "form.Input.pageEntries": "每页条数", + "form.Input.pageEntries.inputDescription": "备注:您可以在每个内容类型的设置页面覆盖这些设置。", + "form.Input.placeholder": "占位符", + "form.Input.placeholder.placeholder": "在文字框中显示提示信息", + "form.Input.search": "启用搜索功能", + "form.Input.search.field": "允许此字段可以被搜索", + "form.Input.sort.field": "允许此字段可以被排序", + "notification.error.displayedFields": "您至少需要显示一个字段", + "notification.error.relationship.fetch": "读取关联内容时发生错误", + "notification.info.SettingPage.disableSort": "您至少需要允许一个字段可以被用來排序", + "pageNotFound": "无法找到此页面", + "plugin.description.long": "快速浏览、编辑、删除内容库的内容", + "plugin.description.short": "快速浏览、编辑、删除内容库的内容", + "popUpWarning.bodyMessage.contentType.delete": "您确定要删除这条内容吗?", + "popUpWarning.bodyMessage.contentType.delete.all": "您确定要删除这些内容吗?", "popUpWarning.button.cancel": "取消", "popUpWarning.button.confirm": "确认", "popUpWarning.title": "请确认", - "success.record.delete": "删除", - "success.record.save": "保存" -} \ No newline at end of file + "popUpWarning.warning.cancelAllSettings": "您确定要放弃修改?", + "popUpWarning.warning.updateAllSettings": "这会修改您的设置", + "success.record.delete": "已刪除", + "success.record.save": "已保存" +} From a3677e9837788afd79ec0da75589234cbcd5c7c7 Mon Sep 17 00:00:00 2001 From: Peter Zhao Date: Wed, 4 Sep 2019 20:45:19 +0800 Subject: [PATCH 2/4] Update zh-Hans translation. Remove some wrong key. --- .../admin/src/translations/zh-Hans.json | 376 ++++++------------ 1 file changed, 123 insertions(+), 253 deletions(-) diff --git a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json index 93bfc235ab..bcdbe8b617 100644 --- a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json +++ b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json @@ -1,255 +1,125 @@ { - "Analytics": "分析器", - "Content Manager": "内容管理", - "Content Type Builder": "建立和更新内容类型", - "Email": "电子邮件", - "Files Upload": "上传文件", - "HomePage.notification.newsLetter.success": "成功订阅电子邮件", - "New entry": "新增条目", - "Password": "密码", - "Provider": "提供者", - "ResetPasswordToken": "密码重设令牌", - "Role": "身份", - "Roles & Permissions": "身份与权限", - "Settings Manager": "设置", - "Username": "用户名", - "Users": "用户", - "Users & Permissions": "用户与权限", - "app.components.BlockLink.code": "范例", - "app.components.BlockLink.code.content": "透过社群所开发的项目学习", - "app.components.BlockLink.documentation": "阅读文件", - "app.components.BlockLink.documentation.content": "了解其中的观念、参考指南以及教学。", - "app.components.Button.cancel": "取消", - "app.components.Button.save": "保存", - "app.components.ComingSoonPage.comingSoon": "即将推出", - "app.components.ComingSoonPage.featuresNotAvailable": "这个功能正在开发中", - "app.components.DownloadInfo.download": "下载中...", - "app.components.DownloadInfo.text": "请稍候几分钟,谢谢。", - "app.components.EmptyAttributes.title": "这里还没有任何项目", - "app.components.HomePage.button.blog": "到博客上阅读更多", - "app.components.HomePage.button.quickStart": "开始新手教学", - "app.components.HomePage.community": "探索开发社群", - "app.components.HomePage.community.content": "在不同的社群中与其他成员、贡献者以及开发者讨论。", - "app.components.HomePage.create": "建立您的第一个内容类型", - "app.components.HomePage.createBlock.content.first": " ", - "app.components.HomePage.createBlock.content.second": " 这个插件可以帮助您定义自己的内容类型。如果您是第一次使用,我们推荐您先阅读 ", - "app.components.HomePage.createBlock.content.tutorial": " 教学。", - "app.components.HomePage.cta": "送出", - "app.components.HomePage.newsLetter": "订阅电子邮件以获得 Strapi 的最新讯息", - "app.components.HomePage.support": "支持我们", - "app.components.HomePage.support.content": "通过购买T恤,可以让我们继续开发这个项目并给您更佳的使用者体验!", - "app.components.HomePage.support.link": "立刻购买", - "app.components.HomePage.welcome": "欢迎加入!", - "app.components.HomePage.welcome.again": "欢迎回来! ", - "app.components.HomePage.welcomeBlock.content": "我们很高兴您能成为我们社群的一份子。我们随时欢迎您的意见,因此不要吝啬于发消息到 ", - "app.components.HomePage.welcomeBlock.content.again": "希望您在您的项目中有所进展... 随时欢迎您来看看 Strapi 的新功能。我们正在尽最大的努力依照您的建议改进这个产品。", - "app.components.HomePage.welcomeBlock.content.issues": "问题。", - "app.components.HomePage.welcomeBlock.content.raise": "或是回报", - "app.components.ImgPreview.hint": "将您要上传的文件拖曳到此区域,或是浏览文件", - "app.components.ImgPreview.hint.browse": "浏览", - "app.components.InputFile.newFile": "增加新文件", - "app.components.InputFileDetails.open": "在新分页中开启", - "app.components.InputFileDetails.originalName": "原始名称:", - "app.components.InputFileDetails.remove": "移除文件", - "app.components.InputFileDetails.size": "大小:", - "app.components.InstallPluginPage.InputSearch.label": " ", - "app.components.InstallPluginPage.InputSearch.placeholder": "搜索插件... (范例: authentication)", - "app.components.InstallPluginPage.description": "轻松扩展您的应用", - "app.components.InstallPluginPage.helmet": "市场 - 插件", - "app.components.InstallPluginPage.plugin.support-us.description": "透过购买 Strapi T-shirt 来支持我们。这些资金将帮助我们继续努力打造更好的产品和使用者体验!", - "app.components.InstallPluginPage.title": "市场 - 插件", - "app.components.InstallPluginPopup.downloads": "下载", - "app.components.InstallPluginPopup.navLink.avis": "视图", - "app.components.InstallPluginPopup.navLink.changelog": "更新纪录", - "app.components.InstallPluginPopup.navLink.description": "说明", - "app.components.InstallPluginPopup.navLink.faq": "常见问题", - "app.components.InstallPluginPopup.navLink.screenshots": "屏幕截图", - "app.components.InstallPluginPopup.noDescription": "目前没有说明", - "app.components.LeftMenuFooter.poweredBy": "Powered by ", - "app.components.LeftMenuLinkContainer.configuration": "设定", - "app.components.LeftMenuLinkContainer.general": "一般", - "app.components.LeftMenuLinkContainer.installNewPlugin": "市场", - "app.components.LeftMenuLinkContainer.listPlugins": "插件", - "app.components.LeftMenuLinkContainer.noPluginsInstalled": "目前没有安装任何插件", - "app.components.LeftMenuLinkContainer.plugins": "插件功能", - "app.components.ListPluginsPage.description": "这个项目安装的插件功能列表", - "app.components.ListPluginsPage.helmet.title": "插件列表", - "app.components.ListPluginsPage.title": "插件", - "app.components.Logout.profile": "资料", - "app.components.Logout.logout": "登出", - "app.components.NotFoundPage.back": "回到主页", - "app.components.NotFoundPage.description": "找不到此页面", - "app.components.Official": "官方", - "app.components.PluginCard.Button.label.download": "下载", - "app.components.PluginCard.Button.label.install": "已安装", - "app.components.PluginCard.Button.label.support": "帮助我们", - "app.components.PluginCard.compatible": "与您的项目兼容", - "app.components.PluginCard.compatibleCommunity": "兼容社区", - "app.components.PluginCard.more-details": "显示更多", - "app.components.PluginCard.price.free": "免费", - "app.components.listPlugins.button": "安装新的插件", - "app.components.listPlugins.title.none": "目前没有安装任何插件", - "app.components.listPlugins.title.plural": "安装了 {number} 个插件", - "app.components.listPlugins.title.singular": "安装了 {number} 个插件", - "app.components.listPluginsPage.deletePlugin.error": "移除插件时发生了错误", - "app.utils.SelectOption.defaultMessage": " ", - "app.utils.defaultMessage": " ", - "app.utils.placeholder.defaultMessage": " ", - "components.AutoReloadBlocker.header": "这个插件需要自动重新整理功能才能载入", - "components.ErrorBoundary.title": "有错误发生...", - "components.Input.error.attribute.key.taken": "这个数值已经存在了", - "components.Input.error.attribute.sameKeyAndName": "不能等于", - "components.Input.error.attribute.taken": "这个栏位名称已经存在了", - "components.Input.error.contentTypeName.taken": "这个名称已经存在了", - "components.Input.error.custom-error": "{errorMessage} ", - "components.Input.error.validation.email": "请输入有效的电子邮件地址", - "components.Input.error.validation.json": "非法的JSON格式", - "components.Input.error.validation.max": "数值过高", - "components.Input.error.validation.maxLength": "长度过长", - "components.Input.error.validation.min": "数值过低", - "components.Input.error.validation.minLength": "长度不足", - "components.Input.error.validation.minSupMax": "不能高于最大值", - "components.Input.error.validation.regex": "输入无法与正规表达式匹配", - "components.Input.error.validation.required": "必填选项", - "components.ListRow.empty": "没有资料可以显示", - "components.OverlayBlocker.description": "您正在使用的功能需要重新启动,请等待重新启动完成。", - "components.OverlayBlocker.title": "等待重新启动中...", - "components.PageFooter.select": "项目/页", - "components.ProductionBlocker.description": "为了安全起见,我们需要在其他环境关闭这个插件", - "components.ProductionBlocker.header": "这个插件只能在开发环境中使用", - "components.Wysiwyg.ToggleMode.markdown": "切换到编辑模式", - "components.Wysiwyg.ToggleMode.preview": "切换到预览模式", - "components.Wysiwyg.collapse": "折叠", - "components.Wysiwyg.selectOptions.H1": "标题1", - "components.Wysiwyg.selectOptions.H2": "标题2", - "components.Wysiwyg.selectOptions.H3": "标题3", - "components.Wysiwyg.selectOptions.H4": "标题4", - "components.Wysiwyg.selectOptions.H5": "标题5", - "components.Wysiwyg.selectOptions.H6": "标题6", - "components.Wysiwyg.selectOptions.title": "新增标题", - "components.WysiwygBottomControls.charactersIndicators": "字符", - "components.WysiwygBottomControls.fullscreen": "展开", - "components.WysiwygBottomControls.uploadFiles": "拖曳文件、从剪贴板上传或 {browse}.", - "components.WysiwygBottomControls.uploadFiles.browse": "选择文件", - "components.popUpWarning.button.cancel": "取消", - "components.popUpWarning.button.confirm": "确认", - "components.popUpWarning.message": "您确定要删除此项目吗?", - "components.popUpWarning.title": "请确认", - "notification.error": "发生错误", - "notification.error.layout": "无法获取布局", - "request.error.model.unknown": "不存在的资料", - "app.utils.delete": "删除", - "EditRelations.title": "关系数据", - "components.AddFilterCTA.add": "过滤器", - "components.AddFilterCTA.hide": "过滤器", - "components.DraggableAttr.edit": "点击以编辑", - "components.EmptyAttributesBlock.button": "前往设置页面", - "components.EmptyAttributesBlock.description": "您可以更改设置", - "components.FilterOptions.FILTER_TYPES.=": "等于", - "components.FilterOptions.FILTER_TYPES._contains": "包含", - "components.FilterOptions.FILTER_TYPES._containss": "包含(区分大小写)", - "components.FilterOptions.FILTER_TYPES._gt": "大于", - "components.FilterOptions.FILTER_TYPES._gte": "大于等于", - "components.FilterOptions.FILTER_TYPES._lt": "小于", - "components.FilterOptions.FILTER_TYPES._lte": "小于等于", - "components.FilterOptions.FILTER_TYPES._ne": "不等于", - "components.FilterOptions.button.apply": "应用", - "components.FiltersPickWrapper.PluginHeader.actions.apply": "应用", - "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "清除", - "components.FiltersPickWrapper.PluginHeader.description": "设置过滤条件", - "components.FiltersPickWrapper.PluginHeader.title.filter": "过滤器", - "components.FiltersPickWrapper.hide": "隐藏", - "components.LimitSelect.itemsPerPage": "每页显示数目", - "components.Search.placeholder": "搜索...", - "components.TableDelete.delete": "刪除", - "components.TableDelete.deleteSelected": "删除所选", - "components.TableDelete.entries.plural": "已选取 {number} 个条目", - "components.TableDelete.entries.singular": "已选取 {number} 个条目", - "components.TableEmpty.withFilters": "找不到 {contentType} 按照过滤条件...", - "components.TableEmpty.withSearch": "找不到 {contentType} 按照过滤条件: ({search})...", - "components.TableEmpty.withoutFilter": "找不到 {contentType}...", - "containers.Edit.addAnItem": "新增关联...", - "containers.Edit.clickToJump": "跳转到该项内容", - "containers.Edit.delete": "刪除", - "containers.Edit.editing": "编辑中...", - "containers.Edit.reset": "重置", - "containers.Edit.returnList": "回到列表", - "containers.Edit.seeDetails": "详细信息", - "containers.Edit.submit": "提交", - "containers.Home.introduction": "这个插件还在开发阶段,如果要编辑项目,请前往左边菜单中对应的链接", - "containers.Home.pluginHeaderDescription": "通过强大的页面来管理你的内容", - "containers.Home.pluginHeaderTitle": "內容管理员", - "containers.List.addAnEntry": "建立新的 {entity}", - "containers.List.errorFetchRecords": "错误", - "containers.List.pluginHeaderDescription": "找到 {label} 项内容", - "containers.List.pluginHeaderDescription.singular": "找到 {label} 项内容", - "containers.ListPage.displayedFields": "显示字段", - "containers.SettingPage.addField": "新增字段", - "containers.SettingPage.addRelationalField": "新增关联字段", - "containers.SettingPage.attributes": "属性", - "containers.SettingPage.attributes.description": "调整字段的顺序", - "containers.SettingPage.editSettings.description": "拖曳字段以规划排版", - "containers.SettingPage.editSettings.title": "编辑 (设置)", - "containers.SettingPage.listSettings.description": "调整这个内容类型的的字段", - "containers.SettingPage.listSettings.title": "列表 (设置)", - "containers.SettingPage.pluginHeaderDescription": "调整这个内容类型的的显示设置", - "containers.SettingPage.relations": "关联字段", - "containers.SettingsPage.Block.contentType.description": "调整指定内容类型的的字段", - "containers.SettingsPage.Block.contentType.title": "内容类型", - "containers.SettingsPage.Block.generalSettings.description": "调整内容类型的默认选项", - "containers.SettingsPage.Block.generalSettings.title": "总览", - "containers.SettingsPage.pluginHeaderDescription": "调整所有内容类型的的显示设置", - "emptyAttributes.button": "前往内容类型管理页面", - "emptyAttributes.description": "增加您第一个字段到内容类型", - "emptyAttributes.title": "目前还沒有字段", - "error.attribute.key.taken": "这个key已存在", - "error.attribute.sameKeyAndName": "不能等于", - "error.attribute.taken": "这个字段名称已存在", - "error.contentTypeName.taken": "这个名称已存在", - "error.model.fetch": "读取内容类型设置时发生错误", - "error.record.create": "增加内容时发生错误", - "error.record.delete": "删除内容时发生错误", - "error.record.fetch": "读取内容时发生错误", - "error.record.update": "更新内容时发生错误", - "error.records.count": "读取内容计数时发生错误", - "error.records.fetch": "讀取資料時發生錯誤", - "error.schema.generation": "生成内容模型时发生错误", - "error.validation.json": "非法的JSON格式", - "error.validation.max": "数值过高", - "error.validation.maxLength": "长度过长", - "error.validation.min": "数值过低", - "error.validation.minLength": "长度不足", - "error.validation.minSupMax": "不能高于最大值", - "error.validation.regex": "此字段无法与正则表达式匹配", - "error.validation.required": "必填字段", - "form.Input.bulkActions": "启用批量操作", - "form.Input.defaultSort": "默认排序设置", - "form.Input.description": "描述", - "form.Input.description.placeholder": "描述这个字段", - "form.Input.disabled": "不可修改字段", - "form.Input.filters": "应用过滤器", - "form.Input.label": "标签", - "form.Input.label.inputDescription": "这个标签会显示在表格的标题列名称", - "form.Input.pageEntries": "每页条数", - "form.Input.pageEntries.inputDescription": "备注:您可以在每个内容类型的设置页面覆盖这些设置。", - "form.Input.placeholder": "占位符", - "form.Input.placeholder.placeholder": "在文字框中显示提示信息", - "form.Input.search": "启用搜索功能", - "form.Input.search.field": "允许此字段可以被搜索", - "form.Input.sort.field": "允许此字段可以被排序", - "notification.error.displayedFields": "您至少需要显示一个字段", - "notification.error.relationship.fetch": "读取关联内容时发生错误", - "notification.info.SettingPage.disableSort": "您至少需要允许一个字段可以被用來排序", - "pageNotFound": "无法找到此页面", - "plugin.description.long": "快速浏览、编辑、删除内容库的内容", - "plugin.description.short": "快速浏览、编辑、删除内容库的内容", - "popUpWarning.bodyMessage.contentType.delete": "您确定要删除这条内容吗?", - "popUpWarning.bodyMessage.contentType.delete.all": "您确定要删除这些内容吗?", - "popUpWarning.button.cancel": "取消", - "popUpWarning.button.confirm": "确认", - "popUpWarning.title": "请确认", - "popUpWarning.warning.cancelAllSettings": "您确定要放弃修改?", - "popUpWarning.warning.updateAllSettings": "这会修改您的设置", - "success.record.delete": "已刪除", - "success.record.save": "已保存" + "EditRelations.title": "关联数据", + "components.AddFilterCTA.add": "过滤器", + "components.AddFilterCTA.hide": "过滤器", + "components.DraggableAttr.edit": "点击以编辑", + "components.EmptyAttributesBlock.button": "前往设置页面", + "components.EmptyAttributesBlock.description": "您可以更改设置", + "components.FilterOptions.FILTER_TYPES.=": "等于", + "components.FilterOptions.FILTER_TYPES._contains": "包含", + "components.FilterOptions.FILTER_TYPES._containss": "包含(区分大小写)", + "components.FilterOptions.FILTER_TYPES._gt": "大于", + "components.FilterOptions.FILTER_TYPES._gte": "大于等于", + "components.FilterOptions.FILTER_TYPES._lt": "小于", + "components.FilterOptions.FILTER_TYPES._lte": "小于等于", + "components.FilterOptions.FILTER_TYPES._ne": "不等于", + "components.FilterOptions.FILTER_TYPES._in": "包含在指定数组中", + "components.FilterOptions.FILTER_TYPES._nin": "不包含在指定数组中", + "components.FilterOptions.button.apply": "应用", + "components.FiltersPickWrapper.PluginHeader.actions.apply": "应用", + "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "清除", + "components.FiltersPickWrapper.PluginHeader.description": "设置过滤条件", + "components.FiltersPickWrapper.PluginHeader.title.filter": "过滤器", + "components.FiltersPickWrapper.hide": "隐藏", + "components.LimitSelect.itemsPerPage": "每页显示数目", + "components.Search.placeholder": "搜索...", + "components.TableDelete.delete": "刪除", + "components.TableDelete.deleteSelected": "删除所选", + "components.TableDelete.entries.plural": "已选取 {number} 个条目", + "components.TableDelete.entries.singular": "已选取 {number} 个条目", + "components.TableEmpty.withFilters": "找不到 {contentType} 按照过滤条件...", + "components.TableEmpty.withSearch": "找不到 {contentType} 按照过滤条件: ({search})...", + "components.TableEmpty.withoutFilter": "找不到 {contentType}...", + "containers.Edit.addAnItem": "新增关联...", + "containers.Edit.clickToJump": "跳转到该项内容", + "containers.Edit.delete": "删除", + "containers.Edit.editing": "编辑...", + "containers.Edit.reset": "重置", + "containers.Edit.returnList": "返回列表", + "containers.Edit.seeDetails": "详细信息", + "containers.Edit.submit": "保存", + "containers.Edit.Link.Layout": "编辑布局", + "containers.Edit.Link.Fields": "编辑字段", + "containers.Home.introduction": "要编辑您的条目,请转到左边菜单中的特定链接。这个插件没有合适的方法来编辑设置,它仍然在积极的开发中。", + "containers.Home.pluginHeaderDescription": "通过一个强大而漂亮的界面管理你的条目。", + "containers.Home.pluginHeaderTitle": "内容管理器", + "containers.List.addAnEntry": "增加新的 {entity}", + "containers.List.errorFetchRecords": "错误", + "containers.List.pluginHeaderDescription": "找到 {label} 条目", + "containers.List.pluginHeaderDescription.singular": "找到 {label} 条目", + "containers.ListPage.displayedFields": "显示字段", + "containers.SettingPage.addField": "新增字段", + "containers.SettingPage.addRelationalField": "新增关联字段", + "containers.SettingPage.attributes": "属性", + "containers.SettingPage.attributes.description": "调整字段的顺序", + "containers.SettingPage.editSettings.description": "拖拽字段来布局", + "containers.SettingPage.editSettings.title": "编辑-设置", + "containers.SettingPage.editSettings.entry.title": "实体的标题", + "containers.SettingPage.editSettings.entry.title.description": "设置你的实体的显示字段", + "containers.SettingPage.listSettings.description": "调整这个内容类型的的字段", + "containers.SettingPage.listSettings.title": "列表 (设置)", + "containers.SettingPage.pluginHeaderDescription": "调整这个内容类型的的显示设置", + "containers.SettingPage.relations": "关联字段", + "containers.SettingPage.settings": "设置", + "containers.SettingPage.layout": "布局", + "containers.SettingsPage.Block.contentType.description": "调整指定内容类型的的字段", + "containers.SettingsPage.Block.contentType.title": "内容类型", + "containers.SettingsPage.Block.generalSettings.description": "调整内容类型的默认选项", + "containers.SettingsPage.Block.generalSettings.title": "总览", + "containers.SettingsPage.pluginHeaderDescription": "调整所有内容类型的的显示设置", + "emptyAttributes.button": "转到内容类型生成器", + "emptyAttributes.description": "为你的内容类型添加第一个字段", + "emptyAttributes.title": "还没有字段", + "error.attribute.key.taken": "该值已存在", + "error.attribute.sameKeyAndName": "不能相等", + "error.attribute.taken": "该名称已被使用", + "error.contentTypeName.taken": "该名称已被使用", + "error.model.fetch": "获取models配置时发生错误", + "error.record.create": "创建记录时发生错误", + "error.record.delete": "删除记录时发生错误", + "error.record.fetch": "获取记录时发生错误。", + "error.record.update": "更新记录时发生错误", + "error.records.count": "获取记录数count时发生错误。", + "error.records.fetch": "获取记录时发生错误。", + "error.schema.generation": "Schema生成过程中发生错误。", + "error.validation.json": "非法的JSON格式", + "error.validation.max": "超过最大值", + "error.validation.maxLength": "长度太长", + "error.validation.min": "小于最小值", + "error.validation.minLength": "长度太短", + "error.validation.minSupMax": "最小值大于最大值。", + "error.validation.regex": "格式错误", + "error.validation.required": "必填项", + "form.Input.bulkActions": "启用批量操作", + "form.Input.defaultSort": "默认排序设置", + "form.Input.description": "描述", + "form.Input.description.placeholder": "资料中的显示名称", + "form.Input.disabled": "不可编辑字段", + "form.Input.filters": "应用过滤器", + "form.Input.label": "标签", + "form.Input.label.inputDescription": "这个标签会显示在表格的标题列名称", + "form.Input.pageEntries": "每页条数", + "form.Input.pageEntries.inputDescription": "备注:您可以在每个内容类型的设置页面覆盖这些设置。", + "form.Input.placeholder": "占位符", + "form.Input.placeholder.placeholder": "在文字框中显示提示信息", + "form.Input.search": "启用搜索功能", + "form.Input.search.field": "允许此字段可以被搜索", + "form.Input.sort.field": "允许此字段可以被排序", + "form.Input.wysiwyg": "显示为所见即所得模式", + "global.displayedFields": "显示的字段", + "notification.error.displayedFields": "您至少需要显示一个字段", + "notification.error.relationship.fetch": "获取关联数据时发生错误", + "notification.info.SettingPage.disableSort": "您至少需要允许一个字段可以被用來排序", + "pageNotFound": "页面未找到", + "plugin.description.long": "快速查看、编辑和删除数据库中的数据。", + "plugin.description.short": "快速查看、编辑和删除数据库中的数据。", + "popUpWarning.bodyMessage.contentType.delete": "确实要删除此条目吗?", + "popUpWarning.bodyMessage.contentType.delete.all": "您确定要删除这些内容吗?", + "popUpWarning.button.cancel": "取消", + "popUpWarning.button.confirm": "确认", + "popUpWarning.title": "请确认", + "popUpWarning.warning.cancelAllSettings": "您确定要放弃修改?", + "popUpWarning.warning.updateAllSettings": "这会修改您的设置", + "success.record.delete": "删除", + "success.record.save": "保存" } From b3a6ad4f2399eeb836534e58098ecd6dde837294 Mon Sep 17 00:00:00 2001 From: Peter Zhao Date: Tue, 10 Sep 2019 14:29:03 +0800 Subject: [PATCH 3/4] Add zh-Hans translations of new feature --- .../admin/src/translations/zh-Hans.json | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json index bcdbe8b617..0d684887eb 100644 --- a/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json +++ b/packages/strapi-plugin-content-manager/admin/src/translations/zh-Hans.json @@ -1,10 +1,15 @@ { + "models": "内容类型", + "models.numbered": "内容类型({number})", + "groups": "分组", + "groups.numbered": "分组 ({number})", "EditRelations.title": "关联数据", "components.AddFilterCTA.add": "过滤器", "components.AddFilterCTA.hide": "过滤器", "components.DraggableAttr.edit": "点击以编辑", "components.EmptyAttributesBlock.button": "前往设置页面", "components.EmptyAttributesBlock.description": "您可以更改设置", + "components.FieldItem.linkToGroupLayout": "Set the group's layout", "components.FilterOptions.FILTER_TYPES.=": "等于", "components.FilterOptions.FILTER_TYPES._contains": "包含", "components.FilterOptions.FILTER_TYPES._containss": "包含(区分大小写)", @@ -21,6 +26,10 @@ "components.FiltersPickWrapper.PluginHeader.description": "设置过滤条件", "components.FiltersPickWrapper.PluginHeader.title.filter": "过滤器", "components.FiltersPickWrapper.hide": "隐藏", + "components.Group.notification.info.minimum-requirement": "已在您的分组中添加一个字段,以满足最低要求", + "components.Group.notification.info.maximum-requirement": "您已经达到最大字段数限制", + "components.Group.empty.repeatable": "还没有实体。可以点击下面的按钮来添加一个", + "components.Group.reset": "重置实体", "components.LimitSelect.itemsPerPage": "每页显示数目", "components.Search.placeholder": "搜索...", "components.TableDelete.delete": "刪除", @@ -31,6 +40,7 @@ "components.TableEmpty.withSearch": "找不到 {contentType} 按照过滤条件: ({search})...", "components.TableEmpty.withoutFilter": "找不到 {contentType}...", "containers.Edit.addAnItem": "新增关联...", + "containers.Edit.pluginHeader.title.new": "创建实体", "containers.Edit.clickToJump": "跳转到该项内容", "containers.Edit.delete": "删除", "containers.Edit.editing": "编辑...", @@ -40,6 +50,7 @@ "containers.Edit.submit": "保存", "containers.Edit.Link.Layout": "编辑布局", "containers.Edit.Link.Fields": "编辑字段", + "containers.EditView.notification.errors": "表单包含一些错误", "containers.Home.introduction": "要编辑您的条目,请转到左边菜单中的特定链接。这个插件没有合适的方法来编辑设置,它仍然在积极的开发中。", "containers.Home.pluginHeaderDescription": "通过一个强大而漂亮的界面管理你的条目。", "containers.Home.pluginHeaderTitle": "内容管理器", @@ -62,11 +73,15 @@ "containers.SettingPage.relations": "关联字段", "containers.SettingPage.settings": "设置", "containers.SettingPage.layout": "布局", + "containers.EditView.Group.add.new": "新增一个实体", + "containers.SettingViewModel.pluginHeader.title": "内容管理 - {name}", "containers.SettingsPage.Block.contentType.description": "调整指定内容类型的的字段", "containers.SettingsPage.Block.contentType.title": "内容类型", "containers.SettingsPage.Block.generalSettings.description": "调整内容类型的默认选项", "containers.SettingsPage.Block.generalSettings.title": "总览", "containers.SettingsPage.pluginHeaderDescription": "调整所有内容类型的的显示设置", + "containers.SettingsView.list.title": "显示配置", + "containers.SettingsView.list.subtitle": "配置您的内容类型和分组的布局和显示", "emptyAttributes.button": "转到内容类型生成器", "emptyAttributes.description": "为你的内容类型添加第一个字段", "emptyAttributes.title": "还没有字段", @@ -94,7 +109,7 @@ "form.Input.defaultSort": "默认排序设置", "form.Input.description": "描述", "form.Input.description.placeholder": "资料中的显示名称", - "form.Input.disabled": "不可编辑字段", + "form.Input.editable": "可编辑字段", "form.Input.filters": "应用过滤器", "form.Input.label": "标签", "form.Input.label.inputDescription": "这个标签会显示在表格的标题列名称", @@ -121,5 +136,7 @@ "popUpWarning.warning.cancelAllSettings": "您确定要放弃修改?", "popUpWarning.warning.updateAllSettings": "这会修改您的设置", "success.record.delete": "删除", - "success.record.save": "保存" + "success.record.save": "保存", + "notification.info.minimumFields": "您至少需要显示一个字段", + "notification.upload.error": "上传文件时发生了错误" } From 04523d96377f4328f9a184384596e4fd3e734d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=85=B5?= Date: Tue, 10 Sep 2019 16:26:59 +0800 Subject: [PATCH 4/4] Fix package.json wrong update --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index b90fa96567..96cecbeae5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "@testing-library/jest-dom": "^4.0.0", "@testing-library/react": "^9.1.1", "@testing-library/react-hooks": "^2.0.1", - "@types/react-test-renderer": "^16.9.0", "babel-eslint": "^10.0.1", "cross-env": "^5.2.0", "cypress": "3.1.2",