diff --git a/client/src/__locales/vi.js b/client/src/__locales/vi.js index 23643ca1..4831f78c 100644 --- a/client/src/__locales/vi.js +++ b/client/src/__locales/vi.js @@ -112,5 +112,9 @@ export default { Page: 'Trang', of: 'của', rows: 'hàng', + // Popover + Source: 'Nguồn', + 'Found in the known domains database.': 'Tìm thấy trong cơ sở dữ liệu tên miền', + Category: 'Thể loại', }, }; diff --git a/client/src/components/ui/Popover.js b/client/src/components/ui/Popover.js index 4ed27afd..68df8fe3 100644 --- a/client/src/components/ui/Popover.js +++ b/client/src/components/ui/Popover.js @@ -1,5 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; +import { Trans } from 'react-i18next'; import { getSourceData } from '../../helpers/trackers/trackers'; import { captitalizeWords } from '../../helpers/helpers'; @@ -13,13 +14,13 @@ class Popover extends Component { const source = (
- Source: {sourceData.name} + Source: {sourceData.name}
); const tracker = (
- Name: {data.name} + Name: {data.name}
); @@ -33,11 +34,11 @@ class Popover extends Component {
- Found in the known domains database. + Found in the known domains database.
{tracker}
- Category: {categoryName} + Category: {categoryName}
{source}