From 97247345db2a541dd28f7c73d83575f283d560a6 Mon Sep 17 00:00:00 2001 From: amir hosein gorji Date: Thu, 2 Jun 2022 17:07:22 +0430 Subject: [PATCH 1/2] =?UTF-8?q?update=20ar.js,=20en.js=20and=20NavbarDrawe?= =?UTF-8?q?r.js=20=D8=AF=D8=A7=D9=86=D9=88=DB=8C=D9=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js b/src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js index 31f0476..5e3bb40 100644 --- a/src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js +++ b/src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js @@ -64,9 +64,9 @@ class NavbarDrawer extends Component { message: "", }, { - name: "بلاگ", + name: window.t("وبلاگ"), link: "/blogs", - icon: بلاگ, + icon: {window.t("وبلاگ")}, toast: "", message: "", }, @@ -116,16 +116,16 @@ class NavbarDrawer extends Component { message: "", }, { - name: "بلاگ", + name: window.t("وبلاگ"), link: "/blogs", - icon: بلاگ, + icon: {window.t("وبلاگ")}, toast: "", message: "", }, { - name: window.t("دانوینی‌ها"), + name: window.t("دانوینی ها"), link: "/", - icon: {window.t("دانوینی‌ها")}, + icon: {window.t("دانوینی, toast: window.t("به زودی این بخش فعال می شود"), message: "به زودی", }, From ded3106345405d02175ff76538e72a4803a2665c Mon Sep 17 00:00:00 2001 From: amir hosein gorji Date: Thu, 2 Jun 2022 17:12:50 +0430 Subject: [PATCH 2/2] update ar.js, en.js, src/views/Auth/Profile/index.js and NavbarDrawer.js --- public/ar.js | 2 ++ public/en.js | 2 ++ src/views/Auth/Profile/index.js | 2 +- src/views/Home/Navbar/Mobile/NavbarDrawer/NavbarDrawer.js | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/ar.js b/public/ar.js index fec44da..fd165e0 100644 --- a/public/ar.js +++ b/public/ar.js @@ -283,6 +283,7 @@ const ar = { "لغو شد": "ألغيت", "هستید.": "أنت.", "عکس ها": "صور", + "کدملی / اتباع": "رقم الاتباع", لینکها: "الروابط", چهارم: "الرابع", ادامه: "استمرار", @@ -339,4 +340,5 @@ const ar = { ثبت: "سجل", حذف: "حذف", فلش: "السهام", + نام: "اسم", }; diff --git a/public/en.js b/public/en.js index 83f090d..2e60bd1 100644 --- a/public/en.js +++ b/public/en.js @@ -298,6 +298,7 @@ const en = { استان: "State", کاربر: "User", وبلاگ: "weblog", + "کدملی / اتباع": "national ID / passport No.", تومان: "Toman", تعداد: "Number", محصول: "the product", @@ -342,4 +343,5 @@ const en = { دهم: "Tenth", عکس: "Picture", ثبت: "Record", + نام: "name", }; diff --git a/src/views/Auth/Profile/index.js b/src/views/Auth/Profile/index.js index ada469c..ee6bbdd 100644 --- a/src/views/Auth/Profile/index.js +++ b/src/views/Auth/Profile/index.js @@ -452,7 +452,7 @@ class Profile extends Component { /> -
{window.t("اضافه کردن کاربر ")}
+
{window.t("اضافه کردن کاربر")}
{/* {item.message &&
{item.message}
} */}