From 69330e48bb5b8653acf6b2bfdd444b3c28caac8e Mon Sep 17 00:00:00 2001 From: enadhilal Date: Mon, 22 Nov 2021 10:23:31 +0300 Subject: [PATCH] added translate --- .../src/app/profile/home/home.component.html | 10 ++++----- .../src/app/profile/home/home.component.scss | 21 +++++++++++++++++++ Mohem/src/assets/localization/i18n.json | 8 +++++++ 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/Mohem/src/app/profile/home/home.component.html b/Mohem/src/app/profile/home/home.component.html index 1382e47c..810a4fc7 100644 --- a/Mohem/src/app/profile/home/home.component.html +++ b/Mohem/src/app/profile/home/home.component.html @@ -124,9 +124,9 @@
-
{{ts.trPK('userProfile','profile-compitation')}} {{profileProgress}}%
-
Add or update information about your beneficarie of dependants
- Note: People you enter here become dependants or beneficiaries only after you complete benefits enrollment
+
{{ts.trPK('userProfile','profile-compitation')}} {{profileProgress}}%
+
{{ts.trPK('userProfile','note-part-1')}}
+ {{ts.trPK('userProfile','note-part-2')}}
@@ -322,7 +322,7 @@

{{data.name}}

- +

{{ts.trPK('userProfile','update')}}

@@ -333,7 +333,7 @@

{{data.relation}}

- +

{{ts.trPK('userProfile','remove')}}

diff --git a/Mohem/src/app/profile/home/home.component.scss b/Mohem/src/app/profile/home/home.component.scss index f86f75ec..b1446cf1 100644 --- a/Mohem/src/app/profile/home/home.component.scss +++ b/Mohem/src/app/profile/home/home.component.scss @@ -1381,3 +1381,24 @@ $actionBtnSize: 36px; border-radius: 20px; box-shadow: 0px 0px 5px #00000029; } +.profile-note-en{ + margin-left: 20px; + margin-top: 5px; + font-size: 13px; +} +.profile-note-ar{ + margin-right: 20px; + margin-top: 5px; + font-size: 13px; +} + +.profile-compilation-en{ + margin-left: 20px; + margin-top: 5px; + font-size: 13px; +} +.profile-compilation-ar{ + margin-left: 20px; + margin-top: 5px; + font-size: 13px; +} \ No newline at end of file diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index a690e0fe..d5031cf3 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -1474,6 +1474,14 @@ "remove-confirm":{ "en":"member removed successfully", "ar":"تم حذف البيانات بنجاح" + }, + "note-part-1":{ + "en":"Add or update information about your beneficiaries of dependants.", + "ar":"قم بإضافة أو تحديث المعلومات حول المستفيدين من المعالين." + }, + "note-part-2":{ + "en":"Note: People you enter here become dependants or beneficiaries only after you complete benefits enrollment.", + "ar":"ملاحظة: الأشخاص الذين تدخلهم هنا يصبحون معالين أو مستفيدين فقط بعد إكمال تسجيل المزايا." } }, "changePassword": {