mario-core 2.9.183-survey → 2.9.186-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.
package/dist/index.js CHANGED
@@ -344,7 +344,7 @@ var note = "Note";
344
344
  var no_schedule = "No Schedule";
345
345
  var my_notes = "My Notes";
346
346
  var private_note = "Private Note";
347
- var goal_process = "Goal Progress";
347
+ var goal_progress = "Goal Progress";
348
348
  var view_all_goals = "View all goals";
349
349
  var completed = "Completed";
350
350
  var student_information = "Student Information";
@@ -698,6 +698,7 @@ var no_student_missing_weekly_check_in = "No student missing weekly check-in";
698
698
  var start_1_1_conversation = "Start 1-1 Conversation";
699
699
  var select_a_teacher_and_start_a_check_in = "Select a teacher and start a check-in";
700
700
  var this_weeks_check_ins = "This week's check-ins";
701
+ var this_weeks_1_1s = "This week's 1-1s";
701
702
  var this_student_does_nt_have_1_1_in_this_week = "This student doesn’t have 1-1 in this week";
702
703
  var this_student_does_nt_have_check_in_in_this_week = "This student doesn’t have check-in in this week";
703
704
  var no_last_or_requested_check_ins = "No last or requested Check-Ins";
@@ -1090,7 +1091,7 @@ var lang_us = {
1090
1091
  no_schedule: no_schedule,
1091
1092
  my_notes: my_notes,
1092
1093
  private_note: private_note,
1093
- goal_process: goal_process,
1094
+ goal_progress: goal_progress,
1094
1095
  view_all_goals: view_all_goals,
1095
1096
  completed: completed,
1096
1097
  student_information: student_information,
@@ -1450,7 +1451,7 @@ var lang_us = {
1450
1451
  start_1_1_conversation: start_1_1_conversation,
1451
1452
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in,
1452
1453
  this_weeks_check_ins: this_weeks_check_ins,
1453
- "this _weeks_1_1s": "This week's 1-1s",
1454
+ this_weeks_1_1s: this_weeks_1_1s,
1454
1455
  this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week,
1455
1456
  this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week,
1456
1457
  no_last_or_requested_check_ins: no_last_or_requested_check_ins,
@@ -1845,7 +1846,7 @@ var note$1 = "Note";
1845
1846
  var no_schedule$1 = "No Schedule";
1846
1847
  var my_notes$1 = "My Notes";
1847
1848
  var private_note$1 = "Private Note";
1848
- var goal_process$1 = "Goal Progress";
1849
+ var goal_progress$1 = "Goal Progress";
1849
1850
  var view_all_goals$1 = "View all goals";
1850
1851
  var completed$1 = "Completed";
1851
1852
  var student_information$1 = "Student Information";
@@ -2199,6 +2200,7 @@ var no_student_missing_weekly_check_in$1 = "No student missing weekly check-in";
2199
2200
  var start_1_1_conversation$1 = "Start 1-1 Conversation";
2200
2201
  var select_a_teacher_and_start_a_check_in$1 = "Select a teacher and start a check-in";
2201
2202
  var this_weeks_check_ins$1 = "This week's check-ins";
2203
+ var this_weeks_1_1s$1 = "This week's 1-1s";
2202
2204
  var this_student_does_nt_have_1_1_in_this_week$1 = "This student doesn’t have 1-1 in this week";
2203
2205
  var this_student_does_nt_have_check_in_in_this_week$1 = "This student doesn’t have check-in in this week";
2204
2206
  var no_last_or_requested_check_ins$1 = "No last or requested Check-Ins";
@@ -2591,7 +2593,7 @@ var lang_uk = {
2591
2593
  no_schedule: no_schedule$1,
2592
2594
  my_notes: my_notes$1,
2593
2595
  private_note: private_note$1,
2594
- goal_process: goal_process$1,
2596
+ goal_progress: goal_progress$1,
2595
2597
  view_all_goals: view_all_goals$1,
2596
2598
  completed: completed$1,
2597
2599
  student_information: student_information$1,
@@ -2951,7 +2953,7 @@ var lang_uk = {
2951
2953
  start_1_1_conversation: start_1_1_conversation$1,
2952
2954
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$1,
2953
2955
  this_weeks_check_ins: this_weeks_check_ins$1,
2954
- "this _weeks_1_1s": "This week's 1-1s",
2956
+ this_weeks_1_1s: this_weeks_1_1s$1,
2955
2957
  this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week$1,
2956
2958
  this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week$1,
2957
2959
  no_last_or_requested_check_ins: no_last_or_requested_check_ins$1,
@@ -3172,7 +3174,7 @@ var edit_semester$2 = "تعديل فصل دراسي ";
3172
3174
  var create_semester$2 = "إنشاء فصل دراسي ";
3173
3175
  var update_school_break_month$2 = "تحديث شهر العطلة المدرسية ";
3174
3176
  var total_of_semesters$2 = "إجمالي الفصول الدراسية ";
3175
- var total_of_academic_years = "إجمالي السنوات الأكاديمية ";
3177
+ var total_of_academicyear$2 = "إجمالي السنوات الأكاديمية ";
3176
3178
  var semester$2 = "الفصل الدراسي";
3177
3179
  var breaking_month$2 = "شهر العطلة المدرسية";
3178
3180
  var change_breaking_month$2 = "تغيير شهر العطلة المدرسية";
@@ -3212,7 +3214,7 @@ var remove_assistant$2 = "حذف المساعد";
3212
3214
  var switch_assistant$2 = "تغيير المساعد";
3213
3215
  var select_assistant_change$2 = "اختيار تغيير المساعد";
3214
3216
  var select_assistant$2 = "اختيار المساعد";
3215
- var welcome_email_re_send = "إعادة إرسال البريد الإلكتروني الترحيبي ";
3217
+ var welcome_email_resend$2 = "إعادة إرسال البريد الإلكتروني الترحيبي ";
3216
3218
  var send_for_selected_users$2 = "إرسال إلى مستخدمين محددين ";
3217
3219
  var user_name$2 = "اسم المستخدم";
3218
3220
  var user_email$2 = "البريد الإلكتروني للمستخدم ";
@@ -3290,7 +3292,7 @@ var no_question$2 = "لا يوجد سؤال";
3290
3292
  var select_question$2 = "اختر سؤال";
3291
3293
  var select_student$2 = "اختر طالب";
3292
3294
  var select_teacher$2 = "اختر معلم";
3293
- var who_would_you_like_to_check_in_with = "مع من تفضل إجراء التقييم؟";
3295
+ var do_you_want_to_talk_with$2 = "مع من تفضل إجراء التقييم؟";
3294
3296
  var please_select_a_student$2 = "يرجى اختيار الطالب";
3295
3297
  var please_select_a_teacher$2 = "يرجى اختيار المعلم";
3296
3298
  var please_provide_a_valid_student$2 = "يرجى اختيار طالب موجود";
@@ -3308,14 +3310,14 @@ var time_must_be_between_8_am_and_6_pm$2 = "يجب أن يكون الوقت بي
3308
3310
  var from$2 = "من";
3309
3311
  var to$2 = "إلى";
3310
3312
  var show_only_favorites$2 = "إظهار القائمة المفضلة فقط";
3311
- var show_1_1_conversation_only = "إظهار محادثات جلسات التعلّم الفردية فقط";
3313
+ var show_only_conversation$2 = "إظهار محادثات جلسات التعلّم الفردية فقط";
3312
3314
  var duration$2 = "المدة";
3313
3315
  var favorite$2 = "المفضلة";
3314
3316
  var open$2 = "فتح";
3315
3317
  var no_data$2 = "لا يوجد بيانات";
3316
3318
  var schedule_detail$2 = "تفاصيل الجدول";
3317
3319
  var are_you_sure_you_want_to_cancel_this_schedule$2 = "هل أنت متأكد من رغبتك بحذف هذا الجدول؟";
3318
- var completed_1_1_conversation = "محادثات جلسات التعلّم الفردية المكتملة";
3320
+ var completed_1_to_1$2 = "محادثات جلسات التعلّم الفردية المكتملة";
3319
3321
  var completed_check_in$2 = "عمليات التقييم المكتملة";
3320
3322
  var done$2 = "تم";
3321
3323
  var what_do_you_want_to_talk_about$2 = "ما الذي تريد التحدث عنه؟";
@@ -3331,7 +3333,7 @@ var how_much_did_you_learn_from_this_session$2 = "كم تعلمت من هذه ا
3331
3333
  var what_is_the_most_important_thing_you_learned_from_this_session$2 = "ما هو أهم شيء تعلمته من هذه الجلسة؟";
3332
3334
  var your_next_meeting$2 = "اجتماعك القادم";
3333
3335
  var today_at$2 = "اليوم على الساعة ";
3334
- var choose_if_you_want_to_start_the_check_in_now_or_book_a_time_with_your_teacher_or_counselor_for_later = "اختر ما إذا كنت ترغب في بدء التقييم الآن أو حجز وقت مع معلمك أو مستشارك لاحقًا";
3336
+ var choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later$2 = "اختر ما إذا كنت ترغب في بدء التقييم الآن أو حجز وقت مع معلمك أو مستشارك لاحقًا";
3335
3337
  var edit$2 = "تعديل";
3336
3338
  var phone_number$2 = "رقم الهاتف";
3337
3339
  var second_phone_number$2 = "رقم الهاتف الثاني";
@@ -3342,7 +3344,7 @@ var note$2 = "ملحوظة";
3342
3344
  var no_schedule$2 = "لا يوجد جدول";
3343
3345
  var my_notes$2 = "ملحوظاتي";
3344
3346
  var private_note$2 = "ملحوظة خاصة";
3345
- var goal_progress = "مدى التقدم نحو تحقيق الهدف";
3347
+ var goal_progress$2 = "مدى التقدم نحو تحقيق الهدف";
3346
3348
  var view_all_goals$2 = "عرض جميع الأهداف";
3347
3349
  var completed$2 = "مكتمل";
3348
3350
  var student_information$2 = "معلومات الطالب";
@@ -3671,13 +3673,13 @@ var start$2 = "ابدأ";
3671
3673
  var teacher_reflection$2 = "تفكير المعلم";
3672
3674
  var notes$2 = "ملحوظات";
3673
3675
  var view_latest_check_ins$2 = "عرض آخر التقييمات";
3674
- var this_weeks = "هذا الأسبوع";
3676
+ var this_week_s$2 = "هذا الأسبوع";
3675
3677
  var missing_weekly_check_in$2 = "تقييم أسبوعي مفقود";
3676
3678
  var add_new_student$2 = "إضافة طالب جديد";
3677
3679
  var start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after = "ابدأ التقييم وتمكّن من طلب محادثة مع معلمك بعد ذلك";
3678
3680
  var start_check_in$2 = "ابدأ التقييم";
3679
3681
  var no_events_today$2 = "لا يوجد أحداث اليوم";
3680
- var todays_schedule$2 = "جدول اليوم";
3682
+ var today_schedule$2 = "جدول اليوم";
3681
3683
  var high_stressed$2 = "يعاني من إجهاد شديد";
3682
3684
  var unsafe$2 = "لا يشعر بالأمان";
3683
3685
  var average$2 = "المعدل";
@@ -3695,7 +3697,7 @@ var no_student_missing_weekly_check_in$2 = "لم يفوّت أي طالب الت
3695
3697
  var start_1_1_conversation$2 = "ابدأ محادثة تعلّم فردية";
3696
3698
  var select_a_teacher_and_start_a_check_in$2 = "اختر المعلم وابدأ التقييم";
3697
3699
  var this_weeks_check_ins$2 = "تقييمات الأسبوع الحالي";
3698
- var this_weeks_1_1s = "محادثات التعلّم الفردية للأسبوع الحالي";
3700
+ var this_weeks_1_1s$2 = "محادثات التعلّم الفردية للأسبوع الحالي";
3699
3701
  var this_student_doesn_t_have_1_1_in_this_week = "لا يوجد لهذا الطالب محادثات تعلّم فردية للأسبوع الحالي";
3700
3702
  var this_student_doesn_t_have_check_in_in_this_week = "لا يوجد لهذا الطالب عملية تقييم للأسبوع الحالي";
3701
3703
  var no_last_or_requested_check_ins$2 = "لا يوجد تقييم جديد أو مطلوب";
@@ -3737,7 +3739,6 @@ var months$2 = "الأشهر";
3737
3739
  var scheduled_sessions$2 = "الجلسات المجدولة";
3738
3740
  var active_surveys$2 = "الاستبيانات الفعالة";
3739
3741
  var view_responses$2 = "عرض الاستجابات";
3740
- var download_csv$2 = "تنزيل ملف CSV";
3741
3742
  var create_new_survey$2 = "إنشاء استبيان جديد";
3742
3743
  var go_to_individual_survey_responses$2 = "الانتقال إلى استجابات الاستبيانات الفردية";
3743
3744
  var you_can_only_select_number_kpis_at_a_time$2 = "يمكنك اختيار {{رقم}} فقط من مؤشرات الأداء في آنٍ واحد";
@@ -3901,7 +3902,7 @@ var lang_ar = {
3901
3902
  create_semester: create_semester$2,
3902
3903
  update_school_break_month: update_school_break_month$2,
3903
3904
  total_of_semesters: total_of_semesters$2,
3904
- total_of_academic_years: total_of_academic_years,
3905
+ total_of_academicyear: total_of_academicyear$2,
3905
3906
  semester: semester$2,
3906
3907
  breaking_month: breaking_month$2,
3907
3908
  change_breaking_month: change_breaking_month$2,
@@ -3941,7 +3942,7 @@ var lang_ar = {
3941
3942
  switch_assistant: switch_assistant$2,
3942
3943
  select_assistant_change: select_assistant_change$2,
3943
3944
  select_assistant: select_assistant$2,
3944
- welcome_email_re_send: welcome_email_re_send,
3945
+ welcome_email_resend: welcome_email_resend$2,
3945
3946
  send_for_selected_users: send_for_selected_users$2,
3946
3947
  user_name: user_name$2,
3947
3948
  user_email: user_email$2,
@@ -4021,7 +4022,7 @@ var lang_ar = {
4021
4022
  select_question: select_question$2,
4022
4023
  select_student: select_student$2,
4023
4024
  select_teacher: select_teacher$2,
4024
- who_would_you_like_to_check_in_with: who_would_you_like_to_check_in_with,
4025
+ do_you_want_to_talk_with: do_you_want_to_talk_with$2,
4025
4026
  please_select_a_student: please_select_a_student$2,
4026
4027
  please_select_a_teacher: please_select_a_teacher$2,
4027
4028
  please_provide_a_valid_student: please_provide_a_valid_student$2,
@@ -4039,14 +4040,14 @@ var lang_ar = {
4039
4040
  from: from$2,
4040
4041
  to: to$2,
4041
4042
  show_only_favorites: show_only_favorites$2,
4042
- show_1_1_conversation_only: show_1_1_conversation_only,
4043
+ show_only_conversation: show_only_conversation$2,
4043
4044
  duration: duration$2,
4044
4045
  favorite: favorite$2,
4045
4046
  open: open$2,
4046
4047
  no_data: no_data$2,
4047
4048
  schedule_detail: schedule_detail$2,
4048
4049
  are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule$2,
4049
- completed_1_1_conversation: completed_1_1_conversation,
4050
+ completed_1_to_1: completed_1_to_1$2,
4050
4051
  completed_check_in: completed_check_in$2,
4051
4052
  done: done$2,
4052
4053
  what_do_you_want_to_talk_about: what_do_you_want_to_talk_about$2,
@@ -4062,7 +4063,7 @@ var lang_ar = {
4062
4063
  what_is_the_most_important_thing_you_learned_from_this_session: what_is_the_most_important_thing_you_learned_from_this_session$2,
4063
4064
  your_next_meeting: your_next_meeting$2,
4064
4065
  today_at: today_at$2,
4065
- 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,
4066
+ 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,
4066
4067
  edit: edit$2,
4067
4068
  phone_number: phone_number$2,
4068
4069
  second_phone_number: second_phone_number$2,
@@ -4073,7 +4074,7 @@ var lang_ar = {
4073
4074
  no_schedule: no_schedule$2,
4074
4075
  my_notes: my_notes$2,
4075
4076
  private_note: private_note$2,
4076
- goal_progress: goal_progress,
4077
+ goal_progress: goal_progress$2,
4077
4078
  view_all_goals: view_all_goals$2,
4078
4079
  completed: completed$2,
4079
4080
  student_information: student_information$2,
@@ -4404,14 +4405,14 @@ var lang_ar = {
4404
4405
  teacher_reflection: teacher_reflection$2,
4405
4406
  notes: notes$2,
4406
4407
  view_latest_check_ins: view_latest_check_ins$2,
4407
- "1_1s": "جلسات التعلّم الفردية",
4408
- this_weeks: this_weeks,
4408
+ "1-1s": "جلسات التعلّم الفردية",
4409
+ this_week_s: this_week_s$2,
4409
4410
  missing_weekly_check_in: missing_weekly_check_in$2,
4410
4411
  add_new_student: add_new_student$2,
4411
4412
  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,
4412
4413
  start_check_in: start_check_in$2,
4413
4414
  no_events_today: no_events_today$2,
4414
- todays_schedule: todays_schedule$2,
4415
+ today_schedule: today_schedule$2,
4415
4416
  high_stressed: high_stressed$2,
4416
4417
  unsafe: unsafe$2,
4417
4418
  average: average$2,
@@ -4429,7 +4430,7 @@ var lang_ar = {
4429
4430
  start_1_1_conversation: start_1_1_conversation$2,
4430
4431
  select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$2,
4431
4432
  this_weeks_check_ins: this_weeks_check_ins$2,
4432
- this_weeks_1_1s: this_weeks_1_1s,
4433
+ this_weeks_1_1s: this_weeks_1_1s$2,
4433
4434
  this_student_doesn_t_have_1_1_in_this_week: this_student_doesn_t_have_1_1_in_this_week,
4434
4435
  this_student_doesn_t_have_check_in_in_this_week: this_student_doesn_t_have_check_in_in_this_week,
4435
4436
  no_last_or_requested_check_ins: no_last_or_requested_check_ins$2,
@@ -4473,7 +4474,7 @@ var lang_ar = {
4473
4474
  scheduled_sessions: scheduled_sessions$2,
4474
4475
  active_surveys: active_surveys$2,
4475
4476
  view_responses: view_responses$2,
4476
- download_csv: download_csv$2,
4477
+ "download.csv": "تنزيل ملف CSV",
4477
4478
  create_new_survey: create_new_survey$2,
4478
4479
  go_to_individual_survey_responses: go_to_individual_survey_responses$2,
4479
4480
  you_can_only_select_number_kpis_at_a_time: you_can_only_select_number_kpis_at_a_time$2,
@@ -4549,6 +4550,15 @@ var DATE_MIN_VALUE = "0001-01-01T00:00:00";
4549
4550
  var LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
4550
4551
  var BASE_URL = function () {
4551
4552
  var windowUrl = window.location.href;
4553
+
4554
+ if (windowUrl.includes("stage.marioforme.com")) {
4555
+ return windowUrl.split("//")[0] + "//stage-api.marioforme.com";
4556
+ }
4557
+
4558
+ if (windowUrl.includes("stage2.marioforme.com")) {
4559
+ return windowUrl.split("//")[0] + "//stage2-api.marioforme.com";
4560
+ }
4561
+
4552
4562
  var url = windowUrl.split("//")[0] + "//" + windowUrl.split("//")[1].split("/")[0];
4553
4563
  return url;
4554
4564
  }();
@@ -24273,8 +24283,15 @@ var TheLayout = function TheLayout(_ref) {
24273
24283
  }, [user, language]);
24274
24284
  var authNavigations = React.useMemo(function () {
24275
24285
  return navigation.map(function (item) {
24286
+ var _item$_children, _item$_children2;
24287
+
24276
24288
  return _extends({}, item, {
24277
- name: t(item.name)
24289
+ name: t(item.name),
24290
+ _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) {
24291
+ return _extends({}, x, {
24292
+ name: t(x.name)
24293
+ });
24294
+ }) : undefined
24278
24295
  });
24279
24296
  }).filter(function (nav) {
24280
24297
  return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
@@ -24659,7 +24676,7 @@ var useEmailTemplateList = function useEmailTemplateList() {
24659
24676
  };
24660
24677
  };
24661
24678
 
24662
- var header = "Email template";
24679
+ var header = "email_template";
24663
24680
 
24664
24681
  var EmailTemplateList = function EmailTemplateList() {
24665
24682
  var _useEmailTemplateList = useEmailTemplateList(),
@@ -24671,6 +24688,9 @@ var EmailTemplateList = function EmailTemplateList() {
24671
24688
  goToDetail = _useEmailTemplateList.goToDetail,
24672
24689
  mailCategoryList = _useEmailTemplateList.mailCategoryList;
24673
24690
 
24691
+ var _useTranslation = reactI18next.useTranslation(),
24692
+ t = _useTranslation.t;
24693
+
24674
24694
  var onRemove = function onRemove(id) {
24675
24695
  removeData(id);
24676
24696
  };
@@ -24679,7 +24699,7 @@ var EmailTemplateList = function EmailTemplateList() {
24679
24699
  className: "fadeIn animated"
24680
24700
  }, React__default.createElement("h5", {
24681
24701
  className: "mb-2"
24682
- }, header), React__default.createElement(reactstrap.Row, {
24702
+ }, t(header)), React__default.createElement(reactstrap.Row, {
24683
24703
  className: "my-2"
24684
24704
  }, React__default.createElement(reactstrap.Col, {
24685
24705
  md: 4
@@ -24784,6 +24804,10 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
24784
24804
  var confirmText = _ref.confirmText,
24785
24805
  onConfirm = _ref.onConfirm,
24786
24806
  onCancel = _ref.onCancel;
24807
+
24808
+ var _useTranslation = reactI18next.useTranslation(),
24809
+ t = _useTranslation.t;
24810
+
24787
24811
  return React__default.createElement(reactstrap.Row, {
24788
24812
  form: true,
24789
24813
  style: style$1
@@ -24798,7 +24822,7 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
24798
24822
  size: "sm",
24799
24823
  className: "px-4 mr-2 ml-2",
24800
24824
  onClick: onCancel
24801
- }, "Cancel")));
24825
+ }, t("cancel"))));
24802
24826
  };
24803
24827
 
24804
24828
  var AddButtonIcon = function AddButtonIcon(_ref) {
@@ -25576,6 +25600,9 @@ var CommonModal = function CommonModal(props, ref) {
25576
25600
 
25577
25601
  var dispatch = reactRedux.useDispatch();
25578
25602
 
25603
+ var _useTranslation = reactI18next.useTranslation(),
25604
+ t = _useTranslation.t;
25605
+
25579
25606
  var showEditedWarningModal = function showEditedWarningModal(cb) {
25580
25607
  try {
25581
25608
  dispatch(setModal({
@@ -25644,9 +25671,9 @@ var CommonModal = function CommonModal(props, ref) {
25644
25671
  }, onConfirm && React__default.createElement(reactstrap.Button, {
25645
25672
  color: "primary",
25646
25673
  onClick: onConfirm
25647
- }, confirmText || "Confirm"), React__default.createElement(reactstrap.Button, {
25674
+ }, confirmText || t("confirm")), React__default.createElement(reactstrap.Button, {
25648
25675
  onClick: cancel
25649
- }, cancelText || "Cancel")));
25676
+ }, cancelText || t("cancel"))));
25650
25677
  };
25651
25678
 
25652
25679
  var CommonModal$1 = React.forwardRef(CommonModal);
@@ -27754,7 +27781,7 @@ var buttonTextStyle$2 = {
27754
27781
  var buttonStyle$2 = {
27755
27782
  height: 38
27756
27783
  };
27757
- var header$2 = "User";
27784
+ var header$2 = "user";
27758
27785
 
27759
27786
  var UserList = function UserList() {
27760
27787
  var _useUserList = useUserList(),
@@ -28635,7 +28662,7 @@ var AssignStudentList = function AssignStudentList() {
28635
28662
  onClick: function onClick() {
28636
28663
  return handelSort(UserOrder.Name);
28637
28664
  }
28638
- }, "Student Name", filters.sortBy === UserOrder.Name && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
28665
+ }, t("student_name"), filters.sortBy === UserOrder.Name && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
28639
28666
  className: "ml-1"
28640
28667
  }) : React__default.createElement(ai.AiOutlineSortAscending, {
28641
28668
  className: "ml-1"
@@ -28644,7 +28671,7 @@ var AssignStudentList = function AssignStudentList() {
28644
28671
  onClick: function onClick() {
28645
28672
  return handelSort(UserOrder.Email);
28646
28673
  }
28647
- }, "Student Email", filters.sortBy === UserOrder.Email && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
28674
+ }, t("student_email"), filters.sortBy === UserOrder.Email && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
28648
28675
  className: "ml-1"
28649
28676
  }) : React__default.createElement(ai.AiOutlineSortAscending, {
28650
28677
  className: "ml-1"
@@ -29727,6 +29754,10 @@ var NotificationModal = function NotificationModal() {
29727
29754
  var modal = reactRedux.useSelector(function (state) {
29728
29755
  return state.common.modal;
29729
29756
  });
29757
+
29758
+ var _useTranslation = reactI18next.useTranslation(),
29759
+ t = _useTranslation.t;
29760
+
29730
29761
  var isOpen = modal.isOpen,
29731
29762
  type = modal.type,
29732
29763
  message = modal.message,
@@ -29756,10 +29787,10 @@ var NotificationModal = function NotificationModal() {
29756
29787
  }, modalInfo(type).header), React__default.createElement(reactstrap.ModalBody, null, message), React__default.createElement(reactstrap.ModalFooter, null, onConfirm && React__default.createElement(reactstrap.Button, {
29757
29788
  color: type,
29758
29789
  onClick: confirm
29759
- }, "Confirm"), React__default.createElement(reactstrap.Button, {
29790
+ }, t("confirm")), React__default.createElement(reactstrap.Button, {
29760
29791
  color: "secondary",
29761
29792
  onClick: toggle
29762
- }, "Cancel")));
29793
+ }, t("cancel"))));
29763
29794
  };
29764
29795
 
29765
29796
  var headerStyle = {
@@ -31384,18 +31415,22 @@ var MediaDetail = function MediaDetail(_ref) {
31384
31415
 
31385
31416
  var MediaDetail$1 = React__default.memo(MediaDetail);
31386
31417
 
31387
- var header$4 = "Gallery";
31418
+ var header$4 = "media_gallery";
31388
31419
 
31389
31420
  var GalleryList = function GalleryList(_ref) {
31390
31421
  var isLibrary = _ref.isLibrary;
31391
31422
  var targetMedia = reactRedux.useSelector(function (state) {
31392
31423
  return state.gallery.targetMedia;
31393
31424
  });
31425
+
31426
+ var _useTranslation = reactI18next.useTranslation(),
31427
+ t = _useTranslation.t;
31428
+
31394
31429
  return React__default.createElement("div", {
31395
31430
  className: "fadeIn animated"
31396
31431
  }, !isLibrary && React__default.createElement("h5", {
31397
31432
  className: "mb-2"
31398
- }, header$4), React__default.createElement(reactstrap.Row, {
31433
+ }, t(header$4)), React__default.createElement(reactstrap.Row, {
31399
31434
  className: "mb-2"
31400
31435
  }, React__default.createElement(reactstrap.Col, {
31401
31436
  md: 8