Kaynağa Gözat

feat(logs): label the Xray access-log viewer 'Access Logs' across all languages

Distinguishes the access-log modal from the panel 'Logs' viewer it shares a
title with. Adds the accessLogs key to all 13 translation files.
MHSanaei 1 gün önce
ebeveyn
işleme
e27f2490b2

+ 1 - 1
frontend/src/pages/index/XrayLogModal.tsx

@@ -117,7 +117,7 @@ export default function XrayLogModal({ open, onClose }: XrayLogModalProps) {
       onCancel={onClose}
       title={
         <>
-          {t('pages.index.logs')}
+          {t('pages.index.accessLogs')}
           <SyncOutlined spin={loading} className="reload-icon" onClick={refresh} />
         </>
       }

+ 1 - 1
frontend/src/pages/index/XrayStatusCard.tsx

@@ -92,7 +92,7 @@ export default function XrayStatusCard({
       ? [
           <Space className="action" key="xraylogs" onClick={onOpenXrayLogs}>
             <BarsOutlined />
-            {!isMobile && <span>{t('pages.index.logs')}</span>}
+            {!isMobile && <span>{t('pages.index.accessLogs')}</span>}
           </Space>,
         ]
       : []),

+ 1 - 0
internal/web/translation/ar-EG.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "لا توجد ملفات مهيأة. في قواعد التوجيه يُشار إلى الملفات بالشكل ext:geosite_custom.dat:category.",
       "dontRefresh": "التثبيت شغال، متعملش Refresh للصفحة",
       "logs": "السجلات",
+      "accessLogs": "سجلات الوصول",
       "config": "الإعدادات",
       "backup": "نسخ احتياطي",
       "backupTitle": "نسخ احتياطي واستعادة",

+ 1 - 0
internal/web/translation/en-US.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "No files configured. Reference files in routing rules as ext:geosite_custom.dat:category.",
       "dontRefresh": "Installation is in progress, please do not refresh this page",
       "logs": "Logs",
+      "accessLogs": "Access Logs",
       "config": "Config",
       "backup": "Backup",
       "backupTitle": "Backup & Restore",

+ 1 - 0
internal/web/translation/es-ES.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "No hay archivos configurados. En las reglas de enrutamiento se referencian como ext:geosite_custom.dat:category.",
       "dontRefresh": "La instalación está en progreso, por favor no actualices esta página.",
       "logs": "Registros",
+      "accessLogs": "Registros de acceso",
       "config": "Configuración",
       "backup": "Copia de seguridad",
       "backupTitle": "Copia & Restauración",

+ 1 - 0
internal/web/translation/fa-IR.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "فایلی پیکربندی نشده است. در قوانین مسیریابی فایل‌ها به صورت ext:geosite_custom.dat:category استفاده می‌شوند.",
       "dontRefresh": "در حال نصب، لطفا صفحه را رفرش نکنید",
       "logs": "لاگ‌ها",
+      "accessLogs": "لاگ‌های دسترسی",
       "config": "پیکربندی",
       "backup": "پشتیبان‌گیری",
       "backupTitle": "پشتیبان‌گیری و بازیابی",

+ 1 - 0
internal/web/translation/id-ID.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Belum ada berkas yang dikonfigurasi. Pada aturan routing, rujuk berkas sebagai ext:geosite_custom.dat:category.",
       "dontRefresh": "Instalasi sedang berlangsung, harap jangan menyegarkan halaman ini",
       "logs": "Log",
+      "accessLogs": "Log Akses",
       "config": "Konfigurasi",
       "backup": "Cadangan",
       "backupTitle": "Cadangan & Pulihkan",

+ 1 - 0
internal/web/translation/ja-JP.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "ファイルが設定されていません。ルーティングルールでは ext:geosite_custom.dat:category の形式で参照します。",
       "dontRefresh": "インストール中、このページをリロードしないでください",
       "logs": "ログ",
+      "accessLogs": "アクセスログ",
       "config": "設定",
       "backup": "バックアップ",
       "backupTitle": "バックアップと復元",

+ 1 - 0
internal/web/translation/pt-BR.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Nenhum arquivo configurado. Nas regras de roteamento, referencie como ext:geosite_custom.dat:category.",
       "dontRefresh": "Instalação em andamento, por favor não atualize a página",
       "logs": "Logs",
+      "accessLogs": "Logs de acesso",
       "config": "Configuração",
       "backup": "Backup",
       "backupTitle": "Backup & Restauração",

+ 1 - 0
internal/web/translation/ru-RU.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Файлы не настроены. В правилах маршрутизации файлы указываются как ext:geosite_custom.dat:category.",
       "dontRefresh": "Установка в процессе. Не обновляйте страницу",
       "logs": "Логи",
+      "accessLogs": "Логи доступа",
       "config": "Конфигурация",
       "backup": "Резервная копия",
       "backupTitle": "Бэкап и восстановление",

+ 1 - 0
internal/web/translation/tr-TR.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Yapılandırılmış dosya yok. Yönlendirme kurallarında dosyalar ext:geosite_custom.dat:category olarak kullanılır.",
       "dontRefresh": "Kurulum devam ediyor, lütfen bu sayfayı yenilemeyin",
       "logs": "Günlükler",
+      "accessLogs": "Erişim Günlükleri",
       "config": "Yapılandırma",
       "backup": "Yedek",
       "backupTitle": "Yedekleme ve Geri Yükleme",

+ 1 - 0
internal/web/translation/uk-UA.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Файли не налаштовано. У правилах маршрутизації файли вказуються як ext:geosite_custom.dat:category.",
       "dontRefresh": "Інсталяція триває, будь ласка, не оновлюйте цю сторінку",
       "logs": "Логи",
+      "accessLogs": "Логи доступу",
       "config": "Конфігурація",
       "backup": "Резервна копія",
       "backupTitle": "Резервне копіювання та відновлення",

+ 1 - 0
internal/web/translation/vi-VN.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "Chưa cấu hình tệp nào. Trong quy tắc định tuyến, tham chiếu tệp dạng ext:geosite_custom.dat:category.",
       "dontRefresh": "Đang tiến hành cài đặt, vui lòng không làm mới trang này.",
       "logs": "Nhật ký",
+      "accessLogs": "Nhật ký truy cập",
       "config": "Cấu hình",
       "backup": "Sao lưu",
       "backupTitle": "Sao lưu & Khôi phục",

+ 1 - 0
internal/web/translation/zh-CN.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "尚未配置文件。路由规则中可通过 ext:geosite_custom.dat:category 引用文件。",
       "dontRefresh": "安装中,请勿刷新此页面",
       "logs": "日志",
+      "accessLogs": "访问日志",
       "config": "配置",
       "backup": "备份",
       "backupTitle": "备份和恢复",

+ 1 - 0
internal/web/translation/zh-TW.json

@@ -245,6 +245,7 @@
       "geodataEmpty": "尚未設定檔案。路由規則中可透過 ext:geosite_custom.dat:category 引用檔案。",
       "dontRefresh": "安裝中,請勿重新整理此頁面",
       "logs": "記錄",
+      "accessLogs": "存取記錄",
       "config": "配置",
       "backup": "備份",
       "backupTitle": "備份和恢復",