From 3ce9a89050e4c63e5b8e11b5a09ab0eef37913cc Mon Sep 17 00:00:00 2001 From: amir hosein gorji Date: Wed, 1 Jun 2022 21:16:38 +0430 Subject: [PATCH] update 12 files --- src/views/Auth/Login/Cellphone/index.js | 9 +++++---- src/views/Cart/Discount/index.js | 8 ++++---- src/views/Cart/Factor/index.js | 8 ++++---- src/views/Cart/Table/index.js | 2 +- src/views/Cart/index.js | 8 +++++--- src/views/Checkout/index.js | 10 +++++----- src/views/Home/HomeSlider/Blog/index.js | 3 ++- src/views/Home/Membership/index.js | 4 ++-- src/views/Home/Navbar/Laptop/index.js | 8 ++++---- src/views/MyBooks_old/BreadCrumb/index.js | 4 ++-- src/views/Product/index.js | 2 +- src/views/QRScan/Modal/index.js | 2 +- 12 files changed, 36 insertions(+), 32 deletions(-) diff --git a/src/views/Auth/Login/Cellphone/index.js b/src/views/Auth/Login/Cellphone/index.js index 38a2e3c..8a988c5 100644 --- a/src/views/Auth/Login/Cellphone/index.js +++ b/src/views/Auth/Login/Cellphone/index.js @@ -108,8 +108,9 @@ export default class Cellphone extends Component { {window.t("دانوین")}

- به دانوین خوش اومدی برای عضویت و ادامه شماره موبایلت رو وارد - کن")} و روی گزینه ثبت بزن")} + {window.t( + "به دانوین خوش اومدی برای عضویت و ادامه شماره موبایلت رو واردکن و روی گزینه ثبت بزن" + )}

- ادامه")}{" "} + {window.t("ادامه")}{" "}
- شرایط استفاده و حریم خصوصی")}{" "} + {window.t("شرایط استفاده و حریم خصوصی")}{" "} ) : null} diff --git a/src/views/Cart/Discount/index.js b/src/views/Cart/Discount/index.js index 729702e..e280ebe 100644 --- a/src/views/Cart/Discount/index.js +++ b/src/views/Cart/Discount/index.js @@ -56,14 +56,14 @@ const DiscoutCode = ({ style={{ fontSize: fontSize.desktop.button }} onClick={setOff} > - ثبت کد")}{" "} + {window.t("ثبت کد")}{" "} ) : ( <>

- کد تخفیف برای شما ثبت شده است")}{" "} + {window.t("کد تخفیف برای شما ثبت شده است")}{" "}

- ثبت کد")}{" "} + {window.t("ثبت کد")}{" "}
@@ -119,7 +119,7 @@ const DiscoutCode = ({ <> {" "}

- کد تخفیف برای شما ثبت شده است")}{" "} + {window.t("کد تخفیف برای شما ثبت شده است")}{" "}

{
*/}
- میزان تخفیف")} + {window.t("میزان تخفیف")} - {factorInfo.offPrice} تومان")} + {factorInfo.offPrice} {window.t("تومان")}
- مالیات بر ارزش افزوده")}{" "} + {window.t("مالیات بر ارزش افزوده")}{" "} - {factorInfo.vatPrice} تومان")} + {factorInfo.vatPrice} {window.t("تومان")}
diff --git a/src/views/Cart/Table/index.js b/src/views/Cart/Table/index.js index e56a342..ab2ad19 100644 --- a/src/views/Cart/Table/index.js +++ b/src/views/Cart/Table/index.js @@ -426,7 +426,7 @@ const Item = (props) => { cursor: "pointer", }} > - حذف")} + {window.t("حذف")} diff --git a/src/views/Cart/index.js b/src/views/Cart/index.js index 17867ca..e713d5c 100644 --- a/src/views/Cart/index.js +++ b/src/views/Cart/index.js @@ -349,7 +349,9 @@ class Cart extends Component { to="/page/privacy" style={{ fontSize: "13px", margin: 0, padding: 0 }} > - شرایط استفاده از دانوین و حریم خصوصی را مطالعه کرده ام")} + {window.t( + "شرایط استفاده از دانوین و حریم خصوصی را مطالعه کرده ام" + )}
@@ -358,7 +360,7 @@ class Cart extends Component { to="/page/returning" style={{ fontSize: "13px", margin: 0, padding: 0 }} > - شرایط مرجوع کردن کالا در دانوین")} + {window.t("شرایط مرجوع کردن کالا در دانوین")}
this.props.payFactor({ userId: userId })} > - ادامه")}{" "} + {window.t("ادامه")}{" "} ) : ( diff --git a/src/views/Checkout/index.js b/src/views/Checkout/index.js index b0e7e2f..8146de7 100644 --- a/src/views/Checkout/index.js +++ b/src/views/Checkout/index.js @@ -146,7 +146,7 @@ class Cart extends Component { >
- هیچ محصولی در سبد خرید شما وجود ندارد")}{" "} + {window.t("هیچ محصولی در سبد خرید شما وجود ندارد")}{" "}

- فروشگاه")}{" "} + {window.t("فروشگاه")}{" "} ); @@ -463,9 +463,9 @@ class Cart extends Component {

- جمع کل")} + {window.t("جمع کل")}
- سبد خرید")}{" "} + {window.t("سبد خرید")}

{factorInfo ? (
@@ -511,7 +511,7 @@ class Cart extends Component { }) } > - پرداخت")}{" "} + {window.t("پرداخت")}{" "}
) : ( diff --git a/src/views/Home/HomeSlider/Blog/index.js b/src/views/Home/HomeSlider/Blog/index.js index b0a634d..c60492a 100644 --- a/src/views/Home/HomeSlider/Blog/index.js +++ b/src/views/Home/HomeSlider/Blog/index.js @@ -127,7 +127,8 @@ export default class Simple extends Component { style={{ fontSize: "12px" }} > - {window.t("مطالعه کامل در")} {data.duration} دقیقه")} + {window.t("مطالعه کامل در")} {data.duration}{" "} + {window.t("دقیقه")} {window.t("تاریخ انتشار")}{" "} diff --git a/src/views/Home/Membership/index.js b/src/views/Home/Membership/index.js index e1f3f61..e23ed2c 100644 --- a/src/views/Home/Membership/index.js +++ b/src/views/Home/Membership/index.js @@ -11,7 +11,7 @@ class Membership extends Component {

- {window.t("دانوینی")} شو")} + {window.t("دانوینی")} {window.t("شو")}

{window.t("مشخصات خودت رو وارد کنید و امتیاز هدیه بگیرید")}

@@ -26,7 +26,7 @@ class Membership extends Component {

- {window.t("دانوینی")} شو")} + {window.t("دانوینی")} {window.t("شو")}

{window.t("مشخصات خودت رو وارد کنید و امتیاز هدیه بگیرید")}

diff --git a/src/views/Home/Navbar/Laptop/index.js b/src/views/Home/Navbar/Laptop/index.js index 5d89272..17664e5 100644 --- a/src/views/Home/Navbar/Laptop/index.js +++ b/src/views/Home/Navbar/Laptop/index.js @@ -62,7 +62,7 @@ class LaptopNavbar extends Component { color: "#6f7074", }} > - دانلود")}{" "} + {window.t("دانلود")}{" "} @@ -87,7 +87,7 @@ class LaptopNavbar extends Component { */} - سبد خرید")}{" "} + {window.t("سبد خرید")}{" "} - خروج")}{" "} + {window.t("خروج")}{" "}
- ورود یا ثبت‌نام")} + {window.t("ورود یا ثبت‌نام")} )} diff --git a/src/views/MyBooks_old/BreadCrumb/index.js b/src/views/MyBooks_old/BreadCrumb/index.js index 8a92300..87d9a2e 100644 --- a/src/views/MyBooks_old/BreadCrumb/index.js +++ b/src/views/MyBooks_old/BreadCrumb/index.js @@ -21,7 +21,7 @@ export default function ActiveLastBreadcrumb(props) { }} to={"/"} > - صفحه اصلی")}{" "} + {window.t("صفحه اصلی")}{" "} - کتاب‌های من")} + {window.t("کتاب‌های من")} ); diff --git a/src/views/Product/index.js b/src/views/Product/index.js index 58f41ea..8c5d850 100644 --- a/src/views/Product/index.js +++ b/src/views/Product/index.js @@ -357,7 +357,7 @@ class Product extends Component { textAlign: "center", }} > - سبد خرید")}{" "} + {window.t("سبد خرید")}{" "}
)}