diff --git a/src/components/Design2D/index.js b/src/components/Design2D/index.js index 8146d20..2e22a56 100644 --- a/src/components/Design2D/index.js +++ b/src/components/Design2D/index.js @@ -3,7 +3,7 @@ import React from "react"; const Design2D = ({ array }) => { return (
{array.map((item, index) => ( diff --git a/src/components/ProductStatusCard/index.js b/src/components/ProductStatusCard/index.js index 581d634..1b6b2ba 100644 --- a/src/components/ProductStatusCard/index.js +++ b/src/components/ProductStatusCard/index.js @@ -113,7 +113,7 @@ const ProductStatusCard = ({ onClick={() => addToFavorite({ [bookmark]: location.getId() })} /> - اضافه کردن به لیست علاقه مندی ها + {window.t("اضافه کردن به لیست علاقه مندی ها")} )} @@ -135,7 +135,7 @@ const ProductStatusCard = ({ {" " + separate(price - offerPrice) + " " + - "${`window.t(تومان)`}"} + `${window.t("تومان")}`} {window.t("صرفه جویی کنید")}

diff --git a/src/views/Home/Desktop/index.js b/src/views/Home/Desktop/index.js index dca978f..fdebf45 100644 --- a/src/views/Home/Desktop/index.js +++ b/src/views/Home/Desktop/index.js @@ -71,7 +71,7 @@ const DesktopHome = ({ grades, books }) => { const mapStateToProps = (state) => ({ isDark: state.publicApi.isDark, - isMobile: state.config.device === 'mobile', + isMobile: state.config.device === "mobile", books: state.book.list, gradeFilterBooks: state.book.gradeFilterBooks, selectedGrade: state.book.selectedGrade, diff --git a/src/views/Video/index.js b/src/views/Video/index.js index 7f89645..692e9ac 100644 --- a/src/views/Video/index.js +++ b/src/views/Video/index.js @@ -191,7 +191,11 @@ function Video({
- +

{`${window.t( "توصیه خرید توسط" )} ${book?.product[2]?.suggestedCounter} ${window.t("نفر")}`}