mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-19 03:25:01 +03:00
feat(happ): add routing editor, optional ad blocking, and LAN bypass preset (#6545)
* feat(happ): make ad blocking optional in routing presets Add an independent AdBlock toggle for Iran, China, and global presets, applied only when generating routing rules. Update the China preset to Bypass-CN and cover preset behavior and localized controls. * feat: add visual routing editor with JSON support and localization updates - Implemented a new modal for editing routing profiles with basic and advanced tabs. - Added functionality to load, parse, and generate routing profiles in JSON format. - Enhanced user experience with validation and error handling for JSON input. - Updated translations for Russian, Turkish, Ukrainian, Vietnamese, Chinese (Simplified and Traditional) to include new routing editor terms. - Created helper functions for managing routing profiles and generating deep links. - Added unit tests for routing editor functionalities and JSON handling. * feat: update routing editor to preserve null lists in profiles and enhance validation messages
This commit is contained in:
@@ -1572,9 +1572,11 @@
|
||||
"subHappPerAppList": "Tên gói Android",
|
||||
"subHappPerAppListDesc": "Tên gói ứng dụng Android cách nhau bằng dấu phẩy để bao gồm hoặc loại trừ (ví dụ org.telegram.messenger).",
|
||||
"subHappPresetIran": "Bỏ qua Iran",
|
||||
"subHappPresetChina": "Trực tiếp Trung Quốc",
|
||||
"subHappPresetAdblock": "AdBlock",
|
||||
"subHappPresetChina": "Trực tiếp Trung Quốc (Bypass-CN)",
|
||||
"subHappIncludeAdblock": "Thêm AdBlock",
|
||||
"subHappApplyPreset": "Áp dụng mẫu",
|
||||
"subHappPresetGlobal": "Proxy toàn bộ",
|
||||
"subHappPresetLocal": "Proxy toàn bộ, bỏ qua mạng cục bộ",
|
||||
"subHappPresetOff": "Tắt định tuyến (happ://routing/off)",
|
||||
"subHappColorBlue": "Xanh dương (Tiêu chuẩn / Mặc định)",
|
||||
"subHappColorGreen": "Xanh lá (Thành công)",
|
||||
@@ -1598,9 +1600,18 @@
|
||||
"subHappPerAppBypass": "Bỏ qua (Loại trừ ứng dụng trong danh sách)",
|
||||
"subHappPresetApplied": "Đã áp dụng mẫu Happ vào quy tắc định tuyến",
|
||||
"subHappPresets": "Mẫu định tuyến",
|
||||
"subHappPresetsDesc": "Các mẫu quy tắc định tuyến cấu hình sẵn dành cho ứng dụng Happ.",
|
||||
"subHappPresetsDesc": "Chọn mẫu cơ bản và tùy chọn chặn quảng cáo, sau đó áp dụng để thay thế các quy tắc định tuyến hiện tại.",
|
||||
"subHappVisualBuilder": "Trình tạo quy tắc trực quan",
|
||||
"subHappVisualBuilderDesc": "Tạo deeplink định tuyến tùy chỉnh từ danh sách tên miền và IP.",
|
||||
"subHappVisualBuilderDesc": "Tải cấu hình định tuyến hiện tại và chỉnh sửa các quy tắc hoặc toàn bộ JSON.",
|
||||
"subHappEditorBasic": "Quy tắc cơ bản",
|
||||
"subHappEditorAdvanced": "Trình chỉnh sửa nâng cao",
|
||||
"subHappEditorListHint": "Mỗi dòng một quy tắc. Các trường khác của cấu hình được giữ nguyên.",
|
||||
"subHappEditorAdvancedHint": "Chỉnh sửa toàn bộ cấu hình JSON. Các thay đổi được đồng bộ với thẻ quy tắc cơ bản.",
|
||||
"subHappEditorInvalidJson": "Nhập một đối tượng JSON. Các danh sách định tuyến, nếu có, phải là mảng chuỗi hoặc null.",
|
||||
"subHappEditorLoadInvalid": "Các quy tắc hiện tại không phải là liên kết định tuyến Happ hoặc cấu hình JSON hợp lệ.",
|
||||
"subHappEditorLoadRemote": "Không thể tải URL từ xa tại đây. Hãy dán liên kết định tuyến Happ hoặc cấu hình JSON trước.",
|
||||
"subHappEditorLoadOff": "Định tuyến đã bị tắt. Áp dụng một mẫu hoặc xóa các quy tắc định tuyến để tạo cấu hình.",
|
||||
"subHappEditorNew": "Hiện chưa có quy tắc. Bắt đầu với cấu hình tùy chỉnh trống.",
|
||||
"subHappBuildDeeplink": "Tạo deeplink",
|
||||
"subHappModalTitle": "Trình tạo quy tắc định tuyến trực quan cho Happ",
|
||||
"subHappDirectDomains": "Tên miền trực tiếp (bỏ qua)",
|
||||
|
||||
Reference in New Issue
Block a user