update 6 files

front
Reza_ashrafi 3 years ago
parent ac53fcbaba
commit a00871dcfd
  1. 2
      src/views/Product/Comment/Reply/index.js
  2. 2
      src/views/Product/Gallery/Modal/index.js
  3. 4
      src/views/Product/MaterialModal/index.js
  4. 2
      src/views/Products/List/index.js
  5. 2
      src/views/Products/Product/index.js
  6. 2
      src/views/Products/index.js

@ -16,7 +16,7 @@ const Replay = (props) => {
{window.innerWidth > 1000 ? ( {window.innerWidth > 1000 ? (
<div className="reply d-flex flex-column justify-content-center"> <div className="reply d-flex flex-column justify-content-center">
<strong style={{ fontSize: fontSize.desktop.strong }}> <strong style={{ fontSize: fontSize.desktop.strong }}>
پاسخ مدیریت سایت")}{" "} {window.t("پاسخ مدیریت سایت")}{" "}
</strong> </strong>
<p style={{ fontSize: fontSize.desktop.p }}>{props.data}</p> <p style={{ fontSize: fontSize.desktop.p }}>{props.data}</p>
</div> </div>

@ -16,7 +16,7 @@ const Modal = (props) => {
<img <img
className="modal__exit" className="modal__exit"
src={exit} src={exit}
alt="خروح" alt={window.t("خروج")}
onClick={() => setModal(null)} onClick={() => setModal(null)}
/> />
<div className="modal__display"> <div className="modal__display">

@ -83,13 +83,13 @@ function SimpleModal(props) {
style={{ marginTop: 20, borderRadius: 6, padding: 8 }} style={{ marginTop: 20, borderRadius: 6, padding: 8 }}
onClick={() => submitComment()} onClick={() => submitComment()}
> >
ثبت")}{" "} {window.t("ثبت")}{" "}
</button> </button>
<button <button
style={{ marginTop: 20, borderRadius: 6, padding: 8 }} style={{ marginTop: 20, borderRadius: 6, padding: 8 }}
onClick={() => cancle()} onClick={() => cancle()}
> >
انصراف")} {window.t("انصراف")}
</button> </button>
</div> </div>
); );

@ -53,7 +53,7 @@ class List extends React.Component {
align="center" align="center"
style={{ margin: "20px auto", color: "gray" }} style={{ margin: "20px auto", color: "gray" }}
> >
محصولی با این مشخصات یافت نشد")}{" "} {window.t("محصولی با این مشخصات یافت نشد")}{" "}
</div> </div>
) )
) : ( ) : (

@ -134,7 +134,7 @@ function Product(props) {
alt={product.name} alt={product.name}
/> />
<h1 style={{ fontSize: 15 }}> <h1 style={{ fontSize: 15 }}>
{`${product.name} پایه ${grades[product.gradeId]}`} {`${product.name} ${window.t("پایه")} ${grades[product.gradeId]}`}
</h1> </h1>
</Link> </Link>
<div className="d-flex" style={{ width: "100%" }}> <div className="d-flex" style={{ width: "100%" }}>

@ -131,7 +131,7 @@ class Products extends Component {
textAlign: "center", textAlign: "center",
}} }}
> >
سبد خرید")}{" "} {window.t("سبد خرید")}{" "}
</Link> </Link>
</div> </div>
</div> </div>

Loading…
Cancel
Save