mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +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": "Fel: {message}",
|
|
"serverOffline": "OmniRoute-servern är offline. Starta med: omniroute serve",
|
|
"authRequired": "Autentisering krävs. Ange OMNIROUTE_API_KEY eller kör: omniroute setup",
|
|
"rateLimited": "Begäransgräns nådd. Försök igen om {seconds}s.",
|
|
"timeout": "Begäran tog slut efter {ms}ms.",
|
|
"success": "Klar.",
|
|
"yes": "ja",
|
|
"no": "nej",
|
|
"confirm": "Är du säker? (ja/nej)",
|
|
"dryRun": "[simulering] skulle: {action}",
|
|
"cancelled": "Avbruten.",
|
|
"jsonOpt": "Utdata som JSON",
|
|
"yesOpt": "Hoppa över bekräftelse"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Smart AI-router med automatisk fallback",
|
|
"version": "Skriv ut version och avsluta",
|
|
"output": "Utdataformat (table, json, jsonl, csv)",
|
|
"quiet": "Undertryck icke-väsentlig utdata",
|
|
"no_color": "Inaktivera färgad utdata",
|
|
"timeout": "HTTP-begärans timeout i millisekunder",
|
|
"api_key": "API-nyckel för OmniRoute-servern",
|
|
"base_url": "OmniRoute-serverns bas-URL",
|
|
"context": "Serverkontext/profil för det här kommandot",
|
|
"lang": "Ange CLI-visningsspråk (åsidosätter OMNIROUTE_LANG)"
|
|
}
|
|
}
|