From a1f29c31b99928a5ca4356cddbfcd0048e9007a0 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Thu, 10 Feb 2022 20:42:39 +0300 Subject: [PATCH] Pull request: client: imp validation texts Merge in DNS/adguard-home from imp-i18n to master Squashed commit of the following: commit c58c00383824a88ea8e22a845e422ba2ff7d225e Author: Ainar Garipov Date: Thu Feb 10 20:21:00 2022 +0300 client: imp validation texts --- client/src/__locales/en.json | 66 ++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 9917ef2e..1559a24e 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -35,24 +35,24 @@ "dhcp_config_saved": "DHCP configuration successfully saved", "dhcp_ipv4_settings": "DHCP IPv4 Settings", "dhcp_ipv6_settings": "DHCP IPv6 Settings", - "form_error_required": "Required field", - "form_error_ip4_format": "Invalid IPv4 address", - "form_error_ip4_range_start_format": "Invalid IPv4 address of the range start", - "form_error_ip4_range_end_format": "Invalid IPv4 address of the range end", - "form_error_ip4_gateway_format": "Invalid IPv4 address of the gateway", - "form_error_ip6_format": "Invalid IPv6 address", - "form_error_ip_format": "Invalid IP address", - "form_error_mac_format": "Invalid MAC address", - "form_error_client_id_format": "ClientID must contain only numbers, lowercase letters, and hyphens", - "form_error_server_name": "Invalid server name", - "form_error_subnet": "Subnet \"{{cidr}}\" does not contain the IP address \"{{ip}}\"", - "form_error_positive": "Must be greater than 0", - "out_of_range_error": "Must be out of range \"{{start}}\"-\"{{end}}\"", - "lower_range_start_error": "Must be lower than range start", - "greater_range_start_error": "Must be greater than range start", - "greater_range_end_error": "Must be greater than range end", - "subnet_error": "Addresses must be in one subnet", - "gateway_or_subnet_invalid": "Subnet mask invalid", + "form_error_required": "Required field.", + "form_error_ip4_format": "Invalid IPv4 address.", + "form_error_ip4_range_start_format": "Invalid IPv4 address of the range start.", + "form_error_ip4_range_end_format": "Invalid IPv4 address of the range end.", + "form_error_ip4_gateway_format": "Invalid IPv4 address of the gateway.", + "form_error_ip6_format": "Invalid IPv6 address.", + "form_error_ip_format": "Invalid IP address.", + "form_error_mac_format": "Invalid MAC address.", + "form_error_client_id_format": "ClientID must contain only numbers, lowercase letters, and hyphens.", + "form_error_server_name": "Invalid server name.", + "form_error_subnet": "Subnet \"{{cidr}}\" does not contain the IP address \"{{ip}}\".", + "form_error_positive": "Must be greater than 0.", + "out_of_range_error": "Must be out of range \"{{start}}\"-\"{{end}}\".", + "lower_range_start_error": "Must be lower than range start.", + "greater_range_start_error": "Must be greater than range start.", + "greater_range_end_error": "Must be greater than range end.", + "subnet_error": "Addresses must be in one subnet.", + "gateway_or_subnet_invalid": "Subnet mask invalid.", "dhcp_form_gateway_input": "Gateway IP", "dhcp_form_subnet_input": "Subnet mask", "dhcp_form_range_title": "Range of IP addresses", @@ -196,8 +196,8 @@ "choose_allowlist": "Choose allowlists", "enter_valid_blocklist": "Enter a valid URL to the blocklist.", "enter_valid_allowlist": "Enter a valid URL to the allowlist.", - "form_error_url_format": "Invalid URL format", - "form_error_url_or_path_format": "Invalid URL or absolute path of the list", + "form_error_url_format": "Invalid URL format.", + "form_error_url_or_path_format": "Invalid URL or absolute path of the list.", "custom_filter_rules": "Custom filtering rules", "custom_filter_rules_hint": "Enter one rule on a line. You can use either adblock rules or hosts files syntax.", "system_host_files": "System hosts files", @@ -309,7 +309,7 @@ "install_settings_listen": "Listen interface", "install_settings_port": "Port", "install_settings_interface_link": "Your AdGuard Home admin web interface will be available on the following addresses:", - "form_error_port": "Enter valid port number", + "form_error_port": "Enter valid port number.", "install_settings_dns": "DNS server", "install_settings_dns_desc": "You will need to configure your devices or router to use the DNS server on the following addresses:", "install_settings_all_interfaces": "All interfaces", @@ -378,26 +378,26 @@ "encryption_key_input": "Copy/paste your PEM-encoded private key for your certificate here.", "encryption_enable": "Enable Encryption (HTTPS, DNS-over-HTTPS, and DNS-over-TLS)", "encryption_enable_desc": "If encryption is enabled, AdGuard Home admin interface will work over HTTPS, and the DNS server will listen for requests over DNS-over-HTTPS and DNS-over-TLS.", - "encryption_chain_valid": "Certificate chain is valid", - "encryption_chain_invalid": "Certificate chain is invalid", - "encryption_key_valid": "This is a valid {{type}} private key", - "encryption_key_invalid": "This is an invalid {{type}} private key", + "encryption_chain_valid": "Certificate chain is valid.", + "encryption_chain_invalid": "Certificate chain is invalid.", + "encryption_key_valid": "This is a valid {{type}} private key.", + "encryption_key_invalid": "This is an invalid {{type}} private key.", "encryption_subject": "Subject", "encryption_issuer": "Issuer", "encryption_hostnames": "Hostnames", "encryption_reset": "Are you sure you want to reset encryption settings?", "topline_expiring_certificate": "Your SSL certificate is about to expire. Update <0>Encryption settings.", "topline_expired_certificate": "Your SSL certificate is expired. Update <0>Encryption settings.", - "form_error_port_range": "Enter port number in the range of 80-65535", - "form_error_port_unsafe": "This is an unsafe port", - "form_error_equal": "Must not be equal", - "form_error_password": "Password mismatched", + "form_error_port_range": "Enter port number in the range of 80-65535.", + "form_error_port_unsafe": "This is an unsafe port.", + "form_error_equal": "Must not be equal.", + "form_error_password": "Password mismatched.", "reset_settings": "Reset settings", "update_announcement": "AdGuard Home {{version}} is now available! <0>Click here for more info.", "setup_guide": "Setup Guide", "dns_addresses": "DNS addresses", "dns_start": "DNS server is starting up", - "dns_status_error": "Error checking the DNS server status", + "dns_status_error": "Error checking the DNS server status.", "down": "Down", "fix": "Fix", "dns_providers": "Here is a <0>list of known DNS providers to choose from.", @@ -475,8 +475,8 @@ "dns_rewrites": "DNS rewrites", "form_domain": "Enter domain name or wildcard", "form_answer": "Enter IP address or domain name", - "form_error_domain_format": "Invalid domain format", - "form_error_answer_format": "Invalid answer format", + "form_error_domain_format": "Invalid domain format.", + "form_error_answer_format": "Invalid answer format.", "configure": "Configure", "main_settings": "Main settings", "block_services": "Block specific services", @@ -628,5 +628,5 @@ "parental_control": "Parental Control", "safe_browsing": "Safe Browsing", "served_from_cache": "{{value}} (served from cache)", - "form_error_password_length": "Password must be at least {{value}} characters long" + "form_error_password_length": "Password must be at least {{value}} characters long." }