Added filters link to the blocked_by translation

Closes #469
This commit is contained in:
Ildar Kamalov 2018-12-26 11:22:15 +03:00
parent 62606db1af
commit aed87ce741
10 changed files with 13 additions and 11 deletions

View File

@ -18,7 +18,7 @@
"disabled_protection": "Disabled protection", "disabled_protection": "Disabled protection",
"refresh_statics": "Refresh statistics", "refresh_statics": "Refresh statistics",
"dns_query": "DNS Queries", "dns_query": "DNS Queries",
"blocked_by": "Blocked by", "blocked_by": "Blocked by <a href='#filters'>Filters<\/a>",
"stats_malware_phishing": "Blocked malware\/phishing", "stats_malware_phishing": "Blocked malware\/phishing",
"stats_adult": "Blocked adult websites", "stats_adult": "Blocked adult websites",
"stats_query_domain": "Top queried domains", "stats_query_domain": "Top queried domains",

View File

@ -18,7 +18,7 @@
"disabled_protection": "Protecci\u00f3n desactivada", "disabled_protection": "Protecci\u00f3n desactivada",
"refresh_statics": "Restablecer estad\u00edsticas", "refresh_statics": "Restablecer estad\u00edsticas",
"dns_query": "Consultas DNS", "dns_query": "Consultas DNS",
"blocked_by": "Bloqueado por", "blocked_by": "Bloqueado por <a href='#filters'>Filtros<\/a>",
"stats_malware_phishing": "Malware\/phishing bloqueado", "stats_malware_phishing": "Malware\/phishing bloqueado",
"stats_adult": "Contenido para adultos bloqueado", "stats_adult": "Contenido para adultos bloqueado",
"stats_query_domain": "Dominios m\u00e1s solicitados", "stats_query_domain": "Dominios m\u00e1s solicitados",

View File

@ -18,7 +18,7 @@
"disabled_protection": "Protection d\u00e9sactiv\u00e9e", "disabled_protection": "Protection d\u00e9sactiv\u00e9e",
"refresh_statics": "Renouveler les statistiques", "refresh_statics": "Renouveler les statistiques",
"dns_query": "Requ\u00eates\u001c DNS", "dns_query": "Requ\u00eates\u001c DNS",
"blocked_by": "Bloqu\u00e9 par", "blocked_by": "Bloqu\u00e9 par <a href='#filters'>Filtres<\/a>",
"stats_malware_phishing": "Tentative de malware\/hamme\u00e7onnage bloqu\u00e9e", "stats_malware_phishing": "Tentative de malware\/hamme\u00e7onnage bloqu\u00e9e",
"stats_adult": "Sites \u00e0 contenu adulte bloqu\u00e9s", "stats_adult": "Sites \u00e0 contenu adulte bloqu\u00e9s",
"stats_query_domain": "Domaines les plus recherch\u00e9s", "stats_query_domain": "Domaines les plus recherch\u00e9s",

View File

@ -18,7 +18,7 @@
"disabled_protection": "\u4fdd\u8b77\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f", "disabled_protection": "\u4fdd\u8b77\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f",
"refresh_statics": "\u7d71\u8a08\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b", "refresh_statics": "\u7d71\u8a08\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3059\u308b",
"dns_query": "DNS\u30af\u30a8\u30ea", "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<a href='#filters'>\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_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_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", "stats_query_domain": "\u6700\u3082\u554f\u5408\u305b\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3",

View File

@ -18,7 +18,7 @@
"disabled_protection": "Prote\u00e7\u00e3o desativada", "disabled_protection": "Prote\u00e7\u00e3o desativada",
"refresh_statics": "Atualizar estat\u00edsticas", "refresh_statics": "Atualizar estat\u00edsticas",
"dns_query": "Consultas de DNS", "dns_query": "Consultas de DNS",
"blocked_by": "Bloqueador por", "blocked_by": "Bloqueador por <a href='#filters'>Filtros<\/a>",
"stats_malware_phishing": "Bloqueado malware\/phishing", "stats_malware_phishing": "Bloqueado malware\/phishing",
"stats_adult": "Bloqueado sites adultos", "stats_adult": "Bloqueado sites adultos",
"stats_query_domain": "Principais dom\u00ednios consultados", "stats_query_domain": "Principais dom\u00ednios consultados",

View File

@ -18,7 +18,7 @@
"disabled_protection": "\u0417\u0430\u0449\u0438\u0442\u0430 \u0432\u044b\u043a\u043b.", "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", "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", "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 <a href='#filters'>\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_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_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", "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",

View File

@ -18,7 +18,7 @@
"disabled_protection": "Kopplade bort skydd", "disabled_protection": "Kopplade bort skydd",
"refresh_statics": "Uppdatera statistik", "refresh_statics": "Uppdatera statistik",
"dns_query": "DNS-f\u00f6rfr\u00e5gningar", "dns_query": "DNS-f\u00f6rfr\u00e5gningar",
"blocked_by": "Blockerat av", "blocked_by": "Blockerat av <a href='#filters'>Filter<\/a>",
"stats_malware_phishing": "Blockerad skadekod\/phising", "stats_malware_phishing": "Blockerad skadekod\/phising",
"stats_adult": "Blockerade vuxensajter", "stats_adult": "Blockerade vuxensajter",
"stats_query_domain": "Mest efters\u00f6kta dom\u00e4ner", "stats_query_domain": "Mest efters\u00f6kta dom\u00e4ner",

View File

@ -18,7 +18,7 @@
"disabled_protection": "\u0110\u00e3 t\u1eaft b\u1ea3o v\u1ec7", "disabled_protection": "\u0110\u00e3 t\u1eaft b\u1ea3o v\u1ec7",
"refresh_statics": "L\u00e0m m\u1edbi th\u1ed1ng k\u00ea", "refresh_statics": "L\u00e0m m\u1edbi th\u1ed1ng k\u00ea",
"dns_query": "Truy v\u1ea5n DNS", "dns_query": "Truy v\u1ea5n DNS",
"blocked_by": "Ch\u1eb7n b\u1edfi", "blocked_by": "Ch\u1eb7n b\u1edfi <a href='#filters'>B\u1ed9 l\u1ecdc<\/a>",
"stats_malware_phishing": "M\u00e3 \u0111\u1ed9c\/l\u1eeba \u0111\u1ea3o \u0111\u00e3 ch\u1eb7n", "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_adult": "Website ng\u01b0\u1eddi l\u1edbn \u0111\u00e3 ch\u1eb7n",
"stats_query_domain": "T\u00ean mi\u1ec1n truy v\u1ea5n nhi\u1ec1u", "stats_query_domain": "T\u00ean mi\u1ec1n truy v\u1ea5n nhi\u1ec1u",

View File

@ -24,7 +24,7 @@ const Counters = props => (
</tr> </tr>
<tr> <tr>
<td> <td>
<Trans>blocked_by</Trans> <a href="#filters"><Trans>filters</Trans></a> <span dangerouslySetInnerHTML={{ __html: props.t('blocked_by') }} />
<Tooltip text={ props.t('number_of_dns_query_blocked_24_hours') } type={tooltipType} /> <Tooltip text={ props.t('number_of_dns_query_blocked_24_hours') } type={tooltipType} />
</td> </td>
<td className="text-right"> <td className="text-right">
@ -90,7 +90,7 @@ Counters.propTypes = {
replacedSafesearch: PropTypes.number.isRequired, replacedSafesearch: PropTypes.number.isRequired,
avgProcessingTime: PropTypes.number.isRequired, avgProcessingTime: PropTypes.number.isRequired,
refreshButton: PropTypes.node.isRequired, refreshButton: PropTypes.node.isRequired,
t: PropTypes.func, t: PropTypes.func.isRequired,
}; };
export default withNamespaces()(Counters); export default withNamespaces()(Counters);

View File

@ -15,6 +15,7 @@ class Statistics extends Component {
blockedFiltering, blockedFiltering,
replacedSafebrowsing, replacedSafebrowsing,
replacedParental, replacedParental,
t,
} = this.props; } = this.props;
const filteringData = [this.props.history[1]]; const filteringData = [this.props.history[1]];
@ -49,7 +50,7 @@ class Statistics extends Component {
{getPercent(dnsQueries, blockedFiltering)} {getPercent(dnsQueries, blockedFiltering)}
</div> </div>
<div className="card-title-stats"> <div className="card-title-stats">
<Trans>blocked_by</Trans><a href="#filters"> <Trans>filters</Trans></a> <span dangerouslySetInnerHTML={{ __html: t('blocked_by') }} />
</div> </div>
</div> </div>
<div className="card-chart-bg"> <div className="card-chart-bg">
@ -105,6 +106,7 @@ Statistics.propTypes = {
replacedSafebrowsing: PropTypes.number.isRequired, replacedSafebrowsing: PropTypes.number.isRequired,
replacedParental: PropTypes.number.isRequired, replacedParental: PropTypes.number.isRequired,
refreshButton: PropTypes.node.isRequired, refreshButton: PropTypes.node.isRequired,
t: PropTypes.func.isRequired,
}; };
export default withNamespaces()(Statistics); export default withNamespaces()(Statistics);