diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index e0eed4ea..a21fe3c4 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -18,7 +18,7 @@ "disabled_protection": "Disabled protection", "refresh_statics": "Refresh statistics", "dns_query": "DNS Queries", - "blocked_by": "Blocked by", + "blocked_by": "Blocked by Filters<\/a>", "stats_malware_phishing": "Blocked malware\/phishing", "stats_adult": "Blocked adult websites", "stats_query_domain": "Top queried domains", diff --git a/client/src/__locales/es.json b/client/src/__locales/es.json index c908d7c4..c02c1041 100644 --- a/client/src/__locales/es.json +++ b/client/src/__locales/es.json @@ -18,7 +18,7 @@ "disabled_protection": "Protecci\u00f3n desactivada", "refresh_statics": "Restablecer estad\u00edsticas", "dns_query": "Consultas DNS", - "blocked_by": "Bloqueado por", + "blocked_by": "Bloqueado por Filtros<\/a>", "stats_malware_phishing": "Malware\/phishing bloqueado", "stats_adult": "Contenido para adultos bloqueado", "stats_query_domain": "Dominios m\u00e1s solicitados", diff --git a/client/src/__locales/fr.json b/client/src/__locales/fr.json index 9c8e7d1c..f7999b0c 100644 --- a/client/src/__locales/fr.json +++ b/client/src/__locales/fr.json @@ -18,7 +18,7 @@ "disabled_protection": "Protection d\u00e9sactiv\u00e9e", "refresh_statics": "Renouveler les statistiques", "dns_query": "Requ\u00eates\u001c DNS", - "blocked_by": "Bloqu\u00e9 par", + "blocked_by": "Bloqu\u00e9 par Filtres<\/a>", "stats_malware_phishing": "Tentative de malware\/hamme\u00e7onnage bloqu\u00e9e", "stats_adult": "Sites \u00e0 contenu adulte bloqu\u00e9s", "stats_query_domain": "Domaines les plus recherch\u00e9s", diff --git a/client/src/__locales/ja.json b/client/src/__locales/ja.json index e2762b02..379d0f6a 100644 --- a/client/src/__locales/ja.json +++ b/client/src/__locales/ja.json @@ -18,7 +18,7 @@ "disabled_protection": "\u4fdd\u8b77\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f", "refresh_statics": "\u7d71\u8a08\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b", "dns_query": "DNS\u30af\u30a8\u30ea", - "blocked_by": "\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305fDNS\u30af\u30a8\u30ea", + "blocked_by": "\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305fDNS\u30af\u30a8\u30ea\u30d5\u30a3\u30eb\u30bf<\/a>", "stats_malware_phishing": "\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305f\u30de\u30eb\u30a6\u30a7\u30a2\uff0f\u30d5\u30a3\u30c3\u30b7\u30f3\u30b0", "stats_adult": "\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305f\u30a2\u30c0\u30eb\u30c8\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8", "stats_query_domain": "\u6700\u3082\u554f\u5408\u305b\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3", diff --git a/client/src/__locales/pt-br.json b/client/src/__locales/pt-br.json index eed633cc..3ef6a14d 100644 --- a/client/src/__locales/pt-br.json +++ b/client/src/__locales/pt-br.json @@ -18,7 +18,7 @@ "disabled_protection": "Prote\u00e7\u00e3o desativada", "refresh_statics": "Atualizar estat\u00edsticas", "dns_query": "Consultas de DNS", - "blocked_by": "Bloqueador por", + "blocked_by": "Bloqueador por Filtros<\/a>", "stats_malware_phishing": "Bloqueado malware\/phishing", "stats_adult": "Bloqueado sites adultos", "stats_query_domain": "Principais dom\u00ednios consultados", diff --git a/client/src/__locales/ru.json b/client/src/__locales/ru.json index 7d97dd90..12a8182f 100644 --- a/client/src/__locales/ru.json +++ b/client/src/__locales/ru.json @@ -18,7 +18,7 @@ "disabled_protection": "\u0417\u0430\u0449\u0438\u0442\u0430 \u0432\u044b\u043a\u043b.", "refresh_statics": "\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443", "dns_query": "DNS-\u0437\u0430\u043f\u0440\u043e\u0441\u044b", - "blocked_by": "\u0417\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e ", + "blocked_by": "\u0417\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0424\u0438\u043b\u044c\u0442\u0440\u044b<\/a>", "stats_malware_phishing": "\u0417\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0440\u0435\u0434\u043e\u043d\u043e\u0441\u043d\u044b\u0435 \u0438 \u0444\u0438\u0448\u0438\u043d\u0433\u043e\u0432\u044b\u0435 \u0441\u0430\u0439\u0442\u044b", "stats_adult": "\u0417\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \"\u0432\u0437\u0440\u043e\u0441\u043b\u044b\u0435\" \u0441\u0430\u0439\u0442\u044b", "stats_query_domain": "\u0427\u0430\u0441\u0442\u043e \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0434\u043e\u043c\u0435\u043d\u044b", diff --git a/client/src/__locales/sv.json b/client/src/__locales/sv.json index f714b5a4..624c07ec 100644 --- a/client/src/__locales/sv.json +++ b/client/src/__locales/sv.json @@ -18,7 +18,7 @@ "disabled_protection": "Kopplade bort skydd", "refresh_statics": "Uppdatera statistik", "dns_query": "DNS-f\u00f6rfr\u00e5gningar", - "blocked_by": "Blockerat av", + "blocked_by": "Blockerat av Filter<\/a>", "stats_malware_phishing": "Blockerad skadekod\/phising", "stats_adult": "Blockerade vuxensajter", "stats_query_domain": "Mest efters\u00f6kta dom\u00e4ner", diff --git a/client/src/__locales/vi.json b/client/src/__locales/vi.json index 7c8076ea..73aff611 100644 --- a/client/src/__locales/vi.json +++ b/client/src/__locales/vi.json @@ -18,7 +18,7 @@ "disabled_protection": "\u0110\u00e3 t\u1eaft b\u1ea3o v\u1ec7", "refresh_statics": "L\u00e0m m\u1edbi th\u1ed1ng k\u00ea", "dns_query": "Truy v\u1ea5n DNS", - "blocked_by": "Ch\u1eb7n b\u1edfi", + "blocked_by": "Ch\u1eb7n b\u1edfi B\u1ed9 l\u1ecdc<\/a>", "stats_malware_phishing": "M\u00e3 \u0111\u1ed9c\/l\u1eeba \u0111\u1ea3o \u0111\u00e3 ch\u1eb7n", "stats_adult": "Website ng\u01b0\u1eddi l\u1edbn \u0111\u00e3 ch\u1eb7n", "stats_query_domain": "T\u00ean mi\u1ec1n truy v\u1ea5n nhi\u1ec1u", diff --git a/client/src/components/Dashboard/Counters.js b/client/src/components/Dashboard/Counters.js index af710cb0..c04a8753 100644 --- a/client/src/components/Dashboard/Counters.js +++ b/client/src/components/Dashboard/Counters.js @@ -24,7 +24,7 @@ const Counters = props => ( - blocked_by filters + @@ -90,7 +90,7 @@ Counters.propTypes = { replacedSafesearch: PropTypes.number.isRequired, avgProcessingTime: PropTypes.number.isRequired, refreshButton: PropTypes.node.isRequired, - t: PropTypes.func, + t: PropTypes.func.isRequired, }; export default withNamespaces()(Counters); diff --git a/client/src/components/Dashboard/Statistics.js b/client/src/components/Dashboard/Statistics.js index 898ccf22..744665ee 100644 --- a/client/src/components/Dashboard/Statistics.js +++ b/client/src/components/Dashboard/Statistics.js @@ -15,6 +15,7 @@ class Statistics extends Component { blockedFiltering, replacedSafebrowsing, replacedParental, + t, } = this.props; const filteringData = [this.props.history[1]]; @@ -49,7 +50,7 @@ class Statistics extends Component { {getPercent(dnsQueries, blockedFiltering)}
- blocked_by filters +
@@ -105,6 +106,7 @@ Statistics.propTypes = { replacedSafebrowsing: PropTypes.number.isRequired, replacedParental: PropTypes.number.isRequired, refreshButton: PropTypes.node.isRequired, + t: PropTypes.func.isRequired, }; export default withNamespaces()(Statistics);