mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 12:52:11 +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": "Chyba: {message}",
|
|
"serverOffline": "Server OmniRoute je offline. Spusťte: omniroute serve",
|
|
"authRequired": "Vyžaduje se ověření. Nastavte OMNIROUTE_API_KEY nebo spusťte: omniroute setup",
|
|
"rateLimited": "Překročen limit požadavků. Zkuste za {seconds}s.",
|
|
"timeout": "Požadavek vypršel po {ms}ms.",
|
|
"success": "Hotovo.",
|
|
"yes": "ano",
|
|
"no": "ne",
|
|
"confirm": "Jste si jisti? (ano/ne)",
|
|
"dryRun": "[simulace] by provedlo: {action}",
|
|
"cancelled": "Zrušeno.",
|
|
"jsonOpt": "Výstup jako JSON",
|
|
"yesOpt": "Přeskočit potvrzení"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Chytrý AI router s automatickým přepínáním",
|
|
"version": "Vypsat verzi a skončit",
|
|
"output": "Formát výstupu (table, json, jsonl, csv)",
|
|
"quiet": "Potlačit nepodstatný výstup",
|
|
"no_color": "Zakázat barevný výstup",
|
|
"timeout": "Časový limit HTTP požadavků v milisekundách",
|
|
"api_key": "API klíč pro server OmniRoute",
|
|
"base_url": "Základní URL serveru OmniRoute",
|
|
"context": "Kontext/profil serveru pro tento příkaz",
|
|
"lang": "Nastavit jazyk CLI (přepisuje OMNIROUTE_LANG)"
|
|
}
|
|
}
|