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": "Kesalahan: {message}",
|
|
"serverOffline": "Server OmniRoute sedang offline. Mulai dengan: omniroute serve",
|
|
"authRequired": "Autentikasi diperlukan. Setel OMNIROUTE_API_KEY atau jalankan: omniroute setup",
|
|
"rateLimited": "Batas permintaan terlampaui. Coba lagi dalam {seconds}d.",
|
|
"timeout": "Permintaan habis waktu setelah {ms}ms.",
|
|
"success": "Selesai.",
|
|
"yes": "ya",
|
|
"no": "tidak",
|
|
"confirm": "Apakah Anda yakin? (ya/tidak)",
|
|
"dryRun": "[simulasi] akan: {action}",
|
|
"cancelled": "Dibatalkan.",
|
|
"jsonOpt": "Keluaran sebagai JSON",
|
|
"yesOpt": "Lewati konfirmasi"
|
|
},
|
|
"program": {
|
|
"description": "OmniRoute — Router AI Cerdas dengan Fallback Otomatis",
|
|
"version": "Cetak versi dan keluar",
|
|
"output": "Format keluaran (table, json, jsonl, csv)",
|
|
"quiet": "Sembunyikan output yang tidak penting",
|
|
"no_color": "Nonaktifkan output berwarna",
|
|
"timeout": "Batas waktu permintaan HTTP dalam milidetik",
|
|
"api_key": "Kunci API untuk server OmniRoute",
|
|
"base_url": "URL dasar server OmniRoute",
|
|
"context": "Konteks/profil server untuk perintah ini",
|
|
"lang": "Atur bahasa tampilan CLI (menggantikan OMNIROUTE_LANG)"
|
|
}
|
|
}
|