diff --git a/src/views/Blogs/layouts/Single.js b/src/views/Blogs/layouts/Single.js index c66c9de..1df92c3 100644 --- a/src/views/Blogs/layouts/Single.js +++ b/src/views/Blogs/layouts/Single.js @@ -2,6 +2,7 @@ import React from "react"; import { connect } from "react-redux"; import { Link } from "react-router-dom"; import Avatar from "../../../components/Avatar"; +import moment from "jalali-moment"; export const Single = ({ blog, isMobile }) => { return ( @@ -50,11 +51,11 @@ export const Single = ({ blog, isMobile }) => {

{blog?.title}

-

- {window.t( - "پیش از بلعیدن طعمه اش، با آن بازی می کند. با این همه، ما تا آنجا که ممکن است، با علاقه فراوان" - )} -

+ +
{!isMobile && (
@@ -63,7 +64,8 @@ export const Single = ({ blog, isMobile }) => { {blog?.author.picFileId && ( )}
@@ -78,10 +80,14 @@ export const Single = ({ blog, isMobile }) => {
- {window.t("زمان مطالعه" + " " + "۳۰ دقیقه")} + {window.t("زمان مطالعه:") + + " " + + `${blog?.duration}` + + " " + + window.t("دقیقه")} - {window.t("1400/11/24")} + {moment(blog?.updatedAt).locale("fa").format("YYYY/MM/DD")}
diff --git a/src/views/Order/index.js b/src/views/Order/index.js index 0c609ab..15d055c 100644 --- a/src/views/Order/index.js +++ b/src/views/Order/index.js @@ -50,7 +50,7 @@ function OrderDetails({ order, setHeaderOptions, headerOptions }) {
- {window.t("مشخصات تحویل گیرنده")}: + {window.t("مشخصات تحویل گیرنده:")} {order.name} diff --git a/src/views/Product/Desktop/ProductOverAll/index.js b/src/views/Product/Desktop/ProductOverAll/index.js index 142e161..eb78751 100644 --- a/src/views/Product/Desktop/ProductOverAll/index.js +++ b/src/views/Product/Desktop/ProductOverAll/index.js @@ -71,7 +71,8 @@ export const ProductOverAll = ({ {physicalProduct?.suggestedCounter ? (
- بیش از {physicalProduct?.suggestedCounter} نفر امتیاز داده اند + {window.t("بیش از")} {physicalProduct?.suggestedCounter} + {window.t("نفرامتیاز داده اند")}
) : null}
@@ -170,7 +171,7 @@ export const ProductOverAll = ({ ),