mario-core 2.9.184-release → 2.9.187-release

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -341,7 +341,7 @@ var note = "Note";
341
341
  var no_schedule = "No Schedule";
342
342
  var my_notes = "My Notes";
343
343
  var private_note = "Private Note";
344
- var goal_process = "Goal Progress";
344
+ var goal_progress = "Goal Progress";
345
345
  var view_all_goals = "View all goals";
346
346
  var completed = "Completed";
347
347
  var student_information = "Student Information";
@@ -695,6 +695,7 @@ var no_student_missing_weekly_check_in = "No student missing weekly check-in";
695
695
  var start_1_1_conversation = "Start 1-1 Conversation";
696
696
  var select_a_teacher_and_start_a_check_in = "Select a teacher and start a check-in";
697
697
  var this_weeks_check_ins = "This week's check-ins";
698
+ var this_weeks_1_1s = "This week's 1-1s";
698
699
  var this_student_does_nt_have_1_1_in_this_week = "This student doesn’t have 1-1 in this week";
699
700
  var this_student_does_nt_have_check_in_in_this_week = "This student doesn’t have check-in in this week";
700
701
  var no_last_or_requested_check_ins = "No last or requested Check-Ins";
@@ -1087,7 +1088,7 @@ var lang_us = {
1087
1088
  no_schedule: no_schedule,
1088
1089
  my_notes: my_notes,
1089
1090
  private_note: private_note,
1090
- goal_process: goal_process,
1091
+ goal_progress: goal_progress,
1091
1092
  view_all_goals: view_all_goals,
1092
1093
  completed: completed,
1093
1094
  student_information: student_information,
@@ -1447,7 +1448,7 @@ var lang_us = {
1447
1448
  start_1_1_conversation: start_1_1_conversation,
1448
1449
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in,
1449
1450
  this_weeks_check_ins: this_weeks_check_ins,
1450
- "this _weeks_1_1s": "This week's 1-1s",
1451
+ this_weeks_1_1s: this_weeks_1_1s,
1451
1452
  this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week,
1452
1453
  this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week,
1453
1454
  no_last_or_requested_check_ins: no_last_or_requested_check_ins,
@@ -1842,7 +1843,7 @@ var note$1 = "Note";
1842
1843
  var no_schedule$1 = "No Schedule";
1843
1844
  var my_notes$1 = "My Notes";
1844
1845
  var private_note$1 = "Private Note";
1845
- var goal_process$1 = "Goal Progress";
1846
+ var goal_progress$1 = "Goal Progress";
1846
1847
  var view_all_goals$1 = "View all goals";
1847
1848
  var completed$1 = "Completed";
1848
1849
  var student_information$1 = "Student Information";
@@ -2196,6 +2197,7 @@ var no_student_missing_weekly_check_in$1 = "No student missing weekly check-in";
2196
2197
  var start_1_1_conversation$1 = "Start 1-1 Conversation";
2197
2198
  var select_a_teacher_and_start_a_check_in$1 = "Select a teacher and start a check-in";
2198
2199
  var this_weeks_check_ins$1 = "This week's check-ins";
2200
+ var this_weeks_1_1s$1 = "This week's 1-1s";
2199
2201
  var this_student_does_nt_have_1_1_in_this_week$1 = "This student doesn’t have 1-1 in this week";
2200
2202
  var this_student_does_nt_have_check_in_in_this_week$1 = "This student doesn’t have check-in in this week";
2201
2203
  var no_last_or_requested_check_ins$1 = "No last or requested Check-Ins";
@@ -2588,7 +2590,7 @@ var lang_uk = {
2588
2590
  no_schedule: no_schedule$1,
2589
2591
  my_notes: my_notes$1,
2590
2592
  private_note: private_note$1,
2591
- goal_process: goal_process$1,
2593
+ goal_progress: goal_progress$1,
2592
2594
  view_all_goals: view_all_goals$1,
2593
2595
  completed: completed$1,
2594
2596
  student_information: student_information$1,
@@ -2948,7 +2950,7 @@ var lang_uk = {
2948
2950
  start_1_1_conversation: start_1_1_conversation$1,
2949
2951
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$1,
2950
2952
  this_weeks_check_ins: this_weeks_check_ins$1,
2951
- "this _weeks_1_1s": "This week's 1-1s",
2953
+ this_weeks_1_1s: this_weeks_1_1s$1,
2952
2954
  this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week$1,
2953
2955
  this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week$1,
2954
2956
  no_last_or_requested_check_ins: no_last_or_requested_check_ins$1,
@@ -3169,7 +3171,7 @@ var edit_semester$2 = "تعديل فصل دراسي ";
3169
3171
  var create_semester$2 = "إنشاء فصل دراسي ";
3170
3172
  var update_school_break_month$2 = "تحديث شهر العطلة المدرسية ";
3171
3173
  var total_of_semesters$2 = "إجمالي الفصول الدراسية ";
3172
- var total_of_academic_years = "إجمالي السنوات الأكاديمية ";
3174
+ var total_of_academicyear$2 = "إجمالي السنوات الأكاديمية ";
3173
3175
  var semester$2 = "الفصل الدراسي";
3174
3176
  var breaking_month$2 = "شهر العطلة المدرسية";
3175
3177
  var change_breaking_month$2 = "تغيير شهر العطلة المدرسية";
@@ -3209,7 +3211,7 @@ var remove_assistant$2 = "حذف المساعد";
3209
3211
  var switch_assistant$2 = "تغيير المساعد";
3210
3212
  var select_assistant_change$2 = "اختيار تغيير المساعد";
3211
3213
  var select_assistant$2 = "اختيار المساعد";
3212
- var welcome_email_re_send = "إعادة إرسال البريد الإلكتروني الترحيبي ";
3214
+ var welcome_email_resend$2 = "إعادة إرسال البريد الإلكتروني الترحيبي ";
3213
3215
  var send_for_selected_users$2 = "إرسال إلى مستخدمين محددين ";
3214
3216
  var user_name$2 = "اسم المستخدم";
3215
3217
  var user_email$2 = "البريد الإلكتروني للمستخدم ";
@@ -3287,7 +3289,7 @@ var no_question$2 = "لا يوجد سؤال";
3287
3289
  var select_question$2 = "اختر سؤال";
3288
3290
  var select_student$2 = "اختر طالب";
3289
3291
  var select_teacher$2 = "اختر معلم";
3290
- var who_would_you_like_to_check_in_with = "مع من تفضل إجراء التقييم؟";
3292
+ var do_you_want_to_talk_with$2 = "مع من تفضل إجراء التقييم؟";
3291
3293
  var please_select_a_student$2 = "يرجى اختيار الطالب";
3292
3294
  var please_select_a_teacher$2 = "يرجى اختيار المعلم";
3293
3295
  var please_provide_a_valid_student$2 = "يرجى اختيار طالب موجود";
@@ -3305,14 +3307,14 @@ var time_must_be_between_8_am_and_6_pm$2 = "يجب أن يكون الوقت بي
3305
3307
  var from$2 = "من";
3306
3308
  var to$2 = "إلى";
3307
3309
  var show_only_favorites$2 = "إظهار القائمة المفضلة فقط";
3308
- var show_1_1_conversation_only = "إظهار محادثات جلسات التعلّم الفردية فقط";
3310
+ var show_only_conversation$2 = "إظهار محادثات جلسات التعلّم الفردية فقط";
3309
3311
  var duration$2 = "المدة";
3310
3312
  var favorite$2 = "المفضلة";
3311
3313
  var open$2 = "فتح";
3312
3314
  var no_data$2 = "لا يوجد بيانات";
3313
3315
  var schedule_detail$2 = "تفاصيل الجدول";
3314
3316
  var are_you_sure_you_want_to_cancel_this_schedule$2 = "هل أنت متأكد من رغبتك بحذف هذا الجدول؟";
3315
- var completed_1_1_conversation = "محادثات جلسات التعلّم الفردية المكتملة";
3317
+ var completed_1_to_1$2 = "محادثات جلسات التعلّم الفردية المكتملة";
3316
3318
  var completed_check_in$2 = "عمليات التقييم المكتملة";
3317
3319
  var done$2 = "تم";
3318
3320
  var what_do_you_want_to_talk_about$2 = "ما الذي تريد التحدث عنه؟";
@@ -3328,7 +3330,7 @@ var how_much_did_you_learn_from_this_session$2 = "كم تعلمت من هذه ا
3328
3330
  var what_is_the_most_important_thing_you_learned_from_this_session$2 = "ما هو أهم شيء تعلمته من هذه الجلسة؟";
3329
3331
  var your_next_meeting$2 = "اجتماعك القادم";
3330
3332
  var today_at$2 = "اليوم على الساعة ";
3331
- var choose_if_you_want_to_start_the_check_in_now_or_book_a_time_with_your_teacher_or_counselor_for_later = "اختر ما إذا كنت ترغب في بدء التقييم الآن أو حجز وقت مع معلمك أو مستشارك لاحقًا";
3333
+ var choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later$2 = "اختر ما إذا كنت ترغب في بدء التقييم الآن أو حجز وقت مع معلمك أو مستشارك لاحقًا";
3332
3334
  var edit$2 = "تعديل";
3333
3335
  var phone_number$2 = "رقم الهاتف";
3334
3336
  var second_phone_number$2 = "رقم الهاتف الثاني";
@@ -3339,7 +3341,7 @@ var note$2 = "ملحوظة";
3339
3341
  var no_schedule$2 = "لا يوجد جدول";
3340
3342
  var my_notes$2 = "ملحوظاتي";
3341
3343
  var private_note$2 = "ملحوظة خاصة";
3342
- var goal_progress = "مدى التقدم نحو تحقيق الهدف";
3344
+ var goal_progress$2 = "مدى التقدم نحو تحقيق الهدف";
3343
3345
  var view_all_goals$2 = "عرض جميع الأهداف";
3344
3346
  var completed$2 = "مكتمل";
3345
3347
  var student_information$2 = "معلومات الطالب";
@@ -3668,13 +3670,13 @@ var start$2 = "ابدأ";
3668
3670
  var teacher_reflection$2 = "تفكير المعلم";
3669
3671
  var notes$2 = "ملحوظات";
3670
3672
  var view_latest_check_ins$2 = "عرض آخر التقييمات";
3671
- var this_weeks = "هذا الأسبوع";
3673
+ var this_week_s$2 = "هذا الأسبوع";
3672
3674
  var missing_weekly_check_in$2 = "تقييم أسبوعي مفقود";
3673
3675
  var add_new_student$2 = "إضافة طالب جديد";
3674
3676
  var start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after = "ابدأ التقييم وتمكّن من طلب محادثة مع معلمك بعد ذلك";
3675
3677
  var start_check_in$2 = "ابدأ التقييم";
3676
3678
  var no_events_today$2 = "لا يوجد أحداث اليوم";
3677
- var todays_schedule$2 = "جدول اليوم";
3679
+ var today_schedule$2 = "جدول اليوم";
3678
3680
  var high_stressed$2 = "يعاني من إجهاد شديد";
3679
3681
  var unsafe$2 = "لا يشعر بالأمان";
3680
3682
  var average$2 = "المعدل";
@@ -3692,7 +3694,7 @@ var no_student_missing_weekly_check_in$2 = "لم يفوّت أي طالب الت
3692
3694
  var start_1_1_conversation$2 = "ابدأ محادثة تعلّم فردية";
3693
3695
  var select_a_teacher_and_start_a_check_in$2 = "اختر المعلم وابدأ التقييم";
3694
3696
  var this_weeks_check_ins$2 = "تقييمات الأسبوع الحالي";
3695
- var this_weeks_1_1s = "محادثات التعلّم الفردية للأسبوع الحالي";
3697
+ var this_weeks_1_1s$2 = "محادثات التعلّم الفردية للأسبوع الحالي";
3696
3698
  var this_student_doesn_t_have_1_1_in_this_week = "لا يوجد لهذا الطالب محادثات تعلّم فردية للأسبوع الحالي";
3697
3699
  var this_student_doesn_t_have_check_in_in_this_week = "لا يوجد لهذا الطالب عملية تقييم للأسبوع الحالي";
3698
3700
  var no_last_or_requested_check_ins$2 = "لا يوجد تقييم جديد أو مطلوب";
@@ -3734,7 +3736,6 @@ var months$2 = "الأشهر";
3734
3736
  var scheduled_sessions$2 = "الجلسات المجدولة";
3735
3737
  var active_surveys$2 = "الاستبيانات الفعالة";
3736
3738
  var view_responses$2 = "عرض الاستجابات";
3737
- var download_csv$2 = "تنزيل ملف CSV";
3738
3739
  var create_new_survey$2 = "إنشاء استبيان جديد";
3739
3740
  var go_to_individual_survey_responses$2 = "الانتقال إلى استجابات الاستبيانات الفردية";
3740
3741
  var you_can_only_select_number_kpis_at_a_time$2 = "يمكنك اختيار {{رقم}} فقط من مؤشرات الأداء في آنٍ واحد";
@@ -3898,7 +3899,7 @@ var lang_ar = {
3898
3899
  create_semester: create_semester$2,
3899
3900
  update_school_break_month: update_school_break_month$2,
3900
3901
  total_of_semesters: total_of_semesters$2,
3901
- total_of_academic_years: total_of_academic_years,
3902
+ total_of_academicyear: total_of_academicyear$2,
3902
3903
  semester: semester$2,
3903
3904
  breaking_month: breaking_month$2,
3904
3905
  change_breaking_month: change_breaking_month$2,
@@ -3938,7 +3939,7 @@ var lang_ar = {
3938
3939
  switch_assistant: switch_assistant$2,
3939
3940
  select_assistant_change: select_assistant_change$2,
3940
3941
  select_assistant: select_assistant$2,
3941
- welcome_email_re_send: welcome_email_re_send,
3942
+ welcome_email_resend: welcome_email_resend$2,
3942
3943
  send_for_selected_users: send_for_selected_users$2,
3943
3944
  user_name: user_name$2,
3944
3945
  user_email: user_email$2,
@@ -4018,7 +4019,7 @@ var lang_ar = {
4018
4019
  select_question: select_question$2,
4019
4020
  select_student: select_student$2,
4020
4021
  select_teacher: select_teacher$2,
4021
- who_would_you_like_to_check_in_with: who_would_you_like_to_check_in_with,
4022
+ do_you_want_to_talk_with: do_you_want_to_talk_with$2,
4022
4023
  please_select_a_student: please_select_a_student$2,
4023
4024
  please_select_a_teacher: please_select_a_teacher$2,
4024
4025
  please_provide_a_valid_student: please_provide_a_valid_student$2,
@@ -4036,14 +4037,14 @@ var lang_ar = {
4036
4037
  from: from$2,
4037
4038
  to: to$2,
4038
4039
  show_only_favorites: show_only_favorites$2,
4039
- show_1_1_conversation_only: show_1_1_conversation_only,
4040
+ show_only_conversation: show_only_conversation$2,
4040
4041
  duration: duration$2,
4041
4042
  favorite: favorite$2,
4042
4043
  open: open$2,
4043
4044
  no_data: no_data$2,
4044
4045
  schedule_detail: schedule_detail$2,
4045
4046
  are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule$2,
4046
- completed_1_1_conversation: completed_1_1_conversation,
4047
+ completed_1_to_1: completed_1_to_1$2,
4047
4048
  completed_check_in: completed_check_in$2,
4048
4049
  done: done$2,
4049
4050
  what_do_you_want_to_talk_about: what_do_you_want_to_talk_about$2,
@@ -4059,7 +4060,7 @@ var lang_ar = {
4059
4060
  what_is_the_most_important_thing_you_learned_from_this_session: what_is_the_most_important_thing_you_learned_from_this_session$2,
4060
4061
  your_next_meeting: your_next_meeting$2,
4061
4062
  today_at: today_at$2,
4062
- choose_if_you_want_to_start_the_check_in_now_or_book_a_time_with_your_teacher_or_counselor_for_later: choose_if_you_want_to_start_the_check_in_now_or_book_a_time_with_your_teacher_or_counselor_for_later,
4063
+ choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later: choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later$2,
4063
4064
  edit: edit$2,
4064
4065
  phone_number: phone_number$2,
4065
4066
  second_phone_number: second_phone_number$2,
@@ -4070,7 +4071,7 @@ var lang_ar = {
4070
4071
  no_schedule: no_schedule$2,
4071
4072
  my_notes: my_notes$2,
4072
4073
  private_note: private_note$2,
4073
- goal_progress: goal_progress,
4074
+ goal_progress: goal_progress$2,
4074
4075
  view_all_goals: view_all_goals$2,
4075
4076
  completed: completed$2,
4076
4077
  student_information: student_information$2,
@@ -4401,14 +4402,14 @@ var lang_ar = {
4401
4402
  teacher_reflection: teacher_reflection$2,
4402
4403
  notes: notes$2,
4403
4404
  view_latest_check_ins: view_latest_check_ins$2,
4404
- "1_1s": "جلسات التعلّم الفردية",
4405
- this_weeks: this_weeks,
4405
+ "1-1s": "جلسات التعلّم الفردية",
4406
+ this_week_s: this_week_s$2,
4406
4407
  missing_weekly_check_in: missing_weekly_check_in$2,
4407
4408
  add_new_student: add_new_student$2,
4408
4409
  start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after: start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after,
4409
4410
  start_check_in: start_check_in$2,
4410
4411
  no_events_today: no_events_today$2,
4411
- todays_schedule: todays_schedule$2,
4412
+ today_schedule: today_schedule$2,
4412
4413
  high_stressed: high_stressed$2,
4413
4414
  unsafe: unsafe$2,
4414
4415
  average: average$2,
@@ -4426,7 +4427,7 @@ var lang_ar = {
4426
4427
  start_1_1_conversation: start_1_1_conversation$2,
4427
4428
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$2,
4428
4429
  this_weeks_check_ins: this_weeks_check_ins$2,
4429
- this_weeks_1_1s: this_weeks_1_1s,
4430
+ this_weeks_1_1s: this_weeks_1_1s$2,
4430
4431
  this_student_doesn_t_have_1_1_in_this_week: this_student_doesn_t_have_1_1_in_this_week,
4431
4432
  this_student_doesn_t_have_check_in_in_this_week: this_student_doesn_t_have_check_in_in_this_week,
4432
4433
  no_last_or_requested_check_ins: no_last_or_requested_check_ins$2,
@@ -4470,7 +4471,7 @@ var lang_ar = {
4470
4471
  scheduled_sessions: scheduled_sessions$2,
4471
4472
  active_surveys: active_surveys$2,
4472
4473
  view_responses: view_responses$2,
4473
- download_csv: download_csv$2,
4474
+ "download.csv": "تنزيل ملف CSV",
4474
4475
  create_new_survey: create_new_survey$2,
4475
4476
  go_to_individual_survey_responses: go_to_individual_survey_responses$2,
4476
4477
  you_can_only_select_number_kpis_at_a_time: you_can_only_select_number_kpis_at_a_time$2,
@@ -23293,9 +23294,11 @@ var useCreatePassword = function useCreatePassword() {
23293
23294
  }));
23294
23295
  });
23295
23296
  }, function (err) {
23297
+ var _err$response, _err$response$data;
23298
+
23296
23299
  dispatch(setAlert({
23297
23300
  type: "danger",
23298
- message: err.message
23301
+ message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message || "Error occured"
23299
23302
  }));
23300
23303
  localStorage.removeItem(ACCESS_TOKEN);
23301
23304
  });
@@ -24279,8 +24282,15 @@ var TheLayout = function TheLayout(_ref) {
24279
24282
  }, [user, language]);
24280
24283
  var authNavigations = useMemo(function () {
24281
24284
  return navigation.map(function (item) {
24285
+ var _item$_children, _item$_children2;
24286
+
24282
24287
  return _extends({}, item, {
24283
- name: t(item.name)
24288
+ name: t(item.name),
24289
+ _children: item !== null && item !== void 0 && (_item$_children = item._children) !== null && _item$_children !== void 0 && _item$_children.length ? item === null || item === void 0 ? void 0 : (_item$_children2 = item._children) === null || _item$_children2 === void 0 ? void 0 : _item$_children2.map(function (x) {
24290
+ return _extends({}, x, {
24291
+ name: t(x.name)
24292
+ });
24293
+ }) : undefined
24284
24294
  });
24285
24295
  }).filter(function (nav) {
24286
24296
  return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
@@ -24665,7 +24675,7 @@ var useEmailTemplateList = function useEmailTemplateList() {
24665
24675
  };
24666
24676
  };
24667
24677
 
24668
- var header = "Email template";
24678
+ var header = "email_template";
24669
24679
 
24670
24680
  var EmailTemplateList = function EmailTemplateList() {
24671
24681
  var _useEmailTemplateList = useEmailTemplateList(),
@@ -24677,6 +24687,9 @@ var EmailTemplateList = function EmailTemplateList() {
24677
24687
  goToDetail = _useEmailTemplateList.goToDetail,
24678
24688
  mailCategoryList = _useEmailTemplateList.mailCategoryList;
24679
24689
 
24690
+ var _useTranslation = useTranslation(),
24691
+ t = _useTranslation.t;
24692
+
24680
24693
  var onRemove = function onRemove(id) {
24681
24694
  removeData(id);
24682
24695
  };
@@ -24685,7 +24698,7 @@ var EmailTemplateList = function EmailTemplateList() {
24685
24698
  className: "fadeIn animated"
24686
24699
  }, React.createElement("h5", {
24687
24700
  className: "mb-2"
24688
- }, header), React.createElement(Row, {
24701
+ }, t(header)), React.createElement(Row, {
24689
24702
  className: "my-2"
24690
24703
  }, React.createElement(Col, {
24691
24704
  md: 4
@@ -24790,6 +24803,10 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
24790
24803
  var confirmText = _ref.confirmText,
24791
24804
  onConfirm = _ref.onConfirm,
24792
24805
  onCancel = _ref.onCancel;
24806
+
24807
+ var _useTranslation = useTranslation(),
24808
+ t = _useTranslation.t;
24809
+
24793
24810
  return React.createElement(Row, {
24794
24811
  form: true,
24795
24812
  style: style$1
@@ -24804,7 +24821,7 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
24804
24821
  size: "sm",
24805
24822
  className: "px-4 mr-2 ml-2",
24806
24823
  onClick: onCancel
24807
- }, "Cancel")));
24824
+ }, t("cancel"))));
24808
24825
  };
24809
24826
 
24810
24827
  var AddButtonIcon = function AddButtonIcon(_ref) {
@@ -25582,6 +25599,9 @@ var CommonModal = function CommonModal(props, ref) {
25582
25599
 
25583
25600
  var dispatch = useDispatch();
25584
25601
 
25602
+ var _useTranslation = useTranslation(),
25603
+ t = _useTranslation.t;
25604
+
25585
25605
  var showEditedWarningModal = function showEditedWarningModal(cb) {
25586
25606
  try {
25587
25607
  dispatch(setModal({
@@ -25650,9 +25670,9 @@ var CommonModal = function CommonModal(props, ref) {
25650
25670
  }, onConfirm && React.createElement(Button, {
25651
25671
  color: "primary",
25652
25672
  onClick: onConfirm
25653
- }, confirmText || "Confirm"), React.createElement(Button, {
25673
+ }, confirmText || t("confirm")), React.createElement(Button, {
25654
25674
  onClick: cancel
25655
- }, cancelText || "Cancel")));
25675
+ }, cancelText || t("cancel"))));
25656
25676
  };
25657
25677
 
25658
25678
  var CommonModal$1 = forwardRef(CommonModal);
@@ -27760,7 +27780,7 @@ var buttonTextStyle$2 = {
27760
27780
  var buttonStyle$2 = {
27761
27781
  height: 38
27762
27782
  };
27763
- var header$2 = "User";
27783
+ var header$2 = "user";
27764
27784
 
27765
27785
  var UserList = function UserList() {
27766
27786
  var _useUserList = useUserList(),
@@ -28641,7 +28661,7 @@ var AssignStudentList = function AssignStudentList() {
28641
28661
  onClick: function onClick() {
28642
28662
  return handelSort(UserOrder.Name);
28643
28663
  }
28644
- }, "Student Name", filters.sortBy === UserOrder.Name && React.createElement(React.Fragment, null, filters.orderBy === "DESC" ? React.createElement(AiOutlineSortDescending, {
28664
+ }, t("student_name"), filters.sortBy === UserOrder.Name && React.createElement(React.Fragment, null, filters.orderBy === "DESC" ? React.createElement(AiOutlineSortDescending, {
28645
28665
  className: "ml-1"
28646
28666
  }) : React.createElement(AiOutlineSortAscending, {
28647
28667
  className: "ml-1"
@@ -28650,7 +28670,7 @@ var AssignStudentList = function AssignStudentList() {
28650
28670
  onClick: function onClick() {
28651
28671
  return handelSort(UserOrder.Email);
28652
28672
  }
28653
- }, "Student Email", filters.sortBy === UserOrder.Email && React.createElement(React.Fragment, null, filters.orderBy === "DESC" ? React.createElement(AiOutlineSortDescending, {
28673
+ }, t("student_email"), filters.sortBy === UserOrder.Email && React.createElement(React.Fragment, null, filters.orderBy === "DESC" ? React.createElement(AiOutlineSortDescending, {
28654
28674
  className: "ml-1"
28655
28675
  }) : React.createElement(AiOutlineSortAscending, {
28656
28676
  className: "ml-1"
@@ -29733,6 +29753,10 @@ var NotificationModal = function NotificationModal() {
29733
29753
  var modal = useSelector(function (state) {
29734
29754
  return state.common.modal;
29735
29755
  });
29756
+
29757
+ var _useTranslation = useTranslation(),
29758
+ t = _useTranslation.t;
29759
+
29736
29760
  var isOpen = modal.isOpen,
29737
29761
  type = modal.type,
29738
29762
  message = modal.message,
@@ -29762,10 +29786,10 @@ var NotificationModal = function NotificationModal() {
29762
29786
  }, modalInfo(type).header), React.createElement(ModalBody, null, message), React.createElement(ModalFooter, null, onConfirm && React.createElement(Button, {
29763
29787
  color: type,
29764
29788
  onClick: confirm
29765
- }, "Confirm"), React.createElement(Button, {
29789
+ }, t("confirm")), React.createElement(Button, {
29766
29790
  color: "secondary",
29767
29791
  onClick: toggle
29768
- }, "Cancel")));
29792
+ }, t("cancel"))));
29769
29793
  };
29770
29794
 
29771
29795
  var headerStyle = {
@@ -31390,18 +31414,22 @@ var MediaDetail = function MediaDetail(_ref) {
31390
31414
 
31391
31415
  var MediaDetail$1 = React.memo(MediaDetail);
31392
31416
 
31393
- var header$4 = "Gallery";
31417
+ var header$4 = "media_gallery";
31394
31418
 
31395
31419
  var GalleryList = function GalleryList(_ref) {
31396
31420
  var isLibrary = _ref.isLibrary;
31397
31421
  var targetMedia = useSelector(function (state) {
31398
31422
  return state.gallery.targetMedia;
31399
31423
  });
31424
+
31425
+ var _useTranslation = useTranslation(),
31426
+ t = _useTranslation.t;
31427
+
31400
31428
  return React.createElement("div", {
31401
31429
  className: "fadeIn animated"
31402
31430
  }, !isLibrary && React.createElement("h5", {
31403
31431
  className: "mb-2"
31404
- }, header$4), React.createElement(Row, {
31432
+ }, t(header$4)), React.createElement(Row, {
31405
31433
  className: "mb-2"
31406
31434
  }, React.createElement(Col, {
31407
31435
  md: 8