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
20 changes: 0 additions & 20 deletions internal/tui/i18n_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,17 @@ func enCommandModule() map[string]string {
"slash.lang": "Switch interface language",
"slash.skills": "Browse available skills",
"slash.exit": "Exit ggcode",
"slash.agents": "List sub-agents",
"slash.agent": "Sub-agent details",
"slash.compact": "Compress conversation history",
"slash.todo": "View/manage todo list",
"slash.bug": "Report a bug",
"slash.config": "View/modify configuration",
"slash.qq": "Manage QQ channel binding",
"slash.tg": "Manage Telegram bot binding",
"slash.telegram": "Manage Telegram bot binding",
"slash.pc": "Manage PC channel binding",
"slash.discord": "Manage Discord binding",
"slash.feishu": "Manage Feishu binding",
"slash.lark": "Manage Feishu binding",
"slash.slack": "Manage Slack binding",
"slash.dingtalk": "Manage DingTalk binding",
"slash.ding": "Manage DingTalk binding",
"slash.status": "Show current status",
"slash.update": "Update ggcode",
"slash.restart": "Restart ggcode",
Expand All @@ -62,16 +57,12 @@ func enCommandModule() map[string]string {
"slash.tunnel": "Share session to mobile (QR code tunnel)",
"slash.retry": "Retry last submission after error",
"slash.edit": "Edit and resend last submission",
"slash.regen": "Regenerate last response",
"slash.fork": "Fork conversation into new session",
"slash.reflect": "Show recent run reflections",
"slash.rules": "Manage ratchet rules",
"slash.goal": "Show, set, or clear persistent autopilot goal",
"command.unknown": "Unknown command: %s\n",
"command.help_hint": "Type /help for available commands\n\n",
"command.usage.allow": "Usage: /allow <tool-name>\n\n",
"command.usage.resume": "Usage: /resume <session-id>\n\n",
"command.usage.export": "Usage: /export <session-id>\n\n",
"command.model_switched": "Switched model to: %s (vendor: %s)\n\n",
"command.model_failed": "Failed to switch model: %v\n\n",
"command.model_current": "Current model: %s (vendor: %s)\nAvailable models: %s\nUse /model to open the model panel or /model <model-name> to switch directly.\n\n",
Expand All @@ -81,7 +72,6 @@ func enCommandModule() map[string]string {
"command.provider_current": "Current vendor: %s (endpoint: %s, model: %s)\nAvailable vendors: %s\nAvailable endpoints: %s\nUsage: /provider [vendor] [endpoint]\n\n",
"command.allow_set": "✓ %s is now always allowed\n\n",
"command.custom": "Custom command /%s:\n",
"command.mention_error": "Mention expansion error: %v",
"command.skill_agent_only": "Skill %s can only be invoked by the agent.",
"init.resolve_failed": "Failed to resolve init target: %v\n\n",
"init.generate_failed": "Failed to generate AGENTS.md content: %v\n\n",
Expand Down Expand Up @@ -173,22 +163,17 @@ func zhCommandModule() map[string]string {
"slash.lang": "切换界面语言",
"slash.skills": "浏览可用 skills",
"slash.exit": "退出 ggcode",
"slash.agents": "列出子 Agent",
"slash.agent": "查看子 Agent 详情",
"slash.compact": "压缩对话历史",
"slash.todo": "查看/管理 todo",
"slash.bug": "报告 bug",
"slash.config": "查看/修改配置",
"slash.qq": "管理 QQ 渠道绑定",
"slash.tg": "管理 Telegram 机器人绑定",
"slash.telegram": "管理 Telegram 机器人绑定",
"slash.pc": "管理 PC 渠道绑定",
"slash.discord": "管理 Discord 绑定",
"slash.feishu": "管理飞书绑定",
"slash.lark": "管理飞书绑定",
"slash.slack": "管理 Slack 绑定",
"slash.dingtalk": "管理钉钉绑定",
"slash.ding": "管理钉钉绑定",
"slash.status": "显示当前状态",
"slash.update": "升级 ggcode",
"slash.restart": "重启 ggcode",
Expand All @@ -210,16 +195,12 @@ func zhCommandModule() map[string]string {
"slash.tunnel": "分享会话到手机(二维码隧道)",
"slash.retry": "出错后重试上次提交",
"slash.edit": "编辑并重新发送上次提交",
"slash.regen": "重新生成最近回复",
"slash.fork": "分叉对话到新会话",
"slash.reflect": "显示最近运行反思",
"slash.rules": "管理棘轮规则",
"slash.goal": "查看、设置或清除持久化自动驾驶目标",
"command.unknown": "未知命令:%s\n",
"command.help_hint": "输入 /help 查看可用命令\n\n",
"command.usage.allow": "用法:/allow <tool-name>\n\n",
"command.usage.resume": "用法:/resume <session-id>\n\n",
"command.usage.export": "用法:/export <session-id>\n\n",
"command.model_switched": "已切换模型为:%s(供应商:%s)\n\n",
"command.model_failed": "切换模型失败:%v\n\n",
"command.model_current": "当前模型:%s(供应商:%s)\n可用模型:%s\n使用 /model 打开模型面板,或用 /model <model-name> 直接切换。\n\n",
Expand All @@ -229,7 +210,6 @@ func zhCommandModule() map[string]string {
"command.provider_current": "当前供应商:%s(接口:%s,模型:%s)\n可用供应商:%s\n可用接口:%s\n用法:/provider [vendor] [endpoint]\n\n",
"command.allow_set": "✓ %s 已设为永久允许\n\n",
"command.custom": "自定义命令 /%s:\n",
"command.mention_error": "展开 @ 引用失败:%v",
"command.skill_agent_only": "技能 %s 只能由 agent 调用。",
"init.resolve_failed": "解析初始化目标失败:%v\n\n",
"init.generate_failed": "生成 AGENTS.md 内容失败:%v\n\n",
Expand Down
8 changes: 0 additions & 8 deletions internal/tui/i18n_dingtalk.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ func enDingtalkModule() map[string]string {
"panel.dingtalk.bound": "Bound: %d",
"panel.dingtalk.available": "Available: %d",
"panel.dingtalk.none": "(none)",
"panel.dingtalk.default": "(default)",
"panel.dingtalk.adapter": "Adapter: %s",
"panel.dingtalk.target": "Target: %s",
"panel.dingtalk.channel": "Channel: %s",
"panel.dingtalk.bot_list": "DingTalk Bot List",
"panel.dingtalk.no_bots": "No DingTalk bots configured.",
"panel.dingtalk.entry.available": "Available",
Expand Down Expand Up @@ -48,7 +45,6 @@ func enDingtalkModule() map[string]string {
"panel.dingtalk.error.config_format": "DingTalk bot config must be: <name> <app_key> <app_secret>",
"panel.dingtalk.error.adapter_required": "DingTalk adapter name is required",
"panel.dingtalk.error.not_configured": "DingTalk bot %q is not configured",
"panel.dingtalk.error.disabled": "DingTalk bot %q is disabled",
"panel.dingtalk.error.not_dingtalk_adapter": "adapter %q is not a DingTalk bot",
"panel.dingtalk.error.not_online": "DingTalk bot %q is not online",
"panel.dingtalk.error.not_online_detail": "DingTalk bot %q is not online: %s",
Expand All @@ -65,10 +61,7 @@ func zhDingtalkModule() map[string]string {
"panel.dingtalk.bound": "已绑定:%d",
"panel.dingtalk.available": "可用:%d",
"panel.dingtalk.none": "(无)",
"panel.dingtalk.default": "(默认)",
"panel.dingtalk.adapter": "机器人:%s",
"panel.dingtalk.target": "目标:%s",
"panel.dingtalk.channel": "渠道:%s",
"panel.dingtalk.bot_list": "钉钉机器人列表",
"panel.dingtalk.no_bots": "没有配置钉钉机器人。",
"panel.dingtalk.entry.available": "可用",
Expand Down Expand Up @@ -101,7 +94,6 @@ func zhDingtalkModule() map[string]string {
"panel.dingtalk.error.config_format": "钉钉配置格式:<名称> <AppKey> <AppSecret>",
"panel.dingtalk.error.adapter_required": "需要钉钉适配器名称",
"panel.dingtalk.error.not_configured": "钉钉机器人 %q 未配置",
"panel.dingtalk.error.disabled": "钉钉机器人 %q 已禁用",
"panel.dingtalk.error.not_dingtalk_adapter": "适配器 %q 不是钉钉机器人",
"panel.dingtalk.error.not_online": "钉钉机器人 %q 未上线",
"panel.dingtalk.error.not_online_detail": "钉钉机器人 %q 未上线:%s",
Expand Down
8 changes: 0 additions & 8 deletions internal/tui/i18n_discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ func enDiscordModule() map[string]string {
"panel.discord.bound": "Bound: %d",
"panel.discord.available": "Available: %d",
"panel.discord.none": "(none)",
"panel.discord.default": "(default)",
"panel.discord.adapter": "Adapter: %s",
"panel.discord.target": "Target: %s",
"panel.discord.channel": "Channel: %s",
"panel.discord.bot_list": "Discord Bot List",
"panel.discord.no_bots": "No Discord bots configured.",
"panel.discord.entry.available": "Available",
Expand Down Expand Up @@ -48,7 +45,6 @@ func enDiscordModule() map[string]string {
"panel.discord.error.config_format": "Discord bot config must be: <name> <bot_token>",
"panel.discord.error.adapter_required": "Discord adapter name is required",
"panel.discord.error.not_configured": "Discord bot %q is not configured",
"panel.discord.error.disabled": "Discord bot %q is disabled",
"panel.discord.error.not_discord_adapter": "adapter %q is not a Discord bot",
"panel.discord.error.not_online": "Discord bot %q is not online",
"panel.discord.error.not_online_detail": "Discord bot %q is not online: %s",
Expand All @@ -65,10 +61,7 @@ func zhDiscordModule() map[string]string {
"panel.discord.bound": "已绑定:%d",
"panel.discord.available": "可用:%d",
"panel.discord.none": "(无)",
"panel.discord.default": "(默认)",
"panel.discord.adapter": "机器人:%s",
"panel.discord.target": "目标:%s",
"panel.discord.channel": "渠道:%s",
"panel.discord.bot_list": "Discord 机器人列表",
"panel.discord.no_bots": "没有配置 Discord 机器人。",
"panel.discord.entry.available": "可用",
Expand Down Expand Up @@ -101,7 +94,6 @@ func zhDiscordModule() map[string]string {
"panel.discord.error.config_format": "Discord 配置格式:<名称> <Bot Token>",
"panel.discord.error.adapter_required": "需要 Discord 适配器名称",
"panel.discord.error.not_configured": "Discord 机器人 %q 未配置",
"panel.discord.error.disabled": "Discord 机器人 %q 已禁用",
"panel.discord.error.not_discord_adapter": "适配器 %q 不是 Discord 机器人",
"panel.discord.error.not_online": "Discord 机器人 %q 未上线",
"panel.discord.error.not_online_detail": "Discord 机器人 %q 未上线:%s",
Expand Down
8 changes: 0 additions & 8 deletions internal/tui/i18n_feishu.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ func enFeishuModule() map[string]string {
"panel.feishu.bound": "Bound: %d",
"panel.feishu.available": "Available: %d",
"panel.feishu.none": "(none)",
"panel.feishu.default": "(default)",
"panel.feishu.adapter": "Adapter: %s",
"panel.feishu.target": "Target: %s",
"panel.feishu.channel": "Channel: %s",
"panel.feishu.bot_list": "Feishu Bot List",
"panel.feishu.no_bots": "No Feishu bots configured.",
"panel.feishu.entry.available": "Available",
Expand Down Expand Up @@ -48,7 +45,6 @@ func enFeishuModule() map[string]string {
"panel.feishu.error.config_format": "Feishu bot config must be: <name> <app_id> <app_secret>",
"panel.feishu.error.adapter_required": "Feishu adapter name is required",
"panel.feishu.error.not_configured": "Feishu bot %q is not configured",
"panel.feishu.error.disabled": "Feishu bot %q is disabled",
"panel.feishu.error.not_feishu_adapter": "adapter %q is not a Feishu bot",
"panel.feishu.error.not_online": "Feishu bot %q is not online",
"panel.feishu.error.not_online_detail": "Feishu bot %q is not online: %s",
Expand All @@ -65,10 +61,7 @@ func zhFeishuModule() map[string]string {
"panel.feishu.bound": "已绑定:%d",
"panel.feishu.available": "可用:%d",
"panel.feishu.none": "(无)",
"panel.feishu.default": "(默认)",
"panel.feishu.adapter": "机器人:%s",
"panel.feishu.target": "目标:%s",
"panel.feishu.channel": "渠道:%s",
"panel.feishu.bot_list": "飞书机器人列表",
"panel.feishu.no_bots": "没有配置飞书机器人。",
"panel.feishu.entry.available": "可用",
Expand Down Expand Up @@ -101,7 +94,6 @@ func zhFeishuModule() map[string]string {
"panel.feishu.error.config_format": "飞书配置格式:<名称> <App ID> <App Secret>",
"panel.feishu.error.adapter_required": "需要飞书适配器名称",
"panel.feishu.error.not_configured": "飞书机器人 %q 未配置",
"panel.feishu.error.disabled": "飞书机器人 %q 已禁用",
"panel.feishu.error.not_feishu_adapter": "适配器 %q 不是飞书机器人",
"panel.feishu.error.not_online": "飞书机器人 %q 未上线",
"panel.feishu.error.not_online_detail": "飞书机器人 %q 未上线:%s",
Expand Down
4 changes: 0 additions & 4 deletions internal/tui/i18n_im.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func init() {
"panel.im.status.disabled": "disabled",
"panel.im.health.healthy": "healthy",
"panel.im.health.unhealthy": "unhealthy",
"panel.im.health.muted": "muted",
"panel.im.health.not_bound": "not bound",
"panel.im.actions": "Actions",
"panel.im.output_mode": "Output Mode",
Expand Down Expand Up @@ -68,7 +67,6 @@ func init() {
"panel.im.edit.empty_value": "Value cannot be empty",
"panel.im.edit.invalid_format": "Invalid format. Use key=value",
"panel.im.edit.enter_field_name": "Enter new field as: key=value",
"panel.im.edit_result.saved": "Updated %s for %s",
"panel.im.instances": "Instances (%d)",
"panel.im.label.active": "✓ active",
"panel.im.label.muted": "⊘ muted",
Expand Down Expand Up @@ -103,7 +101,6 @@ func init() {
"panel.im.status.disabled": "已禁用",
"panel.im.health.healthy": "正常",
"panel.im.health.unhealthy": "异常",
"panel.im.health.muted": "已静音",
"panel.im.health.not_bound": "未绑定",
"panel.im.actions": "操作",
"panel.im.output_mode": "输出模式",
Expand Down Expand Up @@ -142,7 +139,6 @@ func init() {
"panel.im.edit.empty_value": "值不能为空",
"panel.im.edit.invalid_format": "格式无效。请使用 key=value",
"panel.im.edit.enter_field_name": "输入新字段: key=value",
"panel.im.edit_result.saved": "已更新 %s 的 %s",
"panel.im.instances": "实例 (%d)",
"panel.im.label.active": "✓ 活跃",
"panel.im.label.muted": "⊘ 已静音",
Expand Down
8 changes: 0 additions & 8 deletions internal/tui/i18n_irc.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ func enIRCModule() map[string]string {
"panel.irc.bound": "Bound: %d",
"panel.irc.available": "Available: %d",
"panel.irc.none": "(none)",
"panel.irc.default": "(default)",
"panel.irc.adapter": "Adapter: %s",
"panel.irc.target": "Target: %s",
"panel.irc.channel": "Channel: %s",
"panel.irc.bot_list": "IRC Bot List",
"panel.irc.no_bots": "No IRC bots configured.",
"panel.irc.entry.available": "Available",
Expand Down Expand Up @@ -48,7 +45,6 @@ func enIRCModule() map[string]string {
"panel.irc.error.config_format": "IRC bot config must be: <name> <host> <nick> <channels>",
"panel.irc.error.adapter_required": "IRC adapter name is required",
"panel.irc.error.not_configured": "IRC bot %q is not configured",
"panel.irc.error.disabled": "IRC bot %q is disabled",
"panel.irc.error.not_irc_adapter": "adapter %q is not an IRC bot",
"panel.irc.status.not_started": "not started",
"panel.irc.status.unknown": "unknown",
Expand All @@ -63,10 +59,7 @@ func zhIRCModule() map[string]string {
"panel.irc.bound": "已绑定: %d",
"panel.irc.available": "可用: %d",
"panel.irc.none": "(无)",
"panel.irc.default": "(默认)",
"panel.irc.adapter": "适配器: %s",
"panel.irc.target": "目标: %s",
"panel.irc.channel": "频道: %s",
"panel.irc.bot_list": "IRC 机器人列表",
"panel.irc.no_bots": "未配置 IRC 机器人。",
"panel.irc.entry.available": "可用",
Expand Down Expand Up @@ -99,7 +92,6 @@ func zhIRCModule() map[string]string {
"panel.irc.error.config_format": "IRC 机器人配置格式: <名称> <主机> <昵称> <频道>",
"panel.irc.error.adapter_required": "需要 IRC 适配器名称",
"panel.irc.error.not_configured": "IRC 机器人 %q 未配置",
"panel.irc.error.disabled": "IRC 机器人 %q 已禁用",
"panel.irc.error.not_irc_adapter": "适配器 %q 不是 IRC 机器人",
"panel.irc.status.not_started": "未启动",
"panel.irc.status.unknown": "未知",
Expand Down
Loading
Loading