Merge pull request #224 from itdoginfo/feat/fe-improvements

Some FE improvements
This commit is contained in:
Kirill Sobakin
2025-10-23 21:12:03 +03:00
committed by GitHub
28 changed files with 925 additions and 758 deletions

View File

@@ -38,7 +38,7 @@
"call": "Additional marking rules found", "call": "Additional marking rules found",
"key": "Additional marking rules found", "key": "Additional marking rules found",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:117" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:106"
] ]
}, },
{ {
@@ -62,11 +62,18 @@
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:437" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:437"
] ]
}, },
{
"call": "Available actions",
"key": "Available actions",
"places": [
"src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:43"
]
},
{ {
"call": "Bootsrap DNS", "call": "Bootsrap DNS",
"key": "Bootsrap DNS", "key": "Bootsrap DNS",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:65"
] ]
}, },
{ {
@@ -80,77 +87,68 @@
"call": "Browser is not using FakeIP", "call": "Browser is not using FakeIP",
"key": "Browser is not using FakeIP", "key": "Browser is not using FakeIP",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:81" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:58"
] ]
}, },
{ {
"call": "Browser is using FakeIP correctly", "call": "Browser is using FakeIP correctly",
"key": "Browser is using FakeIP correctly", "key": "Browser is using FakeIP correctly",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:80" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57"
] ]
}, },
{ {
"call": "Cache File Path", "call": "Cache File Path",
"key": "Cache File Path", "key": "Cache File Path",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:322" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:329"
] ]
}, },
{ {
"call": "Cache file path cannot be empty", "call": "Cache file path cannot be empty",
"key": "Cache file path cannot be empty", "key": "Cache file path cannot be empty",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:336" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:343"
] ]
}, },
{ {
"call": "Cannot receive DNS checks result", "call": "Cannot receive checks result",
"key": "Cannot receive DNS checks result", "key": "Cannot receive checks result",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:26" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:27",
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:28",
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:25"
] ]
}, },
{ {
"call": "Cannot receive nftables checks result", "call": "Checking, please wait",
"key": "Cannot receive nftables checks result", "key": "Checking, please wait",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:27" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:15",
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:15",
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:13",
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:13"
] ]
}, },
{ {
"call": "Cannot receive Sing-box checks result", "call": "checks",
"key": "Cannot receive Sing-box checks result", "key": "checks",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:24" "src/podkop/tabs/diagnostic/helpers/getCheckTitle.ts:2"
] ]
}, },
{ {
"call": "Checking dns, please wait", "call": "Checks failed",
"key": "Checking dns, please wait", "key": "Checks failed",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:14" "src/podkop/tabs/diagnostic/helpers/getMeta.ts:26"
] ]
}, },
{ {
"call": "Checking FakeIP, please wait", "call": "Checks passed",
"key": "Checking FakeIP, please wait", "key": "Checks passed",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:14" "src/podkop/tabs/diagnostic/helpers/getMeta.ts:13"
]
},
{
"call": "Checking nftables, please wait",
"key": "Checking nftables, please wait",
"places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:12"
]
},
{
"call": "Checking sing-box, please wait",
"key": "Checking sing-box, please wait",
"places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:12"
] ]
}, },
{ {
@@ -178,7 +176,7 @@
"call": "Config File Path", "call": "Config File Path",
"key": "Config File Path", "key": "Config File Path",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:309" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:316"
] ]
}, },
{ {
@@ -241,21 +239,21 @@
"call": "Delay in milliseconds before reloading podkop after interface UP", "call": "Delay in milliseconds before reloading podkop after interface UP",
"key": "Delay in milliseconds before reloading podkop after interface UP", "key": "Delay in milliseconds before reloading podkop after interface UP",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:215" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222"
] ]
}, },
{ {
"call": "Delay value cannot be empty", "call": "Delay value cannot be empty",
"key": "Delay value cannot be empty", "key": "Delay value cannot be empty",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:229"
] ]
}, },
{ {
"call": "DHCP has DNS server", "call": "DHCP has DNS server",
"key": "DHCP has DNS server", "key": "DHCP has DNS server",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:89" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:82"
] ]
}, },
{ {
@@ -276,14 +274,14 @@
"call": "Disable QUIC", "call": "Disable QUIC",
"key": "Disable QUIC", "key": "Disable QUIC",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:239" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:246"
] ]
}, },
{ {
"call": "Disable the QUIC protocol to improve compatibility or fix issues with video streaming", "call": "Disable the QUIC protocol to improve compatibility or fix issues with video streaming",
"key": "Disable the QUIC protocol to improve compatibility or fix issues with video streaming", "key": "Disable the QUIC protocol to improve compatibility or fix issues with video streaming",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:240" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:247"
] ]
}, },
{ {
@@ -294,25 +292,11 @@
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:382" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:382"
] ]
}, },
{
"call": "DNS checks",
"key": "DNS checks",
"places": [
"src/podkop/tabs/diagnostic/checks/contstants.ts:14"
]
},
{
"call": "DNS checks passed",
"key": "DNS checks passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:64"
]
},
{ {
"call": "DNS on router", "call": "DNS on router",
"key": "DNS on router", "key": "DNS on router",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:84" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:77"
] ]
}, },
{ {
@@ -361,6 +345,13 @@
"src/validators/validateDns.ts:7" "src/validators/validateDns.ts:7"
] ]
}, },
{
"call": "Do not panic, everything can be fixed, just...",
"key": "Do not panic, everything can be fixed, just...",
"places": [
"src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:26"
]
},
{ {
"call": "Domain Resolver", "call": "Domain Resolver",
"key": "Domain Resolver", "key": "Domain Resolver",
@@ -372,7 +363,7 @@
"call": "Dont Touch My DHCP!", "call": "Dont Touch My DHCP!",
"key": "Dont Touch My DHCP!", "key": "Dont Touch My DHCP!",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:300" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:307"
] ]
}, },
{ {
@@ -394,28 +385,28 @@
"call": "Download Lists via Proxy/VPN", "call": "Download Lists via Proxy/VPN",
"key": "Download Lists via Proxy/VPN", "key": "Download Lists via Proxy/VPN",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:262" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:269"
] ]
}, },
{ {
"call": "Download Lists via specific proxy section", "call": "Download Lists via specific proxy section",
"key": "Download Lists via specific proxy section", "key": "Download Lists via specific proxy section",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:271" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:278"
] ]
}, },
{ {
"call": "Downloading all lists via main Proxy/VPN", "call": "Downloading all lists via main Proxy/VPN",
"key": "Downloading all lists via main Proxy/VPN", "key": "Downloading all lists via main Proxy/VPN",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:263" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:270"
] ]
}, },
{ {
"call": "Downloading all lists via specific Proxy/VPN", "call": "Downloading all lists via specific Proxy/VPN",
"key": "Downloading all lists via specific Proxy/VPN", "key": "Downloading all lists via specific Proxy/VPN",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:272" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:279"
] ]
}, },
{ {
@@ -465,7 +456,7 @@
"call": "Enable YACD", "call": "Enable YACD",
"key": "Enable YACD", "key": "Enable YACD",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:230" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:237"
] ]
}, },
{ {
@@ -500,14 +491,14 @@
"call": "Exclude NTP", "call": "Exclude NTP",
"key": "Exclude NTP", "key": "Exclude NTP",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:358" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:365"
] ]
}, },
{ {
"call": "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN", "call": "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN",
"key": "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN", "key": "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:359" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:366"
] ]
}, },
{ {
@@ -518,31 +509,15 @@
] ]
}, },
{ {
"call": "FakeIP checks", "call": "Failed to execute!",
"key": "FakeIP checks", "key": "Failed to execute!",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/contstants.ts:29" "src/podkop/tabs/diagnostic/initController.ts:226",
] "src/podkop/tabs/diagnostic/initController.ts:230",
}, "src/podkop/tabs/diagnostic/initController.ts:260",
{ "src/podkop/tabs/diagnostic/initController.ts:264",
"call": "FakeIP checks failed", "src/podkop/tabs/diagnostic/initController.ts:298",
"key": "FakeIP checks failed", "src/podkop/tabs/diagnostic/initController.ts:302"
"places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57"
]
},
{
"call": "FakeIP checks partially passed",
"key": "FakeIP checks partially passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51"
]
},
{
"call": "FakeIP checks passed",
"key": "FakeIP checks passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:44"
] ]
}, },
{ {
@@ -570,7 +545,7 @@
"call": "Global check", "call": "Global check",
"key": "Global check", "key": "Global check",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:218" "src/podkop/tabs/diagnostic/initController.ts:221"
] ]
}, },
{ {
@@ -584,28 +559,28 @@
"call": "Interface Monitoring", "call": "Interface Monitoring",
"key": "Interface Monitoring", "key": "Interface Monitoring",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:182" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:189"
] ]
}, },
{ {
"call": "Interface Monitoring Delay", "call": "Interface Monitoring Delay",
"key": "Interface Monitoring Delay", "key": "Interface Monitoring Delay",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:214" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:221"
] ]
}, },
{ {
"call": "Interface monitoring for Bad WAN", "call": "Interface monitoring for Bad WAN",
"key": "Interface monitoring for Bad WAN", "key": "Interface monitoring for Bad WAN",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:183" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:190"
] ]
}, },
{ {
"call": "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH", "call": "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH",
"key": "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH", "key": "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH",
"places": [ "places": [
"src/validators/validateDns.ts:20" "src/validators/validateDns.ts:23"
] ]
}, },
{ {
@@ -809,7 +784,7 @@
"call": "Invalid VLESS URL: parsing failed", "call": "Invalid VLESS URL: parsing failed",
"key": "Invalid VLESS URL: parsing failed", "key": "Invalid VLESS URL: parsing failed",
"places": [ "places": [
"src/validators/validateVlessUrl.ts:109" "src/validators/validateVlessUrl.ts:110"
] ]
}, },
{ {
@@ -819,18 +794,25 @@
"src/validators/validateSubnet.ts:18" "src/validators/validateSubnet.ts:18"
] ]
}, },
{
"call": "Issues detected",
"key": "Issues detected",
"places": [
"src/podkop/tabs/diagnostic/helpers/getMeta.ts:20"
]
},
{ {
"call": "Latest", "call": "Latest",
"key": "Latest", "key": "Latest",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:404" "src/podkop/tabs/diagnostic/initController.ts:452"
] ]
}, },
{ {
"call": "List Update Frequency", "call": "List Update Frequency",
"key": "List Update Frequency", "key": "List Update Frequency",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:250" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:257"
] ]
}, },
{ {
@@ -851,7 +833,7 @@
"call": "Main DNS", "call": "Main DNS",
"key": "Main DNS", "key": "Main DNS",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:79" "src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72"
] ]
}, },
{ {
@@ -872,7 +854,7 @@
"call": "Monitored Interfaces", "call": "Monitored Interfaces",
"key": "Monitored Interfaces", "key": "Monitored Interfaces",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:191" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:198"
] ]
}, },
{ {
@@ -882,32 +864,11 @@
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:120" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:120"
] ]
}, },
{
"call": "Nftables checks",
"key": "Nftables checks",
"places": [
"src/podkop/tabs/diagnostic/checks/contstants.ts:24"
]
},
{
"call": "Nftables checks partially passed",
"key": "Nftables checks partially passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:75"
]
},
{
"call": "Nftables checks passed",
"key": "Nftables checks passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74"
]
},
{ {
"call": "No other marking rules found", "call": "No other marking rules found",
"key": "No other marking rules found", "key": "No other marking rules found",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:116" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105"
] ]
}, },
{ {
@@ -959,7 +920,7 @@
"call": "Outdated", "call": "Outdated",
"key": "Outdated", "key": "Outdated",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:394" "src/podkop/tabs/diagnostic/initController.ts:442"
] ]
}, },
{ {
@@ -980,21 +941,31 @@
"call": "Path must be absolute (start with /)", "call": "Path must be absolute (start with /)",
"key": "Path must be absolute (start with /)", "key": "Path must be absolute (start with /)",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:340" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:347"
] ]
}, },
{ {
"call": "Path must contain at least one directory (like /tmp/cache.db)", "call": "Path must contain at least one directory (like /tmp/cache.db)",
"key": "Path must contain at least one directory (like /tmp/cache.db)", "key": "Path must contain at least one directory (like /tmp/cache.db)",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:349" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:356"
] ]
}, },
{ {
"call": "Path must end with cache.db", "call": "Path must end with cache.db",
"key": "Path must end with cache.db", "key": "Path must end with cache.db",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:344" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:351"
]
},
{
"call": "Pending",
"key": "Pending",
"places": [
"src/podkop/tabs/diagnostic/diagnostic.store.ts:95",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:103",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:111",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:119"
] ]
}, },
{ {
@@ -1015,7 +986,7 @@
"call": "Podkop will not modify your DHCP configuration", "call": "Podkop will not modify your DHCP configuration",
"key": "Podkop will not modify your DHCP configuration", "key": "Podkop will not modify your DHCP configuration",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:301" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:308"
] ]
}, },
{ {
@@ -1029,24 +1000,14 @@
"call": "Proxy traffic is not routed via FakeIP", "call": "Proxy traffic is not routed via FakeIP",
"key": "Proxy traffic is not routed via FakeIP", "key": "Proxy traffic is not routed via FakeIP",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:89" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:66"
] ]
}, },
{ {
"call": "Proxy traffic is routed via FakeIP", "call": "Proxy traffic is routed via FakeIP",
"key": "Proxy traffic is routed via FakeIP", "key": "Proxy traffic is routed via FakeIP",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:88" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:65"
]
},
{
"call": "Queued",
"key": "Queued",
"places": [
"src/podkop/tabs/diagnostic/diagnostic.store.ts:95",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:103",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:111",
"src/podkop/tabs/diagnostic/diagnostic.store.ts:119"
] ]
}, },
{ {
@@ -1081,63 +1042,63 @@
"call": "Router DNS is not routed through sing-box", "call": "Router DNS is not routed through sing-box",
"key": "Router DNS is not routed through sing-box", "key": "Router DNS is not routed through sing-box",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:74" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51"
] ]
}, },
{ {
"call": "Router DNS is routed through sing-box", "call": "Router DNS is routed through sing-box",
"key": "Router DNS is routed through sing-box", "key": "Router DNS is routed through sing-box",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:73" "src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:50"
] ]
}, },
{ {
"call": "Routing Excluded IPs", "call": "Routing Excluded IPs",
"key": "Routing Excluded IPs", "key": "Routing Excluded IPs",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:369" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:376"
] ]
}, },
{ {
"call": "Rules mangle counters", "call": "Rules mangle counters",
"key": "Rules mangle counters", "key": "Rules mangle counters",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:90" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:79"
] ]
}, },
{ {
"call": "Rules mangle exist", "call": "Rules mangle exist",
"key": "Rules mangle exist", "key": "Rules mangle exist",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:85" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74"
] ]
}, },
{ {
"call": "Rules mangle output counters", "call": "Rules mangle output counters",
"key": "Rules mangle output counters", "key": "Rules mangle output counters",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:100" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:89"
] ]
}, },
{ {
"call": "Rules mangle output exist", "call": "Rules mangle output exist",
"key": "Rules mangle output exist", "key": "Rules mangle output exist",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:95" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:84"
] ]
}, },
{ {
"call": "Rules proxy counters", "call": "Rules proxy counters",
"key": "Rules proxy counters", "key": "Rules proxy counters",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:110" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:99"
] ]
}, },
{ {
"call": "Rules proxy exist", "call": "Rules proxy exist",
"key": "Rules proxy exist", "key": "Rules proxy exist",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:94"
] ]
}, },
{ {
@@ -1186,7 +1147,7 @@
"call": "Select how often the domain or subnet lists are updated automatically", "call": "Select how often the domain or subnet lists are updated automatically",
"key": "Select how often the domain or subnet lists are updated automatically", "key": "Select how often the domain or subnet lists are updated automatically",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:251" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:258"
] ]
}, },
{ {
@@ -1215,14 +1176,14 @@
"call": "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing", "call": "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing",
"key": "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing", "key": "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:323" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:330"
] ]
}, },
{ {
"call": "Select path for sing-box config file. Change this ONLY if you know what you are doing", "call": "Select path for sing-box config file. Change this ONLY if you know what you are doing",
"key": "Select path for sing-box config file. Change this ONLY if you know what you are doing", "key": "Select path for sing-box config file. Change this ONLY if you know what you are doing",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:310" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:317"
] ]
}, },
{ {
@@ -1264,7 +1225,7 @@
"call": "Select the WAN interfaces to be monitored", "call": "Select the WAN interfaces to be monitored",
"key": "Select the WAN interfaces to be monitored", "key": "Select the WAN interfaces to be monitored",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:192" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:199"
] ]
}, },
{ {
@@ -1285,7 +1246,7 @@
"call": "Show sing-box config", "call": "Show sing-box config",
"key": "Show sing-box config", "key": "Show sing-box config",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:278", "src/podkop/tabs/diagnostic/initController.ts:289",
"src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116" "src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116"
] ]
}, },
@@ -1300,56 +1261,42 @@
"call": "Sing-box autostart disabled", "call": "Sing-box autostart disabled",
"key": "Sing-box autostart disabled", "key": "Sing-box autostart disabled",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:86" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:77"
]
},
{
"call": "Sing-box checks",
"key": "Sing-box checks",
"places": [
"src/podkop/tabs/diagnostic/checks/contstants.ts:19"
]
},
{
"call": "Sing-box checks passed",
"key": "Sing-box checks passed",
"places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:66"
] ]
}, },
{ {
"call": "Sing-box installed", "call": "Sing-box installed",
"key": "Sing-box installed", "key": "Sing-box installed",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:71" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:62"
] ]
}, },
{ {
"call": "Sing-box listening ports", "call": "Sing-box listening ports",
"key": "Sing-box listening ports", "key": "Sing-box listening ports",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:96" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:87"
] ]
}, },
{ {
"call": "Sing-box process running", "call": "Sing-box process running",
"key": "Sing-box process running", "key": "Sing-box process running",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:91" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:82"
] ]
}, },
{ {
"call": "Sing-box service exist", "call": "Sing-box service exist",
"key": "Sing-box service exist", "key": "Sing-box service exist",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:81" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:72"
] ]
}, },
{ {
"call": "Sing-box version >= 1.12.4", "call": "Sing-box version >= 1.12.4",
"key": "Sing-box version >= 1.12.4", "key": "Sing-box version >= 1.12.4",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:76" "src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:67"
] ]
}, },
{ {
@@ -1363,7 +1310,7 @@
"call": "Specify a local IP address to be excluded from routing", "call": "Specify a local IP address to be excluded from routing",
"key": "Specify a local IP address to be excluded from routing", "key": "Specify a local IP address to be excluded from routing",
"places": [ "places": [
"../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:370" "../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:377"
] ]
}, },
{ {
@@ -1423,11 +1370,18 @@
"src/podkop/tabs/dashboard/initController.ts:301" "src/podkop/tabs/dashboard/initController.ts:301"
] ]
}, },
{
"call": "System information",
"key": "System information",
"places": [
"src/podkop/tabs/diagnostic/partials/renderSystemInfo.ts:21"
]
},
{ {
"call": "Table exist", "call": "Table exist",
"key": "Table exist", "key": "Table exist",
"places": [ "places": [
"src/podkop/tabs/diagnostic/checks/runNftCheck.ts:80" "src/podkop/tabs/diagnostic/checks/runNftCheck.ts:69"
] ]
}, },
{ {
@@ -1479,6 +1433,13 @@
"src/podkop/tabs/dashboard/initController.ts:265" "src/podkop/tabs/dashboard/initController.ts:265"
] ]
}, },
{
"call": "Troubleshooting",
"key": "Troubleshooting",
"places": [
"src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:25"
]
},
{ {
"call": "TTL must be a positive number", "call": "TTL must be a positive number",
"key": "TTL must be a positive number", "key": "TTL must be a positive number",
@@ -1512,13 +1473,13 @@
"call": "unknown", "call": "unknown",
"key": "unknown", "key": "unknown",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:34",
"src/podkop/tabs/diagnostic/initController.ts:35",
"src/podkop/tabs/diagnostic/initController.ts:36",
"src/podkop/tabs/diagnostic/initController.ts:37", "src/podkop/tabs/diagnostic/initController.ts:37",
"src/podkop/tabs/diagnostic/initController.ts:38", "src/podkop/tabs/diagnostic/initController.ts:38",
"src/podkop/tabs/diagnostic/initController.ts:39", "src/podkop/tabs/diagnostic/initController.ts:39",
"src/podkop/tabs/diagnostic/initController.ts:373" "src/podkop/tabs/diagnostic/initController.ts:40",
"src/podkop/tabs/diagnostic/initController.ts:41",
"src/podkop/tabs/diagnostic/initController.ts:42",
"src/podkop/tabs/diagnostic/initController.ts:416"
] ]
}, },
{ {
@@ -1540,7 +1501,7 @@
"call": "URL must start with vless://, ss://, trojan://, or socks4/5://", "call": "URL must start with vless://, ss://, trojan://, or socks4/5://",
"key": "URL must start with vless://, ss://, trojan://, or socks4/5://", "key": "URL must start with vless://, ss://, trojan://, or socks4/5://",
"places": [ "places": [
"src/validators/validateProxyUrl.ts:27" "src/validators/validateProxyUrl.ts:29"
] ]
}, },
{ {
@@ -1610,8 +1571,8 @@
"call": "Valid", "call": "Valid",
"key": "Valid", "key": "Valid",
"places": [ "places": [
"src/validators/validateDns.ts:11", "src/validators/validateDns.ts:14",
"src/validators/validateDns.ts:15", "src/validators/validateDns.ts:18",
"src/validators/validateDomain.ts:13", "src/validators/validateDomain.ts:13",
"src/validators/validateDomain.ts:30", "src/validators/validateDomain.ts:30",
"src/validators/validateIp.ts:8", "src/validators/validateIp.ts:8",
@@ -1622,7 +1583,7 @@
"src/validators/validateSubnet.ts:38", "src/validators/validateSubnet.ts:38",
"src/validators/validateTrojanUrl.ts:59", "src/validators/validateTrojanUrl.ts:59",
"src/validators/validateUrl.ts:16", "src/validators/validateUrl.ts:16",
"src/validators/validateVlessUrl.ts:107" "src/validators/validateVlessUrl.ts:108"
] ]
}, },
{ {
@@ -1637,10 +1598,17 @@
"call": "View logs", "call": "View logs",
"key": "View logs", "key": "View logs",
"places": [ "places": [
"src/podkop/tabs/diagnostic/initController.ts:248", "src/podkop/tabs/diagnostic/initController.ts:255",
"src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107" "src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107"
] ]
}, },
{
"call": "Visit Wiki",
"key": "Visit Wiki",
"places": [
"src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:31"
]
},
{ {
"call": "Warning: %s cannot be used together with %s. Previous selections have been removed.", "call": "Warning: %s cannot be used together with %s. Previous selections have been removed.",
"key": "Warning: %s cannot be used together with %s. Previous selections have been removed.", "key": "Warning: %s cannot be used together with %s. Previous selections have been removed.",

View File

@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PODKOP\n" "Project-Id-Version: PODKOP\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21 20:02+0300\n" "POT-Creation-Date: 2025-10-23 17:43+0300\n"
"PO-Revision-Date: 2025-10-21 20:02+0300\n" "PO-Revision-Date: 2025-10-23 17:43+0300\n"
"Last-Translator: divocat <divocatt@gmail.com>\n" "Last-Translator: divocat <divocatt@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
@@ -36,7 +36,7 @@ msgstr ""
msgid "Active Connections" msgid "Active Connections"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:117 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:106
msgid "Additional marking rules found" msgid "Additional marking rules found"
msgstr "" msgstr ""
@@ -52,7 +52,11 @@ msgstr ""
msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed." msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed."
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:43
msgid "Available actions"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:65
msgid "Bootsrap DNS" msgid "Bootsrap DNS"
msgstr "" msgstr ""
@@ -60,48 +64,45 @@ msgstr ""
msgid "Bootstrap DNS server" msgid "Bootstrap DNS server"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:81 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:58
msgid "Browser is not using FakeIP" msgid "Browser is not using FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:80 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57
msgid "Browser is using FakeIP correctly" msgid "Browser is using FakeIP correctly"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:322 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:329
msgid "Cache File Path" msgid "Cache File Path"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:336 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:343
msgid "Cache file path cannot be empty" msgid "Cache file path cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:26 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:27
msgid "Cannot receive DNS checks result" #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:28
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:25
msgid "Cannot receive checks result"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:27 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:15
msgid "Cannot receive nftables checks result" #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:15
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:13
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:13
msgid "Checking, please wait"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:24 #: src/podkop/tabs/diagnostic/helpers/getCheckTitle.ts:2
msgid "Cannot receive Sing-box checks result" msgid "checks"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:14 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:26
msgid "Checking dns, please wait" msgid "Checks failed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:14 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:13
msgid "Checking FakeIP, please wait" msgid "Checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:12
msgid "Checking nftables, please wait"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:12
msgid "Checking sing-box, please wait"
msgstr "" msgstr ""
#: src/validators/validateSubnet.ts:33 #: src/validators/validateSubnet.ts:33
@@ -116,7 +117,7 @@ msgstr ""
msgid "Community Lists" msgid "Community Lists"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:309 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:316
msgid "Config File Path" msgid "Config File Path"
msgstr "" msgstr ""
@@ -152,15 +153,15 @@ msgstr ""
msgid "Dashboard currently unavailable" msgid "Dashboard currently unavailable"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:215 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222
msgid "Delay in milliseconds before reloading podkop after interface UP" msgid "Delay in milliseconds before reloading podkop after interface UP"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:229
msgid "Delay value cannot be empty" msgid "Delay value cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:89 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:82
msgid "DHCP has DNS server" msgid "DHCP has DNS server"
msgstr "" msgstr ""
@@ -172,11 +173,11 @@ msgstr ""
msgid "Disable autostart" msgid "Disable autostart"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:239 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:246
msgid "Disable QUIC" msgid "Disable QUIC"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:240 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:247
msgid "Disable the QUIC protocol to improve compatibility or fix issues with video streaming" msgid "Disable the QUIC protocol to improve compatibility or fix issues with video streaming"
msgstr "" msgstr ""
@@ -185,15 +186,7 @@ msgstr ""
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:14 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:77
msgid "DNS checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:64
msgid "DNS checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:84
msgid "DNS on router" msgid "DNS on router"
msgstr "" msgstr ""
@@ -225,11 +218,15 @@ msgstr ""
msgid "DNS server address cannot be empty" msgid "DNS server address cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:26
msgid "Do not panic, everything can be fixed, just..."
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:166 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:166
msgid "Domain Resolver" msgid "Domain Resolver"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:300 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:307
msgid "Dont Touch My DHCP!" msgid "Dont Touch My DHCP!"
msgstr "" msgstr ""
@@ -242,19 +239,19 @@ msgstr ""
msgid "Download" msgid "Download"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:262 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:269
msgid "Download Lists via Proxy/VPN" msgid "Download Lists via Proxy/VPN"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:271 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:278
msgid "Download Lists via specific proxy section" msgid "Download Lists via specific proxy section"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:263 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:270
msgid "Downloading all lists via main Proxy/VPN" msgid "Downloading all lists via main Proxy/VPN"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:272 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:279
msgid "Downloading all lists via specific Proxy/VPN" msgid "Downloading all lists via specific Proxy/VPN"
msgstr "" msgstr ""
@@ -283,7 +280,7 @@ msgstr ""
msgid "Enable the mixed proxy, allowing this section to route traffic through both HTTP and SOCKS proxies" msgid "Enable the mixed proxy, allowing this section to route traffic through both HTTP and SOCKS proxies"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:230 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:237
msgid "Enable YACD" msgid "Enable YACD"
msgstr "" msgstr ""
@@ -303,11 +300,11 @@ msgstr ""
msgid "Enter subnets in CIDR notation (e.g. 103.21.244.0/22) or single IP addresses" msgid "Enter subnets in CIDR notation (e.g. 103.21.244.0/22) or single IP addresses"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:358 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:365
msgid "Exclude NTP" msgid "Exclude NTP"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:359 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:366
msgid "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN" msgid "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN"
msgstr "" msgstr ""
@@ -315,20 +312,13 @@ msgstr ""
msgid "Failed to copy!" msgid "Failed to copy!"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:29 #: src/podkop/tabs/diagnostic/initController.ts:226
msgid "FakeIP checks" #: src/podkop/tabs/diagnostic/initController.ts:230
msgstr "" #: src/podkop/tabs/diagnostic/initController.ts:260
#: src/podkop/tabs/diagnostic/initController.ts:264
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57 #: src/podkop/tabs/diagnostic/initController.ts:298
msgid "FakeIP checks failed" #: src/podkop/tabs/diagnostic/initController.ts:302
msgstr "" msgid "Failed to execute!"
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51
msgid "FakeIP checks partially passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:44
msgid "FakeIP checks passed"
msgstr "" msgstr ""
#: src/podkop/methods/custom/getDashboardSections.ts:117 #: src/podkop/methods/custom/getDashboardSections.ts:117
@@ -343,7 +333,7 @@ msgstr ""
msgid "Get global check" msgid "Get global check"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:218 #: src/podkop/tabs/diagnostic/initController.ts:221
msgid "Global check" msgid "Global check"
msgstr "" msgstr ""
@@ -351,19 +341,19 @@ msgstr ""
msgid "HTTP error" msgid "HTTP error"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:182 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:189
msgid "Interface Monitoring" msgid "Interface Monitoring"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:214 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:221
msgid "Interface Monitoring Delay" msgid "Interface Monitoring Delay"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:183 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:190
msgid "Interface monitoring for Bad WAN" msgid "Interface monitoring for Bad WAN"
msgstr "" msgstr ""
#: src/validators/validateDns.ts:20 #: src/validators/validateDns.ts:23
msgid "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH" msgid "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH"
msgstr "" msgstr ""
@@ -480,7 +470,7 @@ msgstr ""
msgid "Invalid URL format" msgid "Invalid URL format"
msgstr "" msgstr ""
#: src/validators/validateVlessUrl.ts:109 #: src/validators/validateVlessUrl.ts:110
msgid "Invalid VLESS URL: parsing failed" msgid "Invalid VLESS URL: parsing failed"
msgstr "" msgstr ""
@@ -488,11 +478,15 @@ msgstr ""
msgid "IP address 0.0.0.0 is not allowed" msgid "IP address 0.0.0.0 is not allowed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:404 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:20
msgid "Issues detected"
msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:452
msgid "Latest" msgid "Latest"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:250 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:257
msgid "List Update Frequency" msgid "List Update Frequency"
msgstr "" msgstr ""
@@ -504,7 +498,7 @@ msgstr ""
msgid "Local Subnet Lists" msgid "Local Subnet Lists"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:79 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72
msgid "Main DNS" msgid "Main DNS"
msgstr "" msgstr ""
@@ -516,7 +510,7 @@ msgstr ""
msgid "Mixed Proxy Port" msgid "Mixed Proxy Port"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:191 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:198
msgid "Monitored Interfaces" msgid "Monitored Interfaces"
msgstr "" msgstr ""
@@ -524,19 +518,7 @@ msgstr ""
msgid "Network Interface" msgid "Network Interface"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:24 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105
msgid "Nftables checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:75
msgid "Nftables checks partially passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74
msgid "Nftables checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:116
msgid "No other marking rules found" msgid "No other marking rules found"
msgstr "" msgstr ""
@@ -567,7 +549,7 @@ msgstr ""
msgid "Outbound JSON must contain at least \"type\", \"server\" and \"server_port\" fields" msgid "Outbound JSON must contain at least \"type\", \"server\" and \"server_port\" fields"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:394 #: src/podkop/tabs/diagnostic/initController.ts:442
msgid "Outdated" msgid "Outdated"
msgstr "" msgstr ""
@@ -579,18 +561,25 @@ msgstr ""
msgid "Path cannot be empty" msgid "Path cannot be empty"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:340 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:347
msgid "Path must be absolute (start with /)" msgid "Path must be absolute (start with /)"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:349 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:356
msgid "Path must contain at least one directory (like /tmp/cache.db)" msgid "Path must contain at least one directory (like /tmp/cache.db)"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:344 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:351
msgid "Path must end with cache.db" msgid "Path must end with cache.db"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:95
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:103
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:111
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:119
msgid "Pending"
msgstr ""
#: src/podkop/tabs/dashboard/initController.ts:340 #: src/podkop/tabs/dashboard/initController.ts:340
msgid "Podkop" msgid "Podkop"
msgstr "" msgstr ""
@@ -599,7 +588,7 @@ msgstr ""
msgid "Podkop Settings" msgid "Podkop Settings"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:301 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:308
msgid "Podkop will not modify your DHCP configuration" msgid "Podkop will not modify your DHCP configuration"
msgstr "" msgstr ""
@@ -607,21 +596,14 @@ msgstr ""
msgid "Proxy Configuration URL" msgid "Proxy Configuration URL"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:89 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:66
msgid "Proxy traffic is not routed via FakeIP" msgid "Proxy traffic is not routed via FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:88 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:65
msgid "Proxy traffic is routed via FakeIP" msgid "Proxy traffic is routed via FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:95
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:103
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:111
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:119
msgid "Queued"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:245 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:245
msgid "Regional options cannot be used together" msgid "Regional options cannot be used together"
msgstr "" msgstr ""
@@ -638,39 +620,39 @@ msgstr ""
msgid "Restart podkop" msgid "Restart podkop"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:74 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51
msgid "Router DNS is not routed through sing-box" msgid "Router DNS is not routed through sing-box"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:73 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:50
msgid "Router DNS is routed through sing-box" msgid "Router DNS is routed through sing-box"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:369 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:376
msgid "Routing Excluded IPs" msgid "Routing Excluded IPs"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:90 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:79
msgid "Rules mangle counters" msgid "Rules mangle counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:85 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74
msgid "Rules mangle exist" msgid "Rules mangle exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:100 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:89
msgid "Rules mangle output counters" msgid "Rules mangle output counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:95 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:84
msgid "Rules mangle output exist" msgid "Rules mangle output exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:110 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:99
msgid "Rules proxy counters" msgid "Rules proxy counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:94
msgid "Rules proxy exist" msgid "Rules proxy exist"
msgstr "" msgstr ""
@@ -698,7 +680,7 @@ msgstr ""
msgid "Select DNS protocol to use" msgid "Select DNS protocol to use"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:251 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:258
msgid "Select how often the domain or subnet lists are updated automatically" msgid "Select how often the domain or subnet lists are updated automatically"
msgstr "" msgstr ""
@@ -715,11 +697,11 @@ msgstr ""
msgid "Select or enter DNS server address" msgid "Select or enter DNS server address"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:323 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:330
msgid "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing" msgid "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:310 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:317
msgid "Select path for sing-box config file. Change this ONLY if you know what you are doing" msgid "Select path for sing-box config file. Change this ONLY if you know what you are doing"
msgstr "" msgstr ""
@@ -743,7 +725,7 @@ msgstr ""
msgid "Select the network interface to which the traffic will originate" msgid "Select the network interface to which the traffic will originate"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:192 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:199
msgid "Select the WAN interfaces to be monitored" msgid "Select the WAN interfaces to be monitored"
msgstr "" msgstr ""
@@ -755,7 +737,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:278 #: src/podkop/tabs/diagnostic/initController.ts:289
#: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116
msgid "Show sing-box config" msgid "Show sing-box config"
msgstr "" msgstr ""
@@ -764,35 +746,27 @@ msgstr ""
msgid "Sing-box" msgid "Sing-box"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:86 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:77
msgid "Sing-box autostart disabled" msgid "Sing-box autostart disabled"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:19 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:62
msgid "Sing-box checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:66
msgid "Sing-box checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:71
msgid "Sing-box installed" msgid "Sing-box installed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:96 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:87
msgid "Sing-box listening ports" msgid "Sing-box listening ports"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:91 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:82
msgid "Sing-box process running" msgid "Sing-box process running"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:81 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:72
msgid "Sing-box service exist" msgid "Sing-box service exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:76 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:67
msgid "Sing-box version >= 1.12.4" msgid "Sing-box version >= 1.12.4"
msgstr "" msgstr ""
@@ -800,7 +774,7 @@ msgstr ""
msgid "Source Network Interface" msgid "Source Network Interface"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:370 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:377
msgid "Specify a local IP address to be excluded from routing" msgid "Specify a local IP address to be excluded from routing"
msgstr "" msgstr ""
@@ -837,7 +811,11 @@ msgstr ""
msgid "System info" msgid "System info"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:80 #: src/podkop/tabs/diagnostic/partials/renderSystemInfo.ts:21
msgid "System information"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:69
msgid "Table exist" msgid "Table exist"
msgstr "" msgstr ""
@@ -869,6 +847,10 @@ msgstr ""
msgid "Traffic Total" msgid "Traffic Total"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:25
msgid "Troubleshooting"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:80 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:80
msgid "TTL must be a positive number" msgid "TTL must be a positive number"
msgstr "" msgstr ""
@@ -886,13 +868,13 @@ msgstr ""
msgid "UDP over TCP" msgid "UDP over TCP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:34
#: src/podkop/tabs/diagnostic/initController.ts:35
#: src/podkop/tabs/diagnostic/initController.ts:36
#: src/podkop/tabs/diagnostic/initController.ts:37 #: src/podkop/tabs/diagnostic/initController.ts:37
#: src/podkop/tabs/diagnostic/initController.ts:38 #: src/podkop/tabs/diagnostic/initController.ts:38
#: src/podkop/tabs/diagnostic/initController.ts:39 #: src/podkop/tabs/diagnostic/initController.ts:39
#: src/podkop/tabs/diagnostic/initController.ts:373 #: src/podkop/tabs/diagnostic/initController.ts:40
#: src/podkop/tabs/diagnostic/initController.ts:41
#: src/podkop/tabs/diagnostic/initController.ts:42
#: src/podkop/tabs/diagnostic/initController.ts:416
msgid "unknown" msgid "unknown"
msgstr "" msgstr ""
@@ -905,7 +887,7 @@ msgstr ""
msgid "Uplink" msgid "Uplink"
msgstr "" msgstr ""
#: src/validators/validateProxyUrl.ts:27 #: src/validators/validateProxyUrl.ts:29
msgid "URL must start with vless://, ss://, trojan://, or socks4/5://" msgid "URL must start with vless://, ss://, trojan://, or socks4/5://"
msgstr "" msgstr ""
@@ -945,8 +927,8 @@ msgstr ""
msgid "User Subnets List" msgid "User Subnets List"
msgstr "" msgstr ""
#: src/validators/validateDns.ts:11 #: src/validators/validateDns.ts:14
#: src/validators/validateDns.ts:15 #: src/validators/validateDns.ts:18
#: src/validators/validateDomain.ts:13 #: src/validators/validateDomain.ts:13
#: src/validators/validateDomain.ts:30 #: src/validators/validateDomain.ts:30
#: src/validators/validateIp.ts:8 #: src/validators/validateIp.ts:8
@@ -957,7 +939,7 @@ msgstr ""
#: src/validators/validateSubnet.ts:38 #: src/validators/validateSubnet.ts:38
#: src/validators/validateTrojanUrl.ts:59 #: src/validators/validateTrojanUrl.ts:59
#: src/validators/validateUrl.ts:16 #: src/validators/validateUrl.ts:16
#: src/validators/validateVlessUrl.ts:107 #: src/validators/validateVlessUrl.ts:108
msgid "Valid" msgid "Valid"
msgstr "" msgstr ""
@@ -966,11 +948,15 @@ msgstr ""
msgid "Validation errors:" msgid "Validation errors:"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:248 #: src/podkop/tabs/diagnostic/initController.ts:255
#: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107
msgid "View logs" msgid "View logs"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:31
msgid "Visit Wiki"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:247 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:247
msgid "Warning: %s cannot be used together with %s. Previous selections have been removed." msgid "Warning: %s cannot be used together with %s. Previous selections have been removed."
msgstr "" msgstr ""

View File

@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PODKOP\n" "Project-Id-Version: PODKOP\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21 23:02+0300\n" "POT-Creation-Date: 2025-10-23 20:43+0300\n"
"PO-Revision-Date: 2025-10-21 23:02+0300\n" "PO-Revision-Date: 2025-10-23 20:43+0300\n"
"Last-Translator: divocat\n" "Last-Translator: divocat\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: ru\n" "Language: ru\n"
@@ -44,6 +44,9 @@ msgstr "Необходимо указать хотя бы один действ
msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed." msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed."
msgstr "Необходимо указать хотя бы одну действительную подсеть или IP. Только комментарии недопустимы." msgstr "Необходимо указать хотя бы одну действительную подсеть или IP. Только комментарии недопустимы."
msgid "Available actions"
msgstr "Доступные действия"
msgid "Bootsrap DNS" msgid "Bootsrap DNS"
msgstr "Bootstrap DNS" msgstr "Bootstrap DNS"
@@ -62,26 +65,20 @@ msgstr "Путь к файлу кэша"
msgid "Cache file path cannot be empty" msgid "Cache file path cannot be empty"
msgstr "Путь к файлу кэша не может быть пустым" msgstr "Путь к файлу кэша не может быть пустым"
msgid "Cannot receive DNS checks result" msgid "Cannot receive checks result"
msgstr "Не удалось получить результаты проверки DNS" msgstr "Не удалось получить результаты проверки"
msgid "Cannot receive nftables checks result" msgid "Checking, please wait"
msgstr "Не удалось получить результаты проверки nftables" msgstr "Проверяем, пожалуйста подождите"
msgid "Cannot receive Sing-box checks result" msgid "checks"
msgstr "Не удалось получить результаты проверки Sing-box" msgstr "проверки"
msgid "Checking dns, please wait" msgid "Checks failed"
msgstr "Проверка dns, пожалуйста подождите" msgstr "Проверки не выполнены"
msgid "Checking FakeIP, please wait" msgid "Checks passed"
msgstr "Проверка FakeIP, пожалуйста подождите" msgstr "Проверки пройдены"
msgid "Checking nftables, please wait"
msgstr "Проверка nftables, пожалуйста подождите"
msgid "Checking sing-box, please wait"
msgstr "Проверка sing-box, пожалуйста подождите"
msgid "CIDR must be between 0 and 32" msgid "CIDR must be between 0 and 32"
msgstr "CIDR должен быть между 0 и 32" msgstr "CIDR должен быть между 0 и 32"
@@ -143,12 +140,6 @@ msgstr "Отключить QUIC протокол для улучшения со
msgid "Disabled" msgid "Disabled"
msgstr "Отключено" msgstr "Отключено"
msgid "DNS checks"
msgstr "DNS проверки"
msgid "DNS checks passed"
msgstr "DNS проверки успешно завершены"
msgid "DNS on router" msgid "DNS on router"
msgstr "DNS на роутере" msgstr "DNS на роутере"
@@ -170,6 +161,9 @@ msgstr "DNS-сервер"
msgid "DNS server address cannot be empty" msgid "DNS server address cannot be empty"
msgstr "Адрес DNS-сервера не может быть пустым" msgstr "Адрес DNS-сервера не может быть пустым"
msgid "Do not panic, everything can be fixed, just..."
msgstr "Не паникуйте, всё можно исправить, просто..."
msgid "Domain Resolver" msgid "Domain Resolver"
msgstr "Резолвер доменов" msgstr "Резолвер доменов"
@@ -236,17 +230,8 @@ msgstr "Исключите трафик протокола NTP из туннел
msgid "Failed to copy!" msgid "Failed to copy!"
msgstr "Не удалось скопировать!" msgstr "Не удалось скопировать!"
msgid "FakeIP checks" msgid "Failed to execute!"
msgstr "Проверка FakeIP" msgstr "Не удалось выполнить!"
msgid "FakeIP checks failed"
msgstr "Проверки FakeIP не пройдены"
msgid "FakeIP checks partially passed"
msgstr "Проверка FakeIP частично пройдена"
msgid "FakeIP checks passed"
msgstr "Проверки FakeIP пройдены"
msgid "Fastest" msgid "Fastest"
msgstr "Самый быстрый" msgstr "Самый быстрый"
@@ -365,6 +350,9 @@ msgstr "Неверный URL VLESS: ошибка разбора"
msgid "IP address 0.0.0.0 is not allowed" msgid "IP address 0.0.0.0 is not allowed"
msgstr "IP-адрес 0.0.0.0 не допускается" msgstr "IP-адрес 0.0.0.0 не допускается"
msgid "Issues detected"
msgstr "Обнаружены проблемы"
msgid "Latest" msgid "Latest"
msgstr "Последняя" msgstr "Последняя"
@@ -392,15 +380,6 @@ msgstr "Наблюдаемые интерфейсы"
msgid "Network Interface" msgid "Network Interface"
msgstr "Сетевой интерфейс" msgstr "Сетевой интерфейс"
msgid "Nftables checks"
msgstr "Проверки Nftables"
msgid "Nftables checks partially passed"
msgstr "Проверки Nftables частично пройдена"
msgid "Nftables checks passed"
msgstr "Nftables проверки успешно завершены"
msgid "No other marking rules found" msgid "No other marking rules found"
msgstr "Другие правила маркировки не найдены" msgstr "Другие правила маркировки не найдены"
@@ -440,6 +419,9 @@ msgstr "Путь должен содержать хотя бы одну дире
msgid "Path must end with cache.db" msgid "Path must end with cache.db"
msgstr "Путь должен заканчиваться на cache.db" msgstr "Путь должен заканчиваться на cache.db"
msgid "Pending"
msgstr "Ожидает запуска"
msgid "Podkop" msgid "Podkop"
msgstr "Podkop" msgstr "Podkop"
@@ -458,17 +440,14 @@ msgstr "Прокси-трафик не маршрутизируется чере
msgid "Proxy traffic is routed via FakeIP" msgid "Proxy traffic is routed via FakeIP"
msgstr "Прокси-трафик направляется через FakeIP" msgstr "Прокси-трафик направляется через FakeIP"
msgid "Queued"
msgstr "В очереди"
msgid "Regional options cannot be used together" msgid "Regional options cannot be used together"
msgstr "Нельзя использовать несколько региональных опций одновременно" msgstr "Нельзя использовать несколько региональных опций одновременно"
msgid "Remote Domain Lists" msgid "Remote Domain Lists"
msgstr "Удалённые списки доменов" msgstr "Внешние списки доменов"
msgid "Remote Subnet Lists" msgid "Remote Subnet Lists"
msgstr "Удалённые списки подсетей" msgstr "Внешние списки подсетей"
msgid "Restart podkop" msgid "Restart podkop"
msgstr "Перезапустить Podkop" msgstr "Перезапустить Podkop"
@@ -569,12 +548,6 @@ msgstr "Sing-box"
msgid "Sing-box autostart disabled" msgid "Sing-box autostart disabled"
msgstr "Автостарт sing-box отключен" msgstr "Автостарт sing-box отключен"
msgid "Sing-box checks"
msgstr "Sing-box проверки"
msgid "Sing-box checks passed"
msgstr "Sing-box проверки успешно завершены"
msgid "Sing-box installed" msgid "Sing-box installed"
msgstr "Sing-box установлен" msgstr "Sing-box установлен"
@@ -600,10 +573,10 @@ msgid "Specify local IP addresses or subnets whose traffic will always be routed
msgstr "Укажите локальные IP-адреса или подсети, трафик которых всегда будет направляться через настроенный маршрут." msgstr "Укажите локальные IP-адреса или подсети, трафик которых всегда будет направляться через настроенный маршрут."
msgid "Specify remote URLs to download and use domain lists" msgid "Specify remote URLs to download and use domain lists"
msgstr "Укажите удаленные URL-адреса для загрузки и использования списков доменов." msgstr "Укажите URL-адреса для загрузки и использования списков доменов."
msgid "Specify remote URLs to download and use subnet lists" msgid "Specify remote URLs to download and use subnet lists"
msgstr "Укажите удаленные URL-адреса для загрузки и использования списков подсетей." msgstr "Укажите URL-адреса для загрузки и использования списков подсетей."
msgid "Specify the path to the list file located on the router filesystem" msgid "Specify the path to the list file located on the router filesystem"
msgstr "Укажите путь к файлу списка, расположенному в файловой системе маршрутизатора." msgstr "Укажите путь к файлу списка, расположенному в файловой системе маршрутизатора."
@@ -620,11 +593,14 @@ msgstr "Успешно скопировано!"
msgid "System info" msgid "System info"
msgstr "Системная информация" msgstr "Системная информация"
msgid "System information"
msgstr "Системная информация"
msgid "Table exist" msgid "Table exist"
msgstr "Таблица существует" msgstr "Таблица существует"
msgid "Test latency" msgid "Test latency"
msgstr "Измерить задержки" msgstr "Тестирование задержки"
msgid "Text List" msgid "Text List"
msgstr "Текстовый список" msgstr "Текстовый список"
@@ -644,6 +620,9 @@ msgstr "Трафик"
msgid "Traffic Total" msgid "Traffic Total"
msgstr "Всего трафика" msgstr "Всего трафика"
msgid "Troubleshooting"
msgstr "Устранение неполадок"
msgid "TTL must be a positive number" msgid "TTL must be a positive number"
msgstr "TTL должно быть положительным числом" msgstr "TTL должно быть положительным числом"
@@ -704,6 +683,9 @@ msgstr "Ошибки валидации:"
msgid "View logs" msgid "View logs"
msgstr "Посмотреть логи" msgstr "Посмотреть логи"
msgid "Visit Wiki"
msgstr "Перейти в wiki"
msgid "Warning: %s cannot be used together with %s. Previous selections have been removed." msgid "Warning: %s cannot be used together with %s. Previous selections have been removed."
msgstr "Предупреждение: %s нельзя использовать вместе с %s. Предыдущие варианты были удалены." msgstr "Предупреждение: %s нельзя использовать вместе с %s. Предыдущие варианты были удалены."

View File

@@ -15,3 +15,4 @@ export * from './renderCircleCheckBigIcon24';
export * from './renderSquareChartGanttIcon24'; export * from './renderSquareChartGanttIcon24';
export * from './renderCogIcon24'; export * from './renderCogIcon24';
export * from './renderSearchIcon24'; export * from './renderSearchIcon24';
export * from './renderBookOpenTextIcon24';

View File

@@ -0,0 +1,28 @@
import { svgEl } from '../helpers';
export function renderBookOpenTextIcon24() {
const NS = 'http://www.w3.org/2000/svg';
return svgEl(
'svg',
{
xmlns: NS,
viewBox: '0 0 24 24',
fill: 'none',
stroke: 'currentColor',
'stroke-width': '2',
'stroke-linecap': 'round',
'stroke-linejoin': 'round',
class: 'lucide lucide-book-open-text-icon lucide-book-open-text',
},
[
svgEl('path', { d: 'M12 7v14' }),
svgEl('path', { d: 'M16 12h2' }),
svgEl('path', { d: 'M16 8h2' }),
svgEl('path', {
d: 'M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z',
}),
svgEl('path', { d: 'M6 12h2' }),
svgEl('path', { d: 'M6 8h2' }),
],
);
}

View File

@@ -9,7 +9,7 @@ export async function callBaseMethod<T>(
const response = await executeShellCommand({ const response = await executeShellCommand({
command, command,
args: [method as string, ...args], args: [method as string, ...args],
timeout: 10000, timeout: 15000,
}); });
if (response.stdout) { if (response.stdout) {

View File

@@ -1,3 +1,5 @@
import { getCheckTitle } from '../helpers/getCheckTitle';
export enum DIAGNOSTICS_CHECKS { export enum DIAGNOSTICS_CHECKS {
DNS = 'DNS', DNS = 'DNS',
SINGBOX = 'SINGBOX', SINGBOX = 'SINGBOX',
@@ -11,22 +13,22 @@ export const DIAGNOSTICS_CHECKS_MAP: Record<
> = { > = {
[DIAGNOSTICS_CHECKS.DNS]: { [DIAGNOSTICS_CHECKS.DNS]: {
order: 1, order: 1,
title: _('DNS checks'), title: getCheckTitle('DNS'),
code: DIAGNOSTICS_CHECKS.DNS, code: DIAGNOSTICS_CHECKS.DNS,
}, },
[DIAGNOSTICS_CHECKS.SINGBOX]: { [DIAGNOSTICS_CHECKS.SINGBOX]: {
order: 2, order: 2,
title: _('Sing-box checks'), title: getCheckTitle('Sing-box'),
code: DIAGNOSTICS_CHECKS.SINGBOX, code: DIAGNOSTICS_CHECKS.SINGBOX,
}, },
[DIAGNOSTICS_CHECKS.NFT]: { [DIAGNOSTICS_CHECKS.NFT]: {
order: 3, order: 3,
title: _('Nftables checks'), title: getCheckTitle('Nftables'),
code: DIAGNOSTICS_CHECKS.NFT, code: DIAGNOSTICS_CHECKS.NFT,
}, },
[DIAGNOSTICS_CHECKS.FAKEIP]: { [DIAGNOSTICS_CHECKS.FAKEIP]: {
order: 4, order: 4,
title: _('FakeIP checks'), title: getCheckTitle('FakeIP'),
code: DIAGNOSTICS_CHECKS.FAKEIP, code: DIAGNOSTICS_CHECKS.FAKEIP,
}, },
}; };

View File

@@ -3,6 +3,7 @@ import { DIAGNOSTICS_CHECKS_MAP } from './contstants';
import { PodkopShellMethods } from '../../../methods'; import { PodkopShellMethods } from '../../../methods';
import { IDiagnosticsChecksItem } from '../../../services'; import { IDiagnosticsChecksItem } from '../../../services';
import { updateCheckStore } from './updateCheckStore'; import { updateCheckStore } from './updateCheckStore';
import { getMeta } from '../helpers/getMeta';
export async function runDnsCheck() { export async function runDnsCheck() {
const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.DNS; const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.DNS;
@@ -11,7 +12,7 @@ export async function runDnsCheck() {
order, order,
code, code,
title, title,
description: _('Checking dns, please wait'), description: _('Checking, please wait'),
state: 'loading', state: 'loading',
items: [], items: [],
}); });
@@ -23,7 +24,7 @@ export async function runDnsCheck() {
order, order,
code, code,
title, title,
description: _('Cannot receive DNS checks result'), description: _('Cannot receive checks result'),
state: 'error', state: 'error',
items: [], items: [],
}); });
@@ -45,27 +46,19 @@ export async function runDnsCheck() {
Boolean(data.bootstrap_dns_status) || Boolean(data.bootstrap_dns_status) ||
Boolean(data.dns_status); Boolean(data.dns_status);
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return 'success';
}
if (atLeastOneGood) {
return 'warning';
}
return 'error';
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: _('DNS checks passed'), description,
state: getStatus(), state,
items: [ items: [
...insertIf<IDiagnosticsChecksItem>( ...insertIf<IDiagnosticsChecksItem>(
data.dns_type === 'doh' || data.dns_type === 'dot', data.dns_type === 'doh' ||
data.dns_type === 'dot' ||
!data.bootstrap_dns_status,
[ [
{ {
state: data.bootstrap_dns_status ? 'success' : 'error', state: data.bootstrap_dns_status ? 'success' : 'error',

View File

@@ -3,6 +3,7 @@ import { DIAGNOSTICS_CHECKS_MAP } from './contstants';
import { PodkopShellMethods, RemoteFakeIPMethods } from '../../../methods'; import { PodkopShellMethods, RemoteFakeIPMethods } from '../../../methods';
import { IDiagnosticsChecksItem } from '../../../services'; import { IDiagnosticsChecksItem } from '../../../services';
import { updateCheckStore } from './updateCheckStore'; import { updateCheckStore } from './updateCheckStore';
import { getMeta } from '../helpers/getMeta';
export async function runFakeIPCheck() { export async function runFakeIPCheck() {
const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.FAKEIP; const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.FAKEIP;
@@ -11,7 +12,7 @@ export async function runFakeIPCheck() {
order, order,
code, code,
title, title,
description: _('Checking FakeIP, please wait'), description: _('Checking, please wait'),
state: 'loading', state: 'loading',
items: [], items: [],
}); });
@@ -34,31 +35,7 @@ export async function runFakeIPCheck() {
const atLeastOneGood = const atLeastOneGood =
checks.router && checks.browserFakeIP && checks.differentIP; checks.router && checks.browserFakeIP && checks.differentIP;
function getMeta(): { const { state, description } = getMeta({ atLeastOneGood, allGood });
description: string;
state: 'loading' | 'warning' | 'success' | 'error' | 'skipped';
} {
if (allGood) {
return {
state: 'success',
description: _('FakeIP checks passed'),
};
}
if (atLeastOneGood) {
return {
state: 'warning',
description: _('FakeIP checks partially passed'),
};
}
return {
state: 'error',
description: _('FakeIP checks failed'),
};
}
const { state, description } = getMeta();
updateCheckStore({ updateCheckStore({
order, order,

View File

@@ -1,6 +1,7 @@
import { DIAGNOSTICS_CHECKS_MAP } from './contstants'; import { DIAGNOSTICS_CHECKS_MAP } from './contstants';
import { RemoteFakeIPMethods, PodkopShellMethods } from '../../../methods'; import { RemoteFakeIPMethods, PodkopShellMethods } from '../../../methods';
import { updateCheckStore } from './updateCheckStore'; import { updateCheckStore } from './updateCheckStore';
import { getMeta } from '../helpers/getMeta';
export async function runNftCheck() { export async function runNftCheck() {
const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.NFT; const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.NFT;
@@ -9,7 +10,7 @@ export async function runNftCheck() {
order, order,
code, code,
title, title,
description: _('Checking nftables, please wait'), description: _('Checking, please wait'),
state: 'loading', state: 'loading',
items: [], items: [],
}); });
@@ -24,7 +25,7 @@ export async function runNftCheck() {
order, order,
code, code,
title, title,
description: _('Cannot receive nftables checks result'), description: _('Cannot receive checks result'),
state: 'error', state: 'error',
items: [], items: [],
}); });
@@ -54,26 +55,14 @@ export async function runNftCheck() {
Boolean(data.rules_proxy_counters) || Boolean(data.rules_proxy_counters) ||
!data.rules_other_mark_exist; !data.rules_other_mark_exist;
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return 'success';
}
if (atLeastOneGood) {
return 'warning';
}
return 'error';
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: allGood description,
? _('Nftables checks passed') state,
: _('Nftables checks partially passed'),
state: getStatus(),
items: [ items: [
{ {
state: data.table_exist ? 'success' : 'error', state: data.table_exist ? 'success' : 'error',

View File

@@ -1,6 +1,7 @@
import { DIAGNOSTICS_CHECKS_MAP } from './contstants'; import { DIAGNOSTICS_CHECKS_MAP } from './contstants';
import { PodkopShellMethods } from '../../../methods'; import { PodkopShellMethods } from '../../../methods';
import { updateCheckStore } from './updateCheckStore'; import { updateCheckStore } from './updateCheckStore';
import { getMeta } from '../helpers/getMeta';
export async function runSingBoxCheck() { export async function runSingBoxCheck() {
const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.SINGBOX; const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.SINGBOX;
@@ -9,7 +10,7 @@ export async function runSingBoxCheck() {
order, order,
code, code,
title, title,
description: _('Checking sing-box, please wait'), description: _('Checking, please wait'),
state: 'loading', state: 'loading',
items: [], items: [],
}); });
@@ -21,7 +22,7 @@ export async function runSingBoxCheck() {
order, order,
code, code,
title, title,
description: _('Cannot receive Sing-box checks result'), description: _('Cannot receive checks result'),
state: 'error', state: 'error',
items: [], items: [],
}); });
@@ -47,24 +48,14 @@ export async function runSingBoxCheck() {
Boolean(data.sing_box_process_running) || Boolean(data.sing_box_process_running) ||
Boolean(data.sing_box_ports_listening); Boolean(data.sing_box_ports_listening);
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return 'success';
}
if (atLeastOneGood) {
return 'warning';
}
return 'error';
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: _('Sing-box checks passed'), description,
state: getStatus(), state,
items: [ items: [
{ {
state: data.sing_box_installed ? 'success' : 'error', state: data.sing_box_installed ? 'success' : 'error',

View File

@@ -92,7 +92,7 @@ export const loadingDiagnosticsChecksStore: Pick<
code: DIAGNOSTICS_CHECKS.DNS, code: DIAGNOSTICS_CHECKS.DNS,
title: DIAGNOSTICS_CHECKS_MAP.DNS.title, title: DIAGNOSTICS_CHECKS_MAP.DNS.title,
order: DIAGNOSTICS_CHECKS_MAP.DNS.order, order: DIAGNOSTICS_CHECKS_MAP.DNS.order,
description: _('Queued'), description: _('Pending'),
items: [], items: [],
state: 'skipped', state: 'skipped',
}, },
@@ -100,7 +100,7 @@ export const loadingDiagnosticsChecksStore: Pick<
code: DIAGNOSTICS_CHECKS.SINGBOX, code: DIAGNOSTICS_CHECKS.SINGBOX,
title: DIAGNOSTICS_CHECKS_MAP.SINGBOX.title, title: DIAGNOSTICS_CHECKS_MAP.SINGBOX.title,
order: DIAGNOSTICS_CHECKS_MAP.SINGBOX.order, order: DIAGNOSTICS_CHECKS_MAP.SINGBOX.order,
description: _('Queued'), description: _('Pending'),
items: [], items: [],
state: 'skipped', state: 'skipped',
}, },
@@ -108,7 +108,7 @@ export const loadingDiagnosticsChecksStore: Pick<
code: DIAGNOSTICS_CHECKS.NFT, code: DIAGNOSTICS_CHECKS.NFT,
title: DIAGNOSTICS_CHECKS_MAP.NFT.title, title: DIAGNOSTICS_CHECKS_MAP.NFT.title,
order: DIAGNOSTICS_CHECKS_MAP.NFT.order, order: DIAGNOSTICS_CHECKS_MAP.NFT.order,
description: _('Queued'), description: _('Pending'),
items: [], items: [],
state: 'skipped', state: 'skipped',
}, },
@@ -116,7 +116,7 @@ export const loadingDiagnosticsChecksStore: Pick<
code: DIAGNOSTICS_CHECKS.FAKEIP, code: DIAGNOSTICS_CHECKS.FAKEIP,
title: DIAGNOSTICS_CHECKS_MAP.FAKEIP.title, title: DIAGNOSTICS_CHECKS_MAP.FAKEIP.title,
order: DIAGNOSTICS_CHECKS_MAP.FAKEIP.order, order: DIAGNOSTICS_CHECKS_MAP.FAKEIP.order,
description: _('Queued'), description: _('Pending'),
items: [], items: [],
state: 'skipped', state: 'skipped',
}, },

View File

@@ -0,0 +1,3 @@
export function getCheckTitle(name: string) {
return `${name} ${_('checks')}`;
}

View File

@@ -0,0 +1,28 @@
interface IGetMetaProps {
allGood: boolean;
atLeastOneGood: boolean;
}
export function getMeta({ allGood, atLeastOneGood }: IGetMetaProps): {
description: string;
state: 'loading' | 'warning' | 'success' | 'error' | 'skipped';
} {
if (allGood) {
return {
state: 'success',
description: _('Checks passed'),
};
}
if (atLeastOneGood) {
return {
state: 'warning',
description: _('Issues detected'),
};
}
return {
state: 'error',
description: _('Checks failed'),
};
}

View File

@@ -16,6 +16,9 @@ import { PodkopShellMethods } from '../../methods';
import { fetchServicesInfo } from '../../fetchers'; import { fetchServicesInfo } from '../../fetchers';
import { normalizeCompiledVersion } from '../../../helpers/normalizeCompiledVersion'; import { normalizeCompiledVersion } from '../../../helpers/normalizeCompiledVersion';
import { renderModal } from '../../../partials'; import { renderModal } from '../../../partials';
import { PODKOP_LUCI_APP_VERSION } from '../../../constants';
import { showToast } from '../../../helpers/showToast';
import { renderWikiDisclaimer } from './partials/renderWikiDisclaimer';
async function fetchSystemInfo() { async function fetchSystemInfo() {
const systemInfo = await PodkopShellMethods.getSystemInfo(); const systemInfo = await PodkopShellMethods.getSystemInfo();
@@ -218,9 +221,13 @@ async function handleShowGlobalCheck() {
_('Global check'), _('Global check'),
renderModal(globalCheck.data as string, 'global_check'), renderModal(globalCheck.data as string, 'global_check'),
); );
} else {
logger.error('[DIAGNOSTIC]', 'handleShowGlobalCheck - e', globalCheck);
showToast(_('Failed to execute!'), 'error');
} }
} catch (e) { } catch (e) {
logger.error('[DIAGNOSTIC]', 'handleShowGlobalCheck - e', e); logger.error('[DIAGNOSTIC]', 'handleShowGlobalCheck - e', e);
showToast(_('Failed to execute!'), 'error');
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -248,9 +255,13 @@ async function handleViewLogs() {
_('View logs'), _('View logs'),
renderModal(viewLogs.data as string, 'view_logs'), renderModal(viewLogs.data as string, 'view_logs'),
); );
} else {
logger.error('[DIAGNOSTIC]', 'handleViewLogs - e', viewLogs);
showToast(_('Failed to execute!'), 'error');
} }
} catch (e) { } catch (e) {
logger.error('[DIAGNOSTIC]', 'handleViewLogs - e', e); logger.error('[DIAGNOSTIC]', 'handleViewLogs - e', e);
showToast(_('Failed to execute!'), 'error');
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -278,9 +289,17 @@ async function handleShowSingBoxConfig() {
_('Show sing-box config'), _('Show sing-box config'),
renderModal(showSingBoxConfig.data as string, 'show_sing_box_config'), renderModal(showSingBoxConfig.data as string, 'show_sing_box_config'),
); );
} else {
logger.error(
'[DIAGNOSTIC]',
'handleShowSingBoxConfig - e',
showSingBoxConfig,
);
showToast(_('Failed to execute!'), 'error');
} }
} catch (e) { } catch (e) {
logger.error('[DIAGNOSTIC]', 'handleShowSingBoxConfig - e', e); logger.error('[DIAGNOSTIC]', 'handleShowSingBoxConfig - e', e);
showToast(_('Failed to execute!'), 'error');
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -291,6 +310,30 @@ async function handleShowSingBoxConfig() {
} }
} }
function renderWikiDisclaimerWidget() {
const diagnosticsChecks = store.get().diagnosticsChecks;
function getWikiKind() {
const allResults = diagnosticsChecks.map((check) => check.state);
if (allResults.includes('error')) {
return 'error';
}
if (allResults.includes('warning')) {
return 'warning';
}
return 'default';
}
const container = document.getElementById('pdk_diagnostic-page-wiki');
return preserveScrollForPage(() => {
container!.replaceChildren(renderWikiDisclaimer(getWikiKind()));
});
}
function renderDiagnosticAvailableActionsWidget() { function renderDiagnosticAvailableActionsWidget() {
const diagnosticsActions = store.get().diagnosticsActions; const diagnosticsActions = store.get().diagnosticsActions;
const servicesInfoWidget = store.get().servicesInfoWidget; const servicesInfoWidget = store.get().servicesInfoWidget;
@@ -387,6 +430,11 @@ function renderDiagnosticSystemInfoWidget() {
} }
if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) { if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) {
logger.debug(
'[DIAGNOSTIC]',
'diagnosticsSystemInfo',
diagnosticsSystemInfo,
);
return { return {
key: 'Podkop', key: 'Podkop',
value: version, value: version,
@@ -412,7 +460,7 @@ function renderDiagnosticSystemInfoWidget() {
getPodkopVersionRow(), getPodkopVersionRow(),
{ {
key: 'Luci App', key: 'Luci App',
value: normalizeCompiledVersion(diagnosticsSystemInfo.luci_app_version), value: normalizeCompiledVersion(PODKOP_LUCI_APP_VERSION),
}, },
{ {
key: 'Sing-box', key: 'Sing-box',
@@ -441,6 +489,7 @@ async function onStoreUpdate(
) { ) {
if (diff.diagnosticsChecks) { if (diff.diagnosticsChecks) {
renderDiagnosticsChecks(); renderDiagnosticsChecks();
renderWikiDisclaimerWidget();
} }
if (diff.diagnosticsRunAction) { if (diff.diagnosticsRunAction) {
@@ -496,6 +545,9 @@ function onPageMount() {
// Initial system info render // Initial system info render
renderDiagnosticSystemInfoWidget(); renderDiagnosticSystemInfoWidget();
// Initial Wiki disclaimer render
renderWikiDisclaimerWidget();
// Initial services info fetch // Initial services info fetch
fetchServicesInfo(); fetchServicesInfo();

View File

@@ -40,7 +40,7 @@ export function renderAvailableActions({
showSingBoxConfig, showSingBoxConfig,
}: IRenderAvailableActionsProps) { }: IRenderAvailableActionsProps) {
return E('div', { class: 'pdk_diagnostic-page__right-bar__actions' }, [ return E('div', { class: 'pdk_diagnostic-page__right-bar__actions' }, [
E('b', {}, 'Available actions'), E('b', {}, _('Available actions')),
...insertIf(restart.visible, [ ...insertIf(restart.visible, [
renderButton({ renderButton({
classNames: ['cbi-button-apply'], classNames: ['cbi-button-apply'],

View File

@@ -18,7 +18,7 @@ export function renderSystemInfo({ items }: IRenderSystemInfoProps) {
E( E(
'b', 'b',
{ class: 'pdk_diagnostic-page__right-bar__system-info__title' }, { class: 'pdk_diagnostic-page__right-bar__system-info__title' },
'System information', _('System information'),
), ),
...items.map((item) => { ...items.map((item) => {
const tagClass = [ const tagClass = [

View File

@@ -0,0 +1,40 @@
import { renderBookOpenTextIcon24 } from '../../../../icons';
import { renderButton } from '../../../../partials';
import { insertIf } from '../../../../helpers';
export function renderWikiDisclaimer(kind: 'default' | 'error' | 'warning') {
const iconWrap = E('span', {
class: 'pdk_diagnostic-page__right-bar__wiki__icon',
});
iconWrap.appendChild(renderBookOpenTextIcon24());
const className = [
'pdk_diagnostic-page__right-bar__wiki',
...insertIf(kind === 'error', [
'pdk_diagnostic-page__right-bar__wiki--error',
]),
...insertIf(kind === 'warning', [
'pdk_diagnostic-page__right-bar__wiki--warning',
]),
].join(' ');
return E('div', { class: className }, [
E('div', { class: 'pdk_diagnostic-page__right-bar__wiki__content' }, [
iconWrap,
E('div', { class: 'pdk_diagnostic-page__right-bar__wiki__texts' }, [
E('b', {}, _('Troubleshooting')),
E('div', {}, _('Do not panic, everything can be fixed, just...')),
]),
]),
renderButton({
classNames: ['cbi-button-save'],
text: _('Visit Wiki'),
onClick: () =>
window.open(
'https://podkop.net/docs/troubleshooting/?utm_source=podkop',
'_blank',
'noopener,noreferrer',
),
}),
]);
}

View File

@@ -8,6 +8,7 @@ export function render() {
}), }),
]), ]),
E('div', { class: 'pdk_diagnostic-page__right-bar' }, [ E('div', { class: 'pdk_diagnostic-page__right-bar' }, [
E('div', { id: 'pdk_diagnostic-page-wiki' }),
E('div', { id: 'pdk_diagnostic-page-actions' }), E('div', { id: 'pdk_diagnostic-page-actions' }),
E('div', { id: 'pdk_diagnostic-page-system-info' }), E('div', { id: 'pdk_diagnostic-page-system-info' }),
]), ]),

View File

@@ -28,6 +28,31 @@ export const styles = `
grid-row-gap: 10px; grid-row-gap: 10px;
} }
.pdk_diagnostic-page__right-bar__wiki {
border: 2px var(--background-color-low, lightgray) solid;
border-radius: 4px;
padding: 10px;
display: grid;
grid-template-columns: auto;
grid-row-gap: 10px;
}
.pdk_diagnostic-page__right-bar__wiki--warning {
border: 2px var(--warn-color-medium, orange) solid;
}
.pdk_diagnostic-page__right-bar__wiki--error {
border: 2px var(--error-color-medium, red) solid;
}
.pdk_diagnostic-page__right-bar__wiki__content {
display: grid;
grid-template-columns: 1fr 5fr;
grid-column-gap: 10px;
}
.pdk_diagnostic-page__right-bar__wiki__texts {}
.pdk_diagnostic-page__right-bar__actions { .pdk_diagnostic-page__right-bar__actions {
border: 2px var(--background-color-low, lightgray) solid; border: 2px var(--background-color-low, lightgray) solid;
border-radius: 4px; border-radius: 4px;

View File

@@ -3,7 +3,18 @@ import { validateDNS } from '../validateDns.js';
import { invalidIPs, validIPs } from './validateIp.test'; import { invalidIPs, validIPs } from './validateIp.test';
import { invalidDomains, validDomains } from './validateDomain.test'; import { invalidDomains, validDomains } from './validateDomain.test';
const validDns = [...validIPs, ...validDomains]; export const additionalValidDns = [
['Google DNS (port 53)', '8.8.8.8:53'],
['Google DNS (port 5353)', '8.8.8.8:5353'],
['Cloudflare DNS (port 853)', '1.1.1.1:853'],
['Cloudflare domain (port 853)', 'cloudflare-dns.com:853'],
['DoH IP', '1.1.1.1/dns-query'],
['DoH IP with port 443', '1.1.1.1:443/dns-query'],
['DoH domain', 'cloudflare-dns.com/dns-query'],
['DoH domain with port 443', 'cloudflare-dns.com:443/dns-query'],
];
const validDns = [...validIPs, ...validDomains, ...additionalValidDns];
const invalidDns = [...invalidIPs, ...invalidDomains]; const invalidDns = [...invalidIPs, ...invalidDomains];

View File

@@ -7,11 +7,14 @@ export function validateDNS(value: string): ValidationResult {
return { valid: false, message: _('DNS server address cannot be empty') }; return { valid: false, message: _('DNS server address cannot be empty') };
} }
if (validateIPV4(value).valid) { const cleanedValueWithoutPort = value.replace(/:(\d+)(?=\/|$)/, '');
const cleanedIpWithoutPath = cleanedValueWithoutPort.split('/')[0];
if (validateIPV4(cleanedIpWithoutPath).valid) {
return { valid: true, message: _('Valid') }; return { valid: true, message: _('Valid') };
} }
if (validateDomain(value).valid) { if (validateDomain(cleanedValueWithoutPort).valid) {
return { valid: true, message: _('Valid') }; return { valid: true, message: _('Valid') };
} }

View File

@@ -6,20 +6,22 @@ import { validateSocksUrl } from './validateSocksUrl';
// TODO refactor current validation and add tests // TODO refactor current validation and add tests
export function validateProxyUrl(url: string): ValidationResult { export function validateProxyUrl(url: string): ValidationResult {
if (url.startsWith('ss://')) { const trimmedUrl = url.trim();
return validateShadowsocksUrl(url);
if (trimmedUrl.startsWith('ss://')) {
return validateShadowsocksUrl(trimmedUrl);
} }
if (url.startsWith('vless://')) { if (trimmedUrl.startsWith('vless://')) {
return validateVlessUrl(url); return validateVlessUrl(trimmedUrl);
} }
if (url.startsWith('trojan://')) { if (trimmedUrl.startsWith('trojan://')) {
return validateTrojanUrl(url); return validateTrojanUrl(trimmedUrl);
} }
if (/^socks(4|4a|5):\/\//.test(url)) { if (/^socks(4|4a|5):\/\//.test(trimmedUrl)) {
return validateSocksUrl(url); return validateSocksUrl(trimmedUrl);
} }
return { return {

View File

@@ -43,7 +43,8 @@ export function validateVlessUrl(url: string): ValidationResult {
if (!port) if (!port)
return { valid: false, message: 'Invalid VLESS URL: missing port' }; return { valid: false, message: 'Invalid VLESS URL: missing port' };
const portNum = Number(port); const cleanedPort = port.replace('/', '');
const portNum = Number(cleanedPort);
if (!Number.isInteger(portNum) || portNum < 1 || portNum > 65535) if (!Number.isInteger(portNum) || portNum < 1 || portNum > 65535)
return { return {
valid: false, valid: false,

View File

@@ -40,10 +40,12 @@ function validateDNS(value) {
if (!value) { if (!value) {
return { valid: false, message: _("DNS server address cannot be empty") }; return { valid: false, message: _("DNS server address cannot be empty") };
} }
if (validateIPV4(value).valid) { const cleanedValueWithoutPort = value.replace(/:(\d+)(?=\/|$)/, "");
const cleanedIpWithoutPath = cleanedValueWithoutPort.split("/")[0];
if (validateIPV4(cleanedIpWithoutPath).valid) {
return { valid: true, message: _("Valid") }; return { valid: true, message: _("Valid") };
} }
if (validateDomain(value).valid) { if (validateDomain(cleanedValueWithoutPort).valid) {
return { valid: true, message: _("Valid") }; return { valid: true, message: _("Valid") };
} }
return { return {
@@ -259,7 +261,8 @@ function validateVlessUrl(url) {
return { valid: false, message: "Invalid VLESS URL: missing hostname" }; return { valid: false, message: "Invalid VLESS URL: missing hostname" };
if (!port) if (!port)
return { valid: false, message: "Invalid VLESS URL: missing port" }; return { valid: false, message: "Invalid VLESS URL: missing port" };
const portNum = Number(port); const cleanedPort = port.replace("/", "");
const portNum = Number(cleanedPort);
if (!Number.isInteger(portNum) || portNum < 1 || portNum > 65535) if (!Number.isInteger(portNum) || portNum < 1 || portNum > 65535)
return { return {
valid: false, valid: false,
@@ -451,17 +454,18 @@ function validateSocksUrl(url) {
// src/validators/validateProxyUrl.ts // src/validators/validateProxyUrl.ts
function validateProxyUrl(url) { function validateProxyUrl(url) {
if (url.startsWith("ss://")) { const trimmedUrl = url.trim();
return validateShadowsocksUrl(url); if (trimmedUrl.startsWith("ss://")) {
return validateShadowsocksUrl(trimmedUrl);
} }
if (url.startsWith("vless://")) { if (trimmedUrl.startsWith("vless://")) {
return validateVlessUrl(url); return validateVlessUrl(trimmedUrl);
} }
if (url.startsWith("trojan://")) { if (trimmedUrl.startsWith("trojan://")) {
return validateTrojanUrl(url); return validateTrojanUrl(trimmedUrl);
} }
if (/^socks(4|4a|5):\/\//.test(url)) { if (/^socks(4|4a|5):\/\//.test(trimmedUrl)) {
return validateSocksUrl(url); return validateSocksUrl(trimmedUrl);
} }
return { return {
valid: false, valid: false,
@@ -486,7 +490,7 @@ async function callBaseMethod(method, args = [], command = "/usr/bin/podkop") {
const response = await executeShellCommand({ const response = await executeShellCommand({
command, command,
args: [method, ...args], args: [method, ...args],
timeout: 1e4 timeout: 15e3
}); });
if (response.stdout) { if (response.stdout) {
try { try {
@@ -978,26 +982,31 @@ var TabService = class _TabService {
}; };
var TabServiceInstance = TabService.getInstance(); var TabServiceInstance = TabService.getInstance();
// src/podkop/tabs/diagnostic/helpers/getCheckTitle.ts
function getCheckTitle(name) {
return `${name} ${_("checks")}`;
}
// src/podkop/tabs/diagnostic/checks/contstants.ts // src/podkop/tabs/diagnostic/checks/contstants.ts
var DIAGNOSTICS_CHECKS_MAP = { var DIAGNOSTICS_CHECKS_MAP = {
["DNS" /* DNS */]: { ["DNS" /* DNS */]: {
order: 1, order: 1,
title: _("DNS checks"), title: getCheckTitle("DNS"),
code: "DNS" /* DNS */ code: "DNS" /* DNS */
}, },
["SINGBOX" /* SINGBOX */]: { ["SINGBOX" /* SINGBOX */]: {
order: 2, order: 2,
title: _("Sing-box checks"), title: getCheckTitle("Sing-box"),
code: "SINGBOX" /* SINGBOX */ code: "SINGBOX" /* SINGBOX */
}, },
["NFT" /* NFT */]: { ["NFT" /* NFT */]: {
order: 3, order: 3,
title: _("Nftables checks"), title: getCheckTitle("Nftables"),
code: "NFT" /* NFT */ code: "NFT" /* NFT */
}, },
["FAKEIP" /* FAKEIP */]: { ["FAKEIP" /* FAKEIP */]: {
order: 4, order: 4,
title: _("FakeIP checks"), title: getCheckTitle("FakeIP"),
code: "FAKEIP" /* FAKEIP */ code: "FAKEIP" /* FAKEIP */
} }
}; };
@@ -1081,7 +1090,7 @@ var loadingDiagnosticsChecksStore = {
code: "DNS" /* DNS */, code: "DNS" /* DNS */,
title: DIAGNOSTICS_CHECKS_MAP.DNS.title, title: DIAGNOSTICS_CHECKS_MAP.DNS.title,
order: DIAGNOSTICS_CHECKS_MAP.DNS.order, order: DIAGNOSTICS_CHECKS_MAP.DNS.order,
description: _("Queued"), description: _("Pending"),
items: [], items: [],
state: "skipped" state: "skipped"
}, },
@@ -1089,7 +1098,7 @@ var loadingDiagnosticsChecksStore = {
code: "SINGBOX" /* SINGBOX */, code: "SINGBOX" /* SINGBOX */,
title: DIAGNOSTICS_CHECKS_MAP.SINGBOX.title, title: DIAGNOSTICS_CHECKS_MAP.SINGBOX.title,
order: DIAGNOSTICS_CHECKS_MAP.SINGBOX.order, order: DIAGNOSTICS_CHECKS_MAP.SINGBOX.order,
description: _("Queued"), description: _("Pending"),
items: [], items: [],
state: "skipped" state: "skipped"
}, },
@@ -1097,7 +1106,7 @@ var loadingDiagnosticsChecksStore = {
code: "NFT" /* NFT */, code: "NFT" /* NFT */,
title: DIAGNOSTICS_CHECKS_MAP.NFT.title, title: DIAGNOSTICS_CHECKS_MAP.NFT.title,
order: DIAGNOSTICS_CHECKS_MAP.NFT.order, order: DIAGNOSTICS_CHECKS_MAP.NFT.order,
description: _("Queued"), description: _("Pending"),
items: [], items: [],
state: "skipped" state: "skipped"
}, },
@@ -1105,7 +1114,7 @@ var loadingDiagnosticsChecksStore = {
code: "FAKEIP" /* FAKEIP */, code: "FAKEIP" /* FAKEIP */,
title: DIAGNOSTICS_CHECKS_MAP.FAKEIP.title, title: DIAGNOSTICS_CHECKS_MAP.FAKEIP.title,
order: DIAGNOSTICS_CHECKS_MAP.FAKEIP.order, order: DIAGNOSTICS_CHECKS_MAP.FAKEIP.order,
description: _("Queued"), description: _("Pending"),
items: [], items: [],
state: "skipped" state: "skipped"
} }
@@ -2335,6 +2344,7 @@ function render2() {
}) })
]), ]),
E("div", { class: "pdk_diagnostic-page__right-bar" }, [ E("div", { class: "pdk_diagnostic-page__right-bar" }, [
E("div", { id: "pdk_diagnostic-page-wiki" }),
E("div", { id: "pdk_diagnostic-page-actions" }), E("div", { id: "pdk_diagnostic-page-actions" }),
E("div", { id: "pdk_diagnostic-page-system-info" }) E("div", { id: "pdk_diagnostic-page-system-info" })
]) ])
@@ -2355,6 +2365,26 @@ function updateCheckStore(check, minified) {
}); });
} }
// src/podkop/tabs/diagnostic/helpers/getMeta.ts
function getMeta({ allGood, atLeastOneGood }) {
if (allGood) {
return {
state: "success",
description: _("Checks passed")
};
}
if (atLeastOneGood) {
return {
state: "warning",
description: _("Issues detected")
};
}
return {
state: "error",
description: _("Checks failed")
};
}
// src/podkop/tabs/diagnostic/checks/runDnsCheck.ts // src/podkop/tabs/diagnostic/checks/runDnsCheck.ts
async function runDnsCheck() { async function runDnsCheck() {
const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.DNS; const { order, title, code } = DIAGNOSTICS_CHECKS_MAP.DNS;
@@ -2362,7 +2392,7 @@ async function runDnsCheck() {
order, order,
code, code,
title, title,
description: _("Checking dns, please wait"), description: _("Checking, please wait"),
state: "loading", state: "loading",
items: [] items: []
}); });
@@ -2372,7 +2402,7 @@ async function runDnsCheck() {
order, order,
code, code,
title, title,
description: _("Cannot receive DNS checks result"), description: _("Cannot receive checks result"),
state: "error", state: "error",
items: [] items: []
}); });
@@ -2381,24 +2411,16 @@ async function runDnsCheck() {
const data = dnsChecks.data; const data = dnsChecks.data;
const allGood = Boolean(data.dns_on_router) && Boolean(data.dhcp_config_status) && Boolean(data.bootstrap_dns_status) && Boolean(data.dns_status); const allGood = Boolean(data.dns_on_router) && Boolean(data.dhcp_config_status) && Boolean(data.bootstrap_dns_status) && Boolean(data.dns_status);
const atLeastOneGood = Boolean(data.dns_on_router) || Boolean(data.dhcp_config_status) || Boolean(data.bootstrap_dns_status) || Boolean(data.dns_status); const atLeastOneGood = Boolean(data.dns_on_router) || Boolean(data.dhcp_config_status) || Boolean(data.bootstrap_dns_status) || Boolean(data.dns_status);
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return "success";
}
if (atLeastOneGood) {
return "warning";
}
return "error";
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: _("DNS checks passed"), description,
state: getStatus(), state,
items: [ items: [
...insertIf( ...insertIf(
data.dns_type === "doh" || data.dns_type === "dot", data.dns_type === "doh" || data.dns_type === "dot" || !data.bootstrap_dns_status,
[ [
{ {
state: data.bootstrap_dns_status ? "success" : "error", state: data.bootstrap_dns_status ? "success" : "error",
@@ -2436,7 +2458,7 @@ async function runSingBoxCheck() {
order, order,
code, code,
title, title,
description: _("Checking sing-box, please wait"), description: _("Checking, please wait"),
state: "loading", state: "loading",
items: [] items: []
}); });
@@ -2446,7 +2468,7 @@ async function runSingBoxCheck() {
order, order,
code, code,
title, title,
description: _("Cannot receive Sing-box checks result"), description: _("Cannot receive checks result"),
state: "error", state: "error",
items: [] items: []
}); });
@@ -2455,21 +2477,13 @@ async function runSingBoxCheck() {
const data = singBoxChecks.data; const data = singBoxChecks.data;
const allGood = Boolean(data.sing_box_installed) && Boolean(data.sing_box_version_ok) && Boolean(data.sing_box_service_exist) && Boolean(data.sing_box_autostart_disabled) && Boolean(data.sing_box_process_running) && Boolean(data.sing_box_ports_listening); const allGood = Boolean(data.sing_box_installed) && Boolean(data.sing_box_version_ok) && Boolean(data.sing_box_service_exist) && Boolean(data.sing_box_autostart_disabled) && Boolean(data.sing_box_process_running) && Boolean(data.sing_box_ports_listening);
const atLeastOneGood = Boolean(data.sing_box_installed) || Boolean(data.sing_box_version_ok) || Boolean(data.sing_box_service_exist) || Boolean(data.sing_box_autostart_disabled) || Boolean(data.sing_box_process_running) || Boolean(data.sing_box_ports_listening); const atLeastOneGood = Boolean(data.sing_box_installed) || Boolean(data.sing_box_version_ok) || Boolean(data.sing_box_service_exist) || Boolean(data.sing_box_autostart_disabled) || Boolean(data.sing_box_process_running) || Boolean(data.sing_box_ports_listening);
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return "success";
}
if (atLeastOneGood) {
return "warning";
}
return "error";
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: _("Sing-box checks passed"), description,
state: getStatus(), state,
items: [ items: [
{ {
state: data.sing_box_installed ? "success" : "error", state: data.sing_box_installed ? "success" : "error",
@@ -2515,7 +2529,7 @@ async function runNftCheck() {
order, order,
code, code,
title, title,
description: _("Checking nftables, please wait"), description: _("Checking, please wait"),
state: "loading", state: "loading",
items: [] items: []
}); });
@@ -2527,7 +2541,7 @@ async function runNftCheck() {
order, order,
code, code,
title, title,
description: _("Cannot receive nftables checks result"), description: _("Cannot receive checks result"),
state: "error", state: "error",
items: [] items: []
}); });
@@ -2536,21 +2550,13 @@ async function runNftCheck() {
const data = nftablesChecks.data; const data = nftablesChecks.data;
const allGood = Boolean(data.table_exist) && Boolean(data.rules_mangle_exist) && Boolean(data.rules_mangle_counters) && Boolean(data.rules_mangle_output_exist) && Boolean(data.rules_mangle_output_counters) && Boolean(data.rules_proxy_exist) && Boolean(data.rules_proxy_counters) && !data.rules_other_mark_exist; const allGood = Boolean(data.table_exist) && Boolean(data.rules_mangle_exist) && Boolean(data.rules_mangle_counters) && Boolean(data.rules_mangle_output_exist) && Boolean(data.rules_mangle_output_counters) && Boolean(data.rules_proxy_exist) && Boolean(data.rules_proxy_counters) && !data.rules_other_mark_exist;
const atLeastOneGood = Boolean(data.table_exist) || Boolean(data.rules_mangle_exist) || Boolean(data.rules_mangle_counters) || Boolean(data.rules_mangle_output_exist) || Boolean(data.rules_mangle_output_counters) || Boolean(data.rules_proxy_exist) || Boolean(data.rules_proxy_counters) || !data.rules_other_mark_exist; const atLeastOneGood = Boolean(data.table_exist) || Boolean(data.rules_mangle_exist) || Boolean(data.rules_mangle_counters) || Boolean(data.rules_mangle_output_exist) || Boolean(data.rules_mangle_output_counters) || Boolean(data.rules_proxy_exist) || Boolean(data.rules_proxy_counters) || !data.rules_other_mark_exist;
function getStatus() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return "success";
}
if (atLeastOneGood) {
return "warning";
}
return "error";
}
updateCheckStore({ updateCheckStore({
order, order,
code, code,
title, title,
description: allGood ? _("Nftables checks passed") : _("Nftables checks partially passed"), description,
state: getStatus(), state,
items: [ items: [
{ {
state: data.table_exist ? "success" : "error", state: data.table_exist ? "success" : "error",
@@ -2606,7 +2612,7 @@ async function runFakeIPCheck() {
order, order,
code, code,
title, title,
description: _("Checking FakeIP, please wait"), description: _("Checking, please wait"),
state: "loading", state: "loading",
items: [] items: []
}); });
@@ -2620,25 +2626,7 @@ async function runFakeIPCheck() {
}; };
const allGood = checks.router || checks.browserFakeIP || checks.differentIP; const allGood = checks.router || checks.browserFakeIP || checks.differentIP;
const atLeastOneGood = checks.router && checks.browserFakeIP && checks.differentIP; const atLeastOneGood = checks.router && checks.browserFakeIP && checks.differentIP;
function getMeta() { const { state, description } = getMeta({ atLeastOneGood, allGood });
if (allGood) {
return {
state: "success",
description: _("FakeIP checks passed")
};
}
if (atLeastOneGood) {
return {
state: "warning",
description: _("FakeIP checks partially passed")
};
}
return {
state: "error",
description: _("FakeIP checks failed")
};
}
const { state, description } = getMeta();
updateCheckStore({ updateCheckStore({
order, order,
code, code,
@@ -3211,6 +3199,34 @@ function renderSearchIcon24() {
); );
} }
// src/icons/renderBookOpenTextIcon24.ts
function renderBookOpenTextIcon24() {
const NS = "http://www.w3.org/2000/svg";
return svgEl(
"svg",
{
xmlns: NS,
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
"stroke-width": "2",
"stroke-linecap": "round",
"stroke-linejoin": "round",
class: "lucide lucide-book-open-text-icon lucide-book-open-text"
},
[
svgEl("path", { d: "M12 7v14" }),
svgEl("path", { d: "M16 12h2" }),
svgEl("path", { d: "M16 8h2" }),
svgEl("path", {
d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"
}),
svgEl("path", { d: "M6 12h2" }),
svgEl("path", { d: "M6 8h2" })
]
);
}
// src/partials/button/renderButton.ts // src/partials/button/renderButton.ts
function renderButton({ function renderButton({
classNames = [], classNames = [],
@@ -3341,7 +3357,7 @@ function renderAvailableActions({
showSingBoxConfig showSingBoxConfig
}) { }) {
return E("div", { class: "pdk_diagnostic-page__right-bar__actions" }, [ return E("div", { class: "pdk_diagnostic-page__right-bar__actions" }, [
E("b", {}, "Available actions"), E("b", {}, _("Available actions")),
...insertIf(restart.visible, [ ...insertIf(restart.visible, [
renderButton({ renderButton({
classNames: ["cbi-button-apply"], classNames: ["cbi-button-apply"],
@@ -3599,7 +3615,7 @@ function renderSystemInfo({ items }) {
E( E(
"b", "b",
{ class: "pdk_diagnostic-page__right-bar__system-info__title" }, { class: "pdk_diagnostic-page__right-bar__system-info__title" },
"System information" _("System information")
), ),
...items.map((item) => { ...items.map((item) => {
const tagClass = [ const tagClass = [
@@ -3634,6 +3650,41 @@ function normalizeCompiledVersion(version) {
return version; return version;
} }
// src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts
function renderWikiDisclaimer(kind) {
const iconWrap = E("span", {
class: "pdk_diagnostic-page__right-bar__wiki__icon"
});
iconWrap.appendChild(renderBookOpenTextIcon24());
const className = [
"pdk_diagnostic-page__right-bar__wiki",
...insertIf(kind === "error", [
"pdk_diagnostic-page__right-bar__wiki--error"
]),
...insertIf(kind === "warning", [
"pdk_diagnostic-page__right-bar__wiki--warning"
])
].join(" ");
return E("div", { class: className }, [
E("div", { class: "pdk_diagnostic-page__right-bar__wiki__content" }, [
iconWrap,
E("div", { class: "pdk_diagnostic-page__right-bar__wiki__texts" }, [
E("b", {}, _("Troubleshooting")),
E("div", {}, _("Do not panic, everything can be fixed, just..."))
])
]),
renderButton({
classNames: ["cbi-button-save"],
text: _("Visit Wiki"),
onClick: () => window.open(
"https://podkop.net/docs/troubleshooting/?utm_source=podkop",
"_blank",
"noopener,noreferrer"
)
})
]);
}
// src/podkop/tabs/diagnostic/initController.ts // src/podkop/tabs/diagnostic/initController.ts
async function fetchSystemInfo() { async function fetchSystemInfo() {
const systemInfo = await PodkopShellMethods.getSystemInfo(); const systemInfo = await PodkopShellMethods.getSystemInfo();
@@ -3813,9 +3864,13 @@ async function handleShowGlobalCheck() {
_("Global check"), _("Global check"),
renderModal(globalCheck.data, "global_check") renderModal(globalCheck.data, "global_check")
); );
} else {
logger.error("[DIAGNOSTIC]", "handleShowGlobalCheck - e", globalCheck);
showToast(_("Failed to execute!"), "error");
} }
} catch (e) { } catch (e) {
logger.error("[DIAGNOSTIC]", "handleShowGlobalCheck - e", e); logger.error("[DIAGNOSTIC]", "handleShowGlobalCheck - e", e);
showToast(_("Failed to execute!"), "error");
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -3840,9 +3895,13 @@ async function handleViewLogs() {
_("View logs"), _("View logs"),
renderModal(viewLogs.data, "view_logs") renderModal(viewLogs.data, "view_logs")
); );
} else {
logger.error("[DIAGNOSTIC]", "handleViewLogs - e", viewLogs);
showToast(_("Failed to execute!"), "error");
} }
} catch (e) { } catch (e) {
logger.error("[DIAGNOSTIC]", "handleViewLogs - e", e); logger.error("[DIAGNOSTIC]", "handleViewLogs - e", e);
showToast(_("Failed to execute!"), "error");
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -3867,9 +3926,17 @@ async function handleShowSingBoxConfig() {
_("Show sing-box config"), _("Show sing-box config"),
renderModal(showSingBoxConfig.data, "show_sing_box_config") renderModal(showSingBoxConfig.data, "show_sing_box_config")
); );
} else {
logger.error(
"[DIAGNOSTIC]",
"handleShowSingBoxConfig - e",
showSingBoxConfig
);
showToast(_("Failed to execute!"), "error");
} }
} catch (e) { } catch (e) {
logger.error("[DIAGNOSTIC]", "handleShowSingBoxConfig - e", e); logger.error("[DIAGNOSTIC]", "handleShowSingBoxConfig - e", e);
showToast(_("Failed to execute!"), "error");
} finally { } finally {
store.set({ store.set({
diagnosticsActions: { diagnosticsActions: {
@@ -3879,6 +3946,23 @@ async function handleShowSingBoxConfig() {
}); });
} }
} }
function renderWikiDisclaimerWidget() {
const diagnosticsChecks = store.get().diagnosticsChecks;
function getWikiKind() {
const allResults = diagnosticsChecks.map((check) => check.state);
if (allResults.includes("error")) {
return "error";
}
if (allResults.includes("warning")) {
return "warning";
}
return "default";
}
const container = document.getElementById("pdk_diagnostic-page-wiki");
return preserveScrollForPage(() => {
container.replaceChildren(renderWikiDisclaimer(getWikiKind()));
});
}
function renderDiagnosticAvailableActionsWidget() { function renderDiagnosticAvailableActionsWidget() {
const diagnosticsActions = store.get().diagnosticsActions; const diagnosticsActions = store.get().diagnosticsActions;
const servicesInfoWidget = store.get().servicesInfoWidget; const servicesInfoWidget = store.get().servicesInfoWidget;
@@ -3962,6 +4046,11 @@ function renderDiagnosticSystemInfoWidget() {
}; };
} }
if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) { if (version !== `v${diagnosticsSystemInfo.podkop_latest_version}`) {
logger.debug(
"[DIAGNOSTIC]",
"diagnosticsSystemInfo",
diagnosticsSystemInfo
);
return { return {
key: "Podkop", key: "Podkop",
value: version, value: version,
@@ -3985,7 +4074,7 @@ function renderDiagnosticSystemInfoWidget() {
getPodkopVersionRow(), getPodkopVersionRow(),
{ {
key: "Luci App", key: "Luci App",
value: normalizeCompiledVersion(diagnosticsSystemInfo.luci_app_version) value: normalizeCompiledVersion(PODKOP_LUCI_APP_VERSION)
}, },
{ {
key: "Sing-box", key: "Sing-box",
@@ -4008,6 +4097,7 @@ function renderDiagnosticSystemInfoWidget() {
async function onStoreUpdate2(next, prev, diff) { async function onStoreUpdate2(next, prev, diff) {
if (diff.diagnosticsChecks) { if (diff.diagnosticsChecks) {
renderDiagnosticsChecks(); renderDiagnosticsChecks();
renderWikiDisclaimerWidget();
} }
if (diff.diagnosticsRunAction) { if (diff.diagnosticsRunAction) {
renderDiagnosticRunActionWidget(); renderDiagnosticRunActionWidget();
@@ -4042,6 +4132,7 @@ function onPageMount2() {
renderDiagnosticRunActionWidget(); renderDiagnosticRunActionWidget();
renderDiagnosticAvailableActionsWidget(); renderDiagnosticAvailableActionsWidget();
renderDiagnosticSystemInfoWidget(); renderDiagnosticSystemInfoWidget();
renderWikiDisclaimerWidget();
fetchServicesInfo(); fetchServicesInfo();
fetchSystemInfo(); fetchSystemInfo();
} }
@@ -4120,6 +4211,31 @@ var styles4 = `
grid-row-gap: 10px; grid-row-gap: 10px;
} }
.pdk_diagnostic-page__right-bar__wiki {
border: 2px var(--background-color-low, lightgray) solid;
border-radius: 4px;
padding: 10px;
display: grid;
grid-template-columns: auto;
grid-row-gap: 10px;
}
.pdk_diagnostic-page__right-bar__wiki--warning {
border: 2px var(--warn-color-medium, orange) solid;
}
.pdk_diagnostic-page__right-bar__wiki--error {
border: 2px var(--error-color-medium, red) solid;
}
.pdk_diagnostic-page__right-bar__wiki__content {
display: grid;
grid-template-columns: 1fr 5fr;
grid-column-gap: 10px;
}
.pdk_diagnostic-page__right-bar__wiki__texts {}
.pdk_diagnostic-page__right-bar__actions { .pdk_diagnostic-page__right-bar__actions {
border: 2px var(--background-color-low, lightgray) solid; border: 2px var(--background-color-low, lightgray) solid;
border-radius: 4px; border-radius: 4px;

View File

@@ -241,7 +241,7 @@ function createSectionContent(section) {
(v) => v === lastSelected || !main.REGIONAL_OPTIONS.includes(v), (v) => v === lastSelected || !main.REGIONAL_OPTIONS.includes(v),
); );
notifications.push( notifications.push(
E("p", { class: "alert-message warning" }, [ E("p", {}, [
E("strong", {}, _("Regional options cannot be used together")), E("strong", {}, _("Regional options cannot be used together")),
E("br"), E("br"),
_( _(

View File

@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PODKOP\n" "Project-Id-Version: PODKOP\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21 23:02+0300\n" "POT-Creation-Date: 2025-10-23 20:43+0300\n"
"PO-Revision-Date: 2025-10-21 23:02+0300\n" "PO-Revision-Date: 2025-10-23 20:43+0300\n"
"Last-Translator: divocat\n" "Last-Translator: divocat\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: ru\n" "Language: ru\n"
@@ -44,6 +44,9 @@ msgstr "Необходимо указать хотя бы один действ
msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed." msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed."
msgstr "Необходимо указать хотя бы одну действительную подсеть или IP. Только комментарии недопустимы." msgstr "Необходимо указать хотя бы одну действительную подсеть или IP. Только комментарии недопустимы."
msgid "Available actions"
msgstr "Доступные действия"
msgid "Bootsrap DNS" msgid "Bootsrap DNS"
msgstr "Bootstrap DNS" msgstr "Bootstrap DNS"
@@ -62,26 +65,20 @@ msgstr "Путь к файлу кэша"
msgid "Cache file path cannot be empty" msgid "Cache file path cannot be empty"
msgstr "Путь к файлу кэша не может быть пустым" msgstr "Путь к файлу кэша не может быть пустым"
msgid "Cannot receive DNS checks result" msgid "Cannot receive checks result"
msgstr "Не удалось получить результаты проверки DNS" msgstr "Не удалось получить результаты проверки"
msgid "Cannot receive nftables checks result" msgid "Checking, please wait"
msgstr "Не удалось получить результаты проверки nftables" msgstr "Проверяем, пожалуйста подождите"
msgid "Cannot receive Sing-box checks result" msgid "checks"
msgstr "Не удалось получить результаты проверки Sing-box" msgstr "проверки"
msgid "Checking dns, please wait" msgid "Checks failed"
msgstr "Проверка dns, пожалуйста подождите" msgstr "Проверки не выполнены"
msgid "Checking FakeIP, please wait" msgid "Checks passed"
msgstr "Проверка FakeIP, пожалуйста подождите" msgstr "Проверки пройдены"
msgid "Checking nftables, please wait"
msgstr "Проверка nftables, пожалуйста подождите"
msgid "Checking sing-box, please wait"
msgstr "Проверка sing-box, пожалуйста подождите"
msgid "CIDR must be between 0 and 32" msgid "CIDR must be between 0 and 32"
msgstr "CIDR должен быть между 0 и 32" msgstr "CIDR должен быть между 0 и 32"
@@ -143,12 +140,6 @@ msgstr "Отключить QUIC протокол для улучшения со
msgid "Disabled" msgid "Disabled"
msgstr "Отключено" msgstr "Отключено"
msgid "DNS checks"
msgstr "DNS проверки"
msgid "DNS checks passed"
msgstr "DNS проверки успешно завершены"
msgid "DNS on router" msgid "DNS on router"
msgstr "DNS на роутере" msgstr "DNS на роутере"
@@ -170,6 +161,9 @@ msgstr "DNS-сервер"
msgid "DNS server address cannot be empty" msgid "DNS server address cannot be empty"
msgstr "Адрес DNS-сервера не может быть пустым" msgstr "Адрес DNS-сервера не может быть пустым"
msgid "Do not panic, everything can be fixed, just..."
msgstr "Не паникуйте, всё можно исправить, просто..."
msgid "Domain Resolver" msgid "Domain Resolver"
msgstr "Резолвер доменов" msgstr "Резолвер доменов"
@@ -236,17 +230,8 @@ msgstr "Исключите трафик протокола NTP из туннел
msgid "Failed to copy!" msgid "Failed to copy!"
msgstr "Не удалось скопировать!" msgstr "Не удалось скопировать!"
msgid "FakeIP checks" msgid "Failed to execute!"
msgstr "Проверка FakeIP" msgstr "Не удалось выполнить!"
msgid "FakeIP checks failed"
msgstr "Проверки FakeIP не пройдены"
msgid "FakeIP checks partially passed"
msgstr "Проверка FakeIP частично пройдена"
msgid "FakeIP checks passed"
msgstr "Проверки FakeIP пройдены"
msgid "Fastest" msgid "Fastest"
msgstr "Самый быстрый" msgstr "Самый быстрый"
@@ -365,6 +350,9 @@ msgstr "Неверный URL VLESS: ошибка разбора"
msgid "IP address 0.0.0.0 is not allowed" msgid "IP address 0.0.0.0 is not allowed"
msgstr "IP-адрес 0.0.0.0 не допускается" msgstr "IP-адрес 0.0.0.0 не допускается"
msgid "Issues detected"
msgstr "Обнаружены проблемы"
msgid "Latest" msgid "Latest"
msgstr "Последняя" msgstr "Последняя"
@@ -392,15 +380,6 @@ msgstr "Наблюдаемые интерфейсы"
msgid "Network Interface" msgid "Network Interface"
msgstr "Сетевой интерфейс" msgstr "Сетевой интерфейс"
msgid "Nftables checks"
msgstr "Проверки Nftables"
msgid "Nftables checks partially passed"
msgstr "Проверки Nftables частично пройдена"
msgid "Nftables checks passed"
msgstr "Nftables проверки успешно завершены"
msgid "No other marking rules found" msgid "No other marking rules found"
msgstr "Другие правила маркировки не найдены" msgstr "Другие правила маркировки не найдены"
@@ -440,6 +419,9 @@ msgstr "Путь должен содержать хотя бы одну дире
msgid "Path must end with cache.db" msgid "Path must end with cache.db"
msgstr "Путь должен заканчиваться на cache.db" msgstr "Путь должен заканчиваться на cache.db"
msgid "Pending"
msgstr "Ожидает запуска"
msgid "Podkop" msgid "Podkop"
msgstr "Podkop" msgstr "Podkop"
@@ -458,17 +440,14 @@ msgstr "Прокси-трафик не маршрутизируется чере
msgid "Proxy traffic is routed via FakeIP" msgid "Proxy traffic is routed via FakeIP"
msgstr "Прокси-трафик направляется через FakeIP" msgstr "Прокси-трафик направляется через FakeIP"
msgid "Queued"
msgstr "В очереди"
msgid "Regional options cannot be used together" msgid "Regional options cannot be used together"
msgstr "Нельзя использовать несколько региональных опций одновременно" msgstr "Нельзя использовать несколько региональных опций одновременно"
msgid "Remote Domain Lists" msgid "Remote Domain Lists"
msgstr "Удалённые списки доменов" msgstr "Внешние списки доменов"
msgid "Remote Subnet Lists" msgid "Remote Subnet Lists"
msgstr "Удалённые списки подсетей" msgstr "Внешние списки подсетей"
msgid "Restart podkop" msgid "Restart podkop"
msgstr "Перезапустить Podkop" msgstr "Перезапустить Podkop"
@@ -569,12 +548,6 @@ msgstr "Sing-box"
msgid "Sing-box autostart disabled" msgid "Sing-box autostart disabled"
msgstr "Автостарт sing-box отключен" msgstr "Автостарт sing-box отключен"
msgid "Sing-box checks"
msgstr "Sing-box проверки"
msgid "Sing-box checks passed"
msgstr "Sing-box проверки успешно завершены"
msgid "Sing-box installed" msgid "Sing-box installed"
msgstr "Sing-box установлен" msgstr "Sing-box установлен"
@@ -600,10 +573,10 @@ msgid "Specify local IP addresses or subnets whose traffic will always be routed
msgstr "Укажите локальные IP-адреса или подсети, трафик которых всегда будет направляться через настроенный маршрут." msgstr "Укажите локальные IP-адреса или подсети, трафик которых всегда будет направляться через настроенный маршрут."
msgid "Specify remote URLs to download and use domain lists" msgid "Specify remote URLs to download and use domain lists"
msgstr "Укажите удаленные URL-адреса для загрузки и использования списков доменов." msgstr "Укажите URL-адреса для загрузки и использования списков доменов."
msgid "Specify remote URLs to download and use subnet lists" msgid "Specify remote URLs to download and use subnet lists"
msgstr "Укажите удаленные URL-адреса для загрузки и использования списков подсетей." msgstr "Укажите URL-адреса для загрузки и использования списков подсетей."
msgid "Specify the path to the list file located on the router filesystem" msgid "Specify the path to the list file located on the router filesystem"
msgstr "Укажите путь к файлу списка, расположенному в файловой системе маршрутизатора." msgstr "Укажите путь к файлу списка, расположенному в файловой системе маршрутизатора."
@@ -620,11 +593,14 @@ msgstr "Успешно скопировано!"
msgid "System info" msgid "System info"
msgstr "Системная информация" msgstr "Системная информация"
msgid "System information"
msgstr "Системная информация"
msgid "Table exist" msgid "Table exist"
msgstr "Таблица существует" msgstr "Таблица существует"
msgid "Test latency" msgid "Test latency"
msgstr "Измерить задержки" msgstr "Тестирование задержки"
msgid "Text List" msgid "Text List"
msgstr "Текстовый список" msgstr "Текстовый список"
@@ -644,6 +620,9 @@ msgstr "Трафик"
msgid "Traffic Total" msgid "Traffic Total"
msgstr "Всего трафика" msgstr "Всего трафика"
msgid "Troubleshooting"
msgstr "Устранение неполадок"
msgid "TTL must be a positive number" msgid "TTL must be a positive number"
msgstr "TTL должно быть положительным числом" msgstr "TTL должно быть положительным числом"
@@ -704,6 +683,9 @@ msgstr "Ошибки валидации:"
msgid "View logs" msgid "View logs"
msgstr "Посмотреть логи" msgstr "Посмотреть логи"
msgid "Visit Wiki"
msgstr "Перейти в wiki"
msgid "Warning: %s cannot be used together with %s. Previous selections have been removed." msgid "Warning: %s cannot be used together with %s. Previous selections have been removed."
msgstr "Предупреждение: %s нельзя использовать вместе с %s. Предыдущие варианты были удалены." msgstr "Предупреждение: %s нельзя использовать вместе с %s. Предыдущие варианты были удалены."

View File

@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PODKOP\n" "Project-Id-Version: PODKOP\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-10-21 20:02+0300\n" "POT-Creation-Date: 2025-10-23 17:43+0300\n"
"PO-Revision-Date: 2025-10-21 20:02+0300\n" "PO-Revision-Date: 2025-10-23 17:43+0300\n"
"Last-Translator: divocat <divocatt@gmail.com>\n" "Last-Translator: divocat <divocatt@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
@@ -36,7 +36,7 @@ msgstr ""
msgid "Active Connections" msgid "Active Connections"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:117 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:106
msgid "Additional marking rules found" msgid "Additional marking rules found"
msgstr "" msgstr ""
@@ -52,7 +52,11 @@ msgstr ""
msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed." msgid "At least one valid subnet or IP must be specified. Comments-only content is not allowed."
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:43
msgid "Available actions"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:65
msgid "Bootsrap DNS" msgid "Bootsrap DNS"
msgstr "" msgstr ""
@@ -60,48 +64,45 @@ msgstr ""
msgid "Bootstrap DNS server" msgid "Bootstrap DNS server"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:81 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:58
msgid "Browser is not using FakeIP" msgid "Browser is not using FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:80 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57
msgid "Browser is using FakeIP correctly" msgid "Browser is using FakeIP correctly"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:322 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:329
msgid "Cache File Path" msgid "Cache File Path"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:336 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:343
msgid "Cache file path cannot be empty" msgid "Cache file path cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:26 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:27
msgid "Cannot receive DNS checks result" #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:28
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:25
msgid "Cannot receive checks result"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:27 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:15
msgid "Cannot receive nftables checks result" #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:15
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:13
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:13
msgid "Checking, please wait"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:24 #: src/podkop/tabs/diagnostic/helpers/getCheckTitle.ts:2
msgid "Cannot receive Sing-box checks result" msgid "checks"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:14 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:26
msgid "Checking dns, please wait" msgid "Checks failed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:14 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:13
msgid "Checking FakeIP, please wait" msgid "Checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:12
msgid "Checking nftables, please wait"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:12
msgid "Checking sing-box, please wait"
msgstr "" msgstr ""
#: src/validators/validateSubnet.ts:33 #: src/validators/validateSubnet.ts:33
@@ -116,7 +117,7 @@ msgstr ""
msgid "Community Lists" msgid "Community Lists"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:309 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:316
msgid "Config File Path" msgid "Config File Path"
msgstr "" msgstr ""
@@ -152,15 +153,15 @@ msgstr ""
msgid "Dashboard currently unavailable" msgid "Dashboard currently unavailable"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:215 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222
msgid "Delay in milliseconds before reloading podkop after interface UP" msgid "Delay in milliseconds before reloading podkop after interface UP"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:222 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:229
msgid "Delay value cannot be empty" msgid "Delay value cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:89 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:82
msgid "DHCP has DNS server" msgid "DHCP has DNS server"
msgstr "" msgstr ""
@@ -172,11 +173,11 @@ msgstr ""
msgid "Disable autostart" msgid "Disable autostart"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:239 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:246
msgid "Disable QUIC" msgid "Disable QUIC"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:240 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:247
msgid "Disable the QUIC protocol to improve compatibility or fix issues with video streaming" msgid "Disable the QUIC protocol to improve compatibility or fix issues with video streaming"
msgstr "" msgstr ""
@@ -185,15 +186,7 @@ msgstr ""
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:14 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:77
msgid "DNS checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:64
msgid "DNS checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:84
msgid "DNS on router" msgid "DNS on router"
msgstr "" msgstr ""
@@ -225,11 +218,15 @@ msgstr ""
msgid "DNS server address cannot be empty" msgid "DNS server address cannot be empty"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:26
msgid "Do not panic, everything can be fixed, just..."
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:166 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:166
msgid "Domain Resolver" msgid "Domain Resolver"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:300 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:307
msgid "Dont Touch My DHCP!" msgid "Dont Touch My DHCP!"
msgstr "" msgstr ""
@@ -242,19 +239,19 @@ msgstr ""
msgid "Download" msgid "Download"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:262 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:269
msgid "Download Lists via Proxy/VPN" msgid "Download Lists via Proxy/VPN"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:271 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:278
msgid "Download Lists via specific proxy section" msgid "Download Lists via specific proxy section"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:263 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:270
msgid "Downloading all lists via main Proxy/VPN" msgid "Downloading all lists via main Proxy/VPN"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:272 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:279
msgid "Downloading all lists via specific Proxy/VPN" msgid "Downloading all lists via specific Proxy/VPN"
msgstr "" msgstr ""
@@ -283,7 +280,7 @@ msgstr ""
msgid "Enable the mixed proxy, allowing this section to route traffic through both HTTP and SOCKS proxies" msgid "Enable the mixed proxy, allowing this section to route traffic through both HTTP and SOCKS proxies"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:230 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:237
msgid "Enable YACD" msgid "Enable YACD"
msgstr "" msgstr ""
@@ -303,11 +300,11 @@ msgstr ""
msgid "Enter subnets in CIDR notation (e.g. 103.21.244.0/22) or single IP addresses" msgid "Enter subnets in CIDR notation (e.g. 103.21.244.0/22) or single IP addresses"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:358 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:365
msgid "Exclude NTP" msgid "Exclude NTP"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:359 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:366
msgid "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN" msgid "Exclude NTP protocol traffic from the tunnel to prevent it from being routed through the proxy or VPN"
msgstr "" msgstr ""
@@ -315,20 +312,13 @@ msgstr ""
msgid "Failed to copy!" msgid "Failed to copy!"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:29 #: src/podkop/tabs/diagnostic/initController.ts:226
msgid "FakeIP checks" #: src/podkop/tabs/diagnostic/initController.ts:230
msgstr "" #: src/podkop/tabs/diagnostic/initController.ts:260
#: src/podkop/tabs/diagnostic/initController.ts:264
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:57 #: src/podkop/tabs/diagnostic/initController.ts:298
msgid "FakeIP checks failed" #: src/podkop/tabs/diagnostic/initController.ts:302
msgstr "" msgid "Failed to execute!"
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51
msgid "FakeIP checks partially passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:44
msgid "FakeIP checks passed"
msgstr "" msgstr ""
#: src/podkop/methods/custom/getDashboardSections.ts:117 #: src/podkop/methods/custom/getDashboardSections.ts:117
@@ -343,7 +333,7 @@ msgstr ""
msgid "Get global check" msgid "Get global check"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:218 #: src/podkop/tabs/diagnostic/initController.ts:221
msgid "Global check" msgid "Global check"
msgstr "" msgstr ""
@@ -351,19 +341,19 @@ msgstr ""
msgid "HTTP error" msgid "HTTP error"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:182 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:189
msgid "Interface Monitoring" msgid "Interface Monitoring"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:214 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:221
msgid "Interface Monitoring Delay" msgid "Interface Monitoring Delay"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:183 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:190
msgid "Interface monitoring for Bad WAN" msgid "Interface monitoring for Bad WAN"
msgstr "" msgstr ""
#: src/validators/validateDns.ts:20 #: src/validators/validateDns.ts:23
msgid "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH" msgid "Invalid DNS server format. Examples: 8.8.8.8 or dns.example.com or dns.example.com/nicedns for DoH"
msgstr "" msgstr ""
@@ -480,7 +470,7 @@ msgstr ""
msgid "Invalid URL format" msgid "Invalid URL format"
msgstr "" msgstr ""
#: src/validators/validateVlessUrl.ts:109 #: src/validators/validateVlessUrl.ts:110
msgid "Invalid VLESS URL: parsing failed" msgid "Invalid VLESS URL: parsing failed"
msgstr "" msgstr ""
@@ -488,11 +478,15 @@ msgstr ""
msgid "IP address 0.0.0.0 is not allowed" msgid "IP address 0.0.0.0 is not allowed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:404 #: src/podkop/tabs/diagnostic/helpers/getMeta.ts:20
msgid "Issues detected"
msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:452
msgid "Latest" msgid "Latest"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:250 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:257
msgid "List Update Frequency" msgid "List Update Frequency"
msgstr "" msgstr ""
@@ -504,7 +498,7 @@ msgstr ""
msgid "Local Subnet Lists" msgid "Local Subnet Lists"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:79 #: src/podkop/tabs/diagnostic/checks/runDnsCheck.ts:72
msgid "Main DNS" msgid "Main DNS"
msgstr "" msgstr ""
@@ -516,7 +510,7 @@ msgstr ""
msgid "Mixed Proxy Port" msgid "Mixed Proxy Port"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:191 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:198
msgid "Monitored Interfaces" msgid "Monitored Interfaces"
msgstr "" msgstr ""
@@ -524,19 +518,7 @@ msgstr ""
msgid "Network Interface" msgid "Network Interface"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:24 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105
msgid "Nftables checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:75
msgid "Nftables checks partially passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74
msgid "Nftables checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:116
msgid "No other marking rules found" msgid "No other marking rules found"
msgstr "" msgstr ""
@@ -567,7 +549,7 @@ msgstr ""
msgid "Outbound JSON must contain at least \"type\", \"server\" and \"server_port\" fields" msgid "Outbound JSON must contain at least \"type\", \"server\" and \"server_port\" fields"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:394 #: src/podkop/tabs/diagnostic/initController.ts:442
msgid "Outdated" msgid "Outdated"
msgstr "" msgstr ""
@@ -579,18 +561,25 @@ msgstr ""
msgid "Path cannot be empty" msgid "Path cannot be empty"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:340 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:347
msgid "Path must be absolute (start with /)" msgid "Path must be absolute (start with /)"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:349 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:356
msgid "Path must contain at least one directory (like /tmp/cache.db)" msgid "Path must contain at least one directory (like /tmp/cache.db)"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:344 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:351
msgid "Path must end with cache.db" msgid "Path must end with cache.db"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:95
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:103
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:111
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:119
msgid "Pending"
msgstr ""
#: src/podkop/tabs/dashboard/initController.ts:340 #: src/podkop/tabs/dashboard/initController.ts:340
msgid "Podkop" msgid "Podkop"
msgstr "" msgstr ""
@@ -599,7 +588,7 @@ msgstr ""
msgid "Podkop Settings" msgid "Podkop Settings"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:301 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:308
msgid "Podkop will not modify your DHCP configuration" msgid "Podkop will not modify your DHCP configuration"
msgstr "" msgstr ""
@@ -607,21 +596,14 @@ msgstr ""
msgid "Proxy Configuration URL" msgid "Proxy Configuration URL"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:89 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:66
msgid "Proxy traffic is not routed via FakeIP" msgid "Proxy traffic is not routed via FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:88 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:65
msgid "Proxy traffic is routed via FakeIP" msgid "Proxy traffic is routed via FakeIP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:95
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:103
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:111
#: src/podkop/tabs/diagnostic/diagnostic.store.ts:119
msgid "Queued"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:245 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:245
msgid "Regional options cannot be used together" msgid "Regional options cannot be used together"
msgstr "" msgstr ""
@@ -638,39 +620,39 @@ msgstr ""
msgid "Restart podkop" msgid "Restart podkop"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:74 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:51
msgid "Router DNS is not routed through sing-box" msgid "Router DNS is not routed through sing-box"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:73 #: src/podkop/tabs/diagnostic/checks/runFakeIPCheck.ts:50
msgid "Router DNS is routed through sing-box" msgid "Router DNS is routed through sing-box"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:369 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:376
msgid "Routing Excluded IPs" msgid "Routing Excluded IPs"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:90 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:79
msgid "Rules mangle counters" msgid "Rules mangle counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:85 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:74
msgid "Rules mangle exist" msgid "Rules mangle exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:100 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:89
msgid "Rules mangle output counters" msgid "Rules mangle output counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:95 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:84
msgid "Rules mangle output exist" msgid "Rules mangle output exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:110 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:99
msgid "Rules proxy counters" msgid "Rules proxy counters"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:105 #: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:94
msgid "Rules proxy exist" msgid "Rules proxy exist"
msgstr "" msgstr ""
@@ -698,7 +680,7 @@ msgstr ""
msgid "Select DNS protocol to use" msgid "Select DNS protocol to use"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:251 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:258
msgid "Select how often the domain or subnet lists are updated automatically" msgid "Select how often the domain or subnet lists are updated automatically"
msgstr "" msgstr ""
@@ -715,11 +697,11 @@ msgstr ""
msgid "Select or enter DNS server address" msgid "Select or enter DNS server address"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:323 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:330
msgid "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing" msgid "Select or enter path for sing-box cache file. Change this ONLY if you know what you are doing"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:310 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:317
msgid "Select path for sing-box config file. Change this ONLY if you know what you are doing" msgid "Select path for sing-box config file. Change this ONLY if you know what you are doing"
msgstr "" msgstr ""
@@ -743,7 +725,7 @@ msgstr ""
msgid "Select the network interface to which the traffic will originate" msgid "Select the network interface to which the traffic will originate"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:192 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:199
msgid "Select the WAN interfaces to be monitored" msgid "Select the WAN interfaces to be monitored"
msgstr "" msgstr ""
@@ -755,7 +737,7 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:278 #: src/podkop/tabs/diagnostic/initController.ts:289
#: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:116
msgid "Show sing-box config" msgid "Show sing-box config"
msgstr "" msgstr ""
@@ -764,35 +746,27 @@ msgstr ""
msgid "Sing-box" msgid "Sing-box"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:86 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:77
msgid "Sing-box autostart disabled" msgid "Sing-box autostart disabled"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/contstants.ts:19 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:62
msgid "Sing-box checks"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:66
msgid "Sing-box checks passed"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:71
msgid "Sing-box installed" msgid "Sing-box installed"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:96 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:87
msgid "Sing-box listening ports" msgid "Sing-box listening ports"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:91 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:82
msgid "Sing-box process running" msgid "Sing-box process running"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:81 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:72
msgid "Sing-box service exist" msgid "Sing-box service exist"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:76 #: src/podkop/tabs/diagnostic/checks/runSingBoxCheck.ts:67
msgid "Sing-box version >= 1.12.4" msgid "Sing-box version >= 1.12.4"
msgstr "" msgstr ""
@@ -800,7 +774,7 @@ msgstr ""
msgid "Source Network Interface" msgid "Source Network Interface"
msgstr "" msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:370 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:377
msgid "Specify a local IP address to be excluded from routing" msgid "Specify a local IP address to be excluded from routing"
msgstr "" msgstr ""
@@ -837,7 +811,11 @@ msgstr ""
msgid "System info" msgid "System info"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:80 #: src/podkop/tabs/diagnostic/partials/renderSystemInfo.ts:21
msgid "System information"
msgstr ""
#: src/podkop/tabs/diagnostic/checks/runNftCheck.ts:69
msgid "Table exist" msgid "Table exist"
msgstr "" msgstr ""
@@ -869,6 +847,10 @@ msgstr ""
msgid "Traffic Total" msgid "Traffic Total"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:25
msgid "Troubleshooting"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:80 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/settings.js:80
msgid "TTL must be a positive number" msgid "TTL must be a positive number"
msgstr "" msgstr ""
@@ -886,13 +868,13 @@ msgstr ""
msgid "UDP over TCP" msgid "UDP over TCP"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:34
#: src/podkop/tabs/diagnostic/initController.ts:35
#: src/podkop/tabs/diagnostic/initController.ts:36
#: src/podkop/tabs/diagnostic/initController.ts:37 #: src/podkop/tabs/diagnostic/initController.ts:37
#: src/podkop/tabs/diagnostic/initController.ts:38 #: src/podkop/tabs/diagnostic/initController.ts:38
#: src/podkop/tabs/diagnostic/initController.ts:39 #: src/podkop/tabs/diagnostic/initController.ts:39
#: src/podkop/tabs/diagnostic/initController.ts:373 #: src/podkop/tabs/diagnostic/initController.ts:40
#: src/podkop/tabs/diagnostic/initController.ts:41
#: src/podkop/tabs/diagnostic/initController.ts:42
#: src/podkop/tabs/diagnostic/initController.ts:416
msgid "unknown" msgid "unknown"
msgstr "" msgstr ""
@@ -905,7 +887,7 @@ msgstr ""
msgid "Uplink" msgid "Uplink"
msgstr "" msgstr ""
#: src/validators/validateProxyUrl.ts:27 #: src/validators/validateProxyUrl.ts:29
msgid "URL must start with vless://, ss://, trojan://, or socks4/5://" msgid "URL must start with vless://, ss://, trojan://, or socks4/5://"
msgstr "" msgstr ""
@@ -945,8 +927,8 @@ msgstr ""
msgid "User Subnets List" msgid "User Subnets List"
msgstr "" msgstr ""
#: src/validators/validateDns.ts:11 #: src/validators/validateDns.ts:14
#: src/validators/validateDns.ts:15 #: src/validators/validateDns.ts:18
#: src/validators/validateDomain.ts:13 #: src/validators/validateDomain.ts:13
#: src/validators/validateDomain.ts:30 #: src/validators/validateDomain.ts:30
#: src/validators/validateIp.ts:8 #: src/validators/validateIp.ts:8
@@ -957,7 +939,7 @@ msgstr ""
#: src/validators/validateSubnet.ts:38 #: src/validators/validateSubnet.ts:38
#: src/validators/validateTrojanUrl.ts:59 #: src/validators/validateTrojanUrl.ts:59
#: src/validators/validateUrl.ts:16 #: src/validators/validateUrl.ts:16
#: src/validators/validateVlessUrl.ts:107 #: src/validators/validateVlessUrl.ts:108
msgid "Valid" msgid "Valid"
msgstr "" msgstr ""
@@ -966,11 +948,15 @@ msgstr ""
msgid "Validation errors:" msgid "Validation errors:"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/initController.ts:248 #: src/podkop/tabs/diagnostic/initController.ts:255
#: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107 #: src/podkop/tabs/diagnostic/partials/renderAvailableActions.ts:107
msgid "View logs" msgid "View logs"
msgstr "" msgstr ""
#: src/podkop/tabs/diagnostic/partials/renderWikiDisclaimer.ts:31
msgid "Visit Wiki"
msgstr ""
#: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:247 #: ../luci-app-podkop/htdocs/luci-static/resources/view/podkop/section.js:247
msgid "Warning: %s cannot be used together with %s. Previous selections have been removed." msgid "Warning: %s cannot be used together with %s. Previous selections have been removed."
msgstr "" msgstr ""