From da71fb2c23e8f764fa9271861adadb270e67862c Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Thu, 31 Oct 2024 11:21:42 +0100 Subject: [PATCH 01/25] chore: added some german translations --- lms/locale/de.po | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/lms/locale/de.po b/lms/locale/de.po index a82ab4863..6209bc090 100644 --- a/lms/locale/de.po +++ b/lms/locale/de.po @@ -2625,12 +2625,12 @@ msgstr "Verknüpfungen" #: frontend/src/pages/Quizzes.vue:131 msgid "List of quizzes" -msgstr "" +msgstr "Quizliste" #. Option for the 'Status' (Select) field in DocType 'Cohort' #: lms/lms/doctype/cohort/cohort.json msgid "Live" -msgstr "" +msgstr "Live" #. Label of the show_live_class (Check) field in DocType 'LMS Settings' #: frontend/src/components/LiveClass.vue:4 @@ -2731,7 +2731,7 @@ msgstr "Als gelesen markieren" #: lms/lms/doctype/lms_quiz_result/lms_quiz_result.json #: lms/templates/quiz/quiz.html:59 msgid "Marks" -msgstr "" +msgstr "Markierungen" #: lms/lms/doctype/lms_quiz_submission/lms_quiz_submission.py:19 msgid "Marks for question number {0} cannot be greater than the marks allotted for that question." @@ -2750,7 +2750,7 @@ msgstr "Max. Versuche" #: frontend/src/pages/QuizForm.vue:57 msgid "Maximun Attempts" -msgstr "" +msgstr "Maximale Versuche" #. Label of the medium (Select) field in DocType 'LMS Batch' #: frontend/src/pages/BatchForm.vue:174 @@ -2841,7 +2841,7 @@ msgstr "" #. Label of the member_type (Select) field in DocType 'LMS Enrollment' #: lms/lms/doctype/lms_enrollment/lms_enrollment.json msgid "Member Type" -msgstr "" +msgstr "Mitgliedstyp" #. Group in LMS Batch Old's connections #: lms/lms/doctype/lms_batch_old/lms_batch_old.json @@ -2851,12 +2851,12 @@ msgstr "Mitglieder" #. Label of the membership (Select) field in DocType 'LMS Batch Old' #: lms/lms/doctype/lms_batch_old/lms_batch_old.json msgid "Membership" -msgstr "" +msgstr "Mitgliedschaft" #. Label of the member_username (Data) field in DocType 'LMS Enrollment' #: lms/lms/doctype/lms_enrollment/lms_enrollment.json msgid "Memeber Username" -msgstr "" +msgstr "Benutzername des Mitglieds" #. Option for the 'Required Role' (Select) field in DocType 'Cohort Web Page' #. Label of the mentor (Link) field in DocType 'LMS Course Mentor Mapping' @@ -2898,7 +2898,7 @@ msgstr "" #. Group in LMS Course's connections #: lms/lms/doctype/lms_course/lms_course.json msgid "Mentors" -msgstr "" +msgstr "Mentoren" #. Label of the meta_image (Attach Image) field in DocType 'LMS Batch' #: frontend/src/pages/BatchForm.vue:53 lms/lms/doctype/lms_batch/lms_batch.json @@ -2913,7 +2913,7 @@ msgstr "Ecktermin" #: frontend/src/pages/Statistics.vue:71 msgid "Milestones" -msgstr "" +msgstr "Meilensteine" #. Name of a role #: frontend/src/pages/ProfileRoles.vue:10 @@ -2931,7 +2931,7 @@ msgstr "" #: lms/lms/doctype/lms_source/lms_source.json #: lms/lms/doctype/lms_timetable_template/lms_timetable_template.json msgid "Moderator" -msgstr "" +msgstr "Moderator" #: lms/lms/doctype/lms_badge/lms_badge.js:40 msgid "Modified By" @@ -2939,11 +2939,11 @@ msgstr "Geändert von" #: lms/lms/api.py:190 msgid "Module Name is incorrect or does not exist." -msgstr "" +msgstr "Modulname ist inkorrekt oder existiert nicht." #: lms/lms/api.py:186 msgid "Module is incorrect." -msgstr "" +msgstr "Modul ist inkorrekt." #. Option for the 'Day' (Select) field in DocType 'Evaluator Schedule' #. Option for the 'Day' (Select) field in DocType 'LMS Certificate Request' @@ -2959,7 +2959,7 @@ msgstr "Weiter" #. Label of the multiple (Check) field in DocType 'LMS Question' #: lms/lms/doctype/lms_question/lms_question.json msgid "Multiple Correct Answers" -msgstr "" +msgstr "Mehrere richtige Antworten" #: frontend/src/pages/ProfileEvaluator.vue:4 msgid "My availability" @@ -2997,12 +2997,12 @@ msgstr "" #: frontend/src/pages/QuizForm.vue:122 msgid "New Question" -msgstr "" +msgstr "Neue Frage" #: frontend/src/pages/QuizForm.vue:453 frontend/src/pages/QuizForm.vue:461 #: frontend/src/pages/Quizzes.vue:18 msgid "New Quiz" -msgstr "" +msgstr "Neues Quiz" #: lms/www/new-sign-up.html:3 msgid "New Sign Up" @@ -3031,7 +3031,7 @@ msgstr "Nächste Frage" #: frontend/src/components/Assessments.vue:63 lms/templates/assessments.html:58 msgid "No Assessments" -msgstr "" +msgstr "Keine Prüfungen" #: lms/templates/notifications.html:26 msgid "No Notifications" @@ -3180,7 +3180,7 @@ msgstr "Es werden nur Dateien vom Typ {0} akzeptiert." #: frontend/src/pages/CourseForm.vue:449 frontend/src/utils/index.js:509 msgid "Only image file is allowed." -msgstr "" +msgstr "Nur Bilddateien erlaubt." #. Option for the 'Status' (Select) field in DocType 'Job Opportunity' #. Option for the 'Membership' (Select) field in DocType 'LMS Batch Old' @@ -3246,7 +3246,7 @@ msgstr "" #: frontend/src/pages/JobDetail.vue:76 msgid "Organisation" -msgstr "" +msgstr "Organisation" #. Label of the organization (Data) field in DocType 'Certification' #: lms/lms/doctype/certification/certification.json @@ -4033,20 +4033,20 @@ msgstr "" #: frontend/src/components/BatchCard.vue:16 #: frontend/src/components/BatchOverlay.vue:9 msgid "Seat Left" -msgstr "" +msgstr "Platz übrig" #: frontend/src/components/BatchCard.vue:15 #: frontend/src/components/BatchOverlay.vue:8 msgid "Seats Left" -msgstr "" +msgstr "Plätze übrig" #: frontend/src/components/Modals/Question.vue:91 msgid "Select a question" -msgstr "" +msgstr "Wähle eine Frage" #: frontend/src/components/QuizPlugin.vue:17 msgid "Select a quiz" -msgstr "" +msgstr "Wähle ein Quiz" #: frontend/src/components/Modals/EvaluationModal.vue:32 msgid "Select a slot" @@ -4075,7 +4075,7 @@ msgstr "Einstellungen" #: frontend/src/pages/ProfileAbout.vue:62 msgid "Share on" -msgstr "" +msgstr "Teilen auf" #. Label of the short_introduction (Small Text) field in DocType 'LMS Course' #: frontend/src/pages/CourseForm.vue:29 From 6021f15bac8f58f5d76d137a325761a8a0150a19 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:59:42 +0530 Subject: [PATCH 02/25] chore: Turkish translations --- lms/locale/tr.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/locale/tr.po b/lms/locale/tr.po index 302dbc74b..7bc51923a 100644 --- a/lms/locale/tr.po +++ b/lms/locale/tr.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2024-10-18 16:04+0000\n" -"PO-Revision-Date: 2024-10-26 11:24\n" +"PO-Revision-Date: 2024-10-31 13:29\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Turkish\n" "MIME-Version: 1.0\n" @@ -464,14 +464,14 @@ msgstr "Toplu İş Oluşturuldu" #. Old' #: lms/lms/doctype/lms_batch_old/lms_batch_old.json msgid "Batch Description" -msgstr "Bölüm Açıklaması" +msgstr "" #. Label of the batch_details (Text Editor) field in DocType 'LMS Batch' #: frontend/src/pages/BatchForm.vue:89 lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:349 #: lms/templates/emails/batch_confirmation.html:30 msgid "Batch Details" -msgstr "Batch Ayrıntıları" +msgstr "" #. Label of the batch_details_raw (HTML Editor) field in DocType 'LMS Batch' #: lms/lms/doctype/lms_batch/lms_batch.json @@ -2089,7 +2089,7 @@ msgstr "Resim: Bozuk Veri Akışı" #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json #: lms/lms/doctype/lms_course/lms_course.json msgid "In Progress" -msgstr "Devam Ediyor" +msgstr "İşlemde" #. Option for the 'Status' (Select) field in DocType 'LMS Batch Old' #: lms/lms/doctype/lms_batch_old/lms_batch_old.json From 373f3df196bae177c439d33f557c588a57e0e4d9 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:00:24 +0530 Subject: [PATCH 03/25] chore: Turkish translations --- lms/locale/tr.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/tr.po b/lms/locale/tr.po index 7bc51923a..feeac2e77 100644 --- a/lms/locale/tr.po +++ b/lms/locale/tr.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2024-10-18 16:04+0000\n" -"PO-Revision-Date: 2024-10-31 13:29\n" +"PO-Revision-Date: 2024-11-01 13:30\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Turkish\n" "MIME-Version: 1.0\n" @@ -2679,7 +2679,7 @@ msgstr "Giriş" #: frontend/src/pages/JobDetail.vue:48 msgid "Login to apply" -msgstr "" +msgstr "Başvurmak için giriş yapın" #. Label of the default_home (Check) field in DocType 'LMS Settings' #: lms/lms/doctype/lms_settings/lms_settings.json From 82bb45a9ef553c52e74128114d6484031d1af378 Mon Sep 17 00:00:00 2001 From: frappe-pr-bot Date: Fri, 1 Nov 2024 16:04:24 +0000 Subject: [PATCH 04/25] chore: update POT file --- lms/locale/main.pot | 232 ++++++++++++++++++++++++++++++-------------- 1 file changed, 159 insertions(+), 73 deletions(-) diff --git a/lms/locale/main.pot b/lms/locale/main.pot index 8723d831c..bf6a35343 100644 --- a/lms/locale/main.pot +++ b/lms/locale/main.pot @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Frappe LMS VERSION\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" -"POT-Creation-Date: 2024-10-18 16:04+0000\n" -"PO-Revision-Date: 2024-10-18 16:04+0000\n" +"POT-Creation-Date: 2024-11-01 16:04+0000\n" +"PO-Revision-Date: 2024-11-01 16:04+0000\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: jannat@frappe.io\n" "MIME-Version: 1.0\n" @@ -60,6 +60,10 @@ msgstr "" msgid "Statistics" msgstr "" +#: frontend/src/pages/CourseForm.vue:32 +msgid "A one line introduction to the course that appears on the course card" +msgstr "" + #: frontend/src/pages/ProfileAbout.vue:4 msgid "About" msgstr "" @@ -100,7 +104,6 @@ msgstr "" #: frontend/src/components/CourseOutline.vue:11 #: frontend/src/components/CreateOutline.vue:18 #: frontend/src/components/Modals/ChapterModal.vue:5 -#: frontend/src/components/Modals/ChapterModal.vue:9 msgid "Add Chapter" msgstr "" @@ -223,7 +226,7 @@ msgstr "" #. Label of the amount (Currency) field in DocType 'Web Form' #. Label of the amount (Currency) field in DocType 'LMS Batch' #. Label of the amount (Currency) field in DocType 'LMS Payment' -#: frontend/src/pages/BatchForm.vue:198 lms/fixtures/custom_field.json +#: frontend/src/pages/BatchForm.vue:208 lms/fixtures/custom_field.json #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_payment/lms_payment.json #: lms/public/js/common_functions.js:379 @@ -267,6 +270,14 @@ msgstr "" msgid "Answer" msgstr "" +#: frontend/src/pages/CourseForm.vue:76 frontend/src/pages/CourseForm.vue:94 +msgid "Appears on the course card in the course list" +msgstr "" + +#: frontend/src/pages/BatchForm.vue:55 frontend/src/pages/BatchForm.vue:73 +msgid "Appears when the batch URL is shared on any online platform" +msgstr "" + #: frontend/src/pages/JobDetail.vue:131 msgid "Applications Received" msgstr "" @@ -465,7 +476,7 @@ msgid "Batch Description" msgstr "" #. Label of the batch_details (Text Editor) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:89 lms/lms/doctype/lms_batch/lms_batch.json +#: frontend/src/pages/BatchForm.vue:97 lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:349 #: lms/templates/emails/batch_confirmation.html:30 msgid "Batch Details" @@ -632,8 +643,8 @@ msgstr "" #. Label of the category (Link) field in DocType 'LMS Batch' #. Label of the category (Data) field in DocType 'LMS Category' #. Label of the category (Link) field in DocType 'LMS Course' -#: frontend/src/pages/BatchForm.vue:179 frontend/src/pages/Batches.vue:16 -#: frontend/src/pages/CourseForm.vue:116 frontend/src/pages/Courses.vue:17 +#: frontend/src/pages/BatchForm.vue:189 frontend/src/pages/Batches.vue:16 +#: frontend/src/pages/CourseForm.vue:139 frontend/src/pages/Courses.vue:17 #: frontend/src/pages/JobDetail.vue:102 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_category/lms_category.json @@ -934,7 +945,7 @@ msgstr "" msgid "Completed" msgstr "" -#: frontend/src/pages/CourseForm.vue:168 +#: frontend/src/pages/CourseForm.vue:192 msgid "Completion Certificate" msgstr "" @@ -984,7 +995,7 @@ msgstr "" msgid "Contract" msgstr "" -#: lms/lms/utils.py:423 +#: lms/lms/utils.py:442 msgid "Cookie Policy" msgstr "" @@ -1105,7 +1116,7 @@ msgstr "" msgid "Course Data" msgstr "" -#: frontend/src/pages/CourseForm.vue:34 +#: frontend/src/pages/CourseForm.vue:41 msgid "Course Description" msgstr "" @@ -1114,7 +1125,7 @@ msgstr "" msgid "Course Evaluator" msgstr "" -#: frontend/src/pages/CourseForm.vue:64 +#: frontend/src/pages/CourseForm.vue:54 msgid "Course Image" msgstr "" @@ -1137,7 +1148,7 @@ msgid "Course Name" msgstr "" #. Label of the course_price (Currency) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:186 +#: frontend/src/pages/CourseForm.vue:210 #: lms/lms/doctype/lms_course/lms_course.json msgid "Course Price" msgstr "" @@ -1170,7 +1181,7 @@ msgstr "" msgid "Course already added to the batch." msgstr "" -#: frontend/src/pages/CourseForm.vue:433 +#: frontend/src/pages/CourseForm.vue:457 msgid "Course price and currency are mandatory for paid courses" msgstr "" @@ -1208,6 +1219,10 @@ msgstr "" msgid "Cover Image" msgstr "" +#: frontend/src/components/Modals/ChapterModal.vue:9 +msgid "Create" +msgstr "" + #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.js:7 msgid "Create LMS Certificate" msgstr "" @@ -1216,7 +1231,11 @@ msgstr "" msgid "Create LMS Certificate Evaluation" msgstr "" -#: lms/templates/onboarding_header.html:19 +#: frontend/src/pages/Batches.vue:110 +msgid "Create a Batch" +msgstr "" + +#: frontend/src/pages/Courses.vue:131 lms/templates/onboarding_header.html:19 msgid "Create a Course" msgstr "" @@ -1232,7 +1251,7 @@ msgstr "" #. Label of the currency (Link) field in DocType 'LMS Batch' #. Label of the currency (Link) field in DocType 'LMS Course' #. Label of the currency (Link) field in DocType 'LMS Payment' -#: frontend/src/pages/BatchForm.vue:206 frontend/src/pages/CourseForm.vue:193 +#: frontend/src/pages/BatchForm.vue:216 frontend/src/pages/CourseForm.vue:217 #: lms/fixtures/custom_field.json lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_payment/lms_payment.json @@ -1290,7 +1309,7 @@ msgstr "" #. Label of the section_break_glxh (Section Break) field in DocType 'LMS Live #. Class' -#: frontend/src/pages/BatchForm.vue:102 +#: frontend/src/pages/BatchForm.vue:110 #: lms/lms/doctype/lms_live_class/lms_live_class.json msgid "Date and Time" msgstr "" @@ -1338,7 +1357,6 @@ msgstr "" #. Label of the description (Markdown Editor) field in DocType 'Cohort' #. Label of the description (Markdown Editor) field in DocType 'Cohort #. Subgroup' -#. Label of the description (Small Text) field in DocType 'Course Chapter' #. Label of the description (Small Text) field in DocType 'LMS Badge' #. Label of the description (Small Text) field in DocType 'LMS Batch' #. Label of the description (Markdown Editor) field in DocType 'LMS Batch Old' @@ -1347,12 +1365,11 @@ msgstr "" #. Label of the description (Text) field in DocType 'LMS Live Class' #. Label of the description (Small Text) field in DocType 'Work Experience' #: frontend/src/components/Modals/LiveClassModal.vue:73 -#: frontend/src/pages/BatchForm.vue:83 frontend/src/pages/JobCreation.vue:43 +#: frontend/src/pages/BatchForm.vue:90 frontend/src/pages/JobCreation.vue:43 #: lms/job/doctype/job_opportunity/job_opportunity.json #: lms/lms/doctype/certification/certification.json #: lms/lms/doctype/cohort/cohort.json #: lms/lms/doctype/cohort_subgroup/cohort_subgroup.json -#: lms/lms/doctype/course_chapter/course_chapter.json #: lms/lms/doctype/lms_badge/lms_badge.json #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_batch_old/lms_batch_old.json @@ -1374,7 +1391,7 @@ msgstr "" msgid "Details" msgstr "" -#: frontend/src/pages/CourseForm.vue:163 +#: frontend/src/pages/CourseForm.vue:187 msgid "Disable Self Enrollment" msgstr "" @@ -1449,13 +1466,14 @@ msgstr "" #: frontend/src/components/BatchOverlay.vue:93 #: frontend/src/components/CourseCardOverlay.vue:86 +#: frontend/src/components/Modals/ChapterModal.vue:9 #: frontend/src/pages/JobDetail.vue:31 frontend/src/pages/Lesson.vue:70 #: frontend/src/pages/Profile.vue:32 msgid "Edit" msgstr "" #: frontend/src/components/CourseOutline.vue:106 -#: frontend/src/components/Modals/ChapterModal.vue:9 +#: frontend/src/components/Modals/ChapterModal.vue:5 msgid "Edit Chapter" msgstr "" @@ -1531,7 +1549,7 @@ msgstr "" #. Label of the end_date (Date) field in DocType 'Cohort' #. Label of the end_date (Date) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:114 lms/lms/doctype/cohort/cohort.json +#: frontend/src/pages/BatchForm.vue:122 lms/lms/doctype/cohort/cohort.json #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:282 msgid "End Date" @@ -1549,7 +1567,7 @@ msgstr "" #. Label of the end_time (Time) field in DocType 'LMS Certificate Evaluation' #. Label of the end_time (Time) field in DocType 'LMS Certificate Request' #. Label of the end_time (Time) field in DocType 'Scheduled Flow' -#: frontend/src/pages/BatchForm.vue:128 +#: frontend/src/pages/BatchForm.vue:136 #: frontend/src/pages/ProfileEvaluator.vue:18 #: lms/lms/doctype/evaluator_schedule/evaluator_schedule.json #: lms/lms/doctype/lms_batch/lms_batch.json @@ -1585,13 +1603,15 @@ msgstr "" msgid "Enrollment Count" msgstr "" -#: lms/lms/utils.py:1683 +#: lms/lms/utils.py:1692 msgid "Enrollment Failed" msgstr "" +#. Label of the enrollments (Data) field in DocType 'LMS Course' #. Label of a chart in the LMS Workspace #. Label of a shortcut in the LMS Workspace -#: frontend/src/pages/Statistics.vue:45 lms/lms/workspace/lms/lms.json +#: frontend/src/pages/Statistics.vue:45 +#: lms/lms/doctype/lms_course/lms_course.json lms/lms/workspace/lms/lms.json msgid "Enrollments" msgstr "" @@ -1633,7 +1653,7 @@ msgid "Evaluation Details" msgstr "" #. Label of the evaluation_end_date (Date) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:155 +#: frontend/src/pages/BatchForm.vue:165 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:333 msgid "Evaluation End Date" @@ -1695,6 +1715,10 @@ msgstr "" msgid "Event" msgstr "" +#: frontend/src/pages/BatchForm.vue:144 +msgid "Example: IST (+5:30)" +msgstr "" + #. Label of the exercise (Link) field in DocType 'Exercise Latest Submission' #. Label of the exercise (Link) field in DocType 'Exercise Submission' #: lms/lms/doctype/exercise_latest_submission/exercise_latest_submission.json @@ -1765,7 +1789,7 @@ msgstr "" #. Label of the featured (Check) field in DocType 'LMS Course' #: frontend/src/components/CourseCard.vue:16 -#: frontend/src/pages/CourseForm.vue:156 +#: frontend/src/pages/CourseForm.vue:180 #: lms/lms/doctype/lms_course/lms_course.json msgid "Featured" msgstr "" @@ -2028,6 +2052,10 @@ msgstr "" msgid "Icon" msgstr "" +#: frontend/src/components/LessonHelp.vue:68 +msgid "If Include in Preview is enabled for a lesson then the lesson will also be accessible to non logged in users." +msgstr "" + #: lms/templates/emails/mentor_request_creation_email.html:5 msgid "If you are not any more interested to mentor the course" msgstr "" @@ -2164,7 +2192,7 @@ msgstr "" #. Label of the instructors (Table MultiSelect) field in DocType 'LMS Batch' #. Label of the instructors (Table MultiSelect) field in DocType 'LMS Course' -#: frontend/src/pages/BatchForm.vue:77 frontend/src/pages/CourseForm.vue:123 +#: frontend/src/pages/BatchForm.vue:85 frontend/src/pages/CourseForm.vue:146 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json msgid "Instructors" @@ -2309,7 +2337,7 @@ msgstr "" msgid "Jobs" msgstr "" -#: frontend/src/components/LiveClass.vue:53 +#: frontend/src/components/LiveClass.vue:54 #: lms/templates/upcoming_evals.html:15 msgid "Join" msgstr "" @@ -2323,6 +2351,10 @@ msgstr "" msgid "Join URL" msgstr "" +#: frontend/src/pages/CourseForm.vue:128 +msgid "Keywords for the course" +msgstr "" + #. Name of a Workspace #: lms/lms/workspace/lms/lms.json msgid "LMS" @@ -2576,9 +2608,11 @@ msgstr "" #. Label of the lessons (Table) field in DocType 'Course Chapter' #. Group in Course Chapter's connections +#. Label of the lessons (Data) field in DocType 'LMS Course' #: frontend/src/components/CourseCard.vue:34 #: frontend/src/components/CourseCardOverlay.vue:96 #: lms/lms/doctype/course_chapter/course_chapter.json +#: lms/lms/doctype/lms_course/lms_course.json msgid "Lessons" msgstr "" @@ -2751,7 +2785,7 @@ msgid "Maximun Attempts" msgstr "" #. Label of the medium (Select) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:174 +#: frontend/src/pages/BatchForm.vue:184 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:309 msgid "Medium" @@ -2899,7 +2933,7 @@ msgid "Mentors" msgstr "" #. Label of the meta_image (Attach Image) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:53 lms/lms/doctype/lms_batch/lms_batch.json +#: frontend/src/pages/BatchForm.vue:36 lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:362 msgid "Meta Image" msgstr "" @@ -2935,11 +2969,11 @@ msgstr "" msgid "Modified By" msgstr "" -#: lms/lms/api.py:190 +#: lms/lms/api.py:191 msgid "Module Name is incorrect or does not exist." msgstr "" -#: lms/lms/api.py:186 +#: lms/lms/api.py:187 msgid "Module is incorrect." msgstr "" @@ -3006,11 +3040,11 @@ msgstr "" msgid "New Sign Up" msgstr "" -#: lms/lms/utils.py:613 +#: lms/lms/utils.py:632 msgid "New comment in batch {0}" msgstr "" -#: lms/lms/utils.py:606 +#: lms/lms/utils.py:625 msgid "New reply on the topic {0} in course {1}" msgstr "" @@ -3048,6 +3082,10 @@ msgstr "" msgid "No announcements" msgstr "" +#: frontend/src/pages/Batches.vue:125 +msgid "No batches found" +msgstr "" + #: lms/templates/certificates_section.html:23 msgid "No certificates" msgstr "" @@ -3056,6 +3094,10 @@ msgstr "" msgid "No courses created" msgstr "" +#: frontend/src/pages/Courses.vue:146 +msgid "No courses found" +msgstr "" + #: lms/templates/courses_under_review.html:14 msgid "No courses under review" msgstr "" @@ -3068,7 +3110,7 @@ msgstr "" msgid "No jobs posted" msgstr "" -#: frontend/src/components/LiveClass.vue:59 +#: frontend/src/components/LiveClass.vue:60 msgid "No live classes scheduled" msgstr "" @@ -3084,12 +3126,12 @@ msgstr "" msgid "No {0}" msgstr "" -#: frontend/src/pages/Batches.vue:88 -msgid "No {0} batches found" +#: frontend/src/pages/Batches.vue:84 +msgid "No {0} batches" msgstr "" -#: frontend/src/pages/Courses.vue:110 -msgid "No {0} courses found" +#: frontend/src/pages/Courses.vue:106 +msgid "No {0} courses" msgstr "" #: lms/templates/quiz/quiz.html:147 @@ -3144,6 +3186,10 @@ msgstr "" msgid "Notify me when available" msgstr "" +#: frontend/src/pages/BatchForm.vue:161 +msgid "Number of seats available" +msgstr "" + #. Label of the sb_00 (Section Break) field in DocType 'Zoom Settings' #: lms/lms/doctype/zoom_settings/zoom_settings.json msgid "OAuth Client ID" @@ -3176,7 +3222,7 @@ msgstr "" msgid "Only files of type {0} will be accepted." msgstr "" -#: frontend/src/pages/CourseForm.vue:449 frontend/src/utils/index.js:509 +#: frontend/src/pages/CourseForm.vue:473 frontend/src/utils/index.js:518 msgid "Only image file is allowed." msgstr "" @@ -3284,14 +3330,14 @@ msgid "Pages" msgstr "" #. Label of the paid_batch (Check) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:194 +#: frontend/src/pages/BatchForm.vue:204 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:373 msgid "Paid Batch" msgstr "" #. Label of the paid_course (Check) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:181 +#: frontend/src/pages/CourseForm.vue:205 #: lms/lms/doctype/lms_course/lms_course.json msgid "Paid Course" msgstr "" @@ -3333,9 +3379,13 @@ msgstr "" msgid "Password" msgstr "" +#: frontend/src/pages/CourseForm.vue:104 +msgid "Paste the youtube link of a short video introducing the course" +msgstr "" + #. Label of the payment (Link) field in DocType 'Batch Student' #. Label of the payment (Link) field in DocType 'LMS Enrollment' -#: frontend/src/pages/BatchForm.vue:188 +#: frontend/src/pages/BatchForm.vue:198 #: lms/lms/doctype/batch_student/batch_student.json #: lms/lms/doctype/lms_enrollment/lms_enrollment.json msgid "Payment" @@ -3427,7 +3477,7 @@ msgstr "" msgid "Phone Number" msgstr "" -#: frontend/src/components/CourseCardOverlay.vue:143 +#: frontend/src/components/CourseCardOverlay.vue:141 msgid "Please Login" msgstr "" @@ -3488,7 +3538,7 @@ msgstr "" msgid "Please login to access this page." msgstr "" -#: lms/lms/api.py:182 +#: lms/lms/api.py:183 msgid "Please login to continue with payment." msgstr "" @@ -3578,7 +3628,7 @@ msgstr "" msgid "Preview Image" msgstr "" -#: frontend/src/pages/CourseForm.vue:86 +#: frontend/src/pages/CourseForm.vue:102 msgid "Preview Video" msgstr "" @@ -3588,7 +3638,7 @@ msgstr "" #. Label of the pricing_tab (Tab Break) field in DocType 'LMS Batch' #. Label of the pricing_tab (Tab Break) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:175 +#: frontend/src/pages/CourseForm.vue:199 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/public/js/common_functions.js:368 @@ -3606,7 +3656,7 @@ msgstr "" msgid "Primary Subgroup" msgstr "" -#: lms/lms/utils.py:422 +#: lms/lms/utils.py:441 msgid "Privacy Policy" msgstr "" @@ -3658,7 +3708,7 @@ msgstr "" #. Label of the published (Check) field in DocType 'LMS Batch' #. Label of the published (Check) field in DocType 'LMS Course' #: frontend/src/components/Modals/Event.vue:108 -#: frontend/src/pages/BatchForm.vue:24 frontend/src/pages/CourseForm.vue:138 +#: frontend/src/pages/BatchForm.vue:24 frontend/src/pages/CourseForm.vue:162 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/public/js/common_functions.js:266 @@ -3671,7 +3721,7 @@ msgid "Published Courses" msgstr "" #. Label of the published_on (Date) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:142 +#: frontend/src/pages/CourseForm.vue:166 #: lms/lms/doctype/lms_course/lms_course.json msgid "Published On" msgstr "" @@ -3792,11 +3842,13 @@ msgid "Quizzes" msgstr "" #. Label of the rating (Rating) field in DocType 'LMS Certificate Evaluation' +#. Label of the rating (Data) field in DocType 'LMS Course' #. Label of the rating (Rating) field in DocType 'LMS Course Review' -#: frontend/src/components/CourseCardOverlay.vue:109 +#: frontend/src/components/CourseCardOverlay.vue:108 #: frontend/src/components/Modals/Event.vue:86 #: frontend/src/components/Modals/ReviewModal.vue:20 #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json +#: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_course_review/lms_course_review.json #: lms/templates/reviews.html:125 msgid "Rating" @@ -3867,6 +3919,10 @@ msgstr "" msgid "Related Courses" msgstr "" +#: frontend/src/pages/BatchForm.vue:69 frontend/src/pages/CourseForm.vue:91 +msgid "Remove" +msgstr "" + #: frontend/src/components/Modals/AnnouncementModal.vue:26 msgid "Reply To" msgstr "" @@ -4022,7 +4078,7 @@ msgid "Search for an icon" msgstr "" #. Label of the seat_count (Int) field in DocType 'LMS Batch' -#: frontend/src/pages/BatchForm.vue:149 +#: frontend/src/pages/BatchForm.vue:158 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/public/js/common_functions.js:327 msgid "Seat Count" @@ -4066,7 +4122,7 @@ msgid "Set your Password" msgstr "" #: frontend/src/components/Modals/Settings.vue:7 -#: frontend/src/pages/BatchForm.vue:143 frontend/src/pages/CourseForm.vue:128 +#: frontend/src/pages/BatchForm.vue:152 frontend/src/pages/CourseForm.vue:152 #: frontend/src/pages/ProfileRoles.vue:4 frontend/src/pages/QuizForm.vue:78 msgid "Settings" msgstr "" @@ -4076,11 +4132,15 @@ msgid "Share on" msgstr "" #. Label of the short_introduction (Small Text) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:29 +#: frontend/src/pages/CourseForm.vue:30 #: lms/lms/doctype/lms_course/lms_course.json msgid "Short Introduction" msgstr "" +#: frontend/src/pages/BatchForm.vue:93 +msgid "Short description of the batch" +msgstr "" + #. Label of the show_answer (Check) field in DocType 'LMS Assignment' #: lms/lms/doctype/lms_assignment/lms_assignment.json msgid "Show Answer" @@ -4233,7 +4293,7 @@ msgstr "" msgid "Stage" msgstr "" -#: frontend/src/components/LiveClass.vue:45 frontend/src/components/Quiz.vue:65 +#: frontend/src/components/LiveClass.vue:46 frontend/src/components/Quiz.vue:65 #: lms/templates/quiz/quiz.html:39 msgid "Start" msgstr "" @@ -4241,7 +4301,7 @@ msgstr "" #. Label of the start_date (Date) field in DocType 'Education Detail' #. Label of the start_date (Date) field in DocType 'LMS Batch' #. Label of the start_date (Date) field in DocType 'LMS Batch Old' -#: frontend/src/pages/BatchForm.vue:108 +#: frontend/src/pages/BatchForm.vue:116 #: lms/lms/doctype/education_detail/education_detail.json #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_batch_old/lms_batch_old.json @@ -4262,7 +4322,7 @@ msgstr "" #. Label of the start_time (Time) field in DocType 'LMS Certificate Evaluation' #. Label of the start_time (Time) field in DocType 'LMS Certificate Request' #. Label of the start_time (Time) field in DocType 'Scheduled Flow' -#: frontend/src/pages/BatchForm.vue:122 +#: frontend/src/pages/BatchForm.vue:130 #: frontend/src/pages/ProfileEvaluator.vue:15 #: lms/lms/doctype/evaluator_schedule/evaluator_schedule.json #: lms/lms/doctype/lms_batch/lms_batch.json @@ -4301,7 +4361,9 @@ msgstr "" msgid "State" msgstr "" +#. Label of the tab_4_tab (Tab Break) field in DocType 'LMS Course' #. Label of the statistics (Check) field in DocType 'LMS Settings' +#: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_settings/lms_settings.json lms/www/lms.py:133 msgid "Statistics" msgstr "" @@ -4431,7 +4493,7 @@ msgstr "" #: frontend/src/components/BatchCourses.vue:150 #: frontend/src/components/BatchOverlay.vue:135 #: frontend/src/components/BatchStudents.vue:157 -#: frontend/src/components/CourseCardOverlay.vue:163 +#: frontend/src/components/CourseCardOverlay.vue:161 #: frontend/src/components/Modals/AssessmentModal.vue:73 #: frontend/src/components/Modals/Event.vue:255 #: frontend/src/components/Modals/Event.vue:310 @@ -4505,7 +4567,7 @@ msgid "System Manager" msgstr "" #. Label of the tags (Data) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:91 +#: frontend/src/pages/CourseForm.vue:112 #: lms/lms/doctype/lms_course/lms_course.json msgid "Tags" msgstr "" @@ -4533,7 +4595,7 @@ msgstr "" msgid "Temporarily Disabled" msgstr "" -#: lms/lms/utils.py:421 +#: lms/lms/utils.py:440 msgid "Terms of Use" msgstr "" @@ -4585,10 +4647,18 @@ msgstr "" msgid "The status of your application has changed." msgstr "" +#: frontend/src/pages/Batches.vue:129 +msgid "There are no batches available at the moment. Keep an eye out, fresh learning experiences are on the way soon!" +msgstr "" + #: frontend/src/components/CreateOutline.vue:12 msgid "There are no chapters in this course. Create and manage chapters from here." msgstr "" +#: frontend/src/pages/Courses.vue:150 +msgid "There are no courses available at the moment. Keep an eye out, fresh learning experiences are on the way soon!" +msgstr "" + #: lms/lms/doctype/lms_batch/lms_batch.py:140 msgid "There are no seats available in this batch." msgstr "" @@ -4620,7 +4690,7 @@ msgstr "" msgid "This course has:" msgstr "" -#: lms/lms/utils.py:1563 +#: lms/lms/utils.py:1572 msgid "This course is free." msgstr "" @@ -4689,7 +4759,7 @@ msgstr "" #. Label of the timezone (Data) field in DocType 'LMS Certificate Request' #. Label of the timezone (Data) field in DocType 'LMS Live Class' #: frontend/src/components/Modals/LiveClassModal.vue:44 -#: frontend/src/pages/BatchForm.vue:134 +#: frontend/src/pages/BatchForm.vue:142 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json #: lms/lms/doctype/lms_live_class/lms_live_class.json @@ -4755,7 +4825,7 @@ msgstr "" msgid "To Date is mandatory in Work Experience." msgstr "" -#: lms/lms/utils.py:1574 +#: lms/lms/utils.py:1583 msgid "To join this batch, please contact the Administrator." msgstr "" @@ -4872,7 +4942,7 @@ msgstr "" #. Option for the 'Status' (Select) field in DocType 'Cohort' #. Label of the upcoming (Check) field in DocType 'LMS Course' -#: frontend/src/pages/CourseForm.vue:151 lms/lms/doctype/cohort/cohort.json +#: frontend/src/pages/CourseForm.vue:175 lms/lms/doctype/cohort/cohort.json #: lms/lms/doctype/lms_course/lms_course.json msgid "Upcoming" msgstr "" @@ -4896,6 +4966,10 @@ msgstr "" msgid "Update Password" msgstr "" +#: frontend/src/pages/BatchForm.vue:51 frontend/src/pages/CourseForm.vue:72 +msgid "Upload" +msgstr "" + #: frontend/src/pages/AssignmentSubmission.vue:69 msgid "Upload File" msgstr "" @@ -5018,6 +5092,10 @@ msgstr "" msgid "Welcome to {0}!" msgstr "" +#: frontend/src/components/LessonHelp.vue:63 +msgid "What does include in preview mean?" +msgstr "" + #: lms/templates/courses_under_review.html:15 msgid "When a course gets submitted for review, it will be listed here." msgstr "" @@ -5071,11 +5149,11 @@ msgstr "" msgid "You already have an evaluation on {0} at {1} for the course {2}." msgstr "" -#: lms/lms/api.py:206 +#: lms/lms/api.py:207 msgid "You are already enrolled for this batch." msgstr "" -#: lms/lms/api.py:198 +#: lms/lms/api.py:199 msgid "You are already enrolled for this course." msgstr "" @@ -5087,6 +5165,10 @@ msgstr "" msgid "You are not a mentor of the course {0}" msgstr "" +#: frontend/src/pages/Courses.vue:134 +msgid "You can add chapters and lessons to it." +msgstr "" + #: lms/templates/emails/lms_course_interest.html:13 #: lms/templates/emails/lms_invite_request_approved.html:11 msgid "You can also copy-paste following link in your browser" @@ -5104,6 +5186,10 @@ msgstr "" msgid "You can find their resume attached to this email." msgstr "" +#: frontend/src/pages/Batches.vue:113 +msgid "You can link courses and assessments to it." +msgstr "" + #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.py:115 msgid "You cannot schedule evaluations after {0}." msgstr "" @@ -5145,7 +5231,7 @@ msgstr "" msgid "You have been enrolled in this batch" msgstr "" -#: frontend/src/components/CourseCardOverlay.vue:164 +#: frontend/src/components/CourseCardOverlay.vue:162 msgid "You have been enrolled in this course" msgstr "" @@ -5157,7 +5243,7 @@ msgstr "" msgid "You haven't enrolled for any courses" msgstr "" -#: frontend/src/components/CourseCardOverlay.vue:144 +#: frontend/src/components/CourseCardOverlay.vue:142 msgid "You need to login first to enroll for this course" msgstr "" @@ -5275,7 +5361,7 @@ msgstr "" msgid "you can" msgstr "" -#: lms/lms/api.py:731 lms/lms/api.py:739 +#: lms/lms/api.py:732 lms/lms/api.py:740 msgid "{0} Settings not found" msgstr "" @@ -5311,7 +5397,7 @@ msgstr "" msgid "{0} is your evaluator" msgstr "" -#: lms/lms/utils.py:690 +#: lms/lms/utils.py:709 msgid "{0} mentioned you in a comment" msgstr "" @@ -5319,11 +5405,11 @@ msgstr "" msgid "{0} mentioned you in a comment in your batch." msgstr "" -#: lms/lms/utils.py:643 lms/lms/utils.py:649 +#: lms/lms/utils.py:662 lms/lms/utils.py:668 msgid "{0} mentioned you in a comment in {1}" msgstr "" -#: lms/lms/utils.py:461 +#: lms/lms/utils.py:480 msgid "{0}k" msgstr "" From 3c5b18411b9bbf636f68f91674a593e82a24b254 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Sun, 3 Nov 2024 20:08:50 +0530 Subject: [PATCH 05/25] chore: Swedish translations --- lms/locale/sv.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/locale/sv.po b/lms/locale/sv.po index 5e83d0f13..6ab4f72ec 100644 --- a/lms/locale/sv.po +++ b/lms/locale/sv.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2024-10-18 16:04+0000\n" -"PO-Revision-Date: 2024-10-26 11:24\n" +"PO-Revision-Date: 2024-11-03 14:38\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Swedish\n" "MIME-Version: 1.0\n" @@ -167,11 +167,11 @@ msgstr "Adress" #: frontend/src/pages/Billing.vue:79 msgid "Address Line 1" -msgstr "Co/Box" +msgstr "Adress Linje 1" #: frontend/src/pages/Billing.vue:83 msgid "Address Line 2" -msgstr "Gata och Nummer" +msgstr "Adress Linje 2" #. Option for the 'Role' (Select) field in DocType 'Cohort Staff' #. Option for the 'Required Role' (Select) field in DocType 'Cohort Web Page' From 634035fbc08d743531a577e796d4594079d12d28 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 4 Nov 2024 09:54:53 +0530 Subject: [PATCH 06/25] fix: misc issues --- frontend/src/components/Annoucements.vue | 25 ++++-------- frontend/src/components/LiveClass.vue | 2 +- .../components/Modals/AnnouncementModal.vue | 22 ++++------- frontend/src/pages/Batch.vue | 2 +- frontend/src/pages/CourseForm.vue | 7 +--- frontend/src/pages/Lesson.vue | 38 ++++++++++++++----- lms/lms/api.py | 21 ++++++++++ .../doctype/batch_student/batch_student.py | 14 ------- lms/lms/doctype/lms_batch/lms_batch.py | 22 +++++++++++ .../lms_live_class/lms_live_class.json | 20 +++++++--- .../doctype/lms_live_class/lms_live_class.py | 1 + lms/lms/doctype/lms_payment/lms_payment.json | 3 +- 12 files changed, 107 insertions(+), 70 deletions(-) diff --git a/frontend/src/components/Annoucements.vue b/frontend/src/components/Annoucements.vue index f075c7401..f762125c9 100644 --- a/frontend/src/components/Annoucements.vue +++ b/frontend/src/components/Annoucements.vue @@ -25,7 +25,7 @@