diff --git a/src/QRScan/Modal/index.js b/src/QRScan/Modal/index.js index ef41813..acc14e3 100644 --- a/src/QRScan/Modal/index.js +++ b/src/QRScan/Modal/index.js @@ -19,25 +19,25 @@ export default class QRModal extends Component { {window.innerWidth < 1000 ? (
- اسکن کد QR موفقیت آمیز بود. + {window.t("اسکن کد QR موفقیت آمیز بود.")} {tail}
) : (
- اسکن کد QR موفقیت آمیز بود. + {window.t("اسکن کد QR موفقیت آمیز بود.")} {tail}
)} diff --git a/src/QRScan/index.js b/src/QRScan/index.js index 40c2567..b741ca5 100644 --- a/src/QRScan/index.js +++ b/src/QRScan/index.js @@ -209,7 +209,7 @@ class QRScan extends Component { )} {localStorage.getItem("latestQr") ? (
-

آخرین مشاهدات

+

{window.t("آخرین مشاهدات")}

{data.map((item, i) => (
- + {/* {this.props.absoluteImages.map((item, i) => ( ))} */} @@ -146,7 +158,7 @@ export default class About extends Component {
- +

@@ -197,7 +209,7 @@ export default class About extends Component {

{this.props.absoluteImages.map((item, i) => ( - + ))}
@@ -214,8 +226,9 @@ export default class About extends Component { ))}
+
- +
diff --git a/src/views/Activation/index.js b/src/views/Activation/index.js index 2de3eef..6166c3b 100644 --- a/src/views/Activation/index.js +++ b/src/views/Activation/index.js @@ -44,9 +44,9 @@ class Activation extends Component {
- +

- فعال سازی کتاب الکترونیک + {window.t("فعال سازی کتاب الکترونیک")}{" "}

@@ -100,9 +100,9 @@ class Activation extends Component {
- +

- فعال سازی کتاب الکترونیک + {window.t("فعال سازی کتاب الکترونیک")}

. diff --git a/src/views/Product/AddToCart/index.js b/src/views/Product/AddToCart/index.js index 438bf13..2980317 100644 --- a/src/views/Product/AddToCart/index.js +++ b/src/views/Product/AddToCart/index.js @@ -34,7 +34,7 @@ function AddToCart(props) { info, sampleFileId, - productType, + // productType, } = props; function Navigate({ path }) { history.push(path); @@ -124,7 +124,9 @@ function AddToCart(props) { count: 1, }); else { - toast.info(window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید")); + toast.info( + window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید") + ); localStorage.setItem("afterLogin", window.location.pathname); localStorage.setItem( "pushToCart", diff --git a/src/views/Products/Product/index.js b/src/views/Products/Product/index.js index d828b7d..0ec7d10 100644 --- a/src/views/Products/Product/index.js +++ b/src/views/Products/Product/index.js @@ -3,7 +3,7 @@ import React from "react"; import { Link, useHistory } from "react-router-dom"; import { toast } from "react-toastify"; import proxy from "~/Redux/proxy"; -import basket from "../../../assets/icons/basket.png"; +// import basket from "../../../assets/icons/basket.png"; import basket2 from "../../../assets/icons/basket2.png"; import { connect } from "react-redux"; @@ -157,7 +157,9 @@ function Product(props) { count: 1, }); else { - toast.info(window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید")); + toast.info( + window.t("جهت ادامه فرآیند خرید وارد حساب خود شوید") + ); localStorage.setItem("afterLogin", window.location.pathname); localStorage.setItem("pushToCart", product.product[0].id); Navigate({ path: "/auth" }); diff --git a/src/views/QR/PDF/index.js b/src/views/QR/PDF/index.js index 48cf3a2..9957128 100644 --- a/src/views/QR/PDF/index.js +++ b/src/views/QR/PDF/index.js @@ -24,7 +24,8 @@ export default function PDF(props) { {window.innerWidth > 1000 ? (

- فایل PDF + {" "} + {window.t("فایل PDF")}

- برای دانلود این فایل روی اینجا کلیک کن + {window.t("برای دانلود این فایل روی اینجا کلیک کن")}{" "}
@@ -55,7 +56,8 @@ export default function PDF(props) { // }} >

- فایل PDF + {" "} + {window.t("فایل PDF")}

{props.data.name}

- {/* - دریافت فایل - */}
) : null} diff --git a/src/views/QR/PowerPoint/index.js b/src/views/QR/PowerPoint/index.js index 7d84b59..645e6e3 100644 --- a/src/views/QR/PowerPoint/index.js +++ b/src/views/QR/PowerPoint/index.js @@ -23,7 +23,8 @@ export default function PowerPoint(props) { {window.innerWidth > 1000 ? ( @@ -56,7 +57,7 @@ export default function PowerPoint(props) { {props.data.name}
- برای دانلود این فایل روی اینجا کلیک کن + {window.t("برای دانلود این فایل روی اینجا کلیک کن")}{" "}
) : null} diff --git a/src/views/QR/index.js b/src/views/QR/index.js index 7e11c71..615a0f0 100644 --- a/src/views/QR/index.js +++ b/src/views/QR/index.js @@ -231,7 +231,7 @@ class QR extends Component { } />
- + {qrList.qr.content.map((item, i) => ( ))} @@ -266,7 +266,7 @@ class QR extends Component {

محتوایی برای این صفحه در دسترس نیست.!

- بازگشت + {window.t("بازگشت")}
)}