@geekron/strapi 0.2.14 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/admin/index.js +10 -2
  2. package/dist/admin/index.mjs +29 -21
  3. package/dist/admin/src/fields/DataNested/hooks/useTreeItems.d.ts.map +1 -1
  4. package/dist/i18n/translations/en/reset/admin.json +10 -0
  5. package/dist/i18n/translations/en/reset/auth.json +6 -0
  6. package/dist/i18n/translations/en/reset/content-manager.json +4 -0
  7. package/dist/i18n/translations/zh-Hans/components.json +5 -0
  8. package/dist/i18n/translations/zh-Hans/console.json +223 -0
  9. package/dist/i18n/translations/zh-Hans/content-types.json +30 -0
  10. package/dist/i18n/translations/zh-Hans/plugin.json +8 -3
  11. package/dist/i18n/translations/zh-Hans/prefix/content-manager.json +321 -0
  12. package/dist/i18n/translations/zh-Hans/prefix/content-releases.json +106 -0
  13. package/dist/i18n/translations/zh-Hans/prefix/content-type-builder.json +68 -0
  14. package/dist/i18n/translations/zh-Hans/prefix/email.json +10 -0
  15. package/dist/i18n/translations/zh-Hans/prefix/review-workflows.json +17 -0
  16. package/dist/i18n/translations/zh-Hans/reset/admin.json +213 -0
  17. package/dist/i18n/translations/zh-Hans/reset/auth.json +6 -0
  18. package/dist/i18n/translations/zh-Hans/reset/content-manager.json +4 -0
  19. package/dist/i18n/translations/zh-Hans/reset/content-type-builder.json +228 -0
  20. package/dist/i18n/translations/zh-Hans/reset/i18n.json +4 -0
  21. package/i18n/translations/en/reset/admin.json +10 -0
  22. package/i18n/translations/en/reset/auth.json +6 -0
  23. package/i18n/translations/en/reset/content-manager.json +4 -0
  24. package/i18n/translations/zh-Hans/components.json +5 -0
  25. package/i18n/translations/zh-Hans/console.json +223 -0
  26. package/i18n/translations/zh-Hans/content-types.json +30 -0
  27. package/i18n/translations/zh-Hans/plugin.json +8 -3
  28. package/i18n/translations/zh-Hans/prefix/content-manager.json +321 -0
  29. package/i18n/translations/zh-Hans/prefix/content-releases.json +106 -0
  30. package/i18n/translations/zh-Hans/prefix/content-type-builder.json +68 -0
  31. package/i18n/translations/zh-Hans/prefix/email.json +10 -0
  32. package/i18n/translations/zh-Hans/prefix/review-workflows.json +17 -0
  33. package/i18n/translations/zh-Hans/reset/admin.json +213 -0
  34. package/i18n/translations/zh-Hans/reset/auth.json +6 -0
  35. package/i18n/translations/zh-Hans/reset/content-manager.json +4 -0
  36. package/i18n/translations/zh-Hans/reset/content-type-builder.json +228 -0
  37. package/i18n/translations/zh-Hans/reset/i18n.json +4 -0
  38. package/package.json +1 -1
@@ -0,0 +1,228 @@
1
+ {
2
+ "attribute.boolean": "布尔值",
3
+ "attribute.boolean.description": "好或不好、1 或 0、是或否",
4
+ "attribute.component": "组件",
5
+ "attribute.component.description": "组合字段值以便重复使用",
6
+ "attribute.customField": "自定义字段",
7
+ "attribute.date": "日期",
8
+ "attribute.date.description": "时间选择器,可选择日期及时间",
9
+ "attribute.datetime": "日期时间",
10
+ "attribute.dynamiczone": "动态区域",
11
+ "attribute.dynamiczone.description": "动态选择组件及编辑其内容",
12
+ "attribute.email": "电子邮件",
13
+ "attribute.email.description": "验证格式过的电子邮件字段",
14
+ "attribute.enumeration": "枚举",
15
+ "attribute.enumeration.description": "列举设定值并可择一为值",
16
+ "attribute.json": "JSON",
17
+ "attribute.json.description": "JSON 数据格式",
18
+ "attribute.media": "媒体",
19
+ "attribute.media.description": "图片、视频等文件",
20
+ "attribute.null": " ",
21
+ "attribute.number": "数字",
22
+ "attribute.number.description": "数字 (正整数、浮点数、小数)",
23
+ "attribute.password": "密码",
24
+ "attribute.password.description": "加密过的密码字段",
25
+ "attribute.relation": "关联",
26
+ "attribute.relation.description": "指向其他集合类型",
27
+ "attribute.richtext": "富文本 (Markdown)",
28
+ "attribute.richtext.description": "多文本格式编辑器",
29
+ "attribute.blocks": "富文本 (块)",
30
+ "attribute.blocks.description": "基于JSON的新型富文本编辑器",
31
+ "attribute.text": "文本",
32
+ "attribute.text.description": "短的标题或长的描述文字",
33
+ "attribute.time": "时间",
34
+ "attribute.timestamp": "时间戳",
35
+ "attribute.uid": "唯一标识符",
36
+ "attribute.uid.description": "唯一识别码",
37
+ "button.attributes.add.another": "新增字段",
38
+ "button.component.add": "新增组件",
39
+ "button.component.create": "创建新组件",
40
+ "button.model.create": "创建新的集合类型",
41
+ "button.single-types.create": "创建新的单类型",
42
+ "component.repeatable": "(可重复的)",
43
+ "components.SelectComponents.displayed-value": "已选择 {number, plural, =0 {# 个组件} one {# 个组件} other {# 个组件}}",
44
+ "components.componentSelect.no-component-available": "你已经加入了所有可以加入的组件",
45
+ "components.componentSelect.no-component-available.with-search": "搜索不到符合的组件",
46
+ "components.componentSelect.value-component": "{number} 个组件被选择 (输入搜索组件)",
47
+ "components.componentSelect.value-components": "{number} 个组件被选择",
48
+ "configurations": "配置设置",
49
+ "contentType.apiId-plural.description": "复数 API ID",
50
+ "contentType.apiId-plural.label": "API ID (复数)",
51
+ "contentType.apiId-singular.description": "UID 用于产生 API 路径和数据库数据表/集合的 UID",
52
+ "contentType.apiId-singular.label": "API ID (单数)",
53
+ "contentType.collectionName.description": "使用于当内容集合名称与数据集合名称不同时",
54
+ "contentType.collectionName.label": "集合名称",
55
+ "contentType.displayName.label": "显示名称",
56
+ "contentType.kind.change.warning": "你变更了内容类型:API 将会被重置 (路由器、控制器、和服务将会被覆盖)。",
57
+ "error.attributeName.reserved-name": "这个字段名称不可以在此内容类型内被使用,有可能会破坏其他功能",
58
+ "error.contentType.pluralName-used": "此数值不能与单数相同",
59
+ "error.contentType.singularName-used": "此数值不能与复数相同",
60
+ "error.contentType.singularName-equals-pluralName": "此数值不能与另一个内容类型的复数 API ID 相同",
61
+ "error.contentType.pluralName-equals-singularName": "此数值不能与另一个内容类型的单数 API ID 相同",
62
+ "error.contentType.pluralName-equals-collectionName": "此数值已被另一个内容类型使用",
63
+ "error.contentTypeName.reserved-name": "这个内容类型名称不可以在此项目内被使用,有可能会破坏其他功能",
64
+ "error.validation.enum-duplicate": "不允许重复的值 (只考虑字母数字字符)",
65
+ "error.validation.enum-empty-string": "不允许空字符串",
66
+ "error.validation.enum-regex": "有一个以上的数值无效。数值在首个数字前应先有英文字母。",
67
+ "error.validation.minSupMax": "不能超过最大值",
68
+ "error.validation.positive": "必须为正数",
69
+ "error.validation.regex": "不合法的正则式",
70
+ "error.validation.relation.targetAttribute-taken": "该字段名称已被使用",
71
+ "form.attribute.component.option.add": "新增组件",
72
+ "form.attribute.component.option.create": "创建新组件",
73
+ "form.attribute.component.option.create.description": "一个可以跨组件及类型引用的组件, 可以在任何地方被引用",
74
+ "form.attribute.component.option.repeatable": "可重复的组件",
75
+ "form.attribute.component.option.repeatable.description": "适用于数组,清单,标签类型组件",
76
+ "form.attribute.component.option.reuse-existing": "使用一个已创建的组件",
77
+ "form.attribute.component.option.reuse-existing.description": "可复用组件已创建,可以协助你在不同的内容类型间保持数据一致性",
78
+ "form.attribute.component.option.single": "单一组件",
79
+ "form.attribute.component.option.single.description": "适用于组合型字段群,如:完整地址,基本完整信息 ......等",
80
+ "form.attribute.item.customColumnName": "自定义字段名称",
81
+ "form.attribute.item.customColumnName.description": "将数据库字段名称以更易懂的格式重新命名,对 API 响应很有用。",
82
+ "form.attribute.item.date.type.date": "date (例如:01/01/{currentYear})",
83
+ "form.attribute.item.date.type.datetime": "datetime (例如:01/01/{currentYear} 00:00 AM)",
84
+ "form.attribute.item.date.type.time": "time (例如:00:00 AM)",
85
+ "form.attribute.item.defineRelation.fieldName": "字段名称",
86
+ "form.attribute.item.enumeration.graphql": "GraphQL 名称覆盖",
87
+ "form.attribute.item.enumeration.graphql.description": "可以让您覆盖 GraphQL 的默认名称",
88
+ "form.attribute.item.enumeration.placeholder": "例:\n早上\n中午\n晚上",
89
+ "form.attribute.item.enumeration.rules": "值 (格式为一行一个值)",
90
+ "form.attribute.item.maximum": "最大数值",
91
+ "form.attribute.item.maximumLength": "最大长度",
92
+ "form.attribute.item.minimum": "最小数值",
93
+ "form.attribute.item.minimumLength": "最小长度",
94
+ "form.attribute.item.number.type": "数字格式",
95
+ "form.attribute.item.number.type.biginteger": "大整数 (例如:123456789)",
96
+ "form.attribute.item.number.type.decimal": "浮点数 (decimal) (例: 2.22)",
97
+ "form.attribute.item.number.type.float": "浮点数 (float) (例: 3.33333333)",
98
+ "form.attribute.item.number.type.integer": "整数 (例: 10)",
99
+ "form.attribute.item.privateField": "隐密字段",
100
+ "form.attribute.item.privateField.description": "该字段不会被显示在 API 的回传数据中",
101
+ "form.attribute.item.requiredField": "必填字段",
102
+ "form.attribute.item.requiredField.description": "如果这个字段留空,您将不能创建项目。",
103
+ "form.attribute.item.text.regex": "正则式",
104
+ "form.attribute.item.text.regex.description": "文本正则表达式",
105
+ "form.attribute.item.uniqueField": "唯一字段",
106
+ "form.attribute.item.uniqueField.description": "如果已存在的项目有一模一样的内容,您将不能创建项目。",
107
+ "form.attribute.item.uniqueField.v5.willBeDisabled": "目前唯一字段在组件中运行不正常。如果您启用此功能,字段将被禁用直到问题修复。",
108
+ "form.attribute.item.uniqueField.v5.disabled": "目前唯一字段在组件中运行不正常。此字段已被禁用直到问题修复。",
109
+ "form.attribute.media.allowed-types": "选择合法的多媒体类型",
110
+ "form.attribute.media.allowed-types.option-files": "文件",
111
+ "form.attribute.media.allowed-types.option-images": "图片",
112
+ "form.attribute.media.allowed-types.option-videos": "视频",
113
+ "form.attribute.media.option.multiple": "复数多媒体",
114
+ "form.attribute.media.option.multiple.description": "适用于轮播模块或多文件下载",
115
+ "form.attribute.media.option.single": "单一多媒体",
116
+ "form.attribute.media.option.single.description": "适用于头像或背景图",
117
+ "form.attribute.settings.default": "默认值",
118
+ "form.attribute.text.option.long-text": "长文字",
119
+ "form.attribute.text.option.long-text.description": "适用于描述及自传内容,但无法被精准搜索",
120
+ "form.attribute.text.option.short-text": "短文字",
121
+ "form.attribute.text.option.short-text.description": "适用于标题,名称,链接且可以被精准搜索",
122
+ "form.button.add-components-to-dynamiczone": "新增组件至动态配置",
123
+ "form.button.add-field": "新增字段",
124
+ "form.button.add-first-field-to-created-component": "新增组件的第一个字段",
125
+ "form.button.add.field.to.collectionType": "新增其他字段于此集合类型",
126
+ "form.button.add.field.to.component": "新增其他字段于此组件",
127
+ "form.button.add.field.to.contentType": "新增其他字段于此内容类型",
128
+ "form.button.add.field.to.singleType": "新增其他字段于此单类型",
129
+ "form.button.cancel": "取消",
130
+ "form.button.collection-type.description": "适用于复数实例,如议题文章、产品、帖子......等",
131
+ "form.button.collection-type.name": "集合类型",
132
+ "form.button.configure-component": "配置组件",
133
+ "form.button.configure-view": "配置画面",
134
+ "form.button.select-component": "选择一个组件",
135
+ "form.button.single-type.description": "适用于单一实例,如首页、关于 ...... 等",
136
+ "form.button.single-type.name": "单类型",
137
+ "from": "从",
138
+ "menu.section.components.name": "组件",
139
+ "menu.section.models.name": "集合类型",
140
+ "menu.section.single-types.name": "单类型",
141
+ "modalForm.attribute.form.base.name.description": "字段名称不允许空白",
142
+ "modalForm.attribute.form.base.name.placeholder": "例如:slug、seo网址、canonical网址",
143
+ "modalForm.attribute.target-field": "关联目标字段",
144
+ "modalForm.attributes.select-component": "选择一个组件",
145
+ "modalForm.attributes.select-components": "选择多个组件",
146
+ "modalForm.collectionType.header-create": "创建集合类型",
147
+ "modalForm.component.header-create": "创建组件",
148
+ "modalForm.components.create-component.category.label": "选择或新增一个分类",
149
+ "modalForm.components.icon.label": "图标",
150
+ "modalForm.empty.button": "新增自定义字段",
151
+ "modalForm.empty.heading": "这里目前什么都没有。",
152
+ "modalForm.empty.sub-heading": "通过扩展功能找到您想搜索的项目。",
153
+ "modalForm.editCategory.base.name.description": "分类名称不允许空白",
154
+ "modalForm.header-edit": "编辑 {name}",
155
+ "modalForm.header-categories": "复数分类",
156
+ "modalForm.header-back": "后退",
157
+ "modalForm.singleType.header-create": "创建单类型",
158
+ "modalForm.sub-header.addComponentToDynamicZone": "在动态配置区新增一个组件",
159
+ "modalForm.sub-header.attribute.create": "新增 {type} 字段",
160
+ "modalForm.sub-header.attribute.create.step": "新增组件 ({step}/2)",
161
+ "modalForm.sub-header.attribute.edit": "编辑 {name}",
162
+ "modalForm.sub-header.chooseAttribute.collectionType": "选择集合类型的一个字段",
163
+ "modalForm.sub-header.chooseAttribute.component": "选择组件的一个字段",
164
+ "modalForm.sub-header.chooseAttribute.singleType": "选择单类型的一个字段",
165
+ "modalForm.custom-fields.advanced.settings.extended": "扩展设置",
166
+ "modalForm.tabs.custom": "自定义",
167
+ "modalForm.tabs.custom.howToLink": "如何新增自定义字段",
168
+ "modalForm.tabs.default": "默认",
169
+ "modalForm.tabs.label": "默认和自定义类型分页",
170
+ "modelPage.attribute.relation-polymorphic": "关联 (多对多多型)",
171
+ "modelPage.attribute.relationWith": "关联到",
172
+ "notification.error.dynamiczone-min.validation": "至少要有一个位于动态区域中的组件才能保存内容类型",
173
+ "notification.info.autoreaload-disable": "启用这个扩展模块需要重新启动,使用 `strapi develop` 命令重新启动",
174
+ "notification.info.creating.notSaved": "在创建新的集合类型或组件前请记得保存",
175
+ "plugin.description.long": "为您的 API 定义数据结构,使您轻松新增字段和关联结构,您所做的修改会自动更新项目。",
176
+ "plugin.description.short": "为您的 API 定义数据结构",
177
+ "plugin.name": "Content-Type Builder",
178
+ "popUpForm.navContainer.advanced": "高级设置",
179
+ "popUpForm.navContainer.base": "基本设置",
180
+ "popUpWarning.bodyMessage.cancel-modifications": "你确定要取消你的修改吗?",
181
+ "popUpWarning.bodyMessage.cancel-modifications.with-components": "你确定要取消你的修改吗?部分组件已被新增或修改...",
182
+ "popUpWarning.bodyMessage.category.delete": "你确定要删除此分类吗?所有此分类内的组件都会被删除。",
183
+ "popUpWarning.bodyMessage.component.delete": "你确定要删除此组件吗?",
184
+ "popUpWarning.bodyMessage.contentType.delete": "您确定要删除这个数据结构吗?",
185
+ "popUpWarning.draft-publish.button.confirm": "是的,请停用",
186
+ "popUpWarning.draft-publish.message": "如果您停用了草稿/发布系统,您的草稿将被删除。",
187
+ "popUpWarning.draft-publish.second-message": "您确定要停用吗?",
188
+ "prompt.unsaved": "你确定要离开吗?所有你的修改都会失效。",
189
+ "relation.attributeName.placeholder": "例如:作者、类别、标签...",
190
+ "relation.manyToMany": "有而且属于许多",
191
+ "relation.manyToOne": "有许多",
192
+ "relation.manyWay": "有许多",
193
+ "relation.oneToMany": "属于许多",
194
+ "relation.oneToOne": "有一个并属于一个",
195
+ "relation.oneWay": "有一个",
196
+ "table.button.no-fields": "新增字段",
197
+ "table.content.create-first-content-type.title": "没有内容类型",
198
+ "table.content.create-first-content-type.description": "创建集合类型、单类型和组件以构建您的 schema。",
199
+ "table.content.create-first-content-type.start-with-prompt": "从提示开始",
200
+ "table.content.no-fields.collection-type": "向此集合类型新增首个字段",
201
+ "table.content.no-fields.component": "向此组件新增首个字段",
202
+ "IconPicker.search.placeholder.label": "搜索图标",
203
+ "IconPicker.search.clear.label": "清除图标搜索",
204
+ "IconPicker.search.button.label": "搜索图标按钮",
205
+ "IconPicker.remove.tooltip": "移除选定的图标",
206
+ "IconPicker.remove.button": "移除选定图标按钮",
207
+ "IconPicker.emptyState.label": "未找到图标",
208
+ "IconPicker.icon.label": "选择 {icon} 图标",
209
+ "chat.tooltips.close-chat": "关闭聊天",
210
+ "chat.tooltips.create-chat": "新对话",
211
+ "chat.tooltips.open-chat": "开启聊天",
212
+ "chat.tooltips.send-message": "发送",
213
+ "chat.tooltips.stop-generation": "停止",
214
+ "chat.header.default-title": "新对话",
215
+ "chat.input.defaults.title": "我能帮您什么?",
216
+ "chat.input.defaults.generate": "生成产品 schema",
217
+ "chat.input.defaults.ctb": "告诉我关于 Content-Type Builder",
218
+ "chat.input.defaults.strapi": "告诉我关于 Strapi",
219
+ "chat.input.thinking": "Strapi AI 正在思考...",
220
+ "chat.input.placeholder": "询问 Strapi AI...",
221
+ "chat.input.strapi-ai-can-make-errors": "Strapi AI 可能会出错。",
222
+ "chat.messages.error": "出了点问题。",
223
+ "chat.code-upload.header": "导入 Next.js 应用",
224
+ "chat.code-upload.title": "导入 Next.js 应用",
225
+ "chat.code-upload.description": "您的应用将被 AI 分析。请确保在导入前删除所有敏感数据。",
226
+ "chat.code-upload.drop-zone": "在此处放置 .zip 文件或",
227
+ "chat.code-upload.drop-zone-browse": "浏览文件"
228
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "CMEditViewBulkLocale.publish-title": "发布多个语言环境",
3
+ "CMEditViewBulkLocale.unpublish-title": "取消发布多个语言环境"
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekron/strapi",
3
- "version": "0.2.14",
3
+ "version": "0.3.1",
4
4
  "description": "极客领航网站管理插件",
5
5
  "type": "commonjs",
6
6
  "author": "Geekron",