Skip to content

Commit

Permalink
* client: fix missed translations
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Sep 4, 2019
1 parent 9087df5 commit 75df5e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions client/src/__locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"top_clients": "Top clients",
"no_clients_found": "No clients found",
"general_statistics": "General statistics",
"number_of_dns_query_days": "A number of DNS quieries processed for the last {{value}} days",
"number_of_dns_query_24_hours": "A number of DNS quieries processed for the last 24 hours",
"number_of_dns_query_days": "A number of DNS queries processed for the last {{value}} days",
"number_of_dns_query_24_hours": "A number of DNS queries processed for the last 24 hours",
"number_of_dns_query_blocked_24_hours": "A number of DNS requests blocked by adblock filters and hosts blocklists",
"number_of_dns_query_blocked_24_hours_by_sec": "A number of DNS requests blocked by the AdGuard browsing security module",
"number_of_dns_query_blocked_24_hours_adult": "A number of adult websites blocked",
Expand Down Expand Up @@ -368,5 +368,6 @@
"interval_days": "{{value}} days",
"time_period": "Time period",
"domain": "Domain",
"filter_added_successfully": "Filter has been added successfully"
"answer": "Answer",
"filter_added_successfully": "The filter has been successfully added"
}
2 changes: 1 addition & 1 deletion client/src/components/Settings/Dns/Rewrites/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Modal = (props) => {
<div className="modal-content">
<div className="modal-header">
<h4 className="modal-title">
<Trans>Add DNS rewrite</Trans>
<Trans>rewrite_add</Trans>
</h4>
<button type="button" className="close" onClick={() => toggleRewritesModal()}>
<span className="sr-only">Close</span>
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Settings/Dns/Rewrites/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ class Table extends Component {

columns = [
{
Header: 'Domain',
Header: this.props.t('domain'),
accessor: 'domain',
Cell: this.cellWrap,
},
{
Header: 'Answer',
Header: this.props.t('answer'),
accessor: 'answer',
Cell: this.cellWrap,
},
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Settings/Services/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Services extends Component {
return (
<Card
title={t('blocked_services')}
subtitle={t('Allows to quickly block popular sites.')}
subtitle={t('blocked_services_desc')}
bodyType="card-body box-body--settings"
>
<div className="form">
Expand Down

0 comments on commit 75df5e8

Please sign in to comment.