refactor: Optimize VPN/Proxy configuration messages

This commit is contained in:
Ivan Kvashonkin
2024-11-11 18:46:52 +03:00
parent b6f1c4e747
commit 47699ee0d6
3 changed files with 113 additions and 136 deletions

View File

@@ -299,7 +299,7 @@ return view.extend({
o = s.tab('alternative_config', _('Alternative Config')); o = s.tab('alternative_config', _('Alternative Config'));
o = s.taboption('alternative_config', form.Flag, 'second_enable', _('Alternative VPN/Proxy Enable'), _('Enable routing configuration')); o = s.taboption('alternative_config', form.Flag, 'second_enable', _('Alternative VPN/Proxy Enable'), _('Enable alternative VPN/Proxy configuration'));
o.default = '0'; o.default = '0';
o.rmempty = false; o.rmempty = false;
o.ucisection = 'second'; o.ucisection = 'second';

View File

@@ -4,8 +4,20 @@ msgstr "Content-Type: text/plain; charset=UTF-8"
msgid "Podkop configuration" msgid "Podkop configuration"
msgstr "Настройка Podkop" msgstr "Настройка Podkop"
msgid "Main Config" msgid "Basic Settings"
msgstr "Основная конфигурация" msgstr "Основные настройки"
msgid "Additional Settings"
msgstr "Дополнительные настройки"
msgid "Alternative Config"
msgstr "Альтернативная конфигурация"
msgid "Alternative VPN/Proxy Enable"
msgstr "Включить альтернативный VPN/Proxy"
msgid "Enable alternative VPN/Proxy configuration"
msgstr "Включить конфигурацию альтернативного VPN/Proxy"
msgid "Connection Type" msgid "Connection Type"
msgstr "Тип подключения" msgstr "Тип подключения"
@@ -46,12 +58,6 @@ msgstr "Сети сервисов"
msgid "Select predefined service networks for routing" msgid "Select predefined service networks for routing"
msgstr "Выберите предустановленные сети сервисов для маршрутизации" msgstr "Выберите предустановленные сети сервисов для маршрутизации"
msgid "Add-ons"
msgstr "Дополнения"
msgid "Alternative Config"
msgstr "Альтернативная конфигурация"
msgid "User Domain List" msgid "User Domain List"
msgstr "Пользовательский список доменов" msgstr "Пользовательский список доменов"
@@ -61,6 +67,9 @@ msgstr "Включить и управлять пользовательским
msgid "User Domains" msgid "User Domains"
msgstr "Пользовательские домены" msgstr "Пользовательские домены"
msgid "Enter domain names without protocols (example: sub.example.com or example.com)"
msgstr "Введите имена доменов без протоколов (пример: sub.example.com или example.com)"
msgid "Remote Domain Lists" msgid "Remote Domain Lists"
msgstr "Удаленные списки доменов" msgstr "Удаленные списки доменов"
@@ -151,9 +160,6 @@ msgstr "Раз в день в 04:00"
msgid "Once a week on Sunday at 04:00" msgid "Once a week on Sunday at 04:00"
msgstr "Раз в неделю в воскресенье в 04:00" msgstr "Раз в неделю в воскресенье в 04:00"
msgid "Once a week on Monday at 04:00"
msgstr "Раз в неделю в понедельник в 04:00"
msgid "Yacd enable" msgid "Yacd enable"
msgstr "Включить Yacd" msgstr "Включить Yacd"
@@ -169,41 +175,29 @@ msgstr "Исключить NTP"
msgid "For issues with open connections sing-box" msgid "For issues with open connections sing-box"
msgstr "Для проблем с открытыми соединениями sing-box" msgstr "Для проблем с открытыми соединениями sing-box"
msgid "Secondary Route Enable"
msgstr "Включить вторичный маршрут"
msgid "Enable secondary routing configuration"
msgstr "Включить вторичную конфигурацию маршрутизации"
msgid "Service Domain List Enable" msgid "Service Domain List Enable"
msgstr "Включить список доменов сервисов" msgstr "Включить список доменов сервисов"
msgid "Enable predefined service domain lists for secondary routing" msgid "Enable predefined service domain lists for routing"
msgstr "Включить предустановленные списки доменов сервисов для вторичной маршрутизации" msgstr "Включить предустановленные списки доменов для маршрутизации"
msgid "Service List" msgid "Service List"
msgstr "Список сервисов" msgstr "Список сервисов"
msgid "Select predefined services for secondary routing" msgid "Select predefined services for routing"
msgstr "Выберите предустановленные сервисы для вторичной маршрутизации" msgstr "Выберите предустановленные сервисы для маршрутизации"
msgid "Secondary Domain List" msgid "Domains"
msgstr "Вторичный список доменов" msgstr "Домены"
msgid "Configure custom domains for secondary routing path" msgid "Subnet List"
msgstr "Настройте пользовательские домены для вторичного маршрута" msgstr "Список подсетей"
msgid "Secondary Domains" msgid "Configure custom subnets for routing"
msgstr "Вторичные домены" msgstr "Настройка пользовательских подсетей для маршрутизации"
msgid "Secondary Subnet List" msgid "Subnets"
msgstr "Вторичный список подсетей" msgstr "Подсети"
msgid "Configure custom subnets for secondary routing path"
msgstr "Настройте пользовательские подсети для вторичного маршрута"
msgid "Secondary Subnets"
msgstr "Вторичные подсети"
msgid "Invalid domain format. Enter domain without protocol (example: sub.example.com)" msgid "Invalid domain format. Enter domain without protocol (example: sub.example.com)"
msgstr "Неверный формат домена. Введите домен без протокола (пример: sub.example.com)" msgstr "Неверный формат домена. Введите домен без протокола (пример: sub.example.com)"

View File

@@ -1,238 +1,221 @@
msgid "" msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8" msgstr "Content-Type: text/plain; charset=UTF-8"
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Podkop configuration" msgid "Podkop configuration"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Basic Settings"
msgid "Main Config"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Additional Settings"
msgid "Connection Type"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Select between VPN and Proxy connection methods for traffic routing"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Proxy Configuration URL"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Enter connection string starting with vless:// or ss:// for proxy configuration"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Network Interface"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Select network interface for VPN connection"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Predefined Domain Lists"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Domain List"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Select a predefined domain list"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Predefined Service Networks"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Enable routing for popular services like Twitter, Meta, and Discord"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Service Networks"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Select predefined service networks for routing"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Add-ons"
msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Alternative Config" msgid "Alternative Config"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Alternative VPN/Proxy Enable"
msgstr ""
msgid "Enable alternative VPN/Proxy configuration"
msgstr ""
msgid "Connection Type"
msgstr ""
msgid "Select between VPN and Proxy connection methods for traffic routing"
msgstr ""
msgid "Proxy Configuration URL"
msgstr ""
msgid "Enter connection string starting with vless:// or ss:// for proxy configuration"
msgstr ""
msgid "Network Interface"
msgstr ""
msgid "Select network interface for VPN connection"
msgstr ""
msgid "Predefined Domain Lists"
msgstr ""
msgid "Domain List"
msgstr ""
msgid "Select a predefined domain list"
msgstr ""
msgid "Predefined Service Networks"
msgstr ""
msgid "Enable routing for popular services like Twitter, Meta, and Discord"
msgstr ""
msgid "Service Networks"
msgstr ""
msgid "Select predefined service networks for routing"
msgstr ""
msgid "User Domain List" msgid "User Domain List"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Enable and manage your custom list of domains for selective routing" msgid "Enable and manage your custom list of domains for selective routing"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "User Domains" msgid "User Domains"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Enter domain names without protocols (example: sub.example.com or example.com)"
msgstr ""
msgid "Remote Domain Lists" msgid "Remote Domain Lists"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Download and use domain lists from remote URLs" msgid "Download and use domain lists from remote URLs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Remote Domain URLs" msgid "Remote Domain URLs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Enter full URLs starting with http:// or https://" msgid "Enter full URLs starting with http:// or https://"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "User Subnet List" msgid "User Subnet List"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Enable and manage your custom list of IP subnets for selective routing" msgid "Enable and manage your custom list of IP subnets for selective routing"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "User Subnets" msgid "User Subnets"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Enter subnet in CIDR notation (example: 192.168.1.0/24)"
msgstr ""
msgid "Remote Subnet Lists" msgid "Remote Subnet Lists"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Download and use subnet lists from remote URLs" msgid "Download and use subnet lists from remote URLs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Remote Subnet URLs" msgid "Remote Subnet URLs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Domain Exclusions" msgid "Domain Exclusions"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Exclude specific domains from routing rules" msgid "Exclude specific domains from routing rules"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Excluded Domains" msgid "Excluded Domains"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Domains to be excluded from routing"
msgstr ""
msgid "Force Proxy IPs" msgid "Force Proxy IPs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Specify local IP addresses whose traffic will always use the configured route" msgid "Specify local IP addresses whose traffic will always use the configured route"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Local IPs" msgid "Local IPs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Enter valid IPv4 addresses"
msgstr ""
msgid "Bypass Proxy IPs" msgid "Bypass Proxy IPs"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Specify local IP addresses that will never use the configured route" msgid "Specify local IP addresses that will never use the configured route"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "List Update Frequency" msgid "List Update Frequency"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Select how often the lists will be updated" msgid "Select how often the lists will be updated"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Every hour" msgid "Every hour"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Every 2 hours" msgid "Every 2 hours"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Every 4 hours" msgid "Every 4 hours"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Every 6 hours" msgid "Every 6 hours"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Every 12 hours" msgid "Every 12 hours"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Once a day at 04:00" msgid "Once a day at 04:00"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Once a week on Sunday at 04:00" msgid "Once a week on Sunday at 04:00"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Yacd enable" msgid "Yacd enable"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Mixed enable" msgid "Mixed enable"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Browser port: 2080" msgid "Browser port: 2080"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Exclude NTP" msgid "Exclude NTP"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "For issues with open connections sing-box" msgid "For issues with open connections sing-box"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0 msgid "Service Domain List Enable"
msgstr ""
msgid "Enable predefined service domain lists for routing"
msgstr ""
msgid "Service List"
msgstr ""
msgid "Select predefined services for routing"
msgstr ""
msgid "Domains"
msgstr ""
msgid "Subnet List"
msgstr ""
msgid "Configure custom subnets for routing"
msgstr ""
msgid "Subnets"
msgstr ""
msgid "Invalid domain format. Enter domain without protocol (example: sub.example.com)" msgid "Invalid domain format. Enter domain without protocol (example: sub.example.com)"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "URL must use http:// or https:// protocol" msgid "URL must use http:// or https:// protocol"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Invalid URL format. URL must start with http:// or https://" msgid "Invalid URL format. URL must start with http:// or https://"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Invalid subnet format. Use format: X.X.X.X/Y (like 192.168.1.0/24)" msgid "Invalid subnet format. Use format: X.X.X.X/Y (like 192.168.1.0/24)"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "IP address parts must be between 0 and 255" msgid "IP address parts must be between 0 and 255"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "CIDR must be between 0 and 32" msgid "CIDR must be between 0 and 32"
msgstr "" msgstr ""
#: applications/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js:0
msgid "Invalid IP format. Use format: X.X.X.X (like 192.168.1.1)" msgid "Invalid IP format. Use format: X.X.X.X (like 192.168.1.1)"
msgstr "" msgstr ""