Skip to content

Commit

Permalink
Merge: - client: set the default language first in the list
Browse files Browse the repository at this point in the history
Closes #1080

* commit '31f2cefdf951353ebc299c8f38ddb400d8976fda':
  * client: update translations
  - client: set the default language first in the list
  • Loading branch information
IldarKamalov committed Oct 18, 2019
2 parents f72e681 + 31f2cef commit 67a3d44
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 12 deletions.
3 changes: 2 additions & 1 deletion client/src/__locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,6 @@
"orgname": "Název organizace",
"netname": "Název sítě",
"descr": "Popis",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>Další informace</0> o vytváření vlastních seznamů zakázaných hostitelů."
}
5 changes: 3 additions & 2 deletions client/src/__locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"example_comment": "! Aquí va un comentario",
"example_comment_meaning": "solo un comentario",
"example_comment_hash": "# También un comentario",
"example_regex_meaning": "bloquear el acceso a los dominios que coincidan con la expresión regular especificada",
"example_regex_meaning": "bloquea el acceso a los dominios que coincidan con la expresión regular especificada",
"example_upstream_regular": "DNS regular (mediante UDP)",
"example_upstream_dot": "cifrado <0>DNS mediante TLS</0>",
"example_upstream_doh": "cifrado <0>DNS mediante HTTPS</0>",
Expand Down Expand Up @@ -399,5 +399,6 @@
"orgname": "Nombre de la organización",
"netname": "Nombre de la red",
"descr": "Descripción",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>Más información</0> sobre cómo crear tus propias listas para bloqueo de hosts."
}
34 changes: 33 additions & 1 deletion client/src/__locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"example_comment": "! 여기는 주석이 올 수 있습니다",
"example_comment_meaning": "말 그대로의 의미입니다",
"example_comment_hash": "# 이것 또한 주석입니다",
"example_regex_meaning": "<0>특정 정규 표현식</0>에 맞는 도메인 접근을 차단합니다",
"example_upstream_regular": "사용자 지정 DNS (UDP을 통한 접속)",
"example_upstream_dot": "암호화 된 <0>DNS-over-TLS</0>",
"example_upstream_doh": "암호화 된 <0>DNS-over-HTTPS</0>",
Expand Down Expand Up @@ -173,6 +174,15 @@
"rule_added_to_custom_filtering_toast": "사용자 정의 필터링 규칙에 추가된 규칙",
"query_log_response_status": "상태: {{value}}",
"query_log_filtered": "필터: {{filter}}",
"query_log_confirm_clear": "정말로 모든 쿼리 로그를 비우시겠습니까?",
"query_log_cleared": "쿼리 로그를 성공적으로 초기화했습니다",
"query_log_clear": "쿼리 로그 비우기",
"query_log_retention": "쿼리 로그 저장 기간",
"query_log_enable": "로그 활성화",
"query_log_configuration": "로그 구성",
"query_log_disabled": "쿼리 로그가 비활성화되어 있으며 <0>설정</0>에서 설정할 수 있습니다",
"query_log_strict_search": "검색을 제한하려면 쌍따옴표를 사용해주세요",
"query_log_retention_confirm": "정말로 쿼리 로그 저장 기간을 변경하시겠습니까? 저장 주기를 낮출 경우, 일부 데이터가 손실됩니다",
"source_label": "소스",
"found_in_known_domain_db": "알려진 도메인 데이터베이스에서 발견됨.",
"category_label": "카테고리",
Expand All @@ -190,6 +200,7 @@
"install_settings_dns_desc": "다음 주소의 DNS 서버를 사용하도록 장치 또는 라우터를 구성해야 합니다.",
"install_settings_all_interfaces": "모든 인터페이스",
"install_auth_title": "인증",
"install_auth_desc": "AdGuard Home 관리자 웹 인터페이스에 암호를 사용하는것이 권장됩니다. 로컬 네트워크에서만 액세스할 수 있더라도 혹시 모를 외부 액세스로부터 보호하는 것도 중요합니다.",
"install_auth_username": "사용자 이름",
"install_auth_password": "비밀번호",
"install_auth_confirm": "비밀번호 확인",
Expand Down Expand Up @@ -363,9 +374,30 @@
"domain": "도메인",
"answer": "응답",
"filter_added_successfully": "필터가 성공적으로 추가되었습니다.",
"statistics_configuration": "통계 구성",
"statistics_retention": "통계 저장 기간",
"statistics_retention_desc": "값을 줄이면 설정한 값보다 오래된 데이터가 소멸됩니다.",
"statistics_clear": " 통계 초기화",
"statistics_clear_confirm": "통계를 정말로 초기화하시겠습니까?",
"statistics_cleared": "통계를 성공적으로 초기화했습니다."
"statistics_retention_confirm": "정말로 통계 저장 기간을 변경하시겠습니까? 저장 주기를 낮출 경우, 일부 데이터가 손실됩니다",
"statistics_cleared": "통계를 성공적으로 초기화했습니다.",
"interval_hours": "{{count}} 시간",
"interval_hours_plural": "{{count}} 시간",
"filters_configuration": "필터 구성",
"filters_enable": "필터 활성화",
"filters_interval": "필터 업데이트 주기",
"disabled": "비활성화 됨",
"username_label": "사용자 이름",
"username_placeholder": "사용자 이름 입력",
"password_label": "비밀번호",
"password_placeholder": "비밀번호 입력",
"sign_in": "로그인",
"sign_out": "로그아웃",
"forgot_password": "비밀번호를 잊어버렸나요?",
"forgot_password_desc": "다음과 같은 <0>단계</0>를 따라 귀하의 사용자 계정을 위한 새로운 비밀번호를 생성하세요.",
"location": "위치",
"orgname": "단체 이름",
"netname": "네트워크 이름",
"descr": "설명",
"whois": "후이즈"
}
3 changes: 2 additions & 1 deletion client/src/__locales/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,6 @@
"orgname": "Nome da organização",
"netname": "Nome da rede",
"descr": "Descrição",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>Saiba mais</0> sobre como criar as suas próprias listas negras de servidores."
}
3 changes: 2 additions & 1 deletion client/src/__locales/pt-pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,6 @@
"orgname": "Nome da organização",
"netname": "Nome da rede",
"descr": "Descrição",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>Saiba mais</0>sobre como criar as suas próprias listas negras de servidores."
}
4 changes: 3 additions & 1 deletion client/src/__locales/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"example_comment": "! Tukaj je komentar",
"example_comment_meaning": "samo komentar",
"example_comment_hash": "# Tudi komentar",
"example_regex_meaning": "onemogoči dostop do domen, ki se ujemajo z <0>določenim regularnemim izrazom</0>",
"example_upstream_regular": "redni DNS (nad UDP)",
"example_upstream_dot": "šifriran <0>DNS-prek-TLS</0>",
"example_upstream_doh": "šifriran <0>DNS-prek-HTTPS</0>",
Expand Down Expand Up @@ -398,5 +399,6 @@
"orgname": "Ime organizacije",
"netname": "Ime omrežja",
"descr": "Opis",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>Več o tem</0>, o ustvarjanju lastnih Seznamov nedovoljenih gostiteljev."
}
3 changes: 2 additions & 1 deletion client/src/__locales/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,5 +399,6 @@
"orgname": "組織名稱",
"netname": "網路名稱",
"descr": "說明",
"whois": "Whois"
"whois": "Whois",
"filtering_rules_learn_more": "<0>了解更多</0>有關創建您自己的主機(hosts)封鎖清單。"
}
10 changes: 6 additions & 4 deletions client/src/helpers/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export const REPOSITORY = {
export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html';

export const LANGUAGES = [
{
key: 'en',
name: 'English',
},
{
key: 'da',
name: 'Dansk',
Expand All @@ -42,10 +46,6 @@ export const LANGUAGES = [
key: 'nl',
name: 'Dutch',
},
{
key: 'en',
name: 'English',
},
{
key: 'es',
name: 'Español',
Expand Down Expand Up @@ -377,3 +377,5 @@ export const DEFAULT_LOGS_FILTER = {
filter_question_type: '',
filter_response_status: '',
};

export const DEFAULT_LANGUAGE = 'en';

0 comments on commit 67a3d44

Please sign in to comment.