mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 04:42:10 +03:00
feat(cli): suporte i18n completo — 42 locales, --lang flag, config lang get/set/list - 42 locale files in bin/cli/locales/ (en + pt-BR fully translated, 29 with common/program, 11 scaffolds) - --lang <code> global flag for per-execution override - config lang get/set/list subcommands - Locale persistence via ~/.omniroute/.env - Path traversal protection via regex validation in normalize() - Script generate-locales.mjs for scaffolding new locales - Unit tests for lang commands + normalization security Integrated into release/v3.8.0
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"common": {
|
|
"error": "Errore: {message}",
|
|
"serverOffline": "Il server OmniRoute è offline. Avviarlo con: omniroute serve",
|
|
"authRequired": "Autenticazione richiesta. Impostare OMNIROUTE_API_KEY o eseguire: omniroute setup",
|
|
"rateLimited": "Limite di richieste superato. Riprovare tra {seconds}s.",
|
|
"timeout": "La richiesta è scaduta dopo {ms}ms.",
|
|
"success": "Completato.",
|
|
"yes": "sì",
|
|
"no": "no",
|
|
"confirm": "Sei sicuro? (sì/no)",
|
|
"dryRun": "[simulazione] eseguirebbe: {action}",
|
|
"cancelled": "Annullato.",
|
|
"jsonOpt": "Output come JSON",
|
|
"yesOpt": "Salta la conferma"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Router AI intelligente con fallback automatico",
|
|
"version": "Stampa la versione ed esci",
|
|
"output": "Formato di output (table, json, jsonl, csv)",
|
|
"quiet": "Sopprimi l'output non essenziale",
|
|
"no_color": "Disabilita l'output colorato",
|
|
"timeout": "Timeout delle richieste HTTP in millisecondi",
|
|
"api_key": "Chiave API per il server OmniRoute",
|
|
"base_url": "URL base del server OmniRoute",
|
|
"context": "Contesto/profilo del server per questo comando",
|
|
"lang": "Imposta la lingua di visualizzazione della CLI (sovrascrive OMNIROUTE_LANG)"
|
|
}
|
|
}
|