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
14 changes: 0 additions & 14 deletions internal/tui/i18n_de.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,6 @@ func deCatalog(key string) string {
return "Sitzungsspeicher nicht konfiguriert.\n\n"
case "session.none":
return "Keine Sitzungen gefunden.\n\n"
case "session.list.title":
return "Sitzungen:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\n/resume <id> verwenden, um eine Sitzung fortzusetzen\n\n"
case "session.new":
return "Neue Sitzung: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -652,12 +646,6 @@ func deCatalog(key string) string {
return " %s %d Bearb. zuletzt: %s%s\n"
case "files.hint":
return "\n/undo verwenden, um die letzte Bearbeitung rückgängig zu machen, /checkpoints für Details.\n\n"
case "checkpoint.list.title":
return "Checkpoints (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "\n/undo verwenden, um die letzte rückgängig zu machen.\n\n"

// --- Memory ---
case "memory.auto_unavailable":
Expand Down Expand Up @@ -966,8 +954,6 @@ func deCatalog(key string) string {
// --- QQ panel ---
case "panel.qq.directory":
return "Verzeichnis"
case "panel.qq.runtime":
return "Laufzeit"
case "panel.qq.bots":
return "QQ-Bots"
case "panel.qq.created":
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 @@ -7,7 +7,6 @@ func init() {
func enDingtalkModule() map[string]string {
return map[string]string{
"panel.dingtalk.directory": "Directory",
"panel.dingtalk.runtime": "Runtime",
"panel.dingtalk.bots": "DingTalk Bots",
"panel.dingtalk.created": "Created: %d",
"panel.dingtalk.bound": "Bound: %d",
Expand Down Expand Up @@ -53,9 +52,6 @@ func enDingtalkModule() map[string]string {
"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",
"panel.dingtalk.runtime.available": "available",
"panel.dingtalk.runtime.disabled": "disabled (set im.enabled: true and restart ggcode)",
"panel.dingtalk.runtime.not_started": "not started (restart ggcode to initialize IM runtime)",
"panel.dingtalk.status.not_started": "not started",
"panel.dingtalk.status.unknown": "unknown",
}
Expand All @@ -64,7 +60,6 @@ func enDingtalkModule() map[string]string {
func zhDingtalkModule() map[string]string {
return map[string]string{
"panel.dingtalk.directory": "目录",
"panel.dingtalk.runtime": "运行时",
"panel.dingtalk.bots": "钉钉机器人",
"panel.dingtalk.created": "已创建:%d",
"panel.dingtalk.bound": "已绑定:%d",
Expand Down Expand Up @@ -110,9 +105,6 @@ func zhDingtalkModule() map[string]string {
"panel.dingtalk.error.not_dingtalk_adapter": "适配器 %q 不是钉钉机器人",
"panel.dingtalk.error.not_online": "钉钉机器人 %q 未上线",
"panel.dingtalk.error.not_online_detail": "钉钉机器人 %q 未上线:%s",
"panel.dingtalk.runtime.available": "可用",
"panel.dingtalk.runtime.disabled": "已禁用(设置 im.enabled: true 并重启 ggcode)",
"panel.dingtalk.runtime.not_started": "未启动(重启 ggcode 以初始化 IM 运行时)",
"panel.dingtalk.status.not_started": "未启动",
"panel.dingtalk.status.unknown": "未知",
}
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 @@ -7,7 +7,6 @@ func init() {
func enDiscordModule() map[string]string {
return map[string]string{
"panel.discord.directory": "Directory",
"panel.discord.runtime": "Runtime",
"panel.discord.bots": "Discord Bots",
"panel.discord.created": "Created: %d",
"panel.discord.bound": "Bound: %d",
Expand Down Expand Up @@ -53,9 +52,6 @@ func enDiscordModule() map[string]string {
"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",
"panel.discord.runtime.available": "available",
"panel.discord.runtime.disabled": "disabled (set im.enabled: true and restart ggcode)",
"panel.discord.runtime.not_started": "not started (restart ggcode to initialize IM runtime)",
"panel.discord.status.not_started": "not started",
"panel.discord.status.unknown": "unknown",
}
Expand All @@ -64,7 +60,6 @@ func enDiscordModule() map[string]string {
func zhDiscordModule() map[string]string {
return map[string]string{
"panel.discord.directory": "目录",
"panel.discord.runtime": "运行时",
"panel.discord.bots": "Discord 机器人",
"panel.discord.created": "已创建:%d",
"panel.discord.bound": "已绑定:%d",
Expand Down Expand Up @@ -110,9 +105,6 @@ func zhDiscordModule() map[string]string {
"panel.discord.error.not_discord_adapter": "适配器 %q 不是 Discord 机器人",
"panel.discord.error.not_online": "Discord 机器人 %q 未上线",
"panel.discord.error.not_online_detail": "Discord 机器人 %q 未上线:%s",
"panel.discord.runtime.available": "可用",
"panel.discord.runtime.disabled": "已禁用(设置 im.enabled: true 并重启 ggcode)",
"panel.discord.runtime.not_started": "未启动(重启 ggcode 以初始化 IM 运行时)",
"panel.discord.status.not_started": "未启动",
"panel.discord.status.unknown": "未知",
}
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_en.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,12 +621,6 @@ func enCatalog(key string) string {
return "Session store not configured.\n\n"
case "session.none":
return "No sessions found.\n\n"
case "session.list.title":
return "Sessions:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\nUse /resume <id> to continue a session\n\n"
case "session.new":
return "New session: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -679,12 +673,6 @@ func enCatalog(key string) string {
return " %s %d edits last: %s%s\n"
case "files.hint":
return "\nUse /undo to revert the most recent edit, /redo to re-apply, /checkpoints for details.\n\n"
case "checkpoint.list.title":
return "Checkpoints (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "\nUse /undo to revert the most recent, /redo to re-apply.\n\n"
case "memory.auto_unavailable":
return "Auto memory not initialized.\n\n"
case "traj.no_workspace":
Expand Down Expand Up @@ -1093,8 +1081,6 @@ func enCatalog(key string) string {
return "Open unified IM channels panel"
case "panel.qq.directory":
return "Directory"
case "panel.qq.runtime":
return "Runtime"
case "panel.qq.bots":
return "QQ Bots"
case "panel.qq.created":
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_es.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,6 @@ func esCatalog(key string) string {
return "Almacen de sesiónes no configurado.\n\n"
case "session.none":
return "No se encontraron sesiónes.\n\n"
case "session.list.title":
return "Sesiónes:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\nUse /resume <id> para continúar una sesión\n\n"
case "session.new":
return "Nueva sesión: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -592,12 +586,6 @@ func esCatalog(key string) string {
return " %s %d ediciónes último: %s%s\n"
case "files.hint":
return "\nUse /undo para revertir la edición más reciente, /checkpoints para detalles.\n\n"
case "checkpoint.list.title":
return "Checkpoints (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "\nUse /undo para revertir el más reciente.\n\n"
case "memory.auto_unavailable":
return "Memoria automatica no inicializada.\n\n"
case "memory.list_failed":
Expand Down Expand Up @@ -882,8 +870,6 @@ func esCatalog(key string) string {
return "Abrir panel unificado de canales IM"
case "panel.qq.directory":
return "Directorio"
case "panel.qq.runtime":
return "Runtime"
case "panel.qq.bots":
return "Bots QQ"
case "panel.qq.created":
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 @@ -7,7 +7,6 @@ func init() {
func enFeishuModule() map[string]string {
return map[string]string{
"panel.feishu.directory": "Directory",
"panel.feishu.runtime": "Runtime",
"panel.feishu.bots": "Feishu Bots",
"panel.feishu.created": "Created: %d",
"panel.feishu.bound": "Bound: %d",
Expand Down Expand Up @@ -53,9 +52,6 @@ func enFeishuModule() map[string]string {
"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",
"panel.feishu.runtime.available": "available",
"panel.feishu.runtime.disabled": "disabled (set im.enabled: true and restart ggcode)",
"panel.feishu.runtime.not_started": "not started (restart ggcode to initialize IM runtime)",
"panel.feishu.status.not_started": "not started",
"panel.feishu.status.unknown": "unknown",
}
Expand All @@ -64,7 +60,6 @@ func enFeishuModule() map[string]string {
func zhFeishuModule() map[string]string {
return map[string]string{
"panel.feishu.directory": "目录",
"panel.feishu.runtime": "运行时",
"panel.feishu.bots": "飞书机器人",
"panel.feishu.created": "已创建:%d",
"panel.feishu.bound": "已绑定:%d",
Expand Down Expand Up @@ -110,9 +105,6 @@ func zhFeishuModule() map[string]string {
"panel.feishu.error.not_feishu_adapter": "适配器 %q 不是飞书机器人",
"panel.feishu.error.not_online": "飞书机器人 %q 未上线",
"panel.feishu.error.not_online_detail": "飞书机器人 %q 未上线:%s",
"panel.feishu.runtime.available": "可用",
"panel.feishu.runtime.disabled": "已禁用(设置 im.enabled: true 并重启 ggcode)",
"panel.feishu.runtime.not_started": "未启动(重启 ggcode 以初始化 IM 运行时)",
"panel.feishu.status.not_started": "未启动",
"panel.feishu.status.unknown": "未知",
}
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_fr.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,12 +554,6 @@ func frCatalog(key string) string {
return "Stockâge de sessions non configuré.\n\n"
case "session.none":
return "Aucune session trouvée.\n\n"
case "session.list.title":
return "Sessions:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\nUtilisez /resume <id> pour reprendre une session\n\n"
case "session.new":
return "Nouvelle session: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -592,12 +586,6 @@ func frCatalog(key string) string {
return " %s %d éditions dernier: %s%s\n"
case "files.hint":
return "\nUtilisez /undo pour annulér l'édition la plus récente, /checkpoints pour les détails.\n\n"
case "checkpoint.list.title":
return "Checkpoints (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "\nUtilisez /undo pour annulér le plus récent.\n\n"
case "memory.auto_unavailable":
return "Mémoire automatique non initialisée.\n\n"
case "memory.list_failed":
Expand Down Expand Up @@ -882,8 +870,6 @@ func frCatalog(key string) string {
return "Ouvrir le panneau unifie des canaux IM"
case "panel.qq.directory":
return "Répertoire"
case "panel.qq.runtime":
return "Runtime"
case "panel.qq.bots":
return "Bots QQ"
case "panel.qq.created":
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_ja.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,12 +597,6 @@ func jaCatalog(key string) string {
return "セッションストアが設定されていません。\n\n"
case "session.none":
return "セッションが見つかりません。\n\n"
case "session.list.title":
return "セッション一覧:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\n/resume <ID> でセッションを再開できます\n\n"
case "session.new":
return "新しいセッション: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -637,12 +631,6 @@ func jaCatalog(key string) string {
return " %s %d 回編集 最終: %s%s\n"
case "files.hint":
return "ファイルを選択"
case "checkpoint.list.title":
return "チェックポイント (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "チェックポイントを選択してロールバック (Esc でキャンセル)"
case "memory.auto_unavailable":
return "自動メモリが初期化されていません。\n\n"
case "memory.list_failed":
Expand Down Expand Up @@ -927,8 +915,6 @@ func jaCatalog(key string) string {
return "IMアダプタを管理"
case "panel.qq.directory":
return "ディレクトリ"
case "panel.qq.runtime":
return "ランタイム"
case "panel.qq.bots":
return "QQボット"
case "panel.qq.created":
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_ko.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,6 @@ func koCatalog(key string) string {
return "세션 저장소가 구성되지 않았습니다.\n\n"
case "session.none":
return "세션을 찾을 수 없습니다.\n\n"
case "session.list.title":
return "세션:\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list.hint":
return "\n/resume <id>로 세션을 계속하세요\n\n"
case "session.new":
return "새 세션: %s\n\n"
case "session.resume":
Expand Down Expand Up @@ -596,12 +590,6 @@ func koCatalog(key string) string {
return " %s %d회 편집 마지막: %s%s\n"
case "files.hint":
return "파일 선택"
case "checkpoint.list.title":
return "체크포인트 (%d):\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.hint":
return "\n/undo로 가장 최근 항목을 되돌리세요\n\n"
case "memory.auto_unavailable":
return "자동 메모리가 초기화되지 않았습니다.\n\n"
case "memory.list_failed":
Expand Down Expand Up @@ -888,8 +876,6 @@ func koCatalog(key string) string {
return "IM 어댑터 관리"
case "panel.qq.directory":
return "디렉토리"
case "panel.qq.runtime":
return "런타임"
case "panel.qq.bots":
return "QQ 봇"
case "panel.qq.created":
Expand Down
6 changes: 0 additions & 6 deletions internal/tui/i18n_pc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ func init() {

func enPCModule() map[string]string {
return map[string]string{
"panel.pc.runtime": "Runtime",
"panel.pc.runtime.available": "available",
"panel.pc.runtime.not_configured": "not configured (add a PrivateClaw adapter to im.adapters and restart ggcode)",
// #1731: the connection status used to be hardcoded English - the
// catalog shipped in the same commit as the panel but was never wired.
"panel.pc.status.starting": "starting...",
Expand All @@ -22,9 +19,6 @@ func enPCModule() map[string]string {

func zhPCModule() map[string]string {
return map[string]string{
"panel.pc.runtime": "运行时",
"panel.pc.runtime.available": "可用",
"panel.pc.runtime.not_configured": "未配置(在 im.adapters 中添加 PrivateClaw 适配器并重启 ggcode)",
"panel.pc.status.starting": "启动中...",
"panel.pc.status.connected_none": "已连接(无会话)",
"panel.pc.status.connected_sessions": "已连接(%d 个会话)",
Expand Down
14 changes: 0 additions & 14 deletions internal/tui/i18n_pt.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ func ptCatalog(key string) string {
return "sem título"
case "session.none":
return "Nenhuma sessão encontrada."
case "session.list.title":
return "Sessões:"
case "session.list.hint":
return "\nUse /resume <id> para continuar uma sessão"
case "session.new":
return "Nova sessão: %s"
case "session.resume":
Expand Down Expand Up @@ -287,12 +283,6 @@ func ptCatalog(key string) string {
return "Pressione Ctrl-C ou Esc novamente para cancelar o agente em execução.\n\n"

// ── Checkpoint ────────────────────────────────────────────────
case "checkpoint.list.hint":
return "\nUse /undo para reverter o mais recente.\n\n"
case "checkpoint.list.item":
return " %d. %s %s %s %s\n"
case "checkpoint.list.title":
return "Checkpoints (%d):\n\n"
case "checkpoint.undo_failed":
return "Desfazer falhou: %v\n\n"

Expand Down Expand Up @@ -675,8 +665,6 @@ func ptCatalog(key string) string {
return "efêmera"
case "session.export_failed":
return "Erro ao exportar sessão: %v\n\n"
case "session.list.item":
return " %d. %s %s (%s)\n"
case "session.list_failed":
return "Erro ao listar sessões: %v\n\n"
case "session.resume_fallback":
Expand Down Expand Up @@ -1203,8 +1191,6 @@ func ptCatalog(key string) string {
return "Ocupado por: %s"
case "panel.qq.qr_code":
return "QR Code:"
case "panel.qq.runtime":
return "Runtime"
case "panel.qq.runtime.available":
return "disponível"
case "panel.qq.runtime.disabled":
Expand Down
2 changes: 0 additions & 2 deletions internal/tui/i18n_qq.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ func init() {
func enQQModule() map[string]string {
return map[string]string{
"panel.qq.directory": "Directory",
"panel.qq.runtime": "Runtime",
"panel.qq.bots": "QQ Bots",
"panel.qq.created": "Created: %d",
"panel.qq.bound": "Bound: %d",
Expand Down Expand Up @@ -67,7 +66,6 @@ func enQQModule() map[string]string {
func zhQQModule() map[string]string {
return map[string]string{
"panel.qq.directory": "目录",
"panel.qq.runtime": "运行时",
"panel.qq.bots": "QQ 机器人",
"panel.qq.created": "已创建:%d",
"panel.qq.bound": "已绑定:%d",
Expand Down
Loading
Loading