From a38e1163af34bef8f0b7ee7ff3b35d41b1c2b3ad Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Thu, 24 Apr 2025 13:37:52 +0530 Subject: [PATCH 1/4] chore: Chinese Simplified translations --- lms/locale/zh.po | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/lms/locale/zh.po b/lms/locale/zh.po index 7af71dd1..3dd309f9 100644 --- a/lms/locale/zh.po +++ b/lms/locale/zh.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-04-18 16:04+0000\n" -"PO-Revision-Date: 2025-04-21 06:38\n" +"PO-Revision-Date: 2025-04-24 08:07\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Chinese Simplified\n" "MIME-Version: 1.0\n" @@ -465,7 +465,7 @@ msgstr "作业标题" #: frontend/src/components/Modals/AssignmentForm.vue:112 msgid "Assignment created successfully" -msgstr "" +msgstr "作业创建成功" #: lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.py:24 msgid "Assignment for Lesson {0} by {1} already exists." @@ -473,7 +473,7 @@ msgstr "学员{1}的课时{0}作业已存在。" #: frontend/src/components/Modals/AssignmentForm.vue:129 msgid "Assignment updated successfully" -msgstr "" +msgstr "作业更新成功" #. Description of the 'Question' (Small Text) field in DocType 'Course Lesson' #: lms/lms/doctype/course_lesson/course_lesson.json @@ -831,7 +831,7 @@ msgstr "已认证" #: frontend/src/pages/CertifiedParticipants.vue:196 #: frontend/src/pages/CertifiedParticipants.vue:203 msgid "Certified Members" -msgstr "" +msgstr "认证成员" #. Label of the certified_participants (Check) field in DocType 'LMS Settings' #: lms/lms/doctype/lms_settings/lms_settings.json lms/www/lms.py:290 @@ -1458,7 +1458,7 @@ msgstr "新建试题" #: frontend/src/components/Modals/AssignmentForm.vue:7 msgid "Create an Assignment" -msgstr "" +msgstr "创建作业" #: frontend/src/components/AppSidebar.vue:460 msgid "Create your first batch" @@ -1754,7 +1754,7 @@ msgstr "编辑" #: frontend/src/components/Modals/AssignmentForm.vue:8 msgid "Edit Assignment" -msgstr "" +msgstr "编辑作业" #: frontend/src/components/CourseOutline.vue:52 #: frontend/src/components/Modals/ChapterModal.vue:5 @@ -3584,11 +3584,11 @@ msgstr "无证书" #: frontend/src/pages/CertifiedParticipants.vue:110 msgid "No certified members" -msgstr "" +msgstr "无认证成员" #: frontend/src/pages/CertifiedParticipants.vue:114 msgid "No certified members found. Please check again later or get certified yourself." -msgstr "" +msgstr "未找到认证成员,请稍后再试或自行申请认证。" #: frontend/src/components/BatchCourses.vue:67 msgid "No courses added" @@ -4077,11 +4077,11 @@ msgstr "请输入答案" #: lms/lms/doctype/lms_batch/lms_batch.py:58 msgid "Please install the Payments App to create a paid batch. Refer to the documentation for more details. {0}" -msgstr "" +msgstr "请安装支付应用以创建付费班级,详情请参阅文档{0}" #: lms/lms/doctype/lms_course/lms_course.py:55 msgid "Please install the Payments App to create a paid course. Refer to the documentation for more details. {0}" -msgstr "" +msgstr "请安装支付应用以创建付费课程,详情请参阅文档{0}" #: frontend/src/pages/Billing.vue:254 msgid "Please let us know where you heard about us from." @@ -4184,7 +4184,7 @@ msgstr "发布于" #: frontend/src/components/AppSidebar.vue:92 msgid "Powered by Learning" -msgstr "" +msgstr "技术支持:学习平台" #. Name of a DocType #: lms/lms/doctype/preferred_function/preferred_function.json @@ -5135,7 +5135,7 @@ msgstr "提交列表" #: frontend/src/components/Modals/AssignmentForm.vue:30 msgid "Submission Type" -msgstr "" +msgstr "提交类型" #: frontend/src/components/Assignment.vue:13 #: frontend/src/components/Assignment.vue:16 @@ -6139,7 +6139,7 @@ msgstr "证书" #: frontend/src/pages/CertifiedParticipants.vue:21 msgid "certified members" -msgstr "" +msgstr "认证成员" #: frontend/src/pages/Lesson.vue:178 msgid "completed" From 097d5413910b718603bfac4ba6b10b33ceb3deeb Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 24 Apr 2025 14:20:51 +0530 Subject: [PATCH 2/4] feat: redesigned job list --- frontend/src/components/JobCard.vue | 56 ++++++++++++++----- frontend/src/pages/JobDetail.vue | 22 ++++---- .../pages/{JobCreation.vue => JobForm.vue} | 34 +++++------ frontend/src/pages/Jobs.vue | 25 +++++++-- frontend/src/router.js | 4 +- .../job_opportunity/job_opportunity.json | 37 +++++++----- lms/lms/api.py | 5 ++ 7 files changed, 121 insertions(+), 62 deletions(-) rename frontend/src/pages/{JobCreation.vue => JobForm.vue} (91%) diff --git a/frontend/src/components/JobCard.vue b/frontend/src/components/JobCard.vue index 64cd0e01..b84186d4 100644 --- a/frontend/src/components/JobCard.vue +++ b/frontend/src/components/JobCard.vue @@ -1,22 +1,35 @@ + diff --git a/frontend/src/pages/JobDetail.vue b/frontend/src/pages/JobDetail.vue index 6c8fb519..e3247113 100644 --- a/frontend/src/pages/JobDetail.vue +++ b/frontend/src/pages/JobDetail.vue @@ -20,7 +20,7 @@ @@ -62,7 +62,7 @@
@@ -75,7 +75,7 @@ class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-10 gap-y-5 md:gap-y-5" >
- +
{{ __('Organisation') }} @@ -86,9 +86,9 @@
- +
- + {{ __('Location') }} @@ -97,9 +97,9 @@
- +
- + {{ __('Category') }} @@ -108,9 +108,9 @@
- +
- + {{ __('Posted on') }} @@ -122,9 +122,9 @@ v-if="applicationCount.data" class="flex items-center space-x-4" > - +
- + {{ __('Applications Received') }} diff --git a/frontend/src/pages/JobCreation.vue b/frontend/src/pages/JobForm.vue similarity index 91% rename from frontend/src/pages/JobCreation.vue rename to frontend/src/pages/JobForm.vue index ba35148f..e4f5468f 100644 --- a/frontend/src/pages/JobCreation.vue +++ b/frontend/src/pages/JobForm.vue @@ -13,7 +13,7 @@
{{ __('Job Details') }}
-
+
-
- - -
-
+
{{ __('Company Details') }}
-
+
+
+ + +
@@ -317,7 +317,7 @@ const breadcrumbs = computed(() => { }, { label: props.jobName == 'new' ? 'New Job' : 'Edit Job', - route: { name: 'JobCreation' }, + route: { name: 'JobForm' }, }, ] return crumbs diff --git a/frontend/src/pages/Jobs.vue b/frontend/src/pages/Jobs.vue index 044a7191..b1d0d13d 100644 --- a/frontend/src/pages/Jobs.vue +++ b/frontend/src/pages/Jobs.vue @@ -10,7 +10,7 @@ -
- {{ __('Find the perfect job for you') }} +
+ {{ __('{0} Open Jobs').format(jobCount) }}
-
+
Date: Thu, 24 Apr 2025 18:22:00 +0530 Subject: [PATCH 3/4] feat: country filter in job list --- frontend/src/components/BatchCard.vue | 2 +- frontend/src/components/JobCard.vue | 16 +-- frontend/src/pages/JobDetail.vue | 17 +++- frontend/src/pages/Jobs.vue | 99 +++++++++++-------- .../job_opportunity/job_opportunity.json | 14 ++- lms/lms/api.py | 1 + lms/patches.txt | 3 +- .../v2_0/update_job_city_and_country.py | 28 ++++++ 8 files changed, 122 insertions(+), 58 deletions(-) create mode 100644 lms/patches/v2_0/update_job_city_and_country.py diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index fe9d7b01..46b3095b 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -1,6 +1,6 @@