@activepieces/piece-alai 0.3.0 → 0.3.2

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.
package/src/i18n/zh.json CHANGED
@@ -1,105 +1,244 @@
1
1
  {
2
- "AI-powered presentation generation API. Create, export, and manage professional presentations from text.": "AI-powered presentation generation API. Create, export, and manage professional presentations from text.",
2
+ "1": "1",
3
+ "AI-powered presentation generation API. Create, export, and manage professional presentations from text.": "以AI为动力的演示生成 API。创建、导出和管理文本中的专业演示。",
3
4
  "API Key": "API 密钥",
4
- "Paste your API key here.": "Paste your API key here.",
5
- "\nFollow these steps to get your Alai API Key:\n\n1. Go to [**https://getalai.com/api**](https://getalai.com/api) and sign up or log in.\n2. Navigate to the **API Keys** section.\n3. Click **Create API Key** and give it a name (e.g., \"Activepieces\").\n4. Copy the key and paste it below.\n": "\nFollow these steps to get your Alai API Key:\n\n1. Go to [**https://getalai.com/api**](https://getalai.com/api) and sign up or log in.\n2. Navigate to the **API Keys** section.\n3. Click **Create API Key** and give it a name (e.g., \"Activepieces\").\n4. Copy the key and paste it below.\n",
5
+ "Your Alai API key.": "Your Alai API key.",
6
+ "\nTo get your Alai API key:\n\n1. Sign in at [app.getalai.com](https://app.getalai.com).\n2. Open the account menu and choose **API**.\n3. Click **Add new API key**, name it (for example \"Activepieces\") and copy the key.\n4. Paste it below.\n\nAPI calls use the same AI credits as the Alai app.\n": "\nTo get your Alai API key:\n\n1. Sign in at [app.getalai.com](https://app.getalai.com).\n2. Open the account menu and choose **API**.\n3. Click **Add new API key**, name it (for example \"Activepieces\") and copy the key.\n4. Paste it below.\n\nAPI calls use the same AI credits as the Alai app.\n",
6
7
  "Generate Presentation": "Generate Presentation",
8
+ "Generate Presentation (Agent)": "生成演示文稿(代理)",
9
+ "Add Slide (Agent)": "添加幻灯片(代理)",
10
+ "Export Presentation (Agent)": "导出演示文稿(代理)",
11
+ "Generate Speaker Notes (Agent)": "生成演讲者备注(代理)",
7
12
  "Get Generation": "Get Generation",
8
- "Export Presentation": "Export Presentation",
9
- "Add Slide": "Add Slide",
10
- "Delete Presentation": "Delete Presentation",
13
+ "Export Presentation": "导出演示文",
14
+ "Add Slide": "添加幻灯片",
15
+ "Delete Presentation": "删除演示文稿",
16
+ "List Presentations": "列出演示文稿",
17
+ "List Themes": "列出主题",
18
+ "List Vibes": "列出氛围",
19
+ "Delete Slide": "删除幻灯片",
20
+ "Generate Speaker Notes": "生成演讲者备注",
21
+ "Upload Images": "上传图片",
11
22
  "Custom API Call": "自定义 API 呼叫",
12
- "Create a new AI-generated presentation from text.": "Create a new AI-generated presentation from text.",
13
- "Fetch the status and result of a generation job.": "Fetch the status and result of a generation job.",
14
- "Export a presentation in the specified formats.": "Export a presentation in the specified formats.",
15
- "Add a new slide to an existing presentation.": "Add a new slide to an existing presentation.",
16
- "Delete a presentation by its ID.": "Delete a presentation by its ID.",
17
- "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
23
+ "Create a new AI-generated presentation from text.": "从文本创建新的 AI生成演示文字。",
24
+ "Start generating a new presentation from text.": "开始根据文本生成新的演示文稿。",
25
+ "Start generating a new slide in an existing presentation.": "开始在现有演示文稿中生成新的幻灯片。",
26
+ "Start exporting a presentation as link, PDF and/or PowerPoint.": "开始将演示文稿导出为链接、PDF 和/或 PowerPoint。",
27
+ "Start generating speaker notes for a presentation.": "开始为演示文稿生成演讲者备注。",
28
+ "Get the status and result of a generation, slide, export or speaker-notes job.": "Get the status and result of a generation, slide, export or speaker-notes job.",
29
+ "Export a presentation as a link, PDF and/or PowerPoint file.": "Export a presentation as a link, PDF and/or PowerPoint file.",
30
+ "Generate a new slide and add it to an existing presentation.": "Generate a new slide and add it to an existing presentation.",
31
+ "Permanently delete a presentation.": "Permanently delete a presentation.",
32
+ "List your presentations, newest first, optionally filtered by title.": "列出你的演示文稿,按最新优先排序,可按标题筛选。",
33
+ "List the themes you can use when generating a presentation.": "列出你在生成演示文稿时可以使用的主题。",
34
+ "List the vibes (visual styles) you can use when generating a presentation.": "列出你在生成演示文稿时可以使用的氛围(视觉风格)。",
35
+ "Permanently delete one slide from a presentation.": "从演示文稿中永久删除一张幻灯片。",
36
+ "Generate speaker notes for the slides of a presentation.": "为演示文稿的幻灯片生成演讲者备注。",
37
+ "Upload up to 10 images (PNG, JPEG, WebP, GIF, AVIF or SVG, 10 MB each) to use in a new presentation.": "上传最多 10 张图片(PNG、JPEG、WebP、GIF、AVIF 或 SVG,每张 10 MB),用于新的演示文稿。",
38
+ "Make a request to any Alai API endpoint, e.g. /themes (Classic v1) or /modern/v1/ping. The API key is added for you.": "Make a request to any Alai API endpoint, e.g. /themes (Classic v1) or /modern/v1/ping. The API key is added for you.",
18
39
  "Input Text": "Input Text",
19
- "Additional Instructions": "Additional Instructions",
20
- "Export Formats": "Export Formats",
40
+ "Additional Instructions": "附加说明",
21
41
  "Title": "标题",
22
- "Theme ID": "Theme ID",
23
42
  "Slide Range": "Slide Range",
24
- "Tone": "Tone",
25
- "Content Mode": "Content Mode",
43
+ "Tone": "音调",
44
+ "Content Mode": "内容模式",
26
45
  "Text Density": "Text Density",
27
- "Include AI Images": "Include AI Images",
28
- "Image Style": "Image Style",
29
- "Wait for Completion": "Wait for Completion",
30
- "Max Wait Time (seconds)": "Max Wait Time (seconds)",
31
- "Generation ID": "Generation ID",
32
- "Presentation ID": "Presentation ID",
33
- "Presentation": "Presentation",
34
- "Slide Context": "Slide Context",
35
- "Slide Order": "Slide Order",
46
+ "Theme ID": "主题ID",
47
+ "Vibe ID": "氛围 ID",
48
+ "Language": "语言",
49
+ "Variants per Slide": "每张幻灯片的变体数",
50
+ "Image IDs": "图片 ID",
51
+ "Include AI Images": "包含 AI 图像",
52
+ "Include Web Images": "包含网络图片",
53
+ "Image Style": "图像样式",
54
+ "Image Style Instructions": "图片样式说明",
55
+ "Export Formats": "导出格式",
56
+ "Wait for Completion": "等待完成",
57
+ "Max Wait Time (seconds)": "最大等待时间 (秒)",
58
+ "Presentation ID": "演示ID",
59
+ "Slide Content": "Slide Content",
60
+ "Slide Position": "Slide Position",
61
+ "Slide Type": "幻灯片类型",
62
+ "Include Images": "包含图片",
63
+ "Formats": "格式",
64
+ "Slide IDs": "幻灯片 ID",
65
+ "Generation ID": "生成ID",
66
+ "Variants": "变体",
67
+ "Title Contains": "标题包含",
68
+ "Limit": "限制",
69
+ "Slide ID": "幻灯片 ID",
70
+ "Images": "图像",
36
71
  "Method": "方法",
37
72
  "Headers": "信头",
38
73
  "Query Parameters": "查询参数",
39
- "Body Type": "Body Type",
74
+ "Body Type": "正文类型",
40
75
  "Body": "正文内容",
41
- "Response is Binary ?": "Response is Binary ?",
42
- "No Error on Failure": "失败时没有错误",
43
- "Timeout (in seconds)": "超时(秒)",
44
- "Follow redirects": "Follow redirects",
45
- "The text content to generate a presentation from.": "The text content to generate a presentation from.",
46
- "Extra instructions for how the presentation should be generated.": "Extra instructions for how the presentation should be generated.",
47
- "Formats to export the presentation in after generation.": "Formats to export the presentation in after generation.",
48
- "A title for the presentation. If not provided, one will be generated.": "A title for the presentation. If not provided, one will be generated.",
49
- "The ID of the presentation theme to use. If not provided, a default theme will be applied.": "The ID of the presentation theme to use. If not provided, a default theme will be applied.",
50
- "Target slide count: auto, 1, 2-5, 6-10, 11-15, 16-20, 21-25, 26-50.": "Target slide count: auto, 1, 2-5, 6-10, 11-15, 16-20, 21-25, 26-50.",
51
- "The tone of voice for the presentation content.": "The tone of voice for the presentation content.",
52
- "How the input text should be handled.": "How the input text should be handled.",
53
- "The amount of text to include per slide.": "The amount of text to include per slide.",
54
- "Whether to include AI-generated images in the presentation.": "Whether to include AI-generated images in the presentation.",
55
- "The style for AI-generated images.": "The style for AI-generated images.",
56
- "Wait for the presentation generation to complete before returning.": "Wait for the presentation generation to complete before returning.",
57
- "Maximum time to wait for completion (default 300 seconds / 5 minutes).": "Maximum time to wait for completion (default 300 seconds / 5 minutes).",
58
- "The ID of the generation job (from the \"Generate Presentation\" action).": "The ID of the generation job (from the \"Generate Presentation\" action).",
59
- "The ID of the presentation to export.": "The ID of the presentation to export.",
60
- "Formats to export the presentation in.": "Formats to export the presentation in.",
61
- "Select a presentation": "Select a presentation",
62
- "The content or topic for the slide to be generated.": "The content or topic for the slide to be generated.",
63
- "Extra instructions for how the slide should be generated.": "Extra instructions for how the slide should be generated.",
64
- "The position to insert the new slide (e.g., \"0\" for the first slide, \"end\" to add at the end).": "The position to insert the new slide (e.g., \"0\" for the first slide, \"end\" to add at the end).",
65
- "Whether to include AI-generated images in the slide.": "Whether to include AI-generated images in the slide.",
66
- "The ID of the presentation to delete.": "The ID of the presentation to delete.",
76
+ "Response is Binary": "响应是二进制的?",
77
+ "Return Error as Output": "Return Error as Output",
78
+ "Timeout": "Timeout",
79
+ "Follow redirects": "跟随重定向",
80
+ "The content to turn into slides: plain text, markdown or notes.": "The content to turn into slides: plain text, markdown or notes.",
81
+ "Extra guidance on style or focus for Alai.": "Extra guidance on style or focus for Alai.",
82
+ "Presentation title. If empty, Alai uses its default title.": "Presentation title. If empty, Alai uses its default title.",
83
+ "Target number of slides. \"auto\" decides from the input length.": "Target number of slides. \"auto\" decides from the input length.",
84
+ "Tone of voice. Sent to Alai as part of the instructions.": "Tone of voice. Sent to Alai as part of the instructions.",
85
+ "Keep, shorten or expand your text. Sent as part of the instructions.": "Keep, shorten or expand your text. Sent as part of the instructions.",
86
+ "How much text per slide. Sent as part of the instructions.": "How much text per slide. Sent as part of the instructions.",
87
+ "Theme ID from \"List Themes\". If empty, Alai uses its default theme.": "Theme ID from \"List Themes\". If empty, Alai uses its default theme.",
88
+ "Vibe ID from \"List Vibes\".": "来自 \"List Vibes\" 的氛围 ID。",
89
+ "Output language. If empty, Alai matches the input language.": "输出语言。如果为空,Alai 会匹配输入语言。",
90
+ "Design options per slide (1-4). More use more credits.": "每张幻灯片的设计选项(1-4)。数量越多,消耗的积分越多。",
91
+ "IDs from \"Upload Images\" to use in the slides.": "来自 \"Upload Images\" 的 ID,用于幻灯片中。",
92
+ "Let Alai generate images for the slides.": "Let Alai generate images for the slides.",
93
+ "Let Alai search the web for images.": "让 Alai 在网上搜索图片。",
94
+ "Style of AI images. \"custom\" needs Image Style Instructions.": "AI 图片样式。\"custom\" 需要图片样式说明。",
95
+ "Describe the image look. Required when Image Style is \"custom\".": "描述图片外观。当 Image Style 为 \"custom\" 时必填。",
96
+ "Formats to produce when the deck is ready. Default: link.": "Formats to produce when the deck is ready. Default: link.",
97
+ "Wait until Alai finishes. If off, use \"Get Generation\" with the returned ID later.": "Wait until Alai finishes. If off, use \"Get Generation\" with the returned ID later.",
98
+ "How long to wait when waiting is on. Default 300, capped at 480.": "How long to wait when waiting is on. Default 300, capped at 480.",
99
+ "The content to turn into slides (plain text or markdown).": "要转换为幻灯片的内容(纯文本或 markdown)。",
100
+ "Presentation title.": "演示文稿标题。",
101
+ "Extra guidance on style or focus.": "关于样式或重点的额外指导。",
102
+ "Target slide count. \"auto\" decides from the input.": "目标幻灯片数量。\"auto\" 将根据输入决定。",
103
+ "Tone of voice.": "语气。",
104
+ "Keep, condense or enhance the input text.": "保留、压缩或增强输入文本。",
105
+ "How much text per slide.": "每张幻灯片包含多少文本。",
106
+ "Theme ID from List Themes.": "来自 List Themes 的主题 ID。",
107
+ "Vibe ID from List Vibes.": "来自 List Vibes 的氛围 ID。",
108
+ "Output language; empty matches the input.": "输出语言;留空则与输入一致。",
109
+ "Image IDs uploaded to Alai earlier.": "之前上传到 Alai 的图片 ID。",
110
+ "The presentation ID, e.g. from List Presentations or the presentation_id of Get Generation.": "演示文稿 ID,例如来自 List Presentations 或 Get Generation 的 presentation_id。",
111
+ "What the slide should contain.": "What the slide should contain.",
112
+ "0-based position; omit to append at the end.": "从 0 开始的位置;省略则追加到末尾。",
113
+ "classic (editable text) or creative (image-led).": "classic(可编辑文本)或 creative(图片优先)。",
114
+ "false asks Alai for a slide without images.": "false 表示让 Alai 生成一张不含图片的幻灯片。",
115
+ "Extra guidance for this slide.": "此幻灯片的额外指导。",
116
+ "One or more of link, pdf, ppt.": "一个或多个:link、pdf、ppt。",
117
+ "Only these slides; omit for all slides.": "仅这些幻灯片;留空则为全部幻灯片。",
118
+ "The generation_id returned by another Alai action.": "The generation_id returned by another Alai action.",
119
+ "The presentation to export. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "要导出的演示文稿。使用 \"List Presentations\" 或 \"Generate Presentation\" 中的 presentation_id。",
120
+ "Formats to produce.": "Formats to produce.",
121
+ "The presentation to add the slide to. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "要添加幻灯片到其中的演示文稿。使用 \"List Presentations\" 或 \"Generate Presentation\" 中的 presentation_id。",
122
+ "Guidance on the style or focus of this slide.": "Guidance on the style or focus of this slide.",
123
+ "0-based position for the slide. Empty or \"end\" adds it last.": "0-based position for the slide. Empty or \"end\" adds it last.",
124
+ "Classic (editable text) or creative (image-led). Default: classic.": "Classic(可编辑文本)或 creative(图片优先)。默认值:classic。",
125
+ "Turn off to ask Alai for a slide without images.": "Turn off to ask Alai for a slide without images.",
126
+ "Optional image style, e.g. realistic or cartoon.": "可选的图片样式,例如 realistic 或 cartoon。",
127
+ "How many design options to generate for this slide (1-4).": "为此幻灯片生成多少个设计选项(1-4)。",
128
+ "The presentation to delete. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "要删除的演示文稿。使用 \"List Presentations\" 或 \"Generate Presentation\" 中的 presentation_id。",
129
+ "Only titles containing this text (not case-sensitive).": "仅包含此文本的标题(不区分大小写)。",
130
+ "Maximum number of presentations to return (default 100).": "返回的演示文稿最大数量(默认 100)。",
131
+ "The presentation that contains the slide. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "包含该幻灯片的演示文稿。使用 \"List Presentations\" 或 \"Generate Presentation\" 中的 presentation_id。",
132
+ "The slide_id from \"Add Slide\" or from \"Generate Speaker Notes\".": "来自 \"Add Slide\" 或 \"Generate Speaker Notes\" 的 slide_id。",
133
+ "The presentation to write speaker notes for. Use \"List Presentations\" or the presentation_id from \"Generate Presentation\".": "要为其编写演讲者备注的演示文稿。使用 \"List Presentations\" 或 \"Generate Presentation\" 中的 presentation_id。",
134
+ "Only these slides. Leave empty for all slides.": "仅这些幻灯片。留空则为全部幻灯片。",
135
+ "Up to 10 image files.": "最多 10 个图片文件。",
67
136
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
68
- "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
69
- "Link": "Link",
70
- "PDF": "PDF",
71
- "PowerPoint (PPTX)": "PowerPoint (PPTX)",
72
- "Default": "Default",
73
- "Professional": "Professional",
137
+ "Appended to the URL as ?key=value.": "作为 ?key=value 附加到 URL。",
138
+ "Enable for files like PDFs, images, etc.": "启用 PDF、图像等文件。",
139
+ "On a failed request, output the error instead of failing the step.": "请求失败时,输出错误而不是使步骤失败。",
140
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "等待响应的秒数。留空:最多到流程限制(10 分钟)。",
141
+ "Follow 3xx redirects instead of returning them as the response.": "跟随 3xx 重定向,而不是将其作为响应返回。",
142
+ "auto": "自动制",
143
+ "2-5": "2-5",
144
+ "6-10": "6-10",
145
+ "11-15": "11-15",
146
+ "16-20": "16-20",
147
+ "21-25": "21-25",
148
+ "26-50": "26-50",
149
+ "Default": "默认设置",
150
+ "Professional": "专业版",
74
151
  "Casual": "Casual",
75
- "Technical": "Technical",
76
- "Educational": "Educational",
77
- "Inspirational": "Inspirational",
78
- "Narrative": "Narrative",
152
+ "Technical": "技术",
153
+ "Educational": "教育",
154
+ "Inspirational": "启发性的",
155
+ "Narrative": "说明",
79
156
  "Persuasive": "Persuasive",
80
- "Authoritative": "Authoritative",
157
+ "Authoritative": "授权",
81
158
  "Empathetic": "Empathetic",
82
- "Preserve": "Preserve",
159
+ "Preserve": "保留",
83
160
  "Condense": "Condense",
84
- "Enhance": "Enhance",
85
- "Custom": "Custom",
86
- "Minimal": "Minimal",
87
- "Essential": "Essential",
88
- "Balanced": "Balanced",
89
- "Detailed": "Detailed",
90
- "Auto": "Auto",
91
- "Realistic": "Realistic",
161
+ "Enhance": "强化",
162
+ "Custom": "自定义",
163
+ "Minimal": "最小化",
164
+ "Essential": "基本的",
165
+ "Balanced": "平衡",
166
+ "Detailed": "详细信息",
167
+ "English (US)": "英语(美国)",
168
+ "English (UK)": "英语(英国)",
169
+ "Spanish (Latin America)": "西班牙语(拉丁美洲)",
170
+ "Spanish (Mexico)": "西班牙语(墨西哥)",
171
+ "Spanish (Spain)": "西班牙语(西班牙)",
172
+ "French": "法文",
173
+ "German": "德文",
174
+ "Italian": "意大利语",
175
+ "Portuguese (Brazil)": "葡萄牙语(巴西)",
176
+ "Portuguese (Portugal)": "葡萄牙语(葡萄牙)",
177
+ "Dutch": "荷兰语",
178
+ "Polish": "波兰语",
179
+ "Russian": "俄文",
180
+ "Japanese": "日语",
181
+ "Korean": "韩语",
182
+ "Chinese (Simplified)": "中文(简体)",
183
+ "Hindi": "印地文",
184
+ "Swedish": "瑞典语",
185
+ "Norwegian": "挪威语",
186
+ "Danish": "丹麦语",
187
+ "Finnish": "芬兰语",
188
+ "Greek": "希腊语",
189
+ "Turkish": "土耳其语",
190
+ "Czech": "捷克语",
191
+ "Hungarian": "匈牙利",
192
+ "Romanian": "罗马尼亚语",
193
+ "Bulgarian": "保加利亚文",
194
+ "Ukrainian": "乌克兰语",
195
+ "Vietnamese": "Vietnamese",
196
+ "Thai": "泰文",
197
+ "Indonesian": "印尼语",
198
+ "Serbian": "塞尔维亚语",
199
+ "Croatian": "克罗地亚语",
200
+ "Bosnian": "波斯尼亚语",
201
+ "Slovenian": "Slovenian",
202
+ "Macedonian": "马其顿语",
203
+ "Albanian": "阿尔巴尼亚语",
204
+ "Montenegrin": "黑山语",
205
+ "Lithuanian": "立陶宛语",
206
+ "Auto": "自动操作",
207
+ "Realistic": "现实的",
92
208
  "Artistic": "Artistic",
93
- "Cartoon": "Cartoon",
209
+ "Cartoon": "卡通岛",
94
210
  "3D": "3D",
211
+ "Link": "链接",
212
+ "PDF": "PDF",
213
+ "PowerPoint (PPTX)": "PowerPoint (PPTX)",
214
+ "DEFAULT": "默认",
215
+ "PROFESSIONAL": "专业",
216
+ "CASUAL": "随意",
217
+ "TECHNICAL": "技术",
218
+ "EDUCATIONAL": "教育",
219
+ "INSPIRATIONAL": "启发性",
220
+ "NARRATIVE": "叙事",
221
+ "PERSUASIVE": "说服性",
222
+ "AUTHORITATIVE": "权威性",
223
+ "EMPATHETIC": "共情",
224
+ "PRESERVE": "保留",
225
+ "CONDENSE": "压缩",
226
+ "ENHANCE": "增强",
227
+ "CUSTOM": "自定义",
228
+ "MINIMAL": "最少",
229
+ "ESSENTIAL": "核心",
230
+ "BALANCED": "平衡",
231
+ "DETAILED": "详细",
232
+ "classic": "经典",
233
+ "creative": "创意",
234
+ "Classic": "经典",
235
+ "Creative": "创意",
95
236
  "GET": "获取",
96
237
  "POST": "帖子",
97
238
  "PATCH": "PATCH",
98
239
  "PUT": "弹出",
99
240
  "DELETE": "删除",
100
241
  "HEAD": "黑色",
101
- "None": "无",
102
- "JSON": "JSON",
103
- "Form Data": "表单数据",
104
- "Raw": "原始文件"
242
+ "Request": "请求",
243
+ "Data to send": "要发送的数据"
105
244
  }