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": "Fejl: {message}",
|
|
"serverOffline": "OmniRoute-serveren er offline. Start med: omniroute serve",
|
|
"authRequired": "Godkendelse kræves. Sæt OMNIROUTE_API_KEY eller kør: omniroute setup",
|
|
"rateLimited": "Anmodningsgrænse overskredet. Prøv igen om {seconds}s.",
|
|
"timeout": "Anmodningen timed ud efter {ms}ms.",
|
|
"success": "Færdig.",
|
|
"yes": "ja",
|
|
"no": "nej",
|
|
"confirm": "Er du sikker? (ja/nej)",
|
|
"dryRun": "[simulering] ville: {action}",
|
|
"cancelled": "Annulleret.",
|
|
"jsonOpt": "Output som JSON",
|
|
"yesOpt": "Spring bekræftelse over"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Smart AI-router med automatisk fallback",
|
|
"version": "Vis version og afslut",
|
|
"output": "Outputformat (table, json, jsonl, csv)",
|
|
"quiet": "Undertryk ikke-essentielt output",
|
|
"no_color": "Deaktiver farvet output",
|
|
"timeout": "HTTP-anmodnings timeout i millisekunder",
|
|
"api_key": "API-nøgle til OmniRoute-serveren",
|
|
"base_url": "OmniRoute-serverens basis-URL",
|
|
"context": "Server-kontekst/profil til denne kommando",
|
|
"lang": "Angiv CLI-visningssprog (tilsidesætter OMNIROUTE_LANG)"
|
|
}
|
|
}
|