mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-08 14:07:35 +08:00
fix webui i18n
This commit is contained in:
@@ -107,6 +107,118 @@ const resources = {
|
||||
save: 'Save',
|
||||
create: 'Create',
|
||||
update: 'Update',
|
||||
delete: 'Delete',
|
||||
add: 'Add',
|
||||
install: 'Install',
|
||||
installed: 'Installed',
|
||||
notInstalled: 'Not Installed',
|
||||
status: 'Status',
|
||||
source: 'Source',
|
||||
duration: 'Duration',
|
||||
provider: 'Provider',
|
||||
model: 'Model',
|
||||
time: 'Time',
|
||||
level: 'Level',
|
||||
code: 'Code',
|
||||
template: 'Template',
|
||||
content: 'Content',
|
||||
id: 'ID',
|
||||
files: 'Files',
|
||||
close: 'Close',
|
||||
path: 'Path',
|
||||
before: 'Before',
|
||||
after: 'After',
|
||||
hide: 'Hide',
|
||||
show: 'Show',
|
||||
clear: 'Clear',
|
||||
pause: 'Pause',
|
||||
resume: 'Resume',
|
||||
live: 'Live',
|
||||
raw: 'Raw',
|
||||
pretty: 'Pretty',
|
||||
entries: 'entries',
|
||||
appName: 'ClawGo',
|
||||
webui: 'WebUI',
|
||||
node: 'Node',
|
||||
unknownIp: 'Unknown IP',
|
||||
memoryFiles: 'Memory Files',
|
||||
memoryFileNamePrompt: 'Memory file name',
|
||||
noFileSelected: 'No file selected',
|
||||
noDescription: 'No description provided.',
|
||||
empty: '(empty)',
|
||||
modal: 'Modal',
|
||||
dialogPleaseConfirm: 'Please confirm',
|
||||
dialogNotice: 'Notice',
|
||||
dialogOk: 'OK',
|
||||
requestFailed: 'Request Failed',
|
||||
saved: 'Saved',
|
||||
reloadHistory: 'Reload History',
|
||||
user: 'User',
|
||||
exec: 'Exec',
|
||||
agent: 'Agent',
|
||||
toolOutput: 'tool output',
|
||||
chatServerError: 'Error: Failed to get response from server.',
|
||||
waitingForLogs: 'Waiting for logs...',
|
||||
systemLog: 'system.log',
|
||||
codeCaller: 'Code/Caller',
|
||||
recursiveAddValuePlaceholder: 'Type new value and add',
|
||||
recursiveSelectOption: 'Select option',
|
||||
logCodesSearchPlaceholder: 'Search code/text',
|
||||
logCodesNoCodes: 'No codes',
|
||||
skillsDeleteTitle: 'Delete Skill',
|
||||
skillsDeleteMessage: 'Are you sure you want to delete this skill?',
|
||||
skillsClawhubMissingTitle: 'clawhub not detected',
|
||||
skillsClawhubMissingMessage: 'clawhub is not installed. Install dependencies and clawhub automatically?',
|
||||
skillsInstallNow: 'Install now',
|
||||
skillsInstallingDeps: 'Installing node/npm and clawhub...',
|
||||
skillsInstallFailedTitle: 'Install failed',
|
||||
skillsInstallFailedMessage: 'Failed to install clawhub',
|
||||
skillsInstallDoneTitle: 'Install complete',
|
||||
skillsInstallDoneMessage: 'clawhub is installed. You can continue installing skills.',
|
||||
skillsAddTitle: 'Add Skill',
|
||||
skillsAddMessage: 'Upload skill archive (.zip / .tar.gz / .tgz / .tar). It will be extracted into skills folder and archive will be removed.',
|
||||
skillsSelectArchive: 'Select archive',
|
||||
skillsImporting: 'Uploading and importing skill...',
|
||||
skillsImportFailedTitle: 'Import failed',
|
||||
skillsImportFailedMessage: 'Failed to import skill archive',
|
||||
skillsImportDoneTitle: 'Import complete',
|
||||
skillsImportedPrefix: 'Imported',
|
||||
skillsImportDoneMessage: 'Skill imported successfully.',
|
||||
skillsFileSaved: 'Skill file saved successfully.',
|
||||
skillsNamePlaceholder: 'skill name',
|
||||
skillsClawhubNotFound: 'clawhub not found',
|
||||
skillsClawhubStatus: 'clawhub',
|
||||
skillsAdd: 'Add Skill',
|
||||
skillsNoTools: 'No tools defined',
|
||||
skillsFileEdit: 'File Edit',
|
||||
configDiffPreview: 'Diff Preview',
|
||||
configBasicMode: 'Basic Mode',
|
||||
configAdvancedMode: 'Advanced Mode',
|
||||
configHotOnly: 'Hot-reload fields only',
|
||||
configSearchPlaceholder: 'Search group...',
|
||||
configHotFieldsFull: 'Hot-reload fields (full)',
|
||||
configTopLevel: 'Top Level',
|
||||
configProxies: 'Proxies',
|
||||
configNewProviderName: 'new provider name',
|
||||
configNoCustomProviders: 'No custom providers yet.',
|
||||
configNoGroups: 'No config groups found.',
|
||||
configDiffPreviewCount: 'Diff Preview ({{count}} items)',
|
||||
saveConfigFailed: 'Failed to save config',
|
||||
sourceAutonomy: 'autonomy',
|
||||
sourceDirect: 'direct',
|
||||
sourceMemoryTodo: 'memory_todo',
|
||||
statusRunning: 'running',
|
||||
statusWaiting: 'waiting',
|
||||
statusBlocked: 'blocked',
|
||||
statusSuccess: 'success',
|
||||
statusError: 'error',
|
||||
statusSuppressed: 'suppressed',
|
||||
taskId: 'Task ID',
|
||||
inputPreview: 'Input Preview',
|
||||
blockReason: 'Block Reason',
|
||||
actionFailed: 'Action failed',
|
||||
cronExpressionPlaceholder: '*/5 * * * *',
|
||||
recipientId: 'recipient id',
|
||||
configLabels: {
|
||||
gateway: 'Gateway',
|
||||
host: 'Host',
|
||||
@@ -157,6 +269,8 @@ const resources = {
|
||||
google_maps: 'Google Maps',
|
||||
url_context: 'URL Context',
|
||||
api_base: 'API Base',
|
||||
protocol: 'Protocol',
|
||||
models: 'Models',
|
||||
organization: 'Organization',
|
||||
project: 'Project',
|
||||
region: 'Region',
|
||||
@@ -292,6 +406,118 @@ const resources = {
|
||||
save: '保存',
|
||||
create: '创建',
|
||||
update: '更新',
|
||||
delete: '删除',
|
||||
add: '添加',
|
||||
install: '安装',
|
||||
installed: '已安装',
|
||||
notInstalled: '未安装',
|
||||
status: '状态',
|
||||
source: '来源',
|
||||
duration: '耗时',
|
||||
provider: '提供商',
|
||||
model: '模型',
|
||||
time: '时间',
|
||||
level: '级别',
|
||||
code: '代码',
|
||||
template: '模板',
|
||||
content: '内容',
|
||||
id: 'ID',
|
||||
files: '文件',
|
||||
close: '关闭',
|
||||
path: '路径',
|
||||
before: '变更前',
|
||||
after: '变更后',
|
||||
hide: '隐藏',
|
||||
show: '显示',
|
||||
clear: '清空',
|
||||
pause: '暂停',
|
||||
resume: '继续',
|
||||
live: '实时',
|
||||
raw: '原始',
|
||||
pretty: '格式化',
|
||||
entries: '条',
|
||||
appName: 'ClawGo',
|
||||
webui: 'WebUI',
|
||||
node: '节点',
|
||||
unknownIp: '未知 IP',
|
||||
memoryFiles: '记忆文件',
|
||||
memoryFileNamePrompt: '记忆文件名',
|
||||
noFileSelected: '未选择文件',
|
||||
noDescription: '暂无描述。',
|
||||
empty: '(空)',
|
||||
modal: '弹窗',
|
||||
dialogPleaseConfirm: '请确认',
|
||||
dialogNotice: '提示',
|
||||
dialogOk: '确定',
|
||||
requestFailed: '请求失败',
|
||||
saved: '已保存',
|
||||
reloadHistory: '重新加载历史',
|
||||
user: '用户',
|
||||
exec: '执行',
|
||||
agent: '助手',
|
||||
toolOutput: '工具输出',
|
||||
chatServerError: '错误:获取服务端响应失败。',
|
||||
waitingForLogs: '等待日志中...',
|
||||
systemLog: '系统日志',
|
||||
codeCaller: '代码/来源',
|
||||
recursiveAddValuePlaceholder: '输入新值后添加',
|
||||
recursiveSelectOption: '下拉选择',
|
||||
logCodesSearchPlaceholder: '搜索代码/文本',
|
||||
logCodesNoCodes: '暂无代码',
|
||||
skillsDeleteTitle: '删除技能',
|
||||
skillsDeleteMessage: '确认删除这个技能吗?',
|
||||
skillsClawhubMissingTitle: '未检测到 clawhub',
|
||||
skillsClawhubMissingMessage: '检测到系统中未安装 clawhub。是否自动安装依赖环境并安装 clawhub?',
|
||||
skillsInstallNow: '立即安装',
|
||||
skillsInstallingDeps: '正在安装 node/npm 与 clawhub...',
|
||||
skillsInstallFailedTitle: '安装失败',
|
||||
skillsInstallFailedMessage: '安装 clawhub 失败',
|
||||
skillsInstallDoneTitle: '安装完成',
|
||||
skillsInstallDoneMessage: 'clawhub 已安装,可继续安装技能。',
|
||||
skillsAddTitle: '添加技能',
|
||||
skillsAddMessage: '请上传技能压缩包(.zip / .tar.gz / .tgz / .tar)。上传后将自动解压到 skills 目录,并删除上传压缩包。',
|
||||
skillsSelectArchive: '选择压缩包',
|
||||
skillsImporting: '正在上传并导入技能...',
|
||||
skillsImportFailedTitle: '导入失败',
|
||||
skillsImportFailedMessage: '技能压缩包导入失败',
|
||||
skillsImportDoneTitle: '导入完成',
|
||||
skillsImportedPrefix: '已导入',
|
||||
skillsImportDoneMessage: '技能导入成功。',
|
||||
skillsFileSaved: '技能文件保存成功。',
|
||||
skillsNamePlaceholder: '技能名',
|
||||
skillsClawhubNotFound: '未找到 clawhub',
|
||||
skillsClawhubStatus: 'clawhub',
|
||||
skillsAdd: '添加技能',
|
||||
skillsNoTools: '未定义工具',
|
||||
skillsFileEdit: '文件编辑',
|
||||
configDiffPreview: '差异预览',
|
||||
configBasicMode: '基础模式',
|
||||
configAdvancedMode: '高级模式',
|
||||
configHotOnly: '仅热更新字段',
|
||||
configSearchPlaceholder: '搜索分类...',
|
||||
configHotFieldsFull: '热更新字段(完整)',
|
||||
configTopLevel: '顶层分类',
|
||||
configProxies: '代理配置',
|
||||
configNewProviderName: '新 provider 名称',
|
||||
configNoCustomProviders: '暂无自定义 provider。',
|
||||
configNoGroups: '未找到配置分组。',
|
||||
configDiffPreviewCount: '配置差异预览({{count}}项)',
|
||||
saveConfigFailed: '保存配置失败',
|
||||
sourceAutonomy: 'autonomy',
|
||||
sourceDirect: 'direct',
|
||||
sourceMemoryTodo: 'memory_todo',
|
||||
statusRunning: 'running',
|
||||
statusWaiting: 'waiting',
|
||||
statusBlocked: 'blocked',
|
||||
statusSuccess: 'success',
|
||||
statusError: 'error',
|
||||
statusSuppressed: 'suppressed',
|
||||
taskId: '任务 ID',
|
||||
inputPreview: '输入预览',
|
||||
blockReason: '阻断原因',
|
||||
actionFailed: '操作失败',
|
||||
cronExpressionPlaceholder: '*/5 * * * *',
|
||||
recipientId: '接收者 ID',
|
||||
configLabels: {
|
||||
gateway: '网关',
|
||||
host: '主机',
|
||||
@@ -342,6 +568,8 @@ const resources = {
|
||||
google_maps: '谷歌地图',
|
||||
url_context: 'URL 上下文',
|
||||
api_base: 'API 基础地址',
|
||||
protocol: '协议',
|
||||
models: '模型列表',
|
||||
organization: '组织',
|
||||
project: '项目',
|
||||
region: '区域',
|
||||
|
||||
Reference in New Issue
Block a user