Files
OmniRoute/bin/cli/locales/pl.json
Diego Rodrigues de Sa e Souza 79d03575ee feat(cli): suporte i18n completo — 42 locales, --lang flag, config lang get/set/list (#2285)
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
2026-05-15 13:14:14 -03:00

30 lines
1.2 KiB
JSON

{
"common": {
"error": "Błąd: {message}",
"serverOffline": "Serwer OmniRoute jest offline. Uruchom: omniroute serve",
"authRequired": "Wymagane uwierzytelnienie. Ustaw OMNIROUTE_API_KEY lub uruchom: omniroute setup",
"rateLimited": "Przekroczono limit żądań. Spróbuj ponownie za {seconds}s.",
"timeout": "Żądanie przekroczyło czas po {ms}ms.",
"success": "Gotowe.",
"yes": "tak",
"no": "nie",
"confirm": "Czy jesteś pewien? (tak/nie)",
"dryRun": "[symulacja] wykonałoby: {action}",
"cancelled": "Anulowano.",
"jsonOpt": "Wyjście jako JSON",
"yesOpt": "Pomiń potwierdzenie"
},
"program": {
"description": "OmniRoute — Inteligentny router AI z automatycznym fallbackiem",
"version": "Wydrukuj wersję i wyjdź",
"output": "Format wyjścia (table, json, jsonl, csv)",
"quiet": "Pomiń nieistotne wyjście",
"no_color": "Wyłącz kolorowe wyjście",
"timeout": "Limit czasu żądania HTTP w milisekundach",
"api_key": "Klucz API dla serwera OmniRoute",
"base_url": "Bazowy URL serwera OmniRoute",
"context": "Kontekst/profil serwera dla tego polecenia",
"lang": "Ustaw język wyświetlania CLI (nadpisuje OMNIROUTE_LANG)"
}
}