mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-18 13:38:14 +03:00
🐛 fix(podkop): fix typo in translation and dns check timeout
This commit is contained in:
@@ -40,8 +40,8 @@ msgstr "Конфигурация Outbound"
|
|||||||
msgid "Proxy Configuration URL"
|
msgid "Proxy Configuration URL"
|
||||||
msgstr "URL конфигурации прокси"
|
msgstr "URL конфигурации прокси"
|
||||||
|
|
||||||
msgid "Enter connection string starting with vless:// or ss:// for proxy configuration. Add comments with // for backup configs"
|
msgid "Enter connection string starting with vless:// or ss:// for proxy configuration. Add comments with // for saving other configs"
|
||||||
msgstr "Введите строку подключения, начинающуюся с vless:// или ss:// для настройки прокси. Добавляйте комментарии с // для резервных конфигураций"
|
msgstr "Введите строку подключения, начинающуюся с vless:// или ss:// для настройки прокси. Добавляйте комментарии с // для сохранения других конфигураций"
|
||||||
|
|
||||||
msgid "Outbound Configuration"
|
msgid "Outbound Configuration"
|
||||||
msgstr "Конфигурация исходящего соединения"
|
msgstr "Конфигурация исходящего соединения"
|
||||||
|
|||||||
@@ -2049,10 +2049,14 @@ check_dns_available() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ "$dns_type" = "dot" ]; then
|
elif [ "$dns_type" = "dot" ]; then
|
||||||
if nc $dns_server 853 </dev/null >/dev/null 2>&1; then
|
nc $dns_server 853 </dev/null >/dev/null 2>&1 & pid=$!
|
||||||
|
(sleep 3; kill $pid 2>/dev/null) & killpid=$!
|
||||||
|
wait $pid >/dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
is_available=1
|
is_available=1
|
||||||
status="available"
|
status="available"
|
||||||
fi
|
fi
|
||||||
|
kill $killpid 2>/dev/null
|
||||||
elif [ "$dns_type" = "udp" ]; then
|
elif [ "$dns_type" = "udp" ]; then
|
||||||
if nslookup -timeout=2 itdog.info $dns_server >/dev/null 2>&1; then
|
if nslookup -timeout=2 itdog.info $dns_server >/dev/null 2>&1; then
|
||||||
is_available=1
|
is_available=1
|
||||||
|
|||||||
Reference in New Issue
Block a user