mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-30 15:07:14 +00:00
i18n: translate importKeepHostSettings keys
Translate the `importKeepHostSettings` and `importKeepHostSettingsDesc` keys from English placeholders into 10 locale files (ar-EG, es-ES, fa-IR, id-ID, ja-JP, pt-BR, tr-TR, vi-VN, zh-CN, zh-TW). Also removes `main_test.go` which contained a test for a `commandHelp` function.
This commit is contained in:
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "الاحتفاظ بإعدادات هذا الجهاز",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "يحتفظ بعناوين الاستماع والمنافذ والمسار الأساسي والشهادات وهوية العقدة الخاصة بهذه اللوحة بدلًا من أخذها من الملف المرفوع."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "إجمالي المرسل/المستقبل",
|
"totalDownUp": "إجمالي المرسل/المستقبل",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "Mantener la configuración de esta máquina",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "Conserva las direcciones de escucha, los puertos, la ruta base, los certificados y la identidad de nodo de este panel en lugar de tomarlos del archivo subido."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "Subidas/Descargas Totales",
|
"totalDownUp": "Subidas/Descargas Totales",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "حفظ تنظیمات این دستگاه",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "آدرسها و پورتهای شنود، مسیر پایه، گواهیها و هویت نودِ همین پنل را نگه میدارد و آنها را از فایل بارگذاریشده نمیگیرد."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "دریافت/ارسال کل",
|
"totalDownUp": "دریافت/ارسال کل",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "Pertahankan pengaturan mesin ini",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "Mempertahankan alamat dengar, port, path dasar, sertifikat, dan identitas node panel ini alih-alih mengambilnya dari berkas yang diunggah."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "Total Terkirim/Diterima",
|
"totalDownUp": "Total Terkirim/Diterima",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "このマシンの設定を保持する",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "アップロードしたファイルの値ではなく、このパネルのリッスンアドレス、ポート、ベースパス、証明書、ノード ID を保持します。"
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "総アップロード / ダウンロード",
|
"totalDownUp": "総アップロード / ダウンロード",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "Manter as configurações desta máquina",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "Mantém os endereços de escuta, as portas, o caminho base, os certificados e a identidade de nó deste painel em vez de obtê-los do arquivo enviado."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "Total Enviado/Recebido",
|
"totalDownUp": "Total Enviado/Recebido",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "Bu makinenin ayarlarını koru",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "Yüklenen dosyadan almak yerine bu panelin dinleme adreslerini, portlarını, temel yolunu, sertifikalarını ve düğüm kimliğini korur."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "Toplam Gönderilen/Alınan",
|
"totalDownUp": "Toplam Gönderilen/Alınan",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "Giữ cài đặt của máy này",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "Giữ nguyên địa chỉ lắng nghe, cổng, đường dẫn cơ sở, chứng chỉ và danh tính node của bảng điều khiển này thay vì lấy chúng từ tệp đã tải lên."
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "Tổng tải lên/tải xuống",
|
"totalDownUp": "Tổng tải lên/tải xuống",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "保留本机设置",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "保留本面板的监听地址、端口、基础路径、证书和节点身份,而不是使用上传文件中的值。"
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "总上传 / 下载",
|
"totalDownUp": "总上传 / 下载",
|
||||||
|
|||||||
@@ -267,8 +267,8 @@
|
|||||||
"accessDirect": "DIRECT",
|
"accessDirect": "DIRECT",
|
||||||
"accessBlocked": "BLOCKED",
|
"accessBlocked": "BLOCKED",
|
||||||
"accessProxy": "PROXY",
|
"accessProxy": "PROXY",
|
||||||
"importKeepHostSettings": "Keep this machine's settings",
|
"importKeepHostSettings": "保留本機設定",
|
||||||
"importKeepHostSettingsDesc": "Keeps this panel's listen addresses, ports, base path, certificates and node identity instead of taking them from the uploaded file."
|
"importKeepHostSettingsDesc": "保留本面板的監聽位址、連接埠、基礎路徑、憑證與節點身分,而不是使用上傳檔案中的值。"
|
||||||
},
|
},
|
||||||
"inbounds": {
|
"inbounds": {
|
||||||
"totalDownUp": "總上傳 / 下載",
|
"totalDownUp": "總上傳 / 下載",
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"strings"
|
|
||||||
"testing"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestCommandHelpListsEncryptTokens(t *testing.T) {
|
|
||||||
if help := commandHelp(); !strings.Contains(help, "encrypt-tokens") {
|
|
||||||
t.Fatalf("command help omits encrypt-tokens:\n%s", help)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user