Skip to content
Open
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
36 changes: 0 additions & 36 deletions internal/tui/i18n_de.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,12 @@ func deCatalog(key string) string {
return "inaktiv"

// --- Panel ---
case "panel.conversation":
return "Unterhaltung"
case "panel.composer":
return "Eingabe"
case "panel.composer_locked":
return "Eingabe gesperrt"
case "panel.commands":
return "Befehle:"
case "panel.files":
return "Dateien:"
case "panel.agent_status":
return "Agent-Status"
case "panel.mode_policy":
return "Modus-Richtlinie"
case "panel.session_usage":
return "Sitzungsnutzung"
case "panel.metrics":
return "Metriken"
case "panel.context":
return "Kontext"
case "panel.im":
return "IM"
case "panel.usage":
Expand Down Expand Up @@ -85,8 +71,6 @@ func deCatalog(key string) string {
return "Tools für %s unverändert (%d Tools)."
case "panel.mcp.refreshed":
return "%s aktualisiert: %d Tools."
case "panel.startup":
return "Initialisierung"
case "panel.approval_required":
return "Genehmigung erforderlich"
case "panel.bypass_approval":
Expand Down Expand Up @@ -406,8 +390,6 @@ func deCatalog(key string) string {
return "Auth"
case "panel.provider.env_var":
return "Env-Var"
case "panel.provider.api_key":
return "API-Schlüssel"
case "panel.provider.api_key.missing":
return "fehlt"
case "panel.provider.api_key.configured":
Expand Down Expand Up @@ -556,10 +538,6 @@ func deCatalog(key string) string {
return "/help für verfügbare Befehle eingeben\n\n"
case "command.usage.allow":
return "Verwendung: /allow <werkzeugname>\n\n"
case "command.usage.resume":
return "Verwendung: /resume <sitzungs-id>\n\n"
case "command.usage.export":
return "Verwendung: /export <sitzungs-id>\n\n"

// --- Init ---
case "init.resolve_failed":
Expand Down Expand Up @@ -598,8 +576,6 @@ func deCatalog(key string) string {
return "✓ %s ist jetzt immer erlaubt\n\n"
case "command.custom":
return "Benutzerdefinierter Befehl /%s:\n"
case "command.mention_error":
return "Erwähnungserweiterungsfehler: %v"

// --- Sessions ---
case "session.list_failed":
Expand Down Expand Up @@ -776,8 +752,6 @@ func deCatalog(key string) string {
return "Update wird vorbereitet"
case "update.failed":
return "Update fehlgeschlagen: %v\n\n"
case "update.restart_failed":
return "Update vorbereitet, aber Neustart fehlgeschlagen: %v\n\n"
case "update.pm_hint.brew":
return "Update installiert. Hinweis: ggcode wurde über Homebrew installiert.\nFühren Sie `brew upgrade ggcode` aus, um Homebrew synchron zu halten.\n\n"
case "update.pm_hint.scoop":
Expand Down Expand Up @@ -978,8 +952,6 @@ func deCatalog(key string) string {
return "Keine QQ-Bots konfiguriert."
case "panel.qq.entry.available":
return "Verfügbar"
case "panel.qq.entry.bound":
return "Gebunden"
case "panel.qq.entry.active":
return "Aktiv"
case "panel.qq.entry.bound_other":
Expand Down Expand Up @@ -1018,14 +990,6 @@ func deCatalog(key string) string {
return "Enter Bot erstellen • Esc abbrechen"
case "panel.qq.actions_hint":
return "j/k bewegen • d deaktivieren/aktivieren • Enter oder b Bot binden • c Kanal binden • x Kanal lösen • u Bot lösen • i Bot erstellen • e Konfig bearbeiten • q QR zeigen • Esc schließen"
case "panel.qq.bind_channel":
return "Kanal binden"
case "panel.qq.scan_hint":
return "QR-Code scannen, Bot hinzufügen, dann eine Nachricht senden, um das Pairing zu starten."
case "panel.qq.qr_code":
return "QR-Code:"
case "panel.qq.share_link":
return "Freigabe-Link:"
case "panel.qq.message.no_bot":
return "Kein QQ-Bot verfügbar."
case "panel.qq.message.bound_success":
Expand Down
36 changes: 0 additions & 36 deletions internal/tui/i18n_en.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,12 @@ func enCatalog(key string) string {
return "⏰ Cron job triggered"
case "activity.idle":
return "idle"
case "panel.conversation":
return "Conversation"
case "panel.composer":
return "Composer"
case "panel.composer_locked":
return "Composer locked"
case "panel.commands":
return "Commands:"
case "panel.files":
return "Files:"
case "panel.agent_status":
return "Agent status"
case "panel.mode_policy":
return "Mode policy"
case "panel.session_usage":
return "Session usage"
case "panel.metrics":
return "Metrics"
case "panel.context":
return "Context"
case "panel.im":
return "IM"
case "panel.usage":
Expand Down Expand Up @@ -80,8 +66,6 @@ func enCatalog(key string) string {
return "Tools unchanged for %s (%d tools)."
case "panel.mcp.refreshed":
return "Refreshed %s: %d tools."
case "panel.startup":
return "Initializing"
case "panel.approval_required":
return "Approval required"
case "panel.bypass_approval":
Expand Down Expand Up @@ -381,8 +365,6 @@ func enCatalog(key string) string {
return "Auth"
case "panel.provider.env_var":
return "Env var"
case "panel.provider.api_key":
return "API key"
case "panel.provider.api_key.missing":
return "missing"
case "panel.provider.api_key.configured":
Expand Down Expand Up @@ -573,10 +555,6 @@ func enCatalog(key string) string {
return "Type /help for available commands\n\n"
case "command.usage.allow":
return "Usage: /allow <tool-name>\n\n"
case "command.usage.resume":
return "Usage: /resume <session-id>\n\n"
case "command.usage.export":
return "Usage: /export <session-id>\n\n"
case "init.resolve_failed":
return "Failed to resolve init target: %v\n\n"
case "init.generate_failed":
Expand Down Expand Up @@ -611,8 +589,6 @@ func enCatalog(key string) string {
return "✓ %s is now always allowed\n\n"
case "command.custom":
return "Custom command /%s:\n"
case "command.mention_error":
return "Mention expansion error: %v"
case "session.list_failed":
return "Error listing sessions: %v\n\n"
case "session.untitled":
Expand Down Expand Up @@ -845,8 +821,6 @@ func enCatalog(key string) string {
return "Preparing update"
case "update.failed":
return "Update failed: %v\n\n"
case "update.restart_failed":
return "Update prepared, but restart failed: %v\n\n"
case "update.pm_hint.brew":
return "Update installed. Note: ggcode was installed via Homebrew.\nRun `brew upgrade ggcode` to keep Homebrew in sync.\n\n"
case "update.pm_hint.scoop":
Expand Down Expand Up @@ -1105,8 +1079,6 @@ func enCatalog(key string) string {
return "No QQ bots configured."
case "panel.qq.entry.available":
return "Available"
case "panel.qq.entry.bound":
return "Bound"
case "panel.qq.entry.active":
return "Active"
case "panel.qq.entry.bound_other":
Expand Down Expand Up @@ -1143,14 +1115,6 @@ func enCatalog(key string) string {
return "Enter create bot • Esc cancel"
case "panel.qq.actions_hint":
return "j/k move • d disable/enable • Enter or b bind bot • c bind channel • x unbind channel • u unbind bot • i create bot • e edit config • q show QR • Esc close"
case "panel.qq.bind_channel":
return "Bind Channel"
case "panel.qq.scan_hint":
return "Scan the QR code, add the bot, then send a message to start pairing."
case "panel.qq.qr_code":
return "QR Code:"
case "panel.qq.share_link":
return "Share Link:"
case "panel.qq.message.no_bot":
return "No QQ bot available."
case "panel.qq.message.bound_success":
Expand Down
36 changes: 0 additions & 36 deletions internal/tui/i18n_es.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,12 @@ func esCatalog(key string) string {
return "⏰ tarea cron activada"
case "activity.idle":
return "inactivo"
case "panel.conversation":
return "Conversación"
case "panel.composer":
return "Editor"
case "panel.composer_locked":
return "Editor bloqueado"
case "panel.commands":
return "Comandos:"
case "panel.files":
return "Archivos:"
case "panel.agent_status":
return "Estado del agente"
case "panel.mode_policy":
return "Política de modo"
case "panel.session_usage":
return "Uso de sesión"
case "panel.metrics":
return "Métricas"
case "panel.context":
return "Contexto"
case "panel.im":
return "IM"
case "panel.usage":
Expand Down Expand Up @@ -80,8 +66,6 @@ func esCatalog(key string) string {
return "Herramientas de %s sin cambios (%d herramientas)."
case "panel.mcp.refreshed":
return "%s actualizado: %d herramientas."
case "panel.startup":
return "Inicializando"
case "panel.approval_required":
return "Aprobación requerida"
case "panel.bypass_approval":
Expand Down Expand Up @@ -368,8 +352,6 @@ func esCatalog(key string) string {
return "Auth"
case "panel.provider.env_var":
return "Variable de entorno"
case "panel.provider.api_key":
return "API key"
case "panel.provider.api_key.missing":
return "faltante"
case "panel.provider.api_key.configured":
Expand Down Expand Up @@ -506,10 +488,6 @@ func esCatalog(key string) string {
return "Escriba /help para ver los comandos disponibles\n\n"
case "command.usage.allow":
return "Uso: /allow <nombre-herramienta>\n\n"
case "command.usage.resume":
return "Uso: /resume <id-sesión>\n\n"
case "command.usage.export":
return "Uso: /export <id-sesión>\n\n"
case "init.resolve_failed":
return "Error al resolver el objetivo de init: %v\n\n"
case "init.generate_failed":
Expand Down Expand Up @@ -544,8 +522,6 @@ func esCatalog(key string) string {
return "✓ %s ahora siempre permitido\n\n"
case "command.custom":
return "Comando personalizado /%s:\n"
case "command.mention_error":
return "Error de mención: %v"
case "session.list_failed":
return "Error al listar sesiónes: %v\n\n"
case "session.untitled":
Expand Down Expand Up @@ -704,8 +680,6 @@ func esCatalog(key string) string {
return "Preparando actualización"
case "update.failed":
return "Actualización fallida: %v\n\n"
case "update.restart_failed":
return "Actualización preparada, pero error al reiniciar: %v\n\n"
case "update.pm_hint.brew":
return "Actualización instalada. Nota: ggcode fue instalado via Homebrew.\nEjecute `brew upgrade ggcode` para mantener Homebrew sincronizado.\n\n"
case "update.pm_hint.scoop":
Expand Down Expand Up @@ -894,8 +868,6 @@ func esCatalog(key string) string {
return "Sin bots QQ configurados."
case "panel.qq.entry.available":
return "Disponible"
case "panel.qq.entry.bound":
return "Vinculado"
case "panel.qq.entry.active":
return "Activo"
case "panel.qq.entry.bound_other":
Expand Down Expand Up @@ -934,14 +906,6 @@ func esCatalog(key string) string {
return "Enter crear bot • Esc cancelar"
case "panel.qq.actions_hint":
return "j/k mover • d desactivar/activar • Enter o b vincular bot • c vincular canal • x desvincular canal • u desvincular bot • i crear bot • e editar config • q mostrar QR • Esc cerrar"
case "panel.qq.bind_channel":
return "Vincular Canal"
case "panel.qq.scan_hint":
return "Escanee el código QR, agregue el bot, luego envie un mensaje para iniciar la vinculación."
case "panel.qq.qr_code":
return "Código QR:"
case "panel.qq.share_link":
return "Enlace de Compartir:"
case "panel.qq.message.no_bot":
return "Sin bot QQ disponible."
case "panel.qq.message.bound_success":
Expand Down
36 changes: 0 additions & 36 deletions internal/tui/i18n_fr.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,12 @@ func frCatalog(key string) string {
return "⏰ Tâche cron déclenchée"
case "activity.idle":
return "inactif"
case "panel.conversation":
return "Conversation"
case "panel.composer":
return "Éditeur"
case "panel.composer_locked":
return "Éditeur verrouillé"
case "panel.commands":
return "Commandes:"
case "panel.files":
return "Fichiers:"
case "panel.agent_status":
return "Statut de l'agent"
case "panel.mode_policy":
return "Politique de mode"
case "panel.session_usage":
return "Utilisation session"
case "panel.metrics":
return "Métriques"
case "panel.context":
return "Contexte"
case "panel.im":
return "IM"
case "panel.usage":
Expand Down Expand Up @@ -80,8 +66,6 @@ func frCatalog(key string) string {
return "Outils de %s inchangés (%d outils)."
case "panel.mcp.refreshed":
return "%s actualisé : %d outils."
case "panel.startup":
return "Initialisation"
case "panel.approval_required":
return "Approbation requise"
case "panel.bypass_approval":
Expand Down Expand Up @@ -368,8 +352,6 @@ func frCatalog(key string) string {
return "Auth"
case "panel.provider.env_var":
return "Variable d'environnement"
case "panel.provider.api_key":
return "API key"
case "panel.provider.api_key.missing":
return "manquant"
case "panel.provider.api_key.configured":
Expand Down Expand Up @@ -506,10 +488,6 @@ func frCatalog(key string) string {
return "Saisissez /help pour voir les commandes disponibles\n\n"
case "command.usage.allow":
return "Usâge: /allow <nom-outil>\n\n"
case "command.usage.resume":
return "Usâge: /resume <id-session>\n\n"
case "command.usage.export":
return "Usâge: /export <id-session>\n\n"
case "init.resolve_failed":
return "Erreur de resolution de la cible d'init: %v\n\n"
case "init.generate_failed":
Expand Down Expand Up @@ -544,8 +522,6 @@ func frCatalog(key string) string {
return "✓ %s désormais toujours autorisé\n\n"
case "command.custom":
return "Commande personnalisée /%s:\n"
case "command.mention_error":
return "Erreur de mention: %v"
case "session.list_failed":
return "Erreur lors du listâge des sessions: %v\n\n"
case "session.untitled":
Expand Down Expand Up @@ -704,8 +680,6 @@ func frCatalog(key string) string {
return "Préparation de la mise à jour"
case "update.failed":
return "Mise à jour échouée: %v\n\n"
case "update.restart_failed":
return "Mise à jour préparée, mais erreur de redémarrage: %v\n\n"
case "update.pm_hint.brew":
return "Mise à jour installée. Note : ggcode a été installé via Homebrew.\nExécutez `brew upgrade ggcode` pour garder Homebrew synchronisé.\n\n"
case "update.pm_hint.scoop":
Expand Down Expand Up @@ -894,8 +868,6 @@ func frCatalog(key string) string {
return "Aucun bot QQ configuré."
case "panel.qq.entry.available":
return "Disponible"
case "panel.qq.entry.bound":
return "Lie"
case "panel.qq.entry.active":
return "Actif"
case "panel.qq.entry.bound_other":
Expand Down Expand Up @@ -934,14 +906,6 @@ func frCatalog(key string) string {
return "Enter créer bot • Esc annulér"
case "panel.qq.actions_hint":
return "j/k déplacer • d désactiver/activer • Enter ou b lier bot • c lier canal • x délier canal • u délier bot • i créer bot • e modifier config • q afficher QR • Esc fermér"
case "panel.qq.bind_channel":
return "Lier Canal"
case "panel.qq.scan_hint":
return "Scannez le code QR, ajoutéz le bot, puis envoyéz un messâge pour démarrer la liaison."
case "panel.qq.qr_code":
return "Code QR:"
case "panel.qq.share_link":
return "Lien de Partâge:"
case "panel.qq.message.no_bot":
return "Aucun bot QQ disponible."
case "panel.qq.message.bound_success":
Expand Down
Loading
Loading