chore(i18n): components.test.*

This commit is contained in:
Slinetrac
2025-11-02 19:31:09 +08:00
Unverified
parent e3c2aaee36
commit e218e630cf
18 changed files with 418 additions and 103 deletions

View File

@@ -177,12 +177,12 @@ export const TestCard = () => {
icon={<NetworkCheck />}
action={
<Box sx={{ display: "flex", gap: 1 }}>
<Tooltip title={t("Test All")} arrow>
<Tooltip title={t("pages.test.actions.testAll")} arrow>
<IconButton size="small" onClick={handleTestAll}>
<NetworkCheck fontSize="small" />
</IconButton>
</Tooltip>
<Tooltip title={t("Create Test")} arrow>
<Tooltip title={t("components.test.viewer.title.create")} arrow>
<IconButton size="small" onClick={handleCreateTest}>
<Add fontSize="small" />
</IconButton>

View File

@@ -192,7 +192,7 @@ export const TestItem = ({
":hover": { bgcolor: alpha(palette.primary.main, 0.15) },
})}
>
{t("Test")}
{t("components.test.item.actions.test")}
</Widget>
)}

View File

@@ -124,7 +124,11 @@ export const TestViewer = forwardRef<TestViewerRef, Props>((props, ref) => {
return (
<BaseDialog
open={open}
title={openType === "new" ? t("Create Test") : t("Edit Test")}
title={
openType === "new"
? t("components.test.viewer.title.create")
: t("components.test.viewer.title.edit")
}
contentSx={{ width: 375, pb: 0, maxHeight: "80%" }}
okBtn={t("Save")}
cancelBtn={t("Cancel")}
@@ -162,7 +166,7 @@ export const TestViewer = forwardRef<TestViewerRef, Props>((props, ref) => {
{...field}
multiline
maxRows={3}
label={t("Test URL")}
label={t("components.test.viewer.fields.url")}
/>
)}
/>

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "اختبار",
"actions": {
"testAll": "اختبار الكل",
"new": "جديد"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "Testing..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Home",
@@ -264,13 +278,7 @@
"Uploaded": "تم الرفع",
"Active Connections": "Active Connections",
"Rule": "قاعدة",
"Test": "اختبار",
"Test All": "اختبار الكل",
"Testing...": "Testing...",
"Create Test": "إنشاء اختبار",
"Edit Test": "تعديل الاختبار",
"Icon": "أيقونة",
"Test URL": "رابط الاختبار",
"Settings": "الإعدادات",
"Reset to Default": "إعادة تعيين إلى الافتراضي",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "يتطلب Clash Verge امتيازات المسؤول لإعادة تثبيت خدمة النظام",
"DNS Settings": "DNS Settings",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Overwrite",
"DNS Settings Warning": "If you are not familiar with these settings, please do not modify them and keep DNS Overwrite enabled",
"Enable DNS": "Enable DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "اختبار"
}
},
"viewer": {
"title": {
"create": "إنشاء اختبار",
"edit": "تعديل الاختبار"
},
"fields": {
"url": "رابط الاختبار"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Testen",
"actions": {
"testAll": "Alle testen",
"new": "Neu"
}
},
"unlock": {
"title": "Entsperrungstest",
"actions": {
"testing": "Wird getestet..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Startseite",
@@ -264,13 +278,7 @@
"Uploaded": "Hochgeladen",
"Active Connections": "Aktive Verbindungen",
"Rule": "Regel",
"Test": "Testen",
"Test All": "Alle testen",
"Testing...": "Wird getestet...",
"Create Test": "Neuen Test erstellen",
"Edit Test": "Test bearbeiten",
"Icon": "Symbol",
"Test URL": "Test-URL",
"Settings": "Einstellungen",
"Reset to Default": "Auf Standardwerte zurücksetzen",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge benötigt Administratorrechte, um den Systemdienst zu installieren.",
"DNS Settings": "DNS-Einstellungen",
"DNS settings saved": "DNS-Einstellungen wurden gespeichert",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS-Überschreibung",
"DNS Settings Warning": "Wenn Sie sich nicht mit diesen Einstellungen auskennen, ändern Sie sie nicht und lassen Sie die DNS-Überschreibung aktiviert.",
"Enable DNS": "DNS aktivieren",
@@ -447,7 +456,6 @@
"Location": "Standort",
"Timezone": "Zeitzone",
"Auto refresh": "Automatische Aktualisierung",
"Unlock Test": "Entsperrungstest",
"Pending": "Wartend auf Prüfung",
"Yes": "Unterstützt",
"No": "Nicht unterstützt",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Testen"
}
},
"viewer": {
"title": {
"create": "Neuen Test erstellen",
"edit": "Test bearbeiten"
},
"fields": {
"url": "Test-URL"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Test",
"actions": {
"testAll": "Test All",
"new": "New"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "Testing..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Home",
@@ -264,13 +278,7 @@
"Uploaded": "Uploaded",
"Active Connections": "Active Connections",
"Rule": "Rule",
"Test": "Test",
"Test All": "Test All",
"Testing...": "Testing...",
"Create Test": "Create Test",
"Edit Test": "Edit Test",
"Icon": "Icon",
"Test URL": "Test URL",
"Settings": "Settings",
"Reset to Default": "Reset to Default",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -448,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1076,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Test"
}
},
"viewer": {
"title": {
"create": "Create Test",
"edit": "Edit Test"
},
"fields": {
"url": "Test URL"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Prueba",
"actions": {
"testAll": "Probar todo",
"new": "Nuevo"
}
},
"unlock": {
"title": "Prueba de desbloqueo",
"actions": {
"testing": "Probando..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Hogar",
@@ -264,13 +278,7 @@
"Uploaded": "Subido",
"Active Connections": "Conexiones activas",
"Rule": "Regla",
"Test": "Prueba",
"Test All": "Probar todo",
"Testing...": "Probando...",
"Create Test": "Crear prueba",
"Edit Test": "Editar prueba",
"Icon": "Icono",
"Test URL": "URL de prueba",
"Settings": "Ajustes",
"Reset to Default": "Restablecer a los valores predeterminados",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge requiere permisos de administrador para instalar el servicio del sistema",
"DNS Settings": "Configuración de DNS",
"DNS settings saved": "Configuración de DNS guardada",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "Sobrescritura de DNS",
"DNS Settings Warning": "Si no está seguro de cómo configurar esto, no realice cambios y mantenga habilitada la sobrescritura de DNS.",
"Enable DNS": "Habilitar DNS",
@@ -447,7 +456,6 @@
"Location": "Ubicación",
"Timezone": "Zona horaria",
"Auto refresh": "Actualización automática",
"Unlock Test": "Prueba de desbloqueo",
"Pending": "Pendiente de detección",
"Yes": "Soportado",
"No": "No soportado",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Prueba"
}
},
"viewer": {
"title": {
"create": "Crear prueba",
"edit": "Editar prueba"
},
"fields": {
"url": "URL de prueba"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "آزمون",
"actions": {
"testAll": "آزمون همه",
"new": "جدید"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "Testing..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Home",
@@ -264,13 +278,7 @@
"Uploaded": "بارگذاری شده",
"Active Connections": "Active Connections",
"Rule": "قانون",
"Test": "آزمون",
"Test All": "آزمون همه",
"Testing...": "Testing...",
"Create Test": "ایجاد آزمون",
"Edit Test": "ویرایش آزمون",
"Icon": "آیکون",
"Test URL": "آدرس آزمون",
"Settings": "تنظیمات",
"Reset to Default": "بازنشانی به پیش‌فرض",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge برای نصب مجدد سرویس سیستم به امتیازات مدیر نیاز دارد",
"DNS Settings": "DNS Settings",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Overwrite",
"DNS Settings Warning": "If you are not familiar with these settings, please do not modify them and keep DNS Overwrite enabled",
"Enable DNS": "Enable DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "آزمون"
}
},
"viewer": {
"title": {
"create": "ایجاد آزمون",
"edit": "ویرایش آزمون"
},
"fields": {
"url": "آدرس آزمون"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Tes",
"actions": {
"testAll": "Tes Semua",
"new": "Baru"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "Testing..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Home",
@@ -264,13 +278,7 @@
"Uploaded": "Diunggah",
"Active Connections": "Active Connections",
"Rule": "Aturan",
"Test": "Tes",
"Test All": "Tes Semua",
"Testing...": "Testing...",
"Create Test": "Buat Tes",
"Edit Test": "Ubah Tes",
"Icon": "Ikon",
"Test URL": "URL Tes",
"Settings": "Pengaturan",
"Reset to Default": "Setel Ulang ke Default",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge memerlukan hak administrator untuk menginstal ulang layanan sistem",
"DNS Settings": "DNS Settings",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Overwrite",
"DNS Settings Warning": "If you are not familiar with these settings, please do not modify them and keep DNS Overwrite enabled",
"Enable DNS": "Enable DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Tes"
}
},
"viewer": {
"title": {
"create": "Buat Tes",
"edit": "Ubah Tes"
},
"fields": {
"url": "URL Tes"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "テスト",
"actions": {
"testAll": "すべてテスト",
"new": "新規作成"
}
},
"unlock": {
"title": "ロック解除テスト",
"actions": {
"testing": "テスト中..."
},
"empty": "アンロックテスト項目はありません"
}
},
"Label-Home": "ホーム",
@@ -264,13 +278,7 @@
"Uploaded": "アップロード量",
"Active Connections": "アクティブな接続",
"Rule": "ルール",
"Test": "テスト",
"Test All": "すべてテスト",
"Testing...": "テスト中...",
"Create Test": "新規テストを作成",
"Edit Test": "テストを編集",
"Icon": "アイコン",
"Test URL": "テストURL",
"Settings": "設定",
"Reset to Default": "デフォルト値にリセット",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Vergeはシステムサービスをインストールするために管理者権限が必要です。",
"DNS Settings": "DNS設定",
"DNS settings saved": "DNS設定が保存されました。",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS上書き",
"DNS Settings Warning": "ここの設定がわからない場合は、変更しないでください。DNS上書きを有効にしたままにしてください。",
"Enable DNS": "DNSを有効にする",
@@ -447,7 +456,6 @@
"Location": "位置",
"Timezone": "タイムゾーン",
"Auto refresh": "自動更新",
"Unlock Test": "ロック解除テスト",
"Pending": "検査待ち",
"Yes": "サポートする",
"No": "サポートしない",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "テスト"
}
},
"viewer": {
"title": {
"create": "新規テストを作成",
"edit": "テストを編集"
},
"fields": {
"url": "テストURL"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "테스트",
"actions": {
"testAll": "모두 테스트",
"new": "새로 만들기"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "테스트 중..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "홈",
@@ -264,13 +278,7 @@
"Uploaded": "업로드됨",
"Active Connections": "활성 연결",
"Rule": "규칙",
"Test": "테스트",
"Test All": "모두 테스트",
"Testing...": "테스트 중...",
"Create Test": "테스트 생성",
"Edit Test": "테스트 편집",
"Icon": "아이콘",
"Test URL": "테스트 URL",
"Settings": "설정",
"Reset to Default": "Reset to Default",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge requires administrator privileges to reinstall the system service",
"DNS Settings": "DNS Settings",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Overwrite",
"DNS Settings Warning": "If you are not familiar with these settings, please do not modify them and keep DNS Overwrite enabled",
"Enable DNS": "Enable DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "테스트"
}
},
"viewer": {
"title": {
"create": "테스트 생성",
"edit": "테스트 편집"
},
"fields": {
"url": "테스트 URL"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Тест",
"actions": {
"testAll": "Тестировать все",
"new": "Новый"
}
},
"unlock": {
"title": "Тест доступности веб-сайтов",
"actions": {
"testing": "Тестирование ..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Главная",
@@ -264,13 +278,7 @@
"Uploaded": "Загружено",
"Active Connections": "Активные соединения",
"Rule": "Правило",
"Test": "Тест",
"Test All": "Тестировать все",
"Testing...": "Тестирование ...",
"Create Test": "Создать тест",
"Edit Test": "Редактировать тест",
"Icon": "Иконка",
"Test URL": "URL проверка",
"Settings": "Настройки",
"Reset to Default": "Сбросить настройки",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge требует прав администратора для переустановки системной службы",
"DNS Settings": "Настройки DNS",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "Переопределение настроек DNS",
"DNS Settings Warning": "Если вы не знакомы с этими настройками, пожалуйста, не изменяйте и не отключайте их",
"Enable DNS": "Включить DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Автоматическое обновление через",
"Unlock Test": "Тест доступности веб-сайтов",
"Pending": "В ожидании",
"Yes": "Да",
"No": "Нет",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Тест"
}
},
"viewer": {
"title": {
"create": "Создать тест",
"edit": "Редактировать тест"
},
"fields": {
"url": "URL проверка"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Test",
"actions": {
"testAll": "Tümünü Test Et",
"new": "Yeni"
}
},
"unlock": {
"title": "Kilit Açma Testi",
"actions": {
"testing": "Test Ediliyor..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Ana Sayfa",
@@ -264,13 +278,7 @@
"Uploaded": "Yüklenen",
"Active Connections": "Aktif Bağlantılar",
"Rule": "Kural",
"Test": "Test",
"Test All": "Tümünü Test Et",
"Testing...": "Test Ediliyor...",
"Create Test": "Test Oluştur",
"Edit Test": "Testi Düzenle",
"Icon": "Simge",
"Test URL": "Test URL'si",
"Settings": "Ayarlar",
"Reset to Default": "Varsayılana Sıfırla",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge sistem hizmetini yeniden kurmak için yönetici ayrıcalıkları gerektiriyor",
"DNS Settings": "DNS Ayarları",
"DNS settings saved": "DNS ayarları kaydedildi",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Üzerine Yazma",
"DNS Settings Warning": "Bu ayarlarla ilgili bilginiz yoksa, lütfen bunları değiştirmeyin ve DNS Üzerine Yazma'yı etkin tutun",
"Enable DNS": "DNS'i Etkinleştir",
@@ -447,7 +456,6 @@
"Location": "Konum",
"Timezone": "Saat Dilimi",
"Auto refresh": "Otomatik yenile",
"Unlock Test": "Kilit Açma Testi",
"Pending": "Beklemede",
"Yes": "Evet",
"No": "Hayır",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Test"
}
},
"viewer": {
"title": {
"create": "Test Oluştur",
"edit": "Testi Düzenle"
},
"fields": {
"url": "Test URL'si"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "Тест",
"actions": {
"testAll": "Барчасын тестлау",
"new": "Яңа"
}
},
"unlock": {
"title": "Unlock Test",
"actions": {
"testing": "Testing..."
},
"empty": "No unlock test items"
}
},
"Label-Home": "Home",
@@ -264,13 +278,7 @@
"Uploaded": "Чыгарылган",
"Active Connections": "Active Connections",
"Rule": "Кагыйдә",
"Test": "Тест",
"Test All": "Барчасын тестлау",
"Testing...": "Testing...",
"Create Test": "Тест булдыру",
"Edit Test": "Тестны үзгәртү",
"Icon": "Иконка",
"Test URL": "Тест URL-ы",
"Settings": "Көйләүләр",
"Reset to Default": "Башлангычка кайтару",
"TUN Mode automatically disabled due to service unavailable": "TUN Mode automatically disabled due to service unavailable",
@@ -373,6 +381,7 @@
"Service Administrator Prompt": "Clash Verge система хезмәтен яңадан урнаштыру өчен администратор хокукларын таләп итә",
"DNS Settings": "DNS Settings",
"DNS settings saved": "DNS settings saved",
"DNS configuration error:": "DNS configuration error:",
"DNS Overwrite": "DNS Overwrite",
"DNS Settings Warning": "If you are not familiar with these settings, please do not modify them and keep DNS Overwrite enabled",
"Enable DNS": "Enable DNS",
@@ -447,7 +456,6 @@
"Location": "Location",
"Timezone": "Timezone",
"Auto refresh": "Auto refresh",
"Unlock Test": "Unlock Test",
"Pending": "Pending",
"Yes": "Yes",
"No": "No",
@@ -1075,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "Тест"
}
},
"viewer": {
"title": {
"create": "Тест булдыру",
"edit": "Тестны үзгәртү"
},
"fields": {
"url": "Тест URL-ы"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "测试",
"actions": {
"testAll": "测试全部",
"new": "新建"
}
},
"unlock": {
"title": "解锁测试",
"actions": {
"testing": "测试中..."
},
"empty": "暂无解锁测试项目"
}
},
"Label-Home": "首 页",
@@ -264,13 +278,7 @@
"Uploaded": "上传量",
"Active Connections": "活跃连接",
"Rule": "规则",
"Test": "测试",
"Test All": "测试全部",
"Testing...": "测试中...",
"Create Test": "新建测试",
"Edit Test": "编辑测试",
"Icon": "图标",
"Test URL": "测试地址",
"Settings": "设置",
"Reset to Default": "重置为默认值",
"TUN Mode automatically disabled due to service unavailable": "由于服务不可用TUN 模式已自动关闭",
@@ -448,7 +456,6 @@
"Location": "位置",
"Timezone": "时区",
"Auto refresh": "自动刷新",
"Unlock Test": "解锁测试",
"Pending": "待检测",
"Yes": "支持",
"No": "不支持",
@@ -1076,6 +1083,22 @@
"none": "没有可更新的提供者",
"allUpdated": "全部提供者更新成功"
}
},
"test": {
"item": {
"actions": {
"test": "测试"
}
},
"viewer": {
"title": {
"create": "新建测试",
"edit": "编辑测试"
},
"fields": {
"url": "测试地址"
}
}
}
},
"common": {

View File

@@ -183,6 +183,20 @@
"warn": "WARN",
"error": "ERROR"
}
},
"test": {
"title": "測試",
"actions": {
"testAll": "測試全部",
"new": "新增"
}
},
"unlock": {
"title": "解鎖測試",
"actions": {
"testing": "測試中..."
},
"empty": "目前沒有解鎖測試項目"
}
},
"Label-Home": "首 頁",
@@ -264,13 +278,7 @@
"Uploaded": "上傳量",
"Active Connections": "作用中連線",
"Rule": "規則",
"Test": "測試",
"Test All": "測試全部",
"Testing...": "測試中...",
"Create Test": "新增測試",
"Edit Test": "編輯測試",
"Icon": "圖示",
"Test URL": "測試網址",
"Settings": "設定",
"Reset to Default": "重設為預設值",
"TUN Mode automatically disabled due to service unavailable": "由於服務不可使用,虛擬網路介面卡模式已自動停用",
@@ -448,7 +456,6 @@
"Location": "位置",
"Timezone": "時區",
"Auto refresh": "自動重整",
"Unlock Test": "解鎖測試",
"Pending": "待檢測",
"Yes": "支援",
"No": "不支援",
@@ -1076,6 +1083,22 @@
"none": "No providers available to update",
"allUpdated": "All providers updated successfully"
}
},
"test": {
"item": {
"actions": {
"test": "測試"
}
},
"viewer": {
"title": {
"create": "新增測試",
"edit": "編輯測試"
},
"fields": {
"url": "測試網址"
}
}
}
},
"common": {

View File

@@ -141,7 +141,7 @@ const TestPage = () => {
return (
<BasePage
full
title={t("Test")}
title={t("pages.test.title")}
header={
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<Button
@@ -149,14 +149,14 @@ const TestPage = () => {
size="small"
onClick={() => emit("verge://test-all")}
>
{t("Test All")}
{t("pages.test.actions.testAll")}
</Button>
<Button
variant="contained"
size="small"
onClick={() => viewerRef.current?.create()}
>
{t("New")}
{t("pages.test.actions.new")}
</Button>
</Box>
}

View File

@@ -250,7 +250,7 @@ const UnlockPage = () => {
return (
<BasePage
title={t("Unlock Test")}
title={t("pages.unlock.title")}
header={
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<Button
@@ -266,7 +266,9 @@ const UnlockPage = () => {
)
}
>
{isCheckingAll ? t("Testing...") : t("Test All")}
{isCheckingAll
? t("pages.unlock.actions.testing")
: t("pages.test.actions.testAll")}
</Button>
</Box>
}
@@ -280,7 +282,7 @@ const UnlockPage = () => {
height: "50%",
}}
>
<BaseEmpty text={t("No unlock test items")} />
<BaseEmpty text={t("pages.unlock.empty")} />
</Box>
) : (
<Grid container spacing={1.5} columns={{ xs: 1, sm: 2, md: 3 }}>
@@ -322,7 +324,7 @@ const UnlockPage = () => {
>
{item.name}
</Typography>
<Tooltip title={t("Test")}>
<Tooltip title={t("components.test.item.actions.test")}>
<span>
<Button
size="small"