@coremail/lunkr-openclaw 1.0.8 → 1.0.9
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/bin/lunkr-cli.js +4 -4
- package/i18n/locales/en-US.json +79 -3
- package/i18n/locales/zh-CN.json +77 -3
- package/index.js +20 -22
- package/package.json +1 -1
package/i18n/locales/en-US.json
CHANGED
|
@@ -122,7 +122,21 @@
|
|
|
122
122
|
"reinstall": "To reinstall:",
|
|
123
123
|
"reinstall_step1": "Run: openclaw lunkr login",
|
|
124
124
|
"reinstall_step2": "Enable the channel in ~/.openclaw/config.json",
|
|
125
|
-
"reinstall_step3": "Run: openclaw lunkr create <name>"
|
|
125
|
+
"reinstall_step3": "Run: openclaw lunkr create <name>",
|
|
126
|
+
"removed_plugin_allow": "Removed '{{id}}' from plugins.allow",
|
|
127
|
+
"plugin_allow_not_found": "'{{id}}' not found in plugins.allow",
|
|
128
|
+
"removed_plugin_entry": "Removed plugins.entries.{{id}}",
|
|
129
|
+
"plugin_entry_not_found": "'{{id}}' not found in plugins.entries",
|
|
130
|
+
"removed_tool": "Removed '{{name}}' from tools.alsoAllow",
|
|
131
|
+
"tool_not_found": "'{{name}}' not found in tools.alsoAllow",
|
|
132
|
+
"removed_skill_entry": "Removed skills.entries.{{name}}",
|
|
133
|
+
"skill_entry_not_found": "'{{name}}' not found in skills.entries",
|
|
134
|
+
"removed_skill_dir": "Removed skill directory from skills.load.extraDirs",
|
|
135
|
+
"skill_dir_not_found": "Skill directory not found in skills.load.extraDirs",
|
|
136
|
+
"not_found_dir": "Not found: {{path}}",
|
|
137
|
+
"removed_legacy": "Removed legacy path: {{path}}",
|
|
138
|
+
"remove_legacy_failed": "Failed to remove legacy session data:",
|
|
139
|
+
"purge_hint": "To completely remove extension files:"
|
|
126
140
|
},
|
|
127
141
|
"tools": {
|
|
128
142
|
"already_installed": "Tool '{{name}}' is already installed.",
|
|
@@ -164,7 +178,15 @@
|
|
|
164
178
|
"upload_invalid_response": "Invalid response from upload: {{data}}",
|
|
165
179
|
"upload_data_failed": "Failed to upload data: {{code}}",
|
|
166
180
|
"upload_move_failed": "Failed to move file: {{code}}",
|
|
167
|
-
"upload_no_file_id": "Move file did not return fileId"
|
|
181
|
+
"upload_no_file_id": "Move file did not return fileId",
|
|
182
|
+
"recipient_not_found": "Contact or group not found: {{name}}",
|
|
183
|
+
"download_http_failed": "File download failed (HTTP {{status}}): {{body}}",
|
|
184
|
+
"download_failed": "Download failed: {{error}}",
|
|
185
|
+
"filename_required": "Filename is required. Please provide it from message attachment metadata (attachment.title)",
|
|
186
|
+
"create_group_failed": "Failed to create group: {{code}} - {{msg}}",
|
|
187
|
+
"session_expired_relogin": "Session expired. Please re-login using:",
|
|
188
|
+
"session_expired_qrcode": " lunkr login (QR code)",
|
|
189
|
+
"session_expired_password": " lunkr login-bypwd (password)"
|
|
168
190
|
},
|
|
169
191
|
"login": {
|
|
170
192
|
"token_login_failed": "API token login failed: {{error}}",
|
|
@@ -179,7 +201,18 @@
|
|
|
179
201
|
"qrcode_login_failed_short": "QR code login failed: {{error}}",
|
|
180
202
|
"password_login_intro": "Lunkr Login (Password)",
|
|
181
203
|
"qrcode_login_intro": "Lunkr Login (QR Code)",
|
|
182
|
-
"logout_intro": "Lunkr Logout"
|
|
204
|
+
"logout_intro": "Lunkr Logout",
|
|
205
|
+
"password_prompt": "Password: ",
|
|
206
|
+
"token_login_failed_warn": "Warning: Failed to get API token: {{error}}",
|
|
207
|
+
"session_saved_without_token": "Session will be saved without API token (temporary mode).",
|
|
208
|
+
"result_email": " Email: {{email}}",
|
|
209
|
+
"result_uid": " UID: {{uid}}",
|
|
210
|
+
"result_server": " Server: {{server}}",
|
|
211
|
+
"logout_failed": "Logout failed: {{error}}",
|
|
212
|
+
"qrcode_title": "🦞 OpenClaw · Lunkr QR Code Login",
|
|
213
|
+
"qrcode_scan_prompt": "Scan the QR code above with the Lunkr App",
|
|
214
|
+
"qrcode_scanned": "QR code scanned, waiting for confirmation...",
|
|
215
|
+
"clock_error": "Authentication failed: local clock is inaccurate. Please adjust your system clock and try again."
|
|
183
216
|
},
|
|
184
217
|
"create": {
|
|
185
218
|
"welcome_title": "Bot discussion created successfully!",
|
|
@@ -258,5 +291,48 @@
|
|
|
258
291
|
"done_title": "Setup complete! Run the following to start the gateway:",
|
|
259
292
|
"done_gateway_cmd": "openclaw gateway restart",
|
|
260
293
|
"done_rename_hint": "Tip: Run openclaw lunkr rename <name> to customize the Bot display name"
|
|
294
|
+
},
|
|
295
|
+
"attachment": {
|
|
296
|
+
"voice": "[Voice message{{duration}}]",
|
|
297
|
+
"image": "[Image: {{title}}]",
|
|
298
|
+
"video": "[Video: {{title}}]",
|
|
299
|
+
"file": "[File: {{title}}]",
|
|
300
|
+
"voice_short": "Voice({{duration}}s)",
|
|
301
|
+
"image_short": "Image({{title}})",
|
|
302
|
+
"video_short": "Video({{title}})",
|
|
303
|
+
"file_short": "File({{title}})"
|
|
304
|
+
},
|
|
305
|
+
"message": {
|
|
306
|
+
"prefix": "[@!{{sender}}'s {{bot}}:]"
|
|
307
|
+
},
|
|
308
|
+
"meta": {
|
|
309
|
+
"selection_label": "Lunkr (Enterprise Collaboration)",
|
|
310
|
+
"detail_label": "Lunkr Enterprise Collaboration",
|
|
311
|
+
"blurb": "Enterprise email and collaboration platform with messaging, contacts, and discussion groups."
|
|
312
|
+
},
|
|
313
|
+
"create_group": {
|
|
314
|
+
"created": "Discussion Group Created",
|
|
315
|
+
"result_name": " Name: {{name}}"
|
|
316
|
+
},
|
|
317
|
+
"rename": {
|
|
318
|
+
"bot_name_changed": " Bot name: {{oldName}} → {{name}}",
|
|
319
|
+
"restart_hint": " Run the following command to apply changes:"
|
|
320
|
+
},
|
|
321
|
+
"auth": {
|
|
322
|
+
"captcha_required": "Verification required! Error code: {{code}}\nPlease log in manually in a browser to unlock:\n {{uri}}",
|
|
323
|
+
"otp_required": "Two-factor authentication (OTP) required...",
|
|
324
|
+
"otp_trigger_failed": "Failed to trigger OTP: {{code}}",
|
|
325
|
+
"otp_verify_prompt": "Please complete OTP verification on another device...",
|
|
326
|
+
"otp_trust_hint": "(If you choose \"Trust this device\", OTP won't be required next time)",
|
|
327
|
+
"otp_press_enter": "Press Enter to continue after completion...",
|
|
328
|
+
"otp_query_failed": "Failed to query OTP status: {{code}}",
|
|
329
|
+
"otp_not_completed": "OTP not completed, current stage: {{stage}}",
|
|
330
|
+
"otp_success": "Two-factor authentication successful!",
|
|
331
|
+
"relogin": "Re-logging in...",
|
|
332
|
+
"relogin_failed": "Re-login failed: {{code}}",
|
|
333
|
+
"relogin_no_sid": "Re-login did not return sid",
|
|
334
|
+
"relogin_no_cookie": "Re-login failed to obtain Coremail cookie",
|
|
335
|
+
"otp_verified_getting_session": "OTP verified, getting Lunkr session...",
|
|
336
|
+
"session_expired_relogin": "Session expired. Please re-login."
|
|
261
337
|
}
|
|
262
338
|
}
|
package/i18n/locales/zh-CN.json
CHANGED
|
@@ -122,7 +122,21 @@
|
|
|
122
122
|
"reinstall": "重新安装:",
|
|
123
123
|
"reinstall_step1": "运行: openclaw lunkr login",
|
|
124
124
|
"reinstall_step2": "在 ~/.openclaw/config.json 中启用频道",
|
|
125
|
-
"reinstall_step3": "运行: openclaw lunkr create <名称>"
|
|
125
|
+
"reinstall_step3": "运行: openclaw lunkr create <名称>",
|
|
126
|
+
"removed_plugin_allow": "已从 plugins.allow 移除 '{{id}}'",
|
|
127
|
+
"plugin_allow_not_found": "plugins.allow 中未找到 '{{id}}'",
|
|
128
|
+
"removed_plugin_entry": "已删除 plugins.entries.{{id}}",
|
|
129
|
+
"plugin_entry_not_found": "plugins.entries 中未找到 '{{id}}'",
|
|
130
|
+
"removed_tool": "已从 tools.alsoAllow 移除 '{{name}}'",
|
|
131
|
+
"tool_not_found": "tools.alsoAllow 中未找到 '{{name}}'",
|
|
132
|
+
"removed_skill_entry": "已删除 skills.entries.{{name}}",
|
|
133
|
+
"skill_entry_not_found": "skills.entries 中未找到 '{{name}}'",
|
|
134
|
+
"removed_skill_dir": "已从 skills.load.extraDirs 移除技能目录",
|
|
135
|
+
"skill_dir_not_found": "skills.load.extraDirs 中未找到技能目录",
|
|
136
|
+
"not_found_dir": "未找到 {{path}}",
|
|
137
|
+
"removed_legacy": "已删除旧路径 {{path}}",
|
|
138
|
+
"remove_legacy_failed": "删除旧会话数据失败:",
|
|
139
|
+
"purge_hint": "彻底移除扩展文件:"
|
|
126
140
|
},
|
|
127
141
|
"tools": {
|
|
128
142
|
"already_installed": "工具 '{{name}}' 已安装。",
|
|
@@ -165,8 +179,14 @@
|
|
|
165
179
|
"upload_data_failed": "上传数据失败:{{code}}",
|
|
166
180
|
"upload_move_failed": "移动文件失败:{{code}}",
|
|
167
181
|
"upload_no_file_id": "移动文件未返回 fileId",
|
|
182
|
+
"recipient_not_found": "未找到联系人或讨论组:{{name}}",
|
|
183
|
+
"download_http_failed": "文件下载失败 (HTTP {{status}}):{{body}}",
|
|
168
184
|
"download_failed": "下载失败:{{error}}",
|
|
169
|
-
"filename_required": "文件名是必需的,请从消息附件元数据获取文件名"
|
|
185
|
+
"filename_required": "文件名是必需的,请从消息附件元数据获取文件名",
|
|
186
|
+
"create_group_failed": "创建讨论组失败:{{code}} - {{msg}}",
|
|
187
|
+
"session_expired_relogin": "Session 已失效,请使用以下命令重新登录:",
|
|
188
|
+
"session_expired_qrcode": " lunkr login (扫码登录)",
|
|
189
|
+
"session_expired_password": " lunkr login-bypwd (密码登录)"
|
|
170
190
|
},
|
|
171
191
|
"login": {
|
|
172
192
|
"token_login_failed": "API 令牌登录失败:{{error}}",
|
|
@@ -181,7 +201,18 @@
|
|
|
181
201
|
"qrcode_login_failed_short": "二维码登录失败:{{error}}",
|
|
182
202
|
"password_login_intro": "Lunkr 登录(密码)",
|
|
183
203
|
"qrcode_login_intro": "Lunkr 登录(二维码)",
|
|
184
|
-
"logout_intro": "Lunkr 登出"
|
|
204
|
+
"logout_intro": "Lunkr 登出",
|
|
205
|
+
"password_prompt": "密码:",
|
|
206
|
+
"token_login_failed_warn": "警告:获取 API 令牌失败:{{error}}",
|
|
207
|
+
"session_saved_without_token": "会话将在没有 API 令牌的情况下保存(临时模式)。",
|
|
208
|
+
"result_email": " 邮箱: {{email}}",
|
|
209
|
+
"result_uid": " UID: {{uid}}",
|
|
210
|
+
"result_server": " 服务器: {{server}}",
|
|
211
|
+
"logout_failed": "登出失败:{{error}}",
|
|
212
|
+
"qrcode_title": "🦞 OpenClaw · 论客扫码登录",
|
|
213
|
+
"qrcode_scan_prompt": "请使用论客 App 扫描上方二维码",
|
|
214
|
+
"qrcode_scanned": "已扫码,等待确认...",
|
|
215
|
+
"clock_error": "认证失败:本地时钟不准确,请调整本地时钟后重试。"
|
|
185
216
|
},
|
|
186
217
|
"create": {
|
|
187
218
|
"welcome_title": "Bot 讨论已创建成功!",
|
|
@@ -260,5 +291,48 @@
|
|
|
260
291
|
"done_title": "设置完成!运行以下命令启动网关:",
|
|
261
292
|
"done_gateway_cmd": "openclaw gateway restart",
|
|
262
293
|
"done_rename_hint": "提示:运行 openclaw lunkr rename <名称> 自定义 Bot 显示名称"
|
|
294
|
+
},
|
|
295
|
+
"attachment": {
|
|
296
|
+
"voice": "[语音消息{{duration}}]",
|
|
297
|
+
"image": "[图片: {{title}}]",
|
|
298
|
+
"video": "[视频: {{title}}]",
|
|
299
|
+
"file": "[文件: {{title}}]",
|
|
300
|
+
"voice_short": "语音({{duration}}秒)",
|
|
301
|
+
"image_short": "图片({{title}})",
|
|
302
|
+
"video_short": "视频({{title}})",
|
|
303
|
+
"file_short": "文件({{title}})"
|
|
304
|
+
},
|
|
305
|
+
"message": {
|
|
306
|
+
"prefix": "[@!{{sender}}的{{bot}}:]"
|
|
307
|
+
},
|
|
308
|
+
"meta": {
|
|
309
|
+
"selection_label": "Lunkr (企业协作)",
|
|
310
|
+
"detail_label": "Lunkr 企业协作",
|
|
311
|
+
"blurb": "企业邮件和协作平台,支持消息、联系人、讨论组。"
|
|
312
|
+
},
|
|
313
|
+
"create_group": {
|
|
314
|
+
"created": "讨论组已创建",
|
|
315
|
+
"result_name": " 名称: {{name}}"
|
|
316
|
+
},
|
|
317
|
+
"rename": {
|
|
318
|
+
"bot_name_changed": " Bot 名称: {{oldName}} → {{name}}",
|
|
319
|
+
"restart_hint": " 运行以下命令使更改生效:"
|
|
320
|
+
},
|
|
321
|
+
"auth": {
|
|
322
|
+
"captcha_required": "需要验证! 错误码: {{code}}\n请在浏览器中访问以下地址手工登录以解除限制:\n {{uri}}",
|
|
323
|
+
"otp_required": "需要二次认证 (OTP)...",
|
|
324
|
+
"otp_trigger_failed": "触发二次认证失败: {{code}}",
|
|
325
|
+
"otp_verify_prompt": "请在其他设备上完成 OTP 验证...",
|
|
326
|
+
"otp_trust_hint": "(如果选择\"信任此设备\",下次登录将不需要再次验证)",
|
|
327
|
+
"otp_press_enter": "完成后按回车继续...",
|
|
328
|
+
"otp_query_failed": "查询二次认证状态失败: {{code}}",
|
|
329
|
+
"otp_not_completed": "二次认证未完成,当前状态: {{stage}}",
|
|
330
|
+
"otp_success": "二次认证成功!",
|
|
331
|
+
"relogin": "重新登录...",
|
|
332
|
+
"relogin_failed": "重新登录失败: {{code}}",
|
|
333
|
+
"relogin_no_sid": "重新登录未返回 sid",
|
|
334
|
+
"relogin_no_cookie": "重新登录未获取到 Coremail cookie",
|
|
335
|
+
"otp_verified_getting_session": "OTP 验证成功,获取 Lunkr session...",
|
|
336
|
+
"session_expired_relogin": "会话已过期。请重新登录。"
|
|
263
337
|
}
|
|
264
338
|
}
|