Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 118 additions & 42 deletions i18n/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -5147,10 +5147,6 @@
"en": "Not installed · {by}",
"zh": "本机未安装 · {by}"
},
"gui.agent.hd_test_bad": {
"en": "Test failed: {detail}",
"zh": "测试没通过:{detail}"
},
"gui.agent.fix_sign_in": {
"en": "Sign in to {agent} first. Run this command in a terminal and sign in when it opens your browser, then press {button}:",
"zh": "需要先登录 {agent}。在终端运行下面这条命令,按提示在浏览器里登录,完成后点「{button}」:"
Expand Down Expand Up @@ -5267,18 +5263,6 @@
"en": "{agent} cannot read its own config file. Fix it, then press {button}.",
"zh": "{agent} 的配置文件有错,它读不出来。改好后点「{button}」。"
},
"gui.agent.fix_unknown_connect": {
"en": "{agent} could not connect. The original error below says why; once it is fixed, press {button}.",
"zh": "{agent} 没接入成功。可以展开下面的原始报错排查原因,处理好后点「{button}」。"
},
"gui.agent.fix_unknown_save": {
"en": "The change was not saved. The original error below says why; press {button} to try again.",
"zh": "这项修改没保存成功。可以展开下面的原始报错查看原因,或点「{button}」再试一次。"
},
"gui.agent.fix_unknown_test": {
"en": "the original error below says why; once it is fixed, press {button} again.",
"zh": "可以展开下面的原始报错排查原因,处理好后再点「{button}」。"
},
"gui.agent.needs_node": {
"en": "{agent} runs through npx, which comes with Node.js, and npx was not found on this machine. Install Node.js, then press {button}.",
"zh": "{agent} 要通过 Node.js 自带的 npx 运行,这台机器上没找到 npx。先安装 Node.js,装好后点「{button}」。"
Expand Down Expand Up @@ -5351,37 +5335,129 @@
"en": "{agent} could not be disconnected",
"zh": "{agent} 没能断开"
},
"gui.agent.bad_download_retry": {
"en": "{what} -- check the network, the npm registry or the proxy, then press {button}",
"zh": "{what},检查网络、npm 源或代理后点「{button}」"
"gui.agent.st_connect_bad": {
"en": "Could not connect",
"zh": "接入失败"
},
"gui.agent.st_save_bad": {
"en": "Not saved",
"zh": "没保存"
},
"gui.agent.st_disconnect_bad": {
"en": "Not disconnected",
"zh": "断开失败"
},
"gui.agent.st_test_bad": {
"en": "Test failed",
"zh": "测试没通过"
},
"gui.agent.why_sign_in": {
"en": "needs sign-in",
"zh": "需要先登录"
},
"gui.agent.why_setup": {
"en": "no provider yet",
"zh": "还没选模型服务商"
},
"gui.agent.why_api_key": {
"en": "API key rejected",
"zh": "API key 不可用"
},
"gui.agent.why_download": {
"en": "download failed",
"zh": "没能下载"
},
"gui.agent.why_model": {
"en": "Model unavailable",
"zh": "模型不可用"
},
"gui.agent.why_billing": {
"en": "Out of credit",
"zh": "余额不足"
},
"gui.agent.why_quota": {
"en": "Rate-limited",
"zh": "被限流或额度用完"
},
"gui.agent.why_network": {
"en": "Can't reach its provider",
"zh": "连不上服务商"
},
"gui.agent.why_silent": {
"en": "No reply in time",
"zh": "没有及时回复"
},
"gui.agent.why_upgrade": {
"en": "Version too old",
"zh": "版本太旧"
},
"gui.agent.why_exited": {
"en": "Quit on start",
"zh": "一启动就退出"
},
"gui.agent.why_runtime": {
"en": "Node.js too old",
"zh": "Node.js 版本太旧"
},
"gui.agent.why_plan": {
"en": "Plan doesn't include it",
"zh": "套餐不含它"
},
"gui.agent.why_config": {
"en": "Config file broken",
"zh": "配置文件有错"
},
"gui.agent.why_open": {
"en": "see why",
"zh": "点开看原因"
},
"gui.agent.why_hover": {
"en": "hover to see why",
"zh": "悬停看原始报错"
},
"gui.agent.test_again": {
"en": "Test again",
"zh": "再测一次"
},
"gui.agent.test_again_short": {
"en": "Retest",
"zh": "再测"
},
"gui.agent.row_download": {
"en": "download failed; check the network, the npm registry or the proxy, then press {button}",
"zh": "没能下载,检查网络、npm 源或代理后点「{button}」"
},
"gui.agent.row_run": {
"en": "{why}; run {command} in a terminal, then press {button}",
"zh": "{why},在终端运行 {command} 后点「{button}」"
},
"gui.agent.fix_unknown_disconnect": {
"en": "{agent} could not be disconnected. The original error below says why; press {button} to try again.",
"zh": "{agent} 没能断开。可以展开下面的原始报错查看原因,或点「{button}」再试一次。"
"gui.agent.row_run_then": {
"en": "{why}; run {command} in a terminal and type {then}, then press {button}",
"zh": "{why},在终端运行 {command} 并输入 {then},再点「{button}」"
},
"gui.agent.bad_open": {
"en": "{what} -- open it to see what to do",
"zh": "{what},点开看怎么做"
"gui.agent.row_run_diagnose": {
"en": "{why}; run {command} in a terminal to see why, then press {button}",
"zh": "{why},在终端运行 {command} 查看原因,处理好后点「{button}」"
},
"gui.agent.bad_run": {
"en": "{what}: run {command} in a terminal, then press {button}",
"zh": "{what}:在终端运行 {command},再点「{button}」"
"gui.agent.row_open": {
"en": "{why}; open {command} in a browser to get a plan, then press {button}",
"zh": "{why},在浏览器打开 {command} 开通套餐,再点「{button}」"
},
"gui.agent.bad_plan_link": {
"en": "{what}: open {command} in a browser to get a plan, then press {button}",
"zh": "{what}:在浏览器打开 {command} 开通套餐,再点「{button}」"
"gui.agent.said_connect": {
"en": "It did not answer the test message; its own words are below. Once that is fixed, press {button}.",
"zh": "它没有回应测试消息,原话如下。处理好后点「{button}」。"
},
"gui.agent.bad_run_then": {
"en": "{what}: run {command} in a terminal and type {then}, then press {button}",
"zh": "{what}:在终端运行 {command} 并输入 {then},再点「{button}」"
"gui.agent.said_test": {
"en": "Its own words are below. Once that is fixed, press {button}.",
"zh": "原话如下。处理好后点「{button}」。"
},
"gui.agent.bad_run_diagnose": {
"en": "{what}: run {command} in a terminal to see why, and press {button} once it is fixed",
"zh": "{what}:在终端运行 {command} 查看原因,处理好后点「{button}」"
"gui.agent.said_save": {
"en": "The server refused the change; its words are below.",
"zh": "服务端拒绝了这项修改,原话如下。"
},
"gui.agent.bad_retry": {
"en": "{what} -- once it is fixed, press {button}",
"zh": "{what},处理好后点「{button}」"
"gui.agent.said_disconnect": {
"en": "The config could not be written; the server's words are below. Once that is fixed, press {button}.",
"zh": "配置没写成功,原话如下。处理好后点「{button}」。"
},
"gui.agent.short_raven": {
"en": "General assistant, takes a bit of everything",
Expand Down Expand Up @@ -6952,8 +7028,8 @@
"zh": "语言"
},
"gui.settings.general.language_sub": {
"en": "Choose the language used in Raven.",
"zh": "选择 Raven 使用的语言。"
"en": "Choose the language the interface uses.",
"zh": "选择界面使用的语言。"
},
"gui.settings.general.lang_zh": {
"en": "中文",
Expand Down
95 changes: 66 additions & 29 deletions ui-tui/src/i18n/messages.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,6 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.hd_on_test_bad': 'Connected · test failed',
'gui.agent.probe_raw': 'What the check found',
'gui.agent.hd_missing_by': 'Not installed · {by}',
'gui.agent.hd_test_bad': 'Test failed: {detail}',
'gui.agent.fix_sign_in':
'Sign in to {agent} first. Run this command in a terminal and sign in when it opens your browser, then press {button}:',
'gui.agent.fix_sign_in_bare': 'Sign in to {agent} first, then press {button}.',
Expand Down Expand Up @@ -1536,11 +1535,6 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.fix_config':
'{agent} cannot read its own config file. Run this command in a terminal to see where it is wrong; once it is fixed, press {button}:',
'gui.agent.fix_config_bare': '{agent} cannot read its own config file. Fix it, then press {button}.',
'gui.agent.fix_unknown_connect':
'{agent} could not connect. The original error below says why; once it is fixed, press {button}.',
'gui.agent.fix_unknown_save':
'The change was not saved. The original error below says why; press {button} to try again.',
'gui.agent.fix_unknown_test': 'the original error below says why; once it is fixed, press {button} again.',
'gui.agent.needs_node':
'{agent} runs through npx, which comes with Node.js, and npx was not found on this machine. Install Node.js, then press {button}.',
'gui.agent.bad_sign_in': 'Sign in to {agent} first',
Expand All @@ -1560,15 +1554,39 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.bad_connect': '{agent} could not connect',
'gui.agent.bad_save': 'The change was not saved',
'gui.agent.bad_disconnect': '{agent} could not be disconnected',
'gui.agent.bad_download_retry': '{what} -- check the network, the npm registry or the proxy, then press {button}',
'gui.agent.fix_unknown_disconnect':
'{agent} could not be disconnected. The original error below says why; press {button} to try again.',
'gui.agent.bad_open': '{what} -- open it to see what to do',
'gui.agent.bad_run': '{what}: run {command} in a terminal, then press {button}',
'gui.agent.bad_plan_link': '{what}: open {command} in a browser to get a plan, then press {button}',
'gui.agent.bad_run_then': '{what}: run {command} in a terminal and type {then}, then press {button}',
'gui.agent.bad_run_diagnose': '{what}: run {command} in a terminal to see why, and press {button} once it is fixed',
'gui.agent.bad_retry': '{what} -- once it is fixed, press {button}',
'gui.agent.st_connect_bad': 'Could not connect',
'gui.agent.st_save_bad': 'Not saved',
'gui.agent.st_disconnect_bad': 'Not disconnected',
'gui.agent.st_test_bad': 'Test failed',
'gui.agent.why_sign_in': 'needs sign-in',
'gui.agent.why_setup': 'no provider yet',
'gui.agent.why_api_key': 'API key rejected',
'gui.agent.why_download': 'download failed',
'gui.agent.why_model': 'Model unavailable',
'gui.agent.why_billing': 'Out of credit',
'gui.agent.why_quota': 'Rate-limited',
'gui.agent.why_network': "Can't reach its provider",
'gui.agent.why_silent': 'No reply in time',
'gui.agent.why_upgrade': 'Version too old',
'gui.agent.why_exited': 'Quit on start',
'gui.agent.why_runtime': 'Node.js too old',
'gui.agent.why_plan': "Plan doesn't include it",
'gui.agent.why_config': 'Config file broken',
'gui.agent.why_open': 'see why',
'gui.agent.why_hover': 'hover to see why',
'gui.agent.test_again': 'Test again',
'gui.agent.test_again_short': 'Retest',
'gui.agent.row_download': 'download failed; check the network, the npm registry or the proxy, then press {button}',
'gui.agent.row_run': '{why}; run {command} in a terminal, then press {button}',
'gui.agent.row_run_then': '{why}; run {command} in a terminal and type {then}, then press {button}',
'gui.agent.row_run_diagnose': '{why}; run {command} in a terminal to see why, then press {button}',
'gui.agent.row_open': '{why}; open {command} in a browser to get a plan, then press {button}',
'gui.agent.said_connect':
'It did not answer the test message; its own words are below. Once that is fixed, press {button}.',
'gui.agent.said_test': 'Its own words are below. Once that is fixed, press {button}.',
'gui.agent.said_save': 'The server refused the change; its words are below.',
'gui.agent.said_disconnect':
"The config could not be written; the server's words are below. Once that is fixed, press {button}.",
'gui.agent.short_raven': 'General assistant, takes a bit of everything',
'gui.agent.short_raven_code': 'Writes code, runs it, fixes bugs',
'gui.agent.short_raven_design': 'Produces UI drafts, visual revisions and artwork',
Expand Down Expand Up @@ -1974,7 +1992,7 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.settings.nav.archive': 'Archive',
'gui.settings.nav.about': 'About',
'gui.settings.general.language': 'Language',
'gui.settings.general.language_sub': 'Choose the language used in Raven.',
'gui.settings.general.language_sub': 'Choose the language the interface uses.',
'gui.settings.general.lang_zh': '中文',
'gui.settings.general.lang_en': 'English',
'gui.settings.general.theme': 'Appearance',
Expand Down Expand Up @@ -3987,7 +4005,6 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.hd_on_test_bad': '已接入 · 测试没通过',
'gui.agent.probe_raw': '检查结果',
'gui.agent.hd_missing_by': '本机未安装 · {by}',
'gui.agent.hd_test_bad': '测试没通过:{detail}',
'gui.agent.fix_sign_in': '需要先登录 {agent}。在终端运行下面这条命令,按提示在浏览器里登录,完成后点「{button}」:',
'gui.agent.fix_sign_in_bare': '需要先登录 {agent},登录后点「{button}」。',
'gui.agent.fix_setup':
Expand Down Expand Up @@ -4038,9 +4055,6 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.fix_config':
'{agent} 的配置文件有错,它读不出来。在终端运行下面这条命令,会指出出错的位置,改好后点「{button}」:',
'gui.agent.fix_config_bare': '{agent} 的配置文件有错,它读不出来。改好后点「{button}」。',
'gui.agent.fix_unknown_connect': '{agent} 没接入成功。可以展开下面的原始报错排查原因,处理好后点「{button}」。',
'gui.agent.fix_unknown_save': '这项修改没保存成功。可以展开下面的原始报错查看原因,或点「{button}」再试一次。',
'gui.agent.fix_unknown_test': '可以展开下面的原始报错排查原因,处理好后再点「{button}」。',
'gui.agent.needs_node':
'{agent} 要通过 Node.js 自带的 npx 运行,这台机器上没找到 npx。先安装 Node.js,装好后点「{button}」。',
'gui.agent.bad_sign_in': '需要先登录 {agent}',
Expand All @@ -4060,14 +4074,37 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.agent.bad_connect': '{agent} 没接入成功',
'gui.agent.bad_save': '这项修改没保存成功',
'gui.agent.bad_disconnect': '{agent} 没能断开',
'gui.agent.bad_download_retry': '{what},检查网络、npm 源或代理后点「{button}」',
'gui.agent.fix_unknown_disconnect': '{agent} 没能断开。可以展开下面的原始报错查看原因,或点「{button}」再试一次。',
'gui.agent.bad_open': '{what},点开看怎么做',
'gui.agent.bad_run': '{what}:在终端运行 {command},再点「{button}」',
'gui.agent.bad_plan_link': '{what}:在浏览器打开 {command} 开通套餐,再点「{button}」',
'gui.agent.bad_run_then': '{what}:在终端运行 {command} 并输入 {then},再点「{button}」',
'gui.agent.bad_run_diagnose': '{what}:在终端运行 {command} 查看原因,处理好后点「{button}」',
'gui.agent.bad_retry': '{what},处理好后点「{button}」',
'gui.agent.st_connect_bad': '接入失败',
'gui.agent.st_save_bad': '没保存',
'gui.agent.st_disconnect_bad': '断开失败',
'gui.agent.st_test_bad': '测试没通过',
'gui.agent.why_sign_in': '需要先登录',
'gui.agent.why_setup': '还没选模型服务商',
'gui.agent.why_api_key': 'API key 不可用',
'gui.agent.why_download': '没能下载',
'gui.agent.why_model': '模型不可用',
'gui.agent.why_billing': '余额不足',
'gui.agent.why_quota': '被限流或额度用完',
'gui.agent.why_network': '连不上服务商',
'gui.agent.why_silent': '没有及时回复',
'gui.agent.why_upgrade': '版本太旧',
'gui.agent.why_exited': '一启动就退出',
'gui.agent.why_runtime': 'Node.js 版本太旧',
'gui.agent.why_plan': '套餐不含它',
'gui.agent.why_config': '配置文件有错',
'gui.agent.why_open': '点开看原因',
'gui.agent.why_hover': '悬停看原始报错',
'gui.agent.test_again': '再测一次',
'gui.agent.test_again_short': '再测',
'gui.agent.row_download': '没能下载,检查网络、npm 源或代理后点「{button}」',
'gui.agent.row_run': '{why},在终端运行 {command} 后点「{button}」',
'gui.agent.row_run_then': '{why},在终端运行 {command} 并输入 {then},再点「{button}」',
'gui.agent.row_run_diagnose': '{why},在终端运行 {command} 查看原因,处理好后点「{button}」',
'gui.agent.row_open': '{why},在浏览器打开 {command} 开通套餐,再点「{button}」',
'gui.agent.said_connect': '它没有回应测试消息,原话如下。处理好后点「{button}」。',
'gui.agent.said_test': '原话如下。处理好后点「{button}」。',
'gui.agent.said_save': '服务端拒绝了这项修改,原话如下。',
'gui.agent.said_disconnect': '配置没写成功,原话如下。处理好后点「{button}」。',
'gui.agent.short_raven': '通用助手,什么活都能接一点',
'gui.agent.short_raven_code': '写代码、跑代码、修 bug',
'gui.agent.short_raven_design': '出界面稿、改视觉、做图',
Expand Down Expand Up @@ -4460,7 +4497,7 @@ export const UI_TEXT: Record<Locale, Record<string, string>> = {
'gui.settings.nav.archive': '归档',
'gui.settings.nav.about': '关于',
'gui.settings.general.language': '语言',
'gui.settings.general.language_sub': '选择 Raven 使用的语言。',
'gui.settings.general.language_sub': '选择界面使用的语言。',
'gui.settings.general.lang_zh': '中文',
'gui.settings.general.lang_en': 'English',
'gui.settings.general.theme': '外观',
Expand Down
Loading
Loading