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": "Fehler: {message}",
|
|
"serverOffline": "OmniRoute-Server ist offline. Starten mit: omniroute serve",
|
|
"authRequired": "Authentifizierung erforderlich. OMNIROUTE_API_KEY setzen oder ausführen: omniroute setup",
|
|
"rateLimited": "Anfragelimit überschritten. Erneut versuchen in {seconds}s.",
|
|
"timeout": "Anfrage-Timeout nach {ms}ms.",
|
|
"success": "Fertig.",
|
|
"yes": "ja",
|
|
"no": "nein",
|
|
"confirm": "Sind Sie sicher? (ja/nein)",
|
|
"dryRun": "[Simulation] würde: {action}",
|
|
"cancelled": "Abgebrochen.",
|
|
"jsonOpt": "Ausgabe als JSON",
|
|
"yesOpt": "Bestätigung überspringen"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Intelligenter AI-Router mit automatischem Fallback",
|
|
"version": "Version ausgeben und beenden",
|
|
"output": "Ausgabeformat (table, json, jsonl, csv)",
|
|
"quiet": "Unwesentliche Ausgabe unterdrücken",
|
|
"no_color": "Farbige Ausgabe deaktivieren",
|
|
"timeout": "HTTP-Anfrage-Timeout in Millisekunden",
|
|
"api_key": "API-Schlüssel für den OmniRoute-Server",
|
|
"base_url": "OmniRoute-Server-Basis-URL",
|
|
"context": "Server-Kontext/Profil für diesen Befehl",
|
|
"lang": "CLI-Anzeigesprache festlegen (überschreibt OMNIROUTE_LANG)"
|
|
}
|
|
}
|