From 49e800727b2e866fa1f9d429bd1c0c17ce8466b3 Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Wed, 27 Nov 2019 18:45:30 +0300 Subject: [PATCH] - client: allow add ip-v6 to exceptions --- client/src/__locales/bg.json | 2 - client/src/__locales/cs.json | 6 +- client/src/__locales/da.json | 5 +- client/src/__locales/de.json | 2 - client/src/__locales/en.json | 7 +- client/src/__locales/es.json | 2 - client/src/__locales/fr.json | 2 - client/src/__locales/id.json | 3 - client/src/__locales/it.json | 49 ++++++++++- client/src/__locales/ja.json | 3 - client/src/__locales/ko.json | 5 +- client/src/__locales/nl.json | 3 - client/src/__locales/pl.json | 3 - client/src/__locales/pt-br.json | 2 - client/src/__locales/pt-pt.json | 2 - client/src/__locales/sk.json | 86 ++++++++++++++++++- client/src/__locales/sl.json | 2 - client/src/__locales/sv.json | 73 +++++++++++++++- client/src/__locales/tr.json | 3 - client/src/__locales/vi.json | 1 - client/src/__locales/zh-cn.json | 2 - client/src/__locales/zh-tw.json | 2 - .../src/components/Settings/Clients/Form.js | 4 +- client/src/helpers/form.js | 14 +++ 24 files changed, 228 insertions(+), 55 deletions(-) diff --git a/client/src/__locales/bg.json b/client/src/__locales/bg.json index 5562a417..3141507e 100644 --- a/client/src/__locales/bg.json +++ b/client/src/__locales/bg.json @@ -13,7 +13,6 @@ "dhcp_leases_not_found": "Няма намерени активни DHCP адреси", "dhcp_config_saved": "Запиши конфигурацията на DHCP сървъра", "form_error_required": "Задължително поле", - "form_error_ip_format": "Невалиден IPv4 адрес", "form_error_positive": "Проверете дали е положително число", "dhcp_form_gateway_input": "IP шлюз", "dhcp_form_subnet_input": "Мрежова маска", @@ -71,7 +70,6 @@ "use_adguard_parental": "Включи AdGuard Родителски Надзор", "use_adguard_parental_hint": "Модул XXX в AdGuard Home ще провери дали страницата има материали за възвъстни. Използва се същия API за анонимност като при модула за Сигурност.", "enforce_safe_search": "Включи Безопасно Търсене", - "enforce_save_search_hint": "AdGuard Home прилага Безопасно Търсене в следните търсачки и сайтове: Google, Youtube, Bing, и Yandex.", "no_servers_specified": "Няма избрани услуги", "general_settings": "Общи настройки", "upstream_dns": "Главен DNS сървър", diff --git a/client/src/__locales/cs.json b/client/src/__locales/cs.json index c8899142..c9c6aa86 100644 --- a/client/src/__locales/cs.json +++ b/client/src/__locales/cs.json @@ -19,7 +19,9 @@ "dhcp_leases_not_found": "Nebyly nalezeny žádné pronájmy DHCP", "dhcp_config_saved": "Konfigurace DHCP serveru byla uložena", "form_error_required": "Povinné pole", - "form_error_ip_format": "Neplatný formát IPv4", + "form_error_ip4_format": "Neplatný formát IPv4", + "form_error_ip6_format": "Neplatný formát IPv6", + "form_error_ip_format": "Neplatný formát IP", "form_error_mac_format": "Neplatný formát MAC", "form_error_positive": "Musí být větší než 0", "dhcp_form_gateway_input": "IP brána", @@ -96,7 +98,7 @@ "use_adguard_parental": "Použít službu AdGuard Rodičovská kontrola", "use_adguard_parental_hint": "AdGuard Home zkontroluje, zda doména obsahuje materiály pro dospělé. Používá stejné API přátelské k ochraně osobních údajů jako služba Bezpečnost prohlížení.", "enforce_safe_search": "Vynutit bezpečné vyhledávání", - "enforce_save_search_hint": "AdGuard Home může vynutit bezpečné vyhledávání v následujících vyhledávačích: Google, YouTube, Bing DuckDuckGo a Yandex.", + "enforce_save_search_hint": "AdGuard Home může vynutit bezpečné vyhledávání v následujících vyhledávačích: Google, YouTube, Bing, DuckDuckGo, Yandex, Pixabay.", "no_servers_specified": "Nebyly specifikovány žádné servery", "general_settings": "Obecná nastavení", "dns_settings": "Nastavení DNS", diff --git a/client/src/__locales/da.json b/client/src/__locales/da.json index ea547ad9..2ae5b665 100644 --- a/client/src/__locales/da.json +++ b/client/src/__locales/da.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Ingen DHCP-leases fundet", "dhcp_config_saved": "Gemt DHCP-server konfiguration", "form_error_required": "Obligatorisk felt", - "form_error_ip_format": "Ugyldigt IPv4-format", "form_error_mac_format": "Ugyldigt MAC-format", "form_error_positive": "Skal være større end 0", "dhcp_form_gateway_input": "Gateway IP", @@ -96,7 +95,6 @@ "use_adguard_parental": "Brug AdGuards forældrekontrol", "use_adguard_parental_hint": "AdGuard Home vil kontrollere, om domænet indeholder voksenindhold. Den bruger den samme privatlivsvenlige API som browsing sikkerhedstjenesten.", "enforce_safe_search": "Håndhæv sikker søgning", - "enforce_save_search_hint": "AdGuard Home kan håndhæve sikker søgning i følgende søgemaskiner: Google, Youtube, Bing, DuckDuckGo og Yandex.", "no_servers_specified": "Ingen servere specificeret", "general_settings": "Generelle indstillinger", "dns_settings": "DNS-indstillinger", @@ -399,5 +397,6 @@ "orgname": "Organisationens navn", "netname": "Netværksnavn", "descr": "Beskrivelse", - "whois": "Whois" + "whois": "Whois", + "filtering_rules_learn_more": "<0>Lær mere om at oprette dine egne værtsblokeringslister." } \ No newline at end of file diff --git a/client/src/__locales/de.json b/client/src/__locales/de.json index 5ffaeecf..1c8b2072 100644 --- a/client/src/__locales/de.json +++ b/client/src/__locales/de.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Keine DHCP-Leasingverträge gefunden\n", "dhcp_config_saved": "Gespeicherte DHCP-Server-Konfiguration", "form_error_required": "Pflichtfeld", - "form_error_ip_format": "Ungültiges IPv4-Format", "form_error_mac_format": "Ungültiges MAC-Format", "form_error_positive": "Muss größer als 0 sein.", "dhcp_form_gateway_input": "Gateway-IP", @@ -96,7 +95,6 @@ "use_adguard_parental": "AdGuard Webservice für Kindersicherung verwenden", "use_adguard_parental_hint": "AdGuard Home wird überprüfen, ob die Domain Inhalte hat, die nur für Erwachsene geeignet sind. Zum Schutz Ihrer Privatsphäre wird die gleiche API wie für den Webservice für Internet-Sicherheit verwendet.", "enforce_safe_search": "SafeSearch erzwingen", - "enforce_save_search_hint": "AdGuard kann SafeSearch für folgende Suchmaschinen erzwingen: Google, Youtube, Bing und Yandex.", "no_servers_specified": "Keine Server festgelegt", "general_settings": "Allgemeine Einstellungen", "dns_settings": "DNS-Einstellungen", diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index fab13a64..764d1450 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -19,7 +19,9 @@ "dhcp_leases_not_found": "No DHCP leases found", "dhcp_config_saved": "Saved DHCP server config", "form_error_required": "Required field", - "form_error_ip_format": "Invalid IPv4 format", + "form_error_ip4_format": "Invalid IPv4 format", + "form_error_ip6_format": "Invalid IPv6 format", + "form_error_ip_format": "Invalid IP format", "form_error_mac_format": "Invalid MAC format", "form_error_positive": "Must be greater than 0", "dhcp_form_gateway_input": "Gateway IP", @@ -167,6 +169,7 @@ "next_btn": "Next", "loading_table_status": "Loading...", "page_table_footer_text": "Page", + "of_table_footer_text": "of", "rows_table_footer_text": "rows", "updated_custom_filtering_toast": "Updated the custom filtering rules", "rule_removed_from_custom_filtering_toast": "Rule removed from the custom filtering rules", @@ -400,4 +403,4 @@ "descr": "Description", "whois": "Whois", "filtering_rules_learn_more": "<0>Learn more about creating your own hosts blocklists." -} +} \ No newline at end of file diff --git a/client/src/__locales/es.json b/client/src/__locales/es.json index b7b73dfb..cb17c09b 100644 --- a/client/src/__locales/es.json +++ b/client/src/__locales/es.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "No se han encontrado asignaciones DHCP", "dhcp_config_saved": "Configuración del servidor DHCP guardada", "form_error_required": "Campo obligatorio", - "form_error_ip_format": "Formato IPv4 no válido", "form_error_mac_format": "Formato MAC no válido", "form_error_positive": "Debe ser mayor que 0", "dhcp_form_gateway_input": "IP de puerta de enlace", @@ -96,7 +95,6 @@ "use_adguard_parental": "Usar el control parental de AdGuard", "use_adguard_parental_hint": "AdGuard Home comprobará si el dominio contiene materiales para adultos. Utiliza la misma API amigable con la privacidad del servicio web de seguridad de navegación.", "enforce_safe_search": "Forzar búsqueda segura", - "enforce_save_search_hint": "AdGuard Home puede forzar la búsqueda segura en los siguientes motores de búsqueda: Google, YouTube, Bing, DuckDuckGo y Yandex.", "no_servers_specified": "No hay servidores especificados", "general_settings": "Configuración general", "dns_settings": "Configuración del DNS", diff --git a/client/src/__locales/fr.json b/client/src/__locales/fr.json index c94bdb51..6634c03a 100644 --- a/client/src/__locales/fr.json +++ b/client/src/__locales/fr.json @@ -18,7 +18,6 @@ "dhcp_leases_not_found": "Aucune location des serveurs DHCP trouvée", "dhcp_config_saved": "La configuration du serveur DHCP est sauvegardée", "form_error_required": "Champ requis", - "form_error_ip_format": "Format IPv4 invalide", "form_error_positive": "Doit être supérieur à 0", "dhcp_form_gateway_input": "IP de la passerelle", "dhcp_form_subnet_input": "Masque de sous-réseau", @@ -73,7 +72,6 @@ "use_adguard_parental": "Utiliser le contrôle parental d'AdGuard", "use_adguard_parental_hint": "AdGuard Home va vérifier s'il y a du contenu pour adultes sur le domaine. Ce sera fait par aide du même API discret que celui utilisé par le service de Sécurité de navigation.", "enforce_safe_search": "Renforcer la recherche sécurisée", - "enforce_save_search_hint": "AdGuard Home peut renforcer la Recherche sécurisée dans les moteurs de recherche suivants : Google, Youtube, Bing et Yandex.", "no_servers_specified": "Pas de serveurs spécifiés", "general_settings": "Paramètres généraux", "upstream_dns": "Serveurs DNS upstream", diff --git a/client/src/__locales/id.json b/client/src/__locales/id.json index 21fe8672..8fe0bc11 100644 --- a/client/src/__locales/id.json +++ b/client/src/__locales/id.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "DHCP lease tidak ditemukan", "dhcp_config_saved": "Pengaturan server DHCP tersimpan", "form_error_required": "Kolom yang harus diisi", - "form_error_ip_format": "Format IPv4 tidak valid", "form_error_mac_format": "Format MAC tidak valid", "form_error_positive": "Harus lebih dari 0", "dhcp_form_gateway_input": "IP gateway", @@ -96,7 +95,6 @@ "use_adguard_parental": "Gunakan layanan web kontrol orang tua AdGuard", "use_adguard_parental_hint": "AdGuard Home akan mengecek jika domain mengandung materi dewasa. Akan menggunakan API yang ramah privasi yang sama sebagai layanan web keamanan penjelajahan.", "enforce_safe_search": "Paksa penelusuran aman", - "enforce_save_search_hint": "AdGuard Home dapat memaksa penelusuran aman pada mesin pencari berikut: Google, Youtube, Bing, dan Yandex.", "no_servers_specified": "Sever tidak disebutkan", "general_settings": "Pengaturan umum", "dns_settings": "Pengaturan DNS", @@ -141,7 +139,6 @@ "example_comment": "! Komentar di sini", "example_comment_meaning": "hanya sebuah komentar", "example_comment_hash": "Juga sebuah komentar", - "example_regex_meaning": "blokir akses ke domain yang cocok dengan ekspresi reguler yang ditentukan", "example_upstream_regular": "DNS reguler (melalui UDP)", "example_upstream_dot": "terenkripsi DNS-over-TLS", "example_upstream_doh": "terenkripsi DNS-over-HTTPS", diff --git a/client/src/__locales/it.json b/client/src/__locales/it.json index 3277b9c0..5c84ab40 100644 --- a/client/src/__locales/it.json +++ b/client/src/__locales/it.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Nessun lease DHCP trovato", "dhcp_config_saved": "Configurazione server DHCP salvata", "form_error_required": "Campo richiesto", - "form_error_ip_format": "Formato IPv4 non valido", "form_error_mac_format": "Formato MAC non valido", "form_error_positive": "Deve essere maggiore di 0", "dhcp_form_gateway_input": "IP Gateway", @@ -96,7 +95,6 @@ "use_adguard_parental": "Usa il servizio parental control di AdGuard", "use_adguard_parental_hint": "AdGuard Home controllerà se il dominio contiene materiale per adulti. Usa le stesse API privacy-friendly del servizio web browsing security.", "enforce_safe_search": "Forza ricerca sicura", - "enforce_save_search_hint": "AdGuard Home può forzare la ricerca sicura sui seguenti motori di ricerca: Google, YouTube, Bing e Yandex", "no_servers_specified": "Nessun server specificato", "general_settings": "Impostazioni generali", "dns_settings": "Impostazioni DNS", @@ -141,6 +139,7 @@ "example_comment": "! Qui va un commento", "example_comment_meaning": "un commento", "example_comment_hash": "# Un altro commento", + "example_regex_meaning": "blocca l'accesso ai domini che corrispondono alla specifica espressione regolare", "example_upstream_regular": "DNS regolari (via UDP)", "example_upstream_dot": "DNS-over-TLS criptato", "example_upstream_doh": "DNS-over-HTTPS criptato", @@ -172,6 +171,16 @@ "rule_removed_from_custom_filtering_toast": "Regola rimossa dalle regole dei filtri personalizzate", "rule_added_to_custom_filtering_toast": "Regola aggiunta alle regole dei filtri personalizzate", "query_log_response_status": "Status: {{value}}", + "query_log_filtered": "Filtrato da {{filter}}", + "query_log_confirm_clear": "Sei sicuro di voler eliminare la query log?", + "query_log_cleared": "La query log è stata cancellata correttamente", + "query_log_clear": "Cancella query logs", + "query_log_retention": "Ritenzione query logs", + "query_log_enable": "Abilita log", + "query_log_configuration": "Configurazione logs", + "query_log_disabled": "La query log è stata disabilitata e può essere configurata nel <0>impostazioni", + "query_log_strict_search": "Utilizzare le virgolette doppie per la ricerca rigorosa", + "query_log_retention_confirm": "Sei sicuro di voler modificare il registro di query? Se si diminuisce il valore di intervallo, alcuni dati saranno persi", "source_label": "Fonte", "found_in_known_domain_db": "Trovato nel database dei domini conosciuti.", "category_label": "Categoria", @@ -349,11 +358,45 @@ "blocked_service": "Servizio bloccato", "block_all": "Blocca tutto", "unblock_all": "Sblocca tutto", + "encryption_certificate_path": "Percorso di certificato", + "encryption_private_key_path": "Percorso della chiave privata", + "encryption_certificates_source_path": "Definisci un percorso alle file dei certificati", + "encryption_certificates_source_content": "Incolla i contenuti di certificato", + "encryption_key_source_path": "Imposta un file chiave privata", + "encryption_key_source_content": "Incolla i contenuti della chiave privata", "stats_params": "Configurazione delle statistiche", "config_successfully_saved": "Configurazione salvata correttamente", "interval_24_hour": "24 ore", "interval_days": "{{count}} giorni", + "interval_days_plural": "{{count}} giorni", "domain": "Dominio", "answer": "Risposta", - "filter_added_successfully": "Il filtro è stato aggiunto correttamente" + "filter_added_successfully": "Il filtro è stato aggiunto correttamente", + "statistics_configuration": "Configurazione delle statistiche", + "statistics_retention": "Conservazione statistiche", + "statistics_retention_desc": "Se si diminuisce il valore di intervallo, alcuni dati saranno persi", + "statistics_clear": " Azzera statistiche", + "statistics_clear_confirm": "Sei sicuro di voler azzerare le statistiche?", + "statistics_retention_confirm": "Sei sicuro di modificare la conservazione statistiche? Se si diminuisce il valore di intervallo, alcuni dati saranno persi", + "statistics_cleared": "Statistiche azzerate correttamente", + "interval_hours": "{{count}} ora", + "interval_hours_plural": "{{count}} ore", + "filters_configuration": "Configurazione filtri", + "filters_enable": "Abilita i filtri", + "filters_interval": "Intervallo aggiornamento filtri", + "disabled": "Disabilitato", + "username_label": "Nome utente", + "username_placeholder": "Inserisci nome utente", + "password_label": "Password", + "password_placeholder": "Inserisci password", + "sign_in": "Accedi", + "sign_out": "Esci", + "forgot_password": "Hai perso la password?", + "forgot_password_desc": "Per favore segui <0>questi punti per creare una nuova password per il tuo account.", + "location": "Locazione", + "orgname": "Nome dell'organizzazione", + "netname": "Nome Network", + "descr": "Descrizione", + "whois": "Chi è", + "filtering_rules_learn_more": "<0>Impara di più come creare i tuoi elenchi di blocco per i hosts." } \ No newline at end of file diff --git a/client/src/__locales/ja.json b/client/src/__locales/ja.json index cd798be3..5a8de130 100644 --- a/client/src/__locales/ja.json +++ b/client/src/__locales/ja.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "DHCP割当はありません", "dhcp_config_saved": "DHCPサーバの設定を保存しました", "form_error_required": "必須項目", - "form_error_ip_format": "IPv4フォーマットではありません", "form_error_mac_format": "MACフォーマットではありません", "form_error_positive": "0より大きい必要があります", "dhcp_form_gateway_input": "ゲートウェイIP", @@ -90,7 +89,6 @@ "use_adguard_parental": "AdGuardペアレンタルコントロール・ウェブサービスを使用する", "use_adguard_parental_hint": "AdGuard Homeは、ドメインにアダルトコンテンツが含まれているかどうかを確認します。 ブラウジングセキュリティ・ウェブサービスと同じプライバシーに優しいAPIを使用します。", "enforce_safe_search": "セーフサーチを強制する", - "enforce_save_search_hint": "AdGuard Homeは、Google、Youtube、Bing、Yandexの検索エンジンでセーフサーチを強制できます。", "no_servers_specified": "サーバが指定されていません", "general_settings": "一般設定", "dns_settings": "DNS設定", @@ -135,7 +133,6 @@ "example_comment": "! ここにはコメントが入ります", "example_comment_meaning": "ただのコメントです", "example_comment_hash": "# ここもコメントです", - "example_regex_meaning": "指定の正規表現に一致するドメインへのアクセスをブロックします", "example_upstream_regular": "通常のDNS(UDPでの問い合わせ)", "example_upstream_dot": "暗号化されている DNS-over-TLS", "example_upstream_doh": "暗号化されている DNS-over-HTTPS", diff --git a/client/src/__locales/ko.json b/client/src/__locales/ko.json index f3a8871e..4b460892 100644 --- a/client/src/__locales/ko.json +++ b/client/src/__locales/ko.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "DHCP 임대를 찾을 수 없음", "dhcp_config_saved": "저장된 DHCP 서버 구성", "form_error_required": "필수 필드", - "form_error_ip_format": "잘못된 IPv4 형식", "form_error_mac_format": "잘못된 MAC 형식", "form_error_positive": "0보다 커야 합니다", "dhcp_form_gateway_input": "게이트웨이 IP", @@ -96,7 +95,6 @@ "use_adguard_parental": "AdGuard 자녀 보호 웹 서비스 사용", "use_adguard_parental_hint": "AdGuard Home은 도메인에 성인 자료가 포함되어 있는지 확인합니다. 브라우징 보안 웹 서비스와 동일한 개인정보 보호 API를 사용함.", "enforce_safe_search": "세이프서치 강제", - "enforce_save_search_hint": "AdGuard Home은 다음과 같은 검색엔진(구글, 유투브, 빙, 덕덕고, 얀덱스)에서 안전검색이 가능합니다.", "no_servers_specified": "지정된 서버 없음", "general_settings": "일반 설정", "dns_settings": "DNS 설정", @@ -399,5 +397,6 @@ "orgname": "단체 이름", "netname": "네트워크 이름", "descr": "설명", - "whois": "후이즈" + "whois": "후이즈", + "filtering_rules_learn_more": "차단 리스트를 직접 호스트하는 법을 <0>알아보세요." } \ No newline at end of file diff --git a/client/src/__locales/nl.json b/client/src/__locales/nl.json index f432bcd0..0d91da52 100644 --- a/client/src/__locales/nl.json +++ b/client/src/__locales/nl.json @@ -18,7 +18,6 @@ "dhcp_leases_not_found": "Geen DHCP lease gevonden", "dhcp_config_saved": "DHCP server configuratie opgeslagen", "form_error_required": "Vereist veld", - "form_error_ip_format": "Ongeldig IPv4 formaat", "form_error_mac_format": "Ongeldig MAC formaat.", "form_error_positive": "Moet groter zijn dan 0", "dhcp_form_gateway_input": "Gateway IP", @@ -87,7 +86,6 @@ "use_adguard_parental": "Gebruik AdGuard Ouderlijk toezicht web service", "use_adguard_parental_hint": "AdGuard Home controleert of het domein 18+ content bevat. Dit gebeurt dmv dezelfde privacy vriendelijke API als de Browsing Security web service.", "enforce_safe_search": "Forceer Veilig Zoeken", - "enforce_save_search_hint": "AdGuard Home kan veilig zoeken forceren voor de volgende zoekmachines: Google, Youtube, Bing, en Yandex.", "no_servers_specified": "Geen servers gespecificeerd", "general_settings": "Generieke instellingen", "dns_settings": "DNS Instellingen", @@ -132,7 +130,6 @@ "example_comment": "! Hier komt een opmerking", "example_comment_meaning": "zomaar een opmerking", "example_comment_hash": "# Nog een opmerking", - "example_regex_meaning": "blokkeer de toegang tot de domeinen die overeenkomen met de opgegeven reguliere expressie", "example_upstream_regular": "standaard DNS (over UDP)", "example_upstream_dot": "versleuteldeDNS-over-TLS", "example_upstream_doh": "versleuteldeDNS-over-HTTPS", diff --git a/client/src/__locales/pl.json b/client/src/__locales/pl.json index dcd4ebec..62d904e9 100644 --- a/client/src/__locales/pl.json +++ b/client/src/__locales/pl.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Nie znaleziono dzierżaw DHCP", "dhcp_config_saved": "Zapisana konfiguracja serwera DHCP", "form_error_required": "Pole wymagane", - "form_error_ip_format": "Nieprawidłowy format IPv4", "form_error_mac_format": "Nieprawidłowy format MAC", "form_error_positive": "Musi być większa niż 0", "dhcp_form_gateway_input": "Adres IP bramy", @@ -96,7 +95,6 @@ "use_adguard_parental": "Użyj usługi Kontrola Rodzicielska AdGuard", "use_adguard_parental_hint": "AdGuard Home sprawdzi, czy domena zawiera materiały dla dorosłych. Używa tego samego interfejsu API przyjaznego prywatności, co usługa sieciowa Bezpieczne Przeglądanie. ", "enforce_safe_search": "Wymuszaj bezpieczne wyszukiwanie", - "enforce_save_search_hint": "AdGuard Home może wymusić bezpieczne wyszukiwanie w następujących wyszukiwarkach: Google, Youtube, Bing i Yandex.", "no_servers_specified": "Nie określono serwerów", "general_settings": "Ustawienia główne", "dns_settings": "Ustawienia DNS", @@ -141,7 +139,6 @@ "example_comment": "! Tutaj idzie komentarz", "example_comment_meaning": "komentarz", "example_comment_hash": "# Również komentarz", - "example_regex_meaning": "blokuj dostęp do domen pasujących do określonego wyrażenia regularnego", "example_upstream_regular": "normalny DNS (przez UDP)", "example_upstream_dot": "zaszyfrowany DNS-przez-TLS", "example_upstream_doh": "zaszyfrowany DNS-przez-HTTPS", diff --git a/client/src/__locales/pt-br.json b/client/src/__locales/pt-br.json index e547caba..6229dd9e 100644 --- a/client/src/__locales/pt-br.json +++ b/client/src/__locales/pt-br.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Nenhuma concessão DHCP encontrada", "dhcp_config_saved": "Salvar configurações do servidor DHCP", "form_error_required": "Campo obrigatório", - "form_error_ip_format": "formato de endereço IPv4 inválido", "form_error_mac_format": "Formato do endereço MAC inválido", "form_error_positive": "Deve ser maior que 0", "dhcp_form_gateway_input": "IP do gateway", @@ -96,7 +95,6 @@ "use_adguard_parental": "Usar o serviço de controle parental do AdGuard", "use_adguard_parental_hint": "O AdGuard Home irá verificar se o domínio contém conteúdo adulto. Ele usa a mesma API amigável de privacidade que o serviço de segurança da navegação.", "enforce_safe_search": "Forçar pesquisa segura", - "enforce_save_search_hint": "O AdGuard Home pode forçar a pesquisa segura nos seguintes motores de busca: Google, Youtube, Bing e Yandex.", "no_servers_specified": "Nenhum servidor especificado", "general_settings": "Configurações gerais", "dns_settings": "Configurações de DNS", diff --git a/client/src/__locales/pt-pt.json b/client/src/__locales/pt-pt.json index b0f93a7c..1fb6c6ab 100644 --- a/client/src/__locales/pt-pt.json +++ b/client/src/__locales/pt-pt.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Nenhuma concessão DHCP encontrada", "dhcp_config_saved": "Guardar configurações do servidor DHCP", "form_error_required": "Campo obrigatório", - "form_error_ip_format": "Formato de endereço IPv4 inválido", "form_error_mac_format": "Formato do endereço MAC inválido", "form_error_positive": "Deve ser maior que 0", "dhcp_form_gateway_input": "IP do gateway", @@ -96,7 +95,6 @@ "use_adguard_parental": "Usar o serviço de controlo parental do AdGuard", "use_adguard_parental_hint": "O AdGuard Home irá verificar se o domínio contém conteúdo adulto. Usa a mesma API amigável de privacidade que o serviço de segurança da navegação.", "enforce_safe_search": "Forçar pesquisa segura", - "enforce_save_search_hint": "O AdGuard Home pode forçar a pesquisa segura nos seguintes motores de busca: Google, Youtube, Bing e Yandex.", "no_servers_specified": "Nenhum servidor especificado", "general_settings": "Definições gerais", "dns_settings": "Definições de DNS", diff --git a/client/src/__locales/sk.json b/client/src/__locales/sk.json index 2acefcc5..a10c17f8 100644 --- a/client/src/__locales/sk.json +++ b/client/src/__locales/sk.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Neboli nájdené žiadne DHCP prenájmy", "dhcp_config_saved": "Konfigurácia DHCP servera uložená", "form_error_required": "Povinná položka", - "form_error_ip_format": "Nesprávny formát IPv4", "form_error_mac_format": "Nesprávny MAC formát", "form_error_positive": "Musí byť väčšie ako 0", "dhcp_form_gateway_input": "IP brána", @@ -66,16 +65,22 @@ "disabled_protection": "Ochrana vypnutá", "refresh_statics": "Obnoviť štatistiku", "dns_query": "DNS dopyty", + "blocked_by": "<0>Blokované filtrami<0>", "stats_malware_phishing": "Blokovaný škodlivý kód/pokus o podvod", "stats_adult": "Blokovaná stránka pre dospelých", "stats_query_domain": "Najčastejšie dopytované domény", "for_last_24_hours": "za posledných 24 hodín", + "for_last_days": "za posledný {{count}} deň", + "for_last_days_plural": "za posledných {{count}} dní", "no_domains_found": "Žiadna doména nebola nájdená", "requests_count": "Počet dopytov", "top_blocked_domains": "Najčastejšie zablokované domény", "top_clients": "Najčastejší klienti", "no_clients_found": "Neboli nájdení žiadni klienti", "general_statistics": "Všeobecná štatistika", + "number_of_dns_query_days": "Počet DNS dopytov spracovaných za posledný {{count}} deň", + "number_of_dns_query_days_plural": "Počet DNS dopytov spracovaných za posledných {{count}} dní", + "number_of_dns_query_24_hours": "Počet DNS dopytov spracovaných za posledných 24 hodín", "number_of_dns_query_blocked_24_hours": "Počet DNS dopytov zablokovaných filtrami reklamy a zoznamami adries", "number_of_dns_query_blocked_24_hours_by_sec": "Počet DNS dopytov zablokovaných AdGuard modulom Bezpečné prehliadanie", "number_of_dns_query_blocked_24_hours_adult": "Počet zablokovaných stránok pre dospelých", @@ -90,7 +95,6 @@ "use_adguard_parental": "Použiť AdGuard službu Rodičovská kontrola", "use_adguard_parental_hint": "AdGuard Home skontroluje, či doména obsahuje materiály pre dospelých. Používa rovnaké API priateľské k ochrane osobných údajov ako služba Bezpečného prehliadania.", "enforce_safe_search": "Vynútiť bezpečné vyhľadávanie", - "enforce_save_search_hint": "AdGuard Home môže vynútiť bezpečné vyhľadávanie v nasledujúcich vyhľadávačoch: Google, Youtube, Bing, DuckDuckGo and Yandex.", "no_servers_specified": "Neboli špecifikované žiadne servery", "general_settings": "Všeobecné nastavenia", "dns_settings": "Nastavenia DNS", @@ -135,6 +139,7 @@ "example_comment": "! Sem sa pridáva komentár", "example_comment_meaning": "len komentár", "example_comment_hash": "# Tiež komentár", + "example_regex_meaning": "zablokovať prístup k doménam, ktoré zodpovedajú zadanému regulárnemu výrazu", "example_upstream_regular": "radová DNS (cez UDP)", "example_upstream_dot": "šifrované <0>DNS-over-TLS", "example_upstream_doh": "šifrované <0>DNS-over-HTTPS", @@ -165,6 +170,17 @@ "updated_custom_filtering_toast": "Aktualizované vlastné filtračné pravidlá", "rule_removed_from_custom_filtering_toast": "Pravidlo odstránené z vlastných filtračných pravidiel", "rule_added_to_custom_filtering_toast": "Pravidlo pridané do vlastných filtračných pravidiel", + "query_log_response_status": "Stav: {{value}}", + "query_log_filtered": "Vyfiltrované pomocou {{filter}}", + "query_log_confirm_clear": "Naozaj chcete vymazať celý denník dopytov?", + "query_log_cleared": "Denník dopytov bol úspešne vymazaný", + "query_log_clear": "Vymazať denníky dopytov", + "query_log_retention": "Obdobie záznamu denníka dopytov", + "query_log_enable": "Zapnúť denník", + "query_log_configuration": "Konfigurácia denníka", + "query_log_disabled": "Protokol dopytov je vypnutý a možno ho nakonfigurovať v <0>nastaveniach", + "query_log_strict_search": "Na prísne vyhľadávanie použite dvojité úvodzovky", + "query_log_retention_confirm": "Naozaj chcete zmeniť uchovávanie denníku dopytov? Ak znížite hodnotu intervalu, niektoré údaje sa stratia", "source_label": "Zdroj", "found_in_known_domain_db": "Nájdené v databáze známych domén.", "category_label": "Kategória", @@ -182,6 +198,7 @@ "install_settings_dns_desc": "Budete musieť konfigurovať Vaše zariadenia alebo smerovač, aby používali DNS server na nasledujúcich adresách:", "install_settings_all_interfaces": "Všetky rozhrania", "install_auth_title": "Overenie identity", + "install_auth_desc": "Odporúčame Vám nakonfigurovať na administrátorskom webovom rozhraní AdGuard Home overenie Vašej identity heslom. Aj keď je prístupné iba vo Vašej lokálnej sieti, je stále dôležité chrániť ho pred neobmedzeným prístupom.", "install_auth_username": "Meno používateľa", "install_auth_password": "Heslo", "install_auth_confirm": "Potvrdenie hesla", @@ -318,5 +335,68 @@ "setup_dns_privacy_other_3": "<0>dnscrypt-proxy podporuje <1>DNS-over-HTTPS.", "setup_dns_privacy_other_4": "<0>Mozilla Firefox podporuje <1>DNS-over-HTTPS.", "setup_dns_privacy_other_5": "Viac implementácií nájdete <0>tu a <1>tu.", - "setup_dns_notice": "Pre použitie <1>DNS-over-HTTPS alebo <1>DNS-over-TLS, potrebujete v nastaveniach AdGuard Home <0>nakonfigurovať šifrovanie." + "setup_dns_notice": "Pre použitie <1>DNS-over-HTTPS alebo <1>DNS-over-TLS, potrebujete v nastaveniach AdGuard Home <0>nakonfigurovať šifrovanie.", + "rewrite_added": "DNS prepísanie pre \"{{key}}\" bolo úspešne pridané", + "rewrite_deleted": "DNS prepísanie pre \"{{key}}\" bolo úspešne vymazané", + "rewrite_add": "Pridať DNS prepísanie", + "rewrite_not_found": "Neboli nájdené žiadne DNS prepísania", + "rewrite_confirm_delete": "Naozaj chcete odstrániť prepísanie DNS pre \"{{key}}\"?", + "rewrite_desc": "Umožňuje ľahko nakonfigurovať vlastnú odpoveď DNS pre konkrétny názov domény.", + "rewrite_applied": "Použilo sa pravidlo prepisovania", + "dns_rewrites": "DNS prepisovanie", + "form_domain": "Vložte meno domény", + "form_answer": "Zadajte IP adresu alebo názov domény", + "form_error_domain_format": "Neplatný formát domény", + "form_error_answer_format": "Neplatný formát odpovede", + "configure": "Konfigurovať", + "main_settings": "Hlavné nastavenia", + "block_services": "Blokovať vybrané služby", + "blocked_services": "Blokované služby", + "blocked_services_desc": "Umožňuje rýchlo blokovať populárne stránky a služby.", + "blocked_services_saved": "Blokované služby boli úspešne uložené", + "blocked_services_global": "Použite globálne blokované služby", + "blocked_service": "Blokované služby", + "block_all": "Blokovať všetko", + "unblock_all": "Odblokovať všetko", + "encryption_certificate_path": "Cesta k certifikátu", + "encryption_private_key_path": "Cesta k súkromného kľúču", + "encryption_certificates_source_path": "Nastavte cestu k súboru s certifikátom", + "encryption_certificates_source_content": "Vložiť obsah certifikátu", + "encryption_key_source_path": "Nastaviť súbor s privátnym kľúčom", + "encryption_key_source_content": "Vložte obsah privátneho kľúča", + "stats_params": "Konfigurácia štatistiky", + "config_successfully_saved": "Konfigurácia bola úspešne uložená", + "interval_24_hour": "24 hodín", + "interval_days": "{{count}} deň", + "interval_days_plural": "{{count}} dní", + "domain": "Doména", + "answer": "Odpoveď", + "filter_added_successfully": "Filter bol úspešne pridaný", + "statistics_configuration": "Konfigurácia štatistiky", + "statistics_retention": "Štatistika za obdobie", + "statistics_retention_desc": "Ak znížite hodnotu intervalu, niektoré údaje sa stratia", + "statistics_clear": " Vynulovať štatistiku", + "statistics_clear_confirm": "Naozaj chcete vynulovať štatistiku?", + "statistics_retention_confirm": "Naozaj chcete zmeniť uchovávanie štatistík? Ak znížite hodnotu intervalu, niektoré údaje sa stratia", + "statistics_cleared": "Štatistika bola úspešne vynulovaná", + "interval_hours": "{{count}} hodina", + "interval_hours_plural": "{{count}} hodín", + "filters_configuration": "Konfigurácia filtrov", + "filters_enable": "Zapnúť filtre", + "filters_interval": "Interval aktualizácie filtrov", + "disabled": "Vypnuté", + "username_label": "Meno používateľa", + "username_placeholder": "Zadajte meno používateľa", + "password_label": "Heslo", + "password_placeholder": "Zadajte heslo", + "sign_in": "Prihlásiť sa", + "sign_out": "Odhlásiť sa", + "forgot_password": "Zabudnuté heslo?", + "forgot_password_desc": "Postupujte podľa <0>týchto krokov a vytvorte nové heslo pre svoj používateľský účet.", + "location": "Poloha", + "orgname": "Meno organizácie", + "netname": "Meno siete", + "descr": "Popis", + "whois": "Whois", + "filtering_rules_learn_more": "<0>Viac informácií o vytváraní vlastných zoznamov hostiteľov." } \ No newline at end of file diff --git a/client/src/__locales/sl.json b/client/src/__locales/sl.json index 3c857214..3edc7875 100644 --- a/client/src/__locales/sl.json +++ b/client/src/__locales/sl.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "Ni najdenih najemov DHCP", "dhcp_config_saved": "Shranjena konfiguracija DHCP strežnika", "form_error_required": "Zahtevano polje", - "form_error_ip_format": "Neveljaven format IPv4", "form_error_mac_format": "Neveljaven MAC format", "form_error_positive": "Mora biti večja od 0", "dhcp_form_gateway_input": "IP prehoda", @@ -96,7 +95,6 @@ "use_adguard_parental": "Uporabi AdGuardovo spletno storitev 'Starševski nadzor'", "use_adguard_parental_hint": "AdGuard Home bo preveril, če domena vsebuje vsebine za odrasle. Uporablja enako, za zasebnost prijazen API, kot spletno storitev za varnost brskanja.", "enforce_safe_search": "Vsili varno iskanje", - "enforce_save_search_hint": "AdGuard Home lahko uveljavi varno iskanje v naslednjih iskalnikih: Google, Youtube, Bing, DuckDuckGo in Yandex.", "no_servers_specified": "Ni določenih strežnikov", "general_settings": "Splošne nastavitve", "dns_settings": "Nastavitve DNS", diff --git a/client/src/__locales/sv.json b/client/src/__locales/sv.json index e0985f7a..2cd65f47 100644 --- a/client/src/__locales/sv.json +++ b/client/src/__locales/sv.json @@ -15,10 +15,11 @@ "dhcp_not_found": "Ingen aktiv DHCP-server hittades i nätverkat.", "dhcp_found": "Några aktiva DHCP-servar upptäcktes. Det är inte säkert att aktivera inbyggda DHCP-servrar.", "dhcp_leases": "DHCP-lease", + "dhcp_static_leases": "Statiska DHCP-leases", "dhcp_leases_not_found": "Ingen DHCP-lease hittad", "dhcp_config_saved": "Sparade inställningar för DHCP-servern", "form_error_required": "Obligatoriskt fält", - "form_error_ip_format": "Ogiltigt IPv4-format", + "form_error_mac_format": "Ogiltigt MAC-format", "form_error_positive": "Måste vara större än noll", "dhcp_form_gateway_input": "Gateway-IP", "dhcp_form_subnet_input": "Subnetmask", @@ -36,6 +37,12 @@ "dhcp_error": "Vi kunde inte avgöra om det finns en till DHCP-server på nätverket.", "dhcp_static_ip_error": "För att kunna använda en DHCP-server måste det finnas en statisk IP-adress. Vi kunde inte avgöra om nätverksgränssnittet är konfigurerat med en statisk IP-adress. Ställ in en statistik IP-adress manuellt.", "dhcp_dynamic_ip_found": "Din enhet använder en dynamisk IP-adress för gränssnittet <0>{{interfaceName}}. För att kunna använda DHCP-servern behövs en statisk IP-adress. Din nuvarande IP-adress är <0>{{ipAddress}}. Vi kommer att göra denna IP-adress statisk automatiskt om du trycker på knappen \"Aktivera DHCP\".", + "dhcp_lease_added": "Statisk lease \"{{key}}\" har lagts till", + "dhcp_lease_deleted": "Statisk lease \"{{key}}\" har raderats", + "dhcp_new_static_lease": "Ny statisk lease", + "dhcp_static_leases_not_found": "Inga statiska DHCP-leases hittade", + "dhcp_add_static_lease": "Lägg till statisk lease", + "delete_confirm": "Är du säker på att du vill ta bort \"{{key}}\"?", "form_enter_hostname": "Skriv in värdnamn", "error_details": "Felinformation", "back": "Tiilbaka", @@ -48,6 +55,7 @@ "address": "adress", "on": "PÅ", "off": "AV", + "copyright": "Copyright", "homepage": "Hemsida", "report_an_issue": "Rapportera ett problem", "privacy_policy": "Integritetspolicy", @@ -62,6 +70,8 @@ "stats_adult": "Blockerade vuxensajter", "stats_query_domain": "Mest eftersökta domäner", "for_last_24_hours": "under de senaste 24 timamrna", + "for_last_days": "för den senaste {{count}} dagen", + "for_last_days_plural": "för de senaste {{count}} dagarna", "no_domains_found": "Inga domäner hittade", "requests_count": "Förfrågningsantal", "top_blocked_domains": "Flest blockerade domäner", @@ -83,9 +93,11 @@ "use_adguard_parental": "Använda AdGuards webbservice för färäldrakontroll", "use_adguard_parental_hint": "AdGuard Home kommer att kontrollera domäner för innehåll av vuxenmaterial . Samma integritetsvänliga metod för API-lookup som tillämpas i webbservicens surfsäkerhet används.", "enforce_safe_search": "Tillämpa Säker surf", - "enforce_save_search_hint": "AdGuard Home kan framtvinga säker surf i följande sökmoterer: Google, Youtube, Bing, och Yandex.", "no_servers_specified": "Inga servrar angivna", "general_settings": "Allmänna inställningar", + "dns_settings": "DNS-inställningar", + "encryption_settings": "Krypteringsinställningar", + "dhcp_settings": "DHCP-inställningar", "upstream_dns": "Upstream DNS-servrar", "upstream_dns_hint": "Om du låter fältet vara tomt kommer AdGuard Home att använda Cloudflare DNS för uppström.", "test_upstream_btn": "Testa uppströmmar", @@ -125,6 +137,7 @@ "example_comment": "! Här kommer en kommentar", "example_comment_meaning": "Endast en kommentar", "example_comment_hash": "# Också en kommentar", + "example_regex_meaning": "blockera åtkomst till domäner som matchar det angivna uttrycket", "example_upstream_regular": "vanlig DNS (över UDP)", "example_upstream_dot": "krypterat DNS-over-TLS", "example_upstream_doh": "krypterat DNS-over-HTTPS", @@ -155,6 +168,17 @@ "updated_custom_filtering_toast": "Uppdaterade de egna filterreglerna", "rule_removed_from_custom_filtering_toast": "Regel borttagen från de egna filterreglerna", "rule_added_to_custom_filtering_toast": "Regel tillagd till de egna filterreglerna", + "query_log_response_status": "Status: {{value}}", + "query_log_filtered": "Filtrerat av {{filter}}", + "query_log_confirm_clear": "Är du säker på att du vill rensa hela förfrågningsloggen?", + "query_log_cleared": "Förfrågningsloggen har rensats", + "query_log_clear": "Rensa förfrågningsloggar", + "query_log_retention": "Förfrågningsloggars retentionstid", + "query_log_enable": "Aktivera logg", + "query_log_configuration": "Logginställningar", + "query_log_disabled": "Förfrågningsloggen är avaktiverad och kan konfigureras i <0>inställningar", + "query_log_strict_search": "Använd dubbla citattecken för strikt sökning", + "query_log_retention_confirm": "Är du säker på att du vill ändra förfrågningsloggars retentionstid? Om du minskar intervallet kommer viss data att gå förlorad", "source_label": "Källa", "found_in_known_domain_db": "Hittad i domändatabas.", "category_label": "Kategori", @@ -253,9 +277,14 @@ "dns_addresses": "DNS-adresser", "down": "Ner", "fix": "Fixa", + "dns_providers": "Här är en <0>lista över kända DNS-leverantörer att välja från.", "update_now": "Uppdatera nu", + "update_failed": "Automatisk uppdatering misslyckad. Var god följ stegen för att uppdatera manuellt.", + "processing_update": "Vänta, AdGuard Home uppdateras", "clients_title": "Klienter", + "clients_desc": "Konfigurera enheter uppkopplade mot AdGuard Home", "settings_global": "Global", + "settings_custom": "Anpassade", "table_client": "Klient", "table_name": "Namn", "save_btn": "Spara", @@ -264,12 +293,50 @@ "client_edit": "Redigera klient", "client_identifier": "Identifikator", "ip_address": "IP-adress", + "client_identifier_desc": "Klienter kan identifieras genom IP-adresser eller MAC-adresser. Notera att användning av MAC som identifierare bara är möjligt om AdGuard Home också är en <0>DHCP-server", "form_enter_ip": "Skriv in IP", "form_enter_mac": "Skriv in MAC", "form_client_name": "Skriv in klientnamn", "client_global_settings": "Använda globala inställningar", + "client_deleted": "Klient \"{{key}}\" har raderats", + "client_added": "Klient \"{{key}}\" har lagts till", + "client_updated": "Klient \"{{key}}\" har uppdaterats", "clients_not_found": "Inga klienter hittade", + "client_confirm_delete": "Är du säker på att du vill ta bort klient \"{{key}}\"?", + "filter_confirm_delete": "Är du säker på att du ska ta bort filtret?", + "auto_clients_title": "Klienter (körtid)", + "auto_clients_desc": "Data från klienter som använder AdGuard Home, men inte är sparade i konfigurationen", + "access_title": "Åtkomstinställningar", + "access_desc": "Här kan du konfigurera åtkomstregler för AdGuard Homes DNS-server.", + "access_allowed_title": "Tillåtna klienter", + "access_disallowed_title": "Otillåtna klienter", + "access_blocked_title": "Blockerade domäner", + "access_settings_saved": "Åtkomstinställningar sparade", + "updates_checked": "Sökning efter uppdateringar genomförd", + "updates_version_equal": "AdGuard Home är uppdaterat", + "check_updates_now": "Sök efter uppdateringar nu", "interval_24_hour": "24 timmar", "domain": "Domän", - "answer": "Svar" + "answer": "Svar", + "statistics_clear": " Rensa statistik", + "interval_hours": "{{count}} timme", + "interval_hours_plural": "{{count}} timmar", + "filters_configuration": "Filterinställningar", + "filters_enable": "Aktivera filter", + "filters_interval": "Filterppdateringsintervall", + "disabled": "Avaktiverad", + "username_label": "Användarnamn", + "username_placeholder": "Skriv in användarnamn", + "password_label": "Lösenord", + "password_placeholder": "Skriv in lösenord", + "sign_in": "Logga in", + "sign_out": "Logga ut", + "forgot_password": "Glömt lösenord?", + "forgot_password_desc": "Följ <0>dessa steg för att skapa ett nytt lösenord till ditt konto.", + "location": "Plats", + "orgname": "Organisationsnamn", + "netname": "Nätverksnamn", + "descr": "Beskrivning", + "whois": "Whois", + "filtering_rules_learn_more": "<0>Mer info om att skapa dina egna blockeringslistor för värdar." } \ No newline at end of file diff --git a/client/src/__locales/tr.json b/client/src/__locales/tr.json index 2996f673..9e5b2c33 100644 --- a/client/src/__locales/tr.json +++ b/client/src/__locales/tr.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "DHCP kiralaması bulunamadı", "dhcp_config_saved": "DHCP sunucusu ayarı kaydedildi", "form_error_required": "Gerekli alan", - "form_error_ip_format": "Geçersiz IPv4 formatı", "form_error_mac_format": "Geçersiz MAC biçimi", "form_error_positive": "0'dan büyük olmalı", "dhcp_form_gateway_input": "Ağ Geçidi IP'si", @@ -96,7 +95,6 @@ "use_adguard_parental": "AdGuard ebeveyn kontrolü web hizmetini kullan", "use_adguard_parental_hint": "AdGuard Home, alan adının yetişkin içerik bulundurup bulundurmadığını kontrol edecek. Gezinti güvenliği web hizmeti ile kullandığımız aynı gizlilik dostu API'yi kullanıyoruz.", "enforce_safe_search": "Güvenli aramayı zorunlu kıl", - "enforce_save_search_hint": "AdGuard Home şu arama motorlarında güvenli aramayı zorunlu kılabilir: Google, Youtube, Bing, DuckDuckGo ve Yandex.", "no_servers_specified": "Sunucu adresi girilmedi", "general_settings": "Genel ayarlar", "dns_settings": "DNS ayarları", @@ -141,7 +139,6 @@ "example_comment": "! Buraya bir yorum ekledim", "example_comment_meaning": "yorum eklemek", "example_comment_hash": "# Bir yorum daha ekledim", - "example_regex_meaning": "belirtilen düzenli ifadelerle eşleşen alan adlarına erişimi engelle", "example_upstream_regular": "normal DNS (UDP üzerinden)", "example_upstream_dot": "<0>DNS-over-TLS şifrelemesi", "example_upstream_doh": "<0>DNS-over-HTTPS şifrelemesi", diff --git a/client/src/__locales/vi.json b/client/src/__locales/vi.json index bd98aa04..82a4e5c0 100644 --- a/client/src/__locales/vi.json +++ b/client/src/__locales/vi.json @@ -55,7 +55,6 @@ "use_adguard_parental": "Sử dụng dịch vụ quản lý của phụ huynh AdGuard", "use_adguard_parental_hint": "AdGuard Home sẽ kiểm tra nếu tên miền chứa từ khoá người lớn. Tính năng sử dụng API thân thiện với quyền riêng tư tương tự với dịch vụ bảo vệ duyệt web", "enforce_safe_search": "Bắt buộc tìm kiếm an toàn", - "enforce_save_search_hint": "AdGuard Home có thể bắt buộc tìm kiếm an toàn với các dịch vụ tìm kiếm: Google, Youtube, Bing, Yandex.", "no_servers_specified": "Không có máy chủ nào được liệt kê", "general_settings": "Cài đặt chung", "upstream_dns": "Máy chủ DNS tìm kiếm", diff --git a/client/src/__locales/zh-cn.json b/client/src/__locales/zh-cn.json index cd3322a0..866d2df5 100644 --- a/client/src/__locales/zh-cn.json +++ b/client/src/__locales/zh-cn.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "未检测到 DHCP 租约", "dhcp_config_saved": "保存 DHCP 服务器配置", "form_error_required": "必填字段", - "form_error_ip_format": "无效的 IPv4 格式", "form_error_mac_format": "无效的 MAC 格式", "form_error_positive": "必须大于 0", "dhcp_form_gateway_input": "网关 IP", @@ -90,7 +89,6 @@ "use_adguard_parental": "使用 AdGuard 【家长控制】服务", "use_adguard_parental_hint": "AdGuard Home 将使用与浏览安全服务相同的隐私性强的 API 来检查域名指向的网站是否包含成人内容。", "enforce_safe_search": "强制安全搜索", - "enforce_save_search_hint": "AdGuard Home 将对以下搜索引擎强制启用安全搜索:Google、YouTube、Bing 和 Yandex。", "no_servers_specified": "未找到指定的服务器", "general_settings": "常规设置", "dns_settings": "DNS 设置", diff --git a/client/src/__locales/zh-tw.json b/client/src/__locales/zh-tw.json index 6c173627..465679c4 100644 --- a/client/src/__locales/zh-tw.json +++ b/client/src/__locales/zh-tw.json @@ -19,7 +19,6 @@ "dhcp_leases_not_found": "無已發現之動態主機設定協定(DHCP)租賃", "dhcp_config_saved": "已儲存動態主機設定協定(DHCP)伺服器配置", "form_error_required": "必填的欄位", - "form_error_ip_format": "無效的 IPv4 格式", "form_error_mac_format": "無效的媒體存取控制(MAC)格式", "form_error_positive": "必須大於 0", "dhcp_form_gateway_input": "閘道 IP", @@ -96,7 +95,6 @@ "use_adguard_parental": "使用 AdGuard 家長監控之網路服務", "use_adguard_parental_hint": "AdGuard Home 將檢查網域是否包含成人資料。它使用如同瀏覽安全網路服務一樣之友好的隱私應用程式介面(API)。", "enforce_safe_search": "強制執行安全搜尋", - "enforce_save_search_hint": "AdGuard Home 可在下列的搜尋引擎:Google、YouTube、Bing、DuckDuckGo 和 Yandex 中強制執行安全搜尋。", "no_servers_specified": "無已明確指定的伺服器", "general_settings": "一般的設定", "dns_settings": "DNS 設定", diff --git a/client/src/components/Settings/Clients/Form.js b/client/src/components/Settings/Clients/Form.js index 58112401..2bf6679f 100644 --- a/client/src/components/Settings/Clients/Form.js +++ b/client/src/components/Settings/Clients/Form.js @@ -7,7 +7,7 @@ import flow from 'lodash/flow'; import Tabs from '../../ui/Tabs'; import { toggleAllServices } from '../../../helpers/helpers'; -import { renderField, renderRadioField, renderSelectField, renderServiceField, ipv4, mac, required } from '../../../helpers/form'; +import { renderField, renderRadioField, renderSelectField, renderServiceField, ip, mac, required } from '../../../helpers/form'; import { CLIENT_ID, SERVICES } from '../../../helpers/constants'; import './Service.css'; @@ -88,7 +88,7 @@ let Form = (props) => { type="text" className="form-control" placeholder={t('form_enter_ip')} - validate={[ipv4, required]} + validate={[ip, required]} /> )} diff --git a/client/src/helpers/form.js b/client/src/helpers/form.js index 3bd94291..fc0286a1 100644 --- a/client/src/helpers/form.js +++ b/client/src/helpers/form.js @@ -111,6 +111,20 @@ export const required = (value) => { export const ipv4 = (value) => { if (value && !new RegExp(R_IPV4).test(value)) { + return form_error_ip4_format; + } + return false; +}; + +export const ipv6 = (value) => { + if (value && !new RegExp(R_IPV6).test(value)) { + return form_error_ip6_format; + } + return false; +}; + +export const ip = (value) => { + if (value && !new RegExp(R_IPV4).test(value) && !new RegExp(R_IPV6).test(value)) { return form_error_ip_format; } return false;