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

@@ -24,7 +24,7 @@ const Counters = props => (
</tr>
<tr>
<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} />
</td>
<td className="text-right">
@@ -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);