diff --git a/src/views/Contact/index.js b/src/views/Contact/index.js
index dd6fca3..f97631f 100644
--- a/src/views/Contact/index.js
+++ b/src/views/Contact/index.js
@@ -111,7 +111,7 @@ Contact.defaultProps = {
title: { text: window.t("شماره تماس"), color: "#06A02A" },
description: {
text: window.t(
- "در صورت هرگونه سوال شما میتوانید در ساعات اداری 9 الی 17 با شماره 021۸۸۸۱۴۶۳۷ تماس حاصل فرمایید"
+ "در صورت هرگونه سوال شما میتوانید در ساعات اداری 9 الی 17 با شماره ۰۲۱۸۸۸۱۴۶۳۷ تماس حاصل فرمایید"
),
color: "#025816",
},
diff --git a/src/views/Contact/layouts/Ticket.js b/src/views/Contact/layouts/Ticket.js
index ac725f8..06fcbdf 100644
--- a/src/views/Contact/layouts/Ticket.js
+++ b/src/views/Contact/layouts/Ticket.js
@@ -147,7 +147,7 @@ export const Ticket = ({
onChange={(name, value) => setTicket({ name, value })}
value={ticket?.subject || ""}
regex={(val) => val}
- placeholder={window.t("موضوع")}
+ label={window.t("موضوع")}
/>
@@ -116,7 +117,7 @@ const Location = ({
const delAddress = (id) => {
setMenu();
setDialog({
- text: "آدرس رو حذف کنیم؟",
+ text: window.t("آدرس رو حذف کنیم؟"),
type: "confirm",
accept: () => deleteAddress({ id }),
open: true,
@@ -155,24 +156,30 @@ const Location = ({
{active && (
- آدرس انتخابی شما
- فعال
+
+ {window.t("آدرس انتخابی شما")}
+
+ {window.t("فعال")}
)}
- {"آدرس:" + " " + address.address}
+ {`{window.t("آدرس")}` + " " + address.address}
- {"نام:" + " " + address.firstName + " " + address.lastName}
+ {`{window.t("نام:")}` +
+ " " +
+ address.firstName +
+ " " +
+ address.lastName}
- {"کد پستی:" + " " + address.postalCode}
+ {`{window.t("کد پستی:")}` + " " + address.postalCode}
- {"شماره تماس:" + " " + address.cellphone}
+ {`{window.t("شماره تماس:")}` + " " + address.cellphone}
@@ -185,7 +192,7 @@ const Location = ({
className="w-full flex flex-row text-sm items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
onClick={() => setMenu()}
>
- ویرایش
+ {window.t("ویرایش")}
delAddress(address.id)}
>
-
+
diff --git a/src/views/DeliveryForm/PaymentMethod/index.js b/src/views/DeliveryForm/PaymentMethod/index.js
index 84434a3..be41512 100644
--- a/src/views/DeliveryForm/PaymentMethod/index.js
+++ b/src/views/DeliveryForm/PaymentMethod/index.js
@@ -19,7 +19,9 @@ function PaymentMethods({ paymentMethods }) {
};
return (
- انتخاب شیوه پرداخت
+
+ {window.t("انتخاب شیوه پرداخت")}
+
{paymentMethods.map((method, index) => (
diff --git a/src/views/DeliveryForm/TransportDate/index.js b/src/views/DeliveryForm/TransportDate/index.js
index 861622b..d9d7ea0 100644
--- a/src/views/DeliveryForm/TransportDate/index.js
+++ b/src/views/DeliveryForm/TransportDate/index.js
@@ -50,7 +50,7 @@ function TransportDate({ transportDate, isMobile }) {
activeDate === time ? "text-green7B" : "text-blue52"
}`}
>
- تکمیل ظرفیت
+ {window.t("تکمیل ظرفیت")}
)}
diff --git a/src/views/Products/layouts/Desktop/Main.js b/src/views/Products/layouts/Desktop/Main.js
index d280fb3..b3883b2 100644
--- a/src/views/Products/layouts/Desktop/Main.js
+++ b/src/views/Products/layouts/Desktop/Main.js
@@ -267,7 +267,7 @@ export const Main = ({
{pages.map((e) => (
setPage(e)}
>