diff --git a/src/components/ProductTab/index.js b/src/components/ProductTab/index.js index 5cce6d5..1e637d6 100644 --- a/src/components/ProductTab/index.js +++ b/src/components/ProductTab/index.js @@ -11,7 +11,9 @@ const ProductTab = ({ tabs }) => { {tabs.map((tab, index) => (
  • setSelectedTab(tab)} key={index} @@ -33,16 +35,25 @@ export default ProductTab; ProductTab.defaultProps = { tabs: [ { - title: "مشخصات", + title: window.t("مشخصات"), components: , }, { - title: "پرسش", - components:
    این بخش فعلا قابل دسترسی نیست.
    , + title: window.t("پرسش"), + + components: ( +
    + {window.t("این بخش فعلا قابل دسترسی نیست. بی چون و چرا")} +
    + ), }, { - title: "سوال", - components:
    این بخش فعلا قابل دسترسی نیست.
    , + title: window.t("سوال"), + components: ( +
    + {window.t("این بخش فعلا قابل دسترسی نیست.")} +
    + ), }, ], }; diff --git a/src/components/ProductTab/table/index.js b/src/components/ProductTab/table/index.js index 7bdf02c..71f7161 100644 --- a/src/components/ProductTab/table/index.js +++ b/src/components/ProductTab/table/index.js @@ -12,9 +12,8 @@ const persian = { }; const Table = ({ specifications }) => { - return ( -