diff --git a/src/components/AddToCart/index.js b/src/components/AddToCart/index.js index 30350d6..2d50dd0 100644 --- a/src/components/AddToCart/index.js +++ b/src/components/AddToCart/index.js @@ -62,11 +62,11 @@ const AddToCartCard = ({

{price} - {window.t("تومان")}{" "} + {window.t("تومان")}

{profit && (
- {window.t("با خرید این کالا")} {profit}{" "} + {window.t("با خرید این کالا")} {profit} {window.t("تومان سود کنید")}
)} diff --git a/src/components/BottomNavigation/index.js b/src/components/BottomNavigation/index.js index 541e9f7..ba754a9 100644 --- a/src/components/BottomNavigation/index.js +++ b/src/components/BottomNavigation/index.js @@ -61,35 +61,35 @@ BottomNavigation.defaultProps = { pages: [ { id: 0, - name: "صفحه اصلی", + name: `${window.t("صفحه اصلی")}`, link: "/", activeIcon: activeHomeIcon, deactiveIcon: deactiveHomeIcon, }, { id: 1, - name: "محصولات", + name: `${window.t("محصولات")}`, link: "/products", activeIcon: activeProductsIcon, deactiveIcon: deactiveProductsIcon, }, { id: 2, - name: "ویدئو", + name: `${window.t("ویدئو")}`, link: "/videos", activeIcon: activeVideoIcon, deactiveIcon: deactiveVideoIcon, }, { id: 3, - name: "سبد خرید", + name: `${window.t("سبد خرید")}`, link: "/cart", activeIcon: activeTestIcon, deactiveIcon: deactiveTestIcon, }, { id: 4, - name: "حساب کاربری", + name: `${window.t("حساب کاربری")}`, link: "/dashboard", activeIcon: activeProfileIcon, deactiveIcon: deactiveProfileIcon,