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.3 KiB
JSON
30 lines
1.3 KiB
JSON
{
|
||
"common": {
|
||
"error": "Xəta: {message}",
|
||
"serverOffline": "OmniRoute serveri oflayndır. Başladın: omniroute serve",
|
||
"authRequired": "Autentifikasiya tələb olunur. OMNIROUTE_API_KEY təyin edin və ya işə salın: omniroute setup",
|
||
"rateLimited": "Sorğu limiti aşıldı. {seconds} saniyə sonra yenidən cəhd edin.",
|
||
"timeout": "Sorğunun vaxtı {ms}ms sonra bitdi.",
|
||
"success": "Tamamlandı.",
|
||
"yes": "bəli",
|
||
"no": "xeyr",
|
||
"confirm": "Əminsiniz? (bəli/xeyr)",
|
||
"dryRun": "[simulyasiya] ediləcəkdi: {action}",
|
||
"cancelled": "Ləğv edildi.",
|
||
"jsonOpt": "JSON formatında çıxış",
|
||
"yesOpt": "Təsdiq sorğusunu keç"
|
||
},
|
||
"program": {
|
||
"description": "OmniRoute — Avtomatik Fallback ilə Ağıllı AI Marşrutlaşdırıcısı",
|
||
"version": "Versiyasını çap et və çıx",
|
||
"output": "Çıxış formatı (table, json, jsonl, csv)",
|
||
"quiet": "Vacib olmayan çıxışı gizlət",
|
||
"no_color": "Rəngli çıxışı deaktiv et",
|
||
"timeout": "HTTP sorğusu üçün zaman aşımı (millisaniyə)",
|
||
"api_key": "OmniRoute serveri üçün API açarı",
|
||
"base_url": "OmniRoute server baza URL-i",
|
||
"context": "Bu əmr üçün server konteksti/profili",
|
||
"lang": "CLI ekran dilini təyin edin (OMNIROUTE_LANG-ı keçir)"
|
||
}
|
||
}
|