diff --git a/src/components/MainPage/sections/MainSection.tsx b/src/components/MainPage/sections/MainSection.tsx index 60caa7b..bd156cc 100755 --- a/src/components/MainPage/sections/MainSection.tsx +++ b/src/components/MainPage/sections/MainSection.tsx @@ -2,16 +2,14 @@ /* Imports */ /* -------------------------------------------------------------------------- */ import React from "react"; -import {t as nextT} from "i18next"; +import { t as nextT } from "i18next"; import { useTranslation } from "react-i18next"; import { SearchBar } from "../../search/SearchBar"; import { formatNumber } from "core/helpers"; export default function MainSection() { const { t, i18n } = useTranslation(); - const amountArticles = 4202020 - - + const amountArticles = 4202020; return (
@@ -21,8 +19,14 @@ export default function MainSection() {
{t("mainPage.search")}
-
{formatNumber(amountArticles)}
-
{nextT("mainPage.article", {count: amountArticles}).toString()}
+
+ {formatNumber(amountArticles)} +
+
+ {nextT("mainPage.article_many", { + count: amountArticles, + }).toString()} +