diff --git a/src/components/setting/mods/clash-port-viewer.tsx b/src/components/setting/mods/clash-port-viewer.tsx index 110e045..3455092 100644 --- a/src/components/setting/mods/clash-port-viewer.tsx +++ b/src/components/setting/mods/clash-port-viewer.tsx @@ -122,7 +122,7 @@ export const ClashPortViewer = forwardRef((props, ref) => { return ( ((props, ref) => { > - + ((props, ref) => { /> - + ((props, ref) => { /> - + ((props, ref) => { {OS !== "windows" && ( - + ((props, ref) => { )} {OS === "linux" && ( - + ((props, ref) => { - + ((props, ref) => { const { t } = useTranslation(); @@ -98,13 +99,18 @@ export const MiscViewer = forwardRef((props, ref) => { - + + setValues((v) => ({ ...v, autoCloseConnection: c })) } + sx={{ marginLeft: "auto" }} /> @@ -120,13 +126,18 @@ export const MiscViewer = forwardRef((props, ref) => { - + + setValues((v) => ({ ...v, enableBuiltinEnhanced: c })) } + sx={{ marginLeft: "auto" }} /> @@ -181,14 +192,18 @@ export const MiscViewer = forwardRef((props, ref) => { - + + diff --git a/src/locales/en.json b/src/locales/en.json index 8d7f443..604bc78 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -206,7 +206,7 @@ "Memory Usage": "Memory Usage", "Memory Cleanup": "Tap to clean up memory", "Proxy Group Icon": "Proxy Group Icon", - "Menu Icon": "Menu Icon", + "Nav Icon": "Nav Icon", "Monochrome": "Monochrome", "Colorful": "Colorful", "Tray Icon": "Tray Icon", @@ -216,14 +216,17 @@ "Miscellaneous": "Miscellaneous", "App Log Level": "App Log Level", "Auto Close Connections": "Auto Close Connections", + "Auto Close Connections Info": "Terminate established connections when the proxy group selection or proxy mode changes", "Auto Check Update": "Auto Check Update", "Enable Builtin Enhanced": "Enable Builtin Enhanced", + "Enable Builtin Enhanced Info": "Compatibility handling for the configuration file", "Proxy Layout Columns": "Proxy Layout Columns", "Auto Columns": "Auto Columns", "Auto Log Clean": "Auto Log Clean", "Never Clean": "Never Clean", "Retain _n Days": "Retain {{n}} Days", "Default Latency Test": "Default Latency Test", + "Default Latency Test Info": "Used for HTTP client request testing only and won't make a difference to the configuration file", "Default Latency Timeout": "Default Latency Timeout", "Hotkey Setting": "Hotkey Setting", "open_or_close_dashboard": "Open/Close Dashboard", diff --git a/src/locales/fa.json b/src/locales/fa.json index b122419..6acc9df 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -160,6 +160,11 @@ "Log Level": "سطح لاگ", "Port Config": "پیکربندی پورت", "Random Port": "پورت تصادفی", + "Mixed Port": "پورت پروکسی ترکیبی", + "Socks Port": "پورت پروکسی Socks", + "Http Port": "پورت پروکسی Http(s)", + "Redir Port": "پورت پروکسی شفاف Redir", + "Tproxy Port": "پورت پروکسی شفاف Tproxy", "External": "خارجی", "External Controller": "کنترل‌کننده خارجی", "Core Secret": "رمز اصلی", @@ -206,7 +211,7 @@ "Memory Usage": "استفاده از حافظه", "Memory Cleanup": "برای پاکسازی حافظه ضربه بزنید", "Proxy Group Icon": "آیکون گروه پراکسی", - "Menu Icon": "آیکون منو", + "Nav Icon": "آیکون ناوبری", "Monochrome": "تک رنگ", "Colorful": "رنگارنگ", "Tray Icon": "آیکون سینی سیستم", @@ -216,14 +221,17 @@ "Miscellaneous": "متفرقه", "App Log Level": "سطح لاگ برنامه", "Auto Close Connections": "بستن خودکار اتصالات", + "Auto Close Connections Info": "اتصالات برقرار شده را هنگام تغییر انتخاب گروه پروکسی یا حالت پروکسی خاتمه دهید", "Auto Check Update": "بررسی خودکار به‌روزرسانی", "Enable Builtin Enhanced": "فعال کردن تقویت داخلی", + "Enable Builtin Enhanced Info": "مدیریت سازگاری برای فایل پیکربندی", "Proxy Layout Columns": "ستون چیدمان پراکسی", "Auto Columns": "ستون‌های خودکار", "Auto Log Clean": "پاکسازی خودکار لاگ", "Never Clean": "هرگز پاک نکن", "Retain _n Days": "نگهداری به مدت {{n}} روز", "Default Latency Test": "آزمون تأخیر پیش‌فرض", + "Default Latency Test Info": "فقط برای تست درخواست‌های کلاینت HTTP استفاده می‌شود و بر فایل پیکربندی تأثیری نخواهد داشت", "Default Latency Timeout": "زمان انتظار تأخیر پیش‌فرض", "Hotkey Setting": "تنظیمات کلیدهای میانبر", "open_or_close_dashboard": "باز/بستن داشبورد", diff --git a/src/locales/ru.json b/src/locales/ru.json index ec4ac17..432170a 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -160,6 +160,11 @@ "Log Level": "Уровень логов", "Port Config": "Настройка порта", "Random Port": "Случайный порт", + "Mixed Port": "Смешанный прокси-порт", + "Socks Port": "Порт Socks-прокси", + "Http Port": "Порт Http(s)-прокси", + "Redir Port": "Порт прозрачного прокси Redir", + "Tproxy Port": "Порт прозрачного прокси Tproxy", "External": "Внешний", "External Controller": "Адрес прослушивания внешнего контроллера", "Core Secret": "Секрет", @@ -206,7 +211,7 @@ "Memory Usage": "Использование памяти", "Memory Cleanup": "Нажмите, чтобы очистить память", "Proxy Group Icon": "Иконка Группы прокси", - "Menu Icon": "Иконка меню", + "Nav Icon": "Иконка навигации", "Monochrome": "Монохромный", "Colorful": "Полноцветный", "Tray Icon": "Иконка лотка", @@ -216,14 +221,17 @@ "Miscellaneous": "Настройки Прочие", "App Log Level": "Уровень журнала приложения", "Auto Close Connections": "Автоматическое закрытие соединений", + "Auto Close Connections Info": "Завершить установленные соединения при изменении выбора группы прокси или режима прокси", "Auto Check Update": "Автоматическая проверка обновлений", "Enable Builtin Enhanced": "Включить встроенные улучшения", + "Enable Builtin Enhanced Info": "Обработка совместимости для файла конфигурации", "Proxy Layout Columns": "Количество столбцов в макете прокси", "Auto Columns": "Авто колонки", "Auto Log Clean": "Автоматическая очистка журналов", "Never Clean": "Никогда не очищать", "Retain _n Days": "Сохранять {{n}} дней", "Default Latency Test": "Ссылка на тестирование задержки по умолчанию", + "Default Latency Test Info": "Используется только для тестирования HTTP-запросов клиента и не влияет на файл конфигурации", "Default Latency Timeout": "Таймаут задержки по умолчанию", "Hotkey Setting": "Настройки клавиатурных сокращений", "open_or_close_dashboard": "Открыть/Закрыть панель управления", diff --git a/src/locales/zh.json b/src/locales/zh.json index 979d42e..2c7bd4c 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -160,6 +160,11 @@ "Log Level": "日志等级", "Port Config": "端口设置", "Random Port": "随机端口", + "Mixed Port": "混合代理端口", + "Socks Port": "Socks代理端口", + "Http Port": "Http(s)代理端口", + "Redir Port": "Redir透明代理端口", + "Tproxy Port": "Tproxy透明代理端口", "External": "外部控制", "External Controller": "外部控制器监听地址", "Core Secret": "API 访问密钥", @@ -203,10 +208,10 @@ "CSS Injection": "CSS 注入", "Layout Setting": "界面设置", "Traffic Graph": "流量图显", - "Memory Usage": "内存使用", + "Memory Usage": "内存占用", "Memory Cleanup": "点击清理内存", "Proxy Group Icon": "代理组图标", - "Menu Icon": "菜单图标", + "Nav Icon": "导航栏图标", "Monochrome": "单色图标", "Colorful": "彩色图标", "Tray Icon": "托盘图标", @@ -216,14 +221,17 @@ "Miscellaneous": "杂项设置", "App Log Level": "App日志等级", "Auto Close Connections": "自动关闭连接", + "Auto Close Connections Info": "当代理组选中节点或代理模式变动时,关闭已建立的连接", "Auto Check Update": "自动检查更新", "Enable Builtin Enhanced": "内置增强功能", + "Enable Builtin Enhanced Info": "配置文件的兼容性处理", "Proxy Layout Columns": "代理页布局列数", "Auto Columns": "自动列数", "Auto Log Clean": "自动清理日志", "Never Clean": "不清理", "Retain _n Days": "保留{{n}}天", "Default Latency Test": "默认测试链接", + "Default Latency Test Info": "仅用于 HTTP 客户端请求测试,不会对配置文件产生影响", "Default Latency Timeout": "测试超时时间", "Hotkey Setting": "热键设置", "open_or_close_dashboard": "打开/关闭面板",