From f9ed0bab5ef03ee44d68c799d98f1a501a9cdd5a Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 18 Nov 2025 18:04:10 +0530 Subject: [PATCH] chore: Chinese Simplified translations --- lms/locale/zh.po | 620 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 418 insertions(+), 202 deletions(-) diff --git a/lms/locale/zh.po b/lms/locale/zh.po index 11c68efa..8a02c9d6 100644 --- a/lms/locale/zh.po +++ b/lms/locale/zh.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" -"POT-Creation-Date: 2025-11-07 16:04+0000\n" -"PO-Revision-Date: 2025-11-11 11:49\n" +"POT-Creation-Date: 2025-11-14 16:04+0000\n" +"PO-Revision-Date: 2025-11-18 12:34\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Chinese Simplified\n" "MIME-Version: 1.0\n" @@ -94,7 +94,7 @@ msgstr "关于" msgid "About the Course" msgstr "课程简介" -#: frontend/src/pages/Batch.vue:101 +#: frontend/src/pages/Batch.vue:104 msgid "About this batch" msgstr "本批次说明" @@ -138,7 +138,7 @@ msgstr "活跃成员" #: frontend/src/components/Assessments.vue:11 #: frontend/src/components/BatchCourses.vue:11 -#: frontend/src/components/BatchStudents.vue:73 +#: frontend/src/components/BatchStudents.vue:11 #: frontend/src/components/LiveClass.vue:21 #: frontend/src/components/Modals/QuizInVideo.vue:29 #: frontend/src/components/Settings/Categories.vue:43 @@ -172,7 +172,8 @@ msgstr "添加课时" msgid "Add Quiz to Video" msgstr "为视频添加测验" -#: frontend/src/components/Controls/ChildTable.vue:69 +#: frontend/src/components/Controls/ChildTable.vue:76 +#: frontend/src/components/Settings/Coupons/CouponItems.vue:55 msgid "Add Row" msgstr "添加一行" @@ -196,7 +197,7 @@ msgstr "新增课时" msgid "Add a Student" msgstr "添加学员" -#: frontend/src/components/AppSidebar.vue:600 +#: frontend/src/components/AppSidebar.vue:624 msgid "Add a chapter" msgstr "添加章节" @@ -208,7 +209,7 @@ msgstr "创建课程" msgid "Add a keyword and then press enter" msgstr "输入关键词后按回车键添加" -#: frontend/src/components/AppSidebar.vue:601 +#: frontend/src/components/AppSidebar.vue:625 msgid "Add a lesson" msgstr "添加课时" @@ -221,7 +222,7 @@ msgstr "添加新成员" msgid "Add a new question" msgstr "新增试题" -#: frontend/src/components/AppSidebar.vue:615 +#: frontend/src/components/AppSidebar.vue:639 msgid "Add a program" msgstr "添加项目" @@ -245,7 +246,7 @@ msgstr "为本课时添加作业" msgid "Add at least one possible answer for this question: {0}" msgstr "请为该问题添加至少一个备选答案:{0}" -#: frontend/src/components/AppSidebar.vue:564 +#: frontend/src/components/AppSidebar.vue:588 msgid "Add courses to your batch" msgstr "为班级添加课程" @@ -253,7 +254,7 @@ msgstr "为班级添加课程" msgid "Add quiz to this video" msgstr "为本视频添加测验" -#: frontend/src/components/AppSidebar.vue:543 +#: frontend/src/components/AppSidebar.vue:567 msgid "Add students to your batch" msgstr "为班级添加学员" @@ -269,26 +270,26 @@ msgstr "添加网页至侧边栏" msgid "Add your assignment as {0}" msgstr "以{0}格式添加作业" -#: frontend/src/components/AppSidebar.vue:476 +#: frontend/src/components/AppSidebar.vue:500 msgid "Add your first chapter" msgstr "添加首个章节" -#: frontend/src/components/AppSidebar.vue:492 +#: frontend/src/components/AppSidebar.vue:516 msgid "Add your first lesson" msgstr "添加首节课时" #. Label of the address (Link) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:56 -#: frontend/src/pages/Billing.vue:64 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:103 +#: frontend/src/pages/Billing.vue:99 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Address" msgstr "地址" -#: frontend/src/pages/Billing.vue:74 +#: frontend/src/pages/Billing.vue:109 msgid "Address Line 1" msgstr "地址行1" -#: frontend/src/pages/Billing.vue:78 +#: frontend/src/pages/Billing.vue:113 msgid "Address Line 2" msgstr "地址行2" @@ -302,7 +303,12 @@ msgid "Admin" msgstr "管理员" #. Name of a role -#: frontend/src/pages/Batches.vue:275 lms/lms/doctype/lms_badge/lms_badge.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Administrator" +msgstr "管理员" + +#. Name of a role +#: frontend/src/pages/Batches.vue:274 lms/lms/doctype/lms_badge/lms_badge.json msgid "All" msgstr "全部" @@ -358,8 +364,8 @@ msgstr "琥珀色" #. Label of the amount (Currency) field in DocType 'LMS Batch' #. Label of the course_price (Currency) field in DocType 'LMS Course' #. Label of the amount (Currency) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:68 -#: frontend/src/components/Settings/Transactions.vue:219 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:62 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:180 #: frontend/src/pages/BatchForm.vue:278 frontend/src/pages/CourseForm.vue:262 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json @@ -387,6 +393,7 @@ msgid "Amount and currency are required for paid courses." msgstr "付费课程必须填写金额与币种。" #. Label of the amount_with_gst (Currency) field in DocType 'LMS Payment' +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:65 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Amount with GST" msgstr "含商品及服务税金额" @@ -426,6 +433,15 @@ msgstr "在分享批次链接至网络平台时显示" msgid "Appears when the batch URL is shared on socials" msgstr "当班级URL在社交平台分享时显示" +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:71 +msgid "Applicable For" +msgstr "适用于" + +#. Label of the applicable_items (Table) field in DocType 'LMS Coupon' +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Applicable Items" +msgstr "" + #: frontend/src/pages/JobApplications.vue:24 msgid "Application" msgstr "申请" @@ -440,11 +456,11 @@ msgstr "申请表链接" msgid "Applications" msgstr "" -#: frontend/src/pages/JobApplications.vue:290 +#: frontend/src/pages/JobApplications.vue:292 msgid "Applied On" msgstr "应用于" -#: frontend/src/pages/JobDetail.vue:62 +#: frontend/src/pages/Billing.vue:81 frontend/src/pages/JobDetail.vue:62 msgid "Apply" msgstr "应用" @@ -473,11 +489,11 @@ msgstr "已批准" msgid "Apps" msgstr "应用" -#: frontend/src/pages/Batches.vue:285 +#: frontend/src/pages/Batches.vue:284 msgid "Archived" msgstr "已归档" -#: frontend/src/components/UpcomingEvaluations.vue:176 +#: frontend/src/components/UpcomingEvaluations.vue:179 msgid "Are you sure you want to cancel this evaluation? This action cannot be undone." msgstr "确认取消本次评估?此操作不可撤销。" @@ -521,9 +537,9 @@ msgid "Assessment {0} has already been added to this batch." msgstr "考核{0}已添加至本批次。" #. Label of the show_assessments (Check) field in DocType 'LMS Settings' -#: frontend/src/components/AppSidebar.vue:618 +#: frontend/src/components/AdminBatchDashboard.vue:32 +#: frontend/src/components/AppSidebar.vue:642 #: frontend/src/components/Assessments.vue:5 -#: frontend/src/components/BatchStudents.vue:32 #: lms/lms/doctype/lms_settings/lms_settings.json #: lms/templates/assessments.html:3 msgid "Assessments" @@ -582,7 +598,7 @@ msgstr "作业提交记录" msgid "Assignment Title" msgstr "作业标题" -#: frontend/src/components/Modals/AssignmentForm.vue:133 +#: frontend/src/components/Modals/AssignmentForm.vue:146 msgid "Assignment created successfully" msgstr "作业创建成功" @@ -594,7 +610,7 @@ msgstr "学员{1}的课时{0}作业已存在。" msgid "Assignment submitted successfully" msgstr "作业提交成功。" -#: frontend/src/components/Modals/AssignmentForm.vue:146 +#: frontend/src/components/Modals/AssignmentForm.vue:161 msgid "Assignment updated successfully" msgstr "作业更新成功" @@ -603,12 +619,16 @@ msgstr "作业更新成功" msgid "Assignment will appear at the bottom of the lesson." msgstr "作业将显示在课时末尾。" -#: frontend/src/components/AppSidebar.vue:622 +#: frontend/src/components/AppSidebar.vue:646 #: frontend/src/components/Settings/Badges.vue:163 #: frontend/src/pages/Assignments.vue:208 lms/www/lms.py:271 msgid "Assignments" msgstr "作业" +#: lms/lms/doctype/lms_coupon/lms_coupon.py:27 +msgid "At least one applicable item is required" +msgstr "" + #: lms/lms/doctype/lms_question/lms_question.py:44 msgid "At least one option must be correct for this question." msgstr "本题至少需设置一个正确选项。" @@ -727,7 +747,7 @@ msgstr "徽章更新成功" #: frontend/src/components/Modals/Event.vue:32 #: frontend/src/components/Settings/BadgeForm.vue:195 #: frontend/src/components/Settings/Badges.vue:200 -#: frontend/src/components/Settings/TransactionDetails.vue:92 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:125 #: lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json #: lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json #: lms/lms/doctype/lms_certificate/lms_certificate.json @@ -786,6 +806,7 @@ msgstr "班级注册确认" #: lms/lms/doctype/lms_category/lms_category.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_programming_exercise/lms_programming_exercise.json #: lms/lms/doctype/lms_programming_exercise_submission/lms_programming_exercise_submission.json #: lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json @@ -823,7 +844,7 @@ msgstr "班级开始日期" msgid "Batch Start Date:" msgstr "批次开始日期:" -#: frontend/src/components/BatchStudents.vue:40 +#: frontend/src/components/AdminBatchDashboard.vue:41 msgid "Batch Summary" msgstr "班级摘要" @@ -834,7 +855,7 @@ msgstr "班级摘要" msgid "Batch Title" msgstr "批次标题" -#: frontend/src/pages/BatchForm.vue:581 +#: frontend/src/pages/BatchForm.vue:594 msgid "Batch deleted successfully" msgstr "班级删除成功" @@ -859,7 +880,7 @@ msgid "Batch:" msgstr "批次:" #. Label of the batches (Check) field in DocType 'LMS Settings' -#: frontend/src/pages/Batches.vue:306 frontend/src/pages/Batches.vue:313 +#: frontend/src/pages/Batches.vue:305 frontend/src/pages/Batches.vue:312 #: lms/lms/doctype/lms_settings/lms_settings.json lms/www/lms.py:120 msgid "Batches" msgstr "批次" @@ -878,15 +899,16 @@ msgstr "此致敬礼" #. Label of the billing_details_section (Section Break) field in DocType 'LMS #. Payment' -#: frontend/src/pages/Billing.vue:8 frontend/src/pages/Billing.vue:357 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:99 +#: frontend/src/pages/Billing.vue:8 frontend/src/pages/Billing.vue:411 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Billing Details" msgstr "账单明细" #. Label of the billing_name (Data) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:31 -#: frontend/src/components/Settings/Transactions.vue:213 -#: frontend/src/pages/Billing.vue:70 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:33 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:174 +#: frontend/src/pages/Billing.vue:105 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Billing Name" msgstr "账单名称" @@ -935,12 +957,12 @@ msgstr "由" msgid "CGPA/4" msgstr "累计平均绩点/4分制" -#: frontend/src/components/UpcomingEvaluations.vue:59 -#: frontend/src/components/UpcomingEvaluations.vue:181 +#: frontend/src/components/UpcomingEvaluations.vue:62 +#: frontend/src/components/UpcomingEvaluations.vue:184 msgid "Cancel" msgstr "取消" -#: frontend/src/components/UpcomingEvaluations.vue:175 +#: frontend/src/components/UpcomingEvaluations.vue:178 msgid "Cancel this evaluation?" msgstr "取消本次评估?" @@ -1012,7 +1034,7 @@ msgstr "证书链接" msgid "Certificate of Completion" msgstr "结业证书" -#: frontend/src/components/Modals/Event.vue:348 +#: frontend/src/components/Modals/Event.vue:347 msgid "Certificate saved successfully" msgstr "证书保存成功" @@ -1031,8 +1053,8 @@ msgstr "证书生成成功" #. Enrollment' #. Label of a Card Break in the LMS Workspace #. Label of a Link in the LMS Workspace -#: frontend/src/components/AppSidebar.vue:626 -#: frontend/src/components/Modals/Event.vue:412 +#: frontend/src/components/AppSidebar.vue:650 +#: frontend/src/components/Modals/Event.vue:411 #: frontend/src/pages/BatchForm.vue:69 frontend/src/pages/Batches.vue:58 #: frontend/src/pages/CourseCertification.vue:10 #: frontend/src/pages/CourseCertification.vue:135 @@ -1059,13 +1081,13 @@ msgstr "认证名称" msgid "Certifications" msgstr "认证证书" -#: frontend/src/components/BatchStudents.vue:17 +#: frontend/src/components/AdminBatchDashboard.vue:17 msgid "Certified" msgstr "已认证" #. Label of the certified_members (Check) field in DocType 'LMS Settings' -#: frontend/src/pages/CertifiedParticipants.vue:183 -#: frontend/src/pages/CertifiedParticipants.vue:190 +#: frontend/src/pages/CertifiedParticipants.vue:212 +#: frontend/src/pages/CertifiedParticipants.vue:219 #: frontend/src/pages/Statistics.vue:40 #: lms/lms/doctype/lms_settings/lms_settings.json msgid "Certified Members" @@ -1178,7 +1200,7 @@ msgstr "选择唯一答案" #. Label of the city (Data) field in DocType 'User' #. Label of the location (Data) field in DocType 'Job Opportunity' -#: frontend/src/pages/Billing.vue:81 frontend/src/pages/JobForm.vue:41 +#: frontend/src/pages/Billing.vue:116 frontend/src/pages/JobForm.vue:41 #: lms/fixtures/custom_field.json #: lms/job/doctype/job_opportunity/job_opportunity.json msgid "City" @@ -1235,9 +1257,12 @@ msgstr "已关闭" msgid "Cloud" msgstr "云" +#. Label of the code (Data) field in DocType 'LMS Coupon' #. Label of the code (Code) field in DocType 'LMS Exercise' #. Label of the code (Code) field in DocType 'LMS Programming Exercise #. Submission' +#: frontend/src/components/Settings/Coupons/CouponList.vue:163 +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_exercise/lms_exercise.json #: lms/lms/doctype/lms_programming_exercise_submission/lms_programming_exercise_submission.json msgid "Code" @@ -1463,7 +1488,7 @@ msgstr "确认" msgid "Confirm Enrollment" msgstr "确认报名" -#: frontend/src/pages/BatchForm.vue:559 +#: frontend/src/pages/BatchForm.vue:572 msgid "Confirm your action to delete" msgstr "确认删除操作" @@ -1550,13 +1575,42 @@ msgstr "正确答案" #. Label of the country (Link) field in DocType 'User' #. Label of the country (Link) field in DocType 'Job Opportunity' #. Label of the country (Link) field in DocType 'Payment Country' -#: frontend/src/pages/Billing.vue:92 frontend/src/pages/JobForm.vue:47 +#: frontend/src/pages/Billing.vue:127 frontend/src/pages/JobForm.vue:47 #: frontend/src/pages/Jobs.vue:57 lms/fixtures/custom_field.json #: lms/job/doctype/job_opportunity/job_opportunity.json #: lms/lms/doctype/payment_country/payment_country.json msgid "Country" msgstr "国家" +#. Label of the coupon (Link) field in DocType 'LMS Payment' +#: lms/lms/doctype/lms_payment/lms_payment.json +msgid "Coupon" +msgstr "" + +#. Label of the coupon_code (Data) field in DocType 'LMS Payment' +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:23 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:77 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:82 +#: lms/lms/doctype/lms_payment/lms_payment.json +msgid "Coupon Code" +msgstr "优惠券" + +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:72 +msgid "Coupon Details" +msgstr "" + +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:132 +msgid "Coupon created successfully" +msgstr "" + +#: frontend/src/components/Settings/Coupons/CouponList.vue:154 +msgid "Coupon deleted successfully" +msgstr "" + +#: frontend/src/components/Settings/Coupons/CouponList.vue:141 +msgid "Coupon(s) deleted successfully" +msgstr "" + #. Label of the course (Link) field in DocType 'Batch Course' #. Label of the course (Link) field in DocType 'Cohort' #. Label of the course (Link) field in DocType 'Cohort Mentor' @@ -1592,7 +1646,7 @@ msgstr "国家" #: frontend/src/components/Modals/Event.vue:24 #: frontend/src/components/Settings/BadgeForm.vue:194 #: frontend/src/components/Settings/Badges.vue:199 -#: frontend/src/components/Settings/TransactionDetails.vue:91 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:124 #: frontend/src/pages/Programs/ProgramForm.vue:196 #: frontend/src/pages/Programs/Programs.vue:35 #: lms/lms/doctype/batch_course/batch_course.json @@ -1656,6 +1710,7 @@ msgstr "课程数量" #: lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.json #: lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json #: lms/lms/doctype/lms_category/lms_category.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_lesson_note/lms_lesson_note.json #: lms/lms/doctype/lms_program/lms_program.json @@ -1745,19 +1800,19 @@ msgstr "课程统计" msgid "Course Title" msgstr "课程标题" -#: frontend/src/pages/Programs/ProgramForm.vue:437 +#: frontend/src/pages/Programs/ProgramForm.vue:442 msgid "Course added to program successfully" msgstr "课程成功添加至项目" -#: frontend/src/pages/CourseForm.vue:559 +#: frontend/src/pages/CourseForm.vue:569 msgid "Course created successfully" msgstr "课程创建成功。" -#: frontend/src/pages/CourseForm.vue:596 +#: frontend/src/pages/CourseForm.vue:606 msgid "Course deleted successfully" msgstr "课程删除成功" -#: frontend/src/pages/CourseForm.vue:579 +#: frontend/src/pages/CourseForm.vue:589 msgid "Course updated successfully" msgstr "课程更新成功。" @@ -1769,9 +1824,9 @@ msgstr "课程{0}已添加至本批次" #. Label of the courses (Table) field in DocType 'LMS Batch' #. Label of the show_courses (Check) field in DocType 'LMS Settings' #. Label of the courses (Check) field in DocType 'LMS Settings' +#: frontend/src/components/AdminBatchDashboard.vue:25 #: frontend/src/components/BatchCourses.vue:5 #: frontend/src/components/BatchOverlay.vue:37 -#: frontend/src/components/BatchStudents.vue:25 #: frontend/src/components/Modals/BatchStudentProgress.vue:95 #: frontend/src/pages/BatchDetail.vue:44 #: frontend/src/pages/CourseCertification.vue:127 @@ -1826,7 +1881,7 @@ msgid "Create Course" msgstr "创建课程" #: frontend/src/components/Controls/Link.vue:38 -#: frontend/src/components/Controls/MultiSelect.vue:66 +#: frontend/src/components/Controls/MultiSelect.vue:64 msgid "Create New" msgstr "新建" @@ -1850,15 +1905,15 @@ msgstr "创建直播课程" msgid "Create a Quiz" msgstr "创建测验" -#: frontend/src/components/AppSidebar.vue:608 +#: frontend/src/components/AppSidebar.vue:632 msgid "Create a batch" msgstr "创建班级" -#: frontend/src/components/AppSidebar.vue:599 +#: frontend/src/components/AppSidebar.vue:623 msgid "Create a course" msgstr "创建课程" -#: frontend/src/components/AppSidebar.vue:609 +#: frontend/src/components/AppSidebar.vue:633 msgid "Create a live class" msgstr "创建直播课程" @@ -1870,15 +1925,15 @@ msgstr "创建新徽章" msgid "Create an Assignment" msgstr "创建作业" -#: frontend/src/components/AppSidebar.vue:533 +#: frontend/src/components/AppSidebar.vue:557 msgid "Create your first batch" msgstr "创建首个班级" -#: frontend/src/components/AppSidebar.vue:464 +#: frontend/src/components/AppSidebar.vue:488 msgid "Create your first course" msgstr "创建首门课程" -#: frontend/src/components/AppSidebar.vue:511 +#: frontend/src/components/AppSidebar.vue:535 msgid "Create your first quiz" msgstr "创建首项测验" @@ -1886,18 +1941,18 @@ msgstr "创建首项测验" msgid "Created" msgstr "已创建" -#: frontend/src/components/AppSidebar.vue:605 +#: frontend/src/components/AppSidebar.vue:629 msgid "Creating a batch" msgstr "正在创建班级" -#: frontend/src/components/AppSidebar.vue:596 +#: frontend/src/components/AppSidebar.vue:620 msgid "Creating a course" 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/components/Settings/TransactionDetails.vue:64 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:58 #: frontend/src/pages/BatchForm.vue:285 frontend/src/pages/CourseForm.vue:282 #: lms/lms/doctype/lms_batch/lms_batch.json #: lms/lms/doctype/lms_course/lms_course.json @@ -1914,7 +1969,7 @@ msgstr "当前课时" msgid "Current Streak" msgstr "当前连续学习天数" -#: frontend/src/components/AppSidebar.vue:632 +#: frontend/src/components/AppSidebar.vue:656 msgid "Custom Certificate Templates" msgstr "自定义证书模板" @@ -2009,12 +2064,13 @@ msgstr "默认币种" msgid "Degree Type" msgstr "学位类型" -#: frontend/src/components/Controls/ChildTable.vue:56 +#: frontend/src/components/Controls/ChildTable.vue:62 #: frontend/src/components/CourseOutline.vue:294 #: frontend/src/components/CourseOutline.vue:360 #: frontend/src/components/DiscussionReplies.vue:41 #: frontend/src/components/Settings/Badges.vue:171 -#: frontend/src/pages/BatchForm.vue:565 frontend/src/pages/CourseForm.vue:609 +#: frontend/src/components/Settings/Coupons/CouponList.vue:133 +#: frontend/src/pages/BatchForm.vue:578 frontend/src/pages/CourseForm.vue:619 #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:67 #: frontend/src/pages/Programs/ProgramForm.vue:231 msgid "Delete" @@ -2024,7 +2080,7 @@ msgstr "删除" msgid "Delete Chapter" msgstr "删除章节" -#: frontend/src/pages/CourseForm.vue:603 +#: frontend/src/pages/CourseForm.vue:613 msgid "Delete Course" msgstr "删除课程" @@ -2032,15 +2088,19 @@ msgstr "删除课程" msgid "Delete this chapter?" msgstr "确认删除此章节?" +#: frontend/src/components/Settings/Coupons/CouponList.vue:127 +msgid "Delete this coupon?" +msgstr "" + #: frontend/src/components/CourseOutline.vue:288 msgid "Delete this lesson?" msgstr "确认删除此课时?" -#: frontend/src/pages/CourseForm.vue:604 +#: frontend/src/pages/CourseForm.vue:614 msgid "Deleting the course will also delete all its chapters and lessons. Are you sure you want to delete this course?" msgstr "删除本课程将同时删除其所有章节和课时。此操作不可逆。确认继续吗?" -#: frontend/src/pages/BatchForm.vue:560 +#: frontend/src/pages/BatchForm.vue:573 msgid "Deleting this batch will also delete all its data including enrolled students, linked courses, assessments, feedback and discussions. Are you sure you want to continue?" msgstr "删除此班级将同时删除所有相关数据,包括已注册学员、关联课程、评估、反馈及讨论内容。是否确认继续操作?" @@ -2109,6 +2169,7 @@ msgstr "禁用注册功能" #. Label of the disabled (Check) field in DocType 'Job Opportunity' #: frontend/src/components/Settings/Badges.vue:56 +#: frontend/src/components/Settings/Coupons/CouponList.vue:46 #: frontend/src/components/Settings/PaymentGateways.vue:55 #: frontend/src/components/Settings/ZoomSettings.vue:66 #: lms/job/doctype/job_opportunity/job_opportunity.json @@ -2120,8 +2181,30 @@ msgstr "已禁用" msgid "Discard" msgstr "放弃" +#: frontend/src/components/Settings/Coupons/CouponList.vue:169 +#: frontend/src/pages/Billing.vue:41 +msgid "Discount" +msgstr "折扣" + +#. Label of the discount_amount (Currency) field in DocType 'LMS Payment' +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:53 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:87 +#: lms/lms/doctype/lms_payment/lms_payment.json +msgid "Discount Amount" +msgstr "折扣金额" + +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:46 +msgid "Discount Percentage" +msgstr "折扣百分比" + +#. Label of the discount_type (Select) field in DocType 'LMS Coupon' +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:30 +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Discount Type" +msgstr "折扣类型" + #. Label of the show_discussions (Check) field in DocType 'LMS Settings' -#: frontend/src/pages/Batch.vue:88 +#: frontend/src/pages/Batch.vue:91 #: lms/lms/doctype/lms_settings/lms_settings.json msgid "Discussions" msgstr "讨论区" @@ -2135,6 +2218,14 @@ msgstr "讨论区" msgid "Document" msgstr "文档" +#: frontend/src/components/Settings/Coupons/CouponItems.vue:11 +msgid "Document Name" +msgstr "单据编号" + +#: frontend/src/components/Settings/Coupons/CouponItems.vue:8 +msgid "Document Type" +msgstr "单据类型" + #: lms/templates/emails/payment_reminder.html:11 msgid "Don’t miss this opportunity to enhance your skills. Click below to complete your enrollment" msgstr "切勿错过提升技能的机会。点击下方完成注册" @@ -2185,7 +2276,7 @@ msgstr "电子邮件" #: frontend/src/components/Modals/ChapterModal.vue:9 #: frontend/src/components/Settings/Badges.vue:156 #: frontend/src/pages/JobDetail.vue:45 frontend/src/pages/Lesson.vue:42 -#: frontend/src/pages/Lesson.vue:178 frontend/src/pages/Profile.vue:36 +#: frontend/src/pages/Lesson.vue:178 frontend/src/pages/Profile.vue:44 msgid "Edit" msgstr "编辑" @@ -2206,6 +2297,10 @@ msgstr "编辑徽章分配" msgid "Edit Chapter" msgstr "编辑章节" +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:9 +msgid "Edit Coupon" +msgstr "" + #: frontend/src/components/Modals/EmailTemplateModal.vue:8 msgid "Edit Email Template" msgstr "编辑邮件模板" @@ -2214,7 +2309,7 @@ msgstr "编辑邮件模板" msgid "Edit Payment Gateway" msgstr "编辑支付网关" -#: frontend/src/pages/Profile.vue:72 +#: frontend/src/pages/Profile.vue:80 msgid "Edit Profile" msgstr "编辑个人资料" @@ -2251,7 +2346,7 @@ msgstr "教育背景详情" #: frontend/src/components/Settings/Evaluators.vue:105 #: frontend/src/components/Settings/Members.vue:103 -#: frontend/src/pages/JobApplications.vue:284 lms/templates/signup-form.html:10 +#: frontend/src/pages/JobApplications.vue:286 lms/templates/signup-form.html:10 msgid "Email" msgstr "电子邮件" @@ -2287,7 +2382,7 @@ msgid "Email Templates deleted successfully" msgstr "邮件模板删除成功" #: frontend/src/components/ContactUsEmail.vue:57 -#: frontend/src/pages/JobApplications.vue:244 +#: frontend/src/pages/JobApplications.vue:245 msgid "Email sent successfully" msgstr "邮件发送成功" @@ -2320,13 +2415,18 @@ msgid "Enable this only if you want to upload a SCORM package as a chapter." msgstr "仅在上传SCORM包作为章节时启用" #. Label of the enabled (Check) field in DocType 'LMS Badge' +#. Label of the enabled (Check) field in DocType 'LMS Coupon' #. Label of the enabled (Check) field in DocType 'LMS Zoom Settings' #: frontend/src/components/Modals/ZoomAccountModal.vue:23 #: frontend/src/components/Settings/BadgeForm.vue:14 #: frontend/src/components/Settings/Badges.vue:53 +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:16 +#: frontend/src/components/Settings/Coupons/CouponList.vue:43 +#: frontend/src/components/Settings/Coupons/CouponList.vue:196 #: frontend/src/components/Settings/PaymentGateways.vue:52 #: frontend/src/components/Settings/ZoomSettings.vue:63 #: lms/lms/doctype/lms_badge/lms_badge.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json msgid "Enabled" msgstr "已启用" @@ -2365,8 +2465,8 @@ msgid "End Time" msgstr "结束时间" #: frontend/src/components/LiveClass.vue:92 -#: frontend/src/pages/Home/AdminHome.vue:183 -#: frontend/src/pages/Home/StudentHome.vue:126 +#: frontend/src/pages/Home/AdminHome.vue:186 +#: frontend/src/pages/Home/StudentHome.vue:129 msgid "Ended" msgstr "已结束" @@ -2384,7 +2484,7 @@ msgstr "为成员注册项目" msgid "Enroll Now" msgstr "立即报名" -#: frontend/src/pages/Batches.vue:288 frontend/src/pages/Courses.vue:326 +#: frontend/src/pages/Batches.vue:287 frontend/src/pages/Courses.vue:326 #: frontend/src/pages/Programs/StudentPrograms.vue:96 msgid "Enrolled" msgstr "已注册" @@ -2405,10 +2505,6 @@ msgstr "{0}的注册确认" msgid "Enrollment Count" msgstr "注册人数" -#: lms/lms/utils.py:1888 -msgid "Enrollment Failed, {0}" -msgstr "注册失败,{0}" - #: frontend/src/pages/Programs/ProgramEnrollment.vue:10 msgid "Enrollment for Program {0}" msgstr "项目{0}注册" @@ -2426,6 +2522,10 @@ msgstr "注册记录" msgid "Enter Client Id and Client Secret in Google Settings to send calendar invites for evaluations." msgstr "在Google设置中填写客户端ID和密钥以发送评估日历邀请" +#: frontend/src/pages/Billing.vue:64 +msgid "Enter a Coupon Code" +msgstr "" + #: frontend/src/components/Assignment.vue:116 msgid "Enter a URL" msgstr "输入URL" @@ -2454,7 +2554,7 @@ msgstr "邮件模板创建错误" msgid "Error creating live class. Please try again. {0}" msgstr "创建直播课程失败,请重试。错误:{0}" -#: frontend/src/pages/Quizzes.vue:212 +#: frontend/src/pages/Quizzes.vue:218 msgid "Error creating quiz: {0}" msgstr "测验创建错误:{0}" @@ -2477,7 +2577,7 @@ msgstr "邮件模板更新错误" #. Label of a Link in the LMS Workspace #. Label of a shortcut in the LMS Workspace -#: frontend/src/components/Modals/Event.vue:405 lms/lms/workspace/lms/lms.json +#: frontend/src/components/Modals/Event.vue:404 lms/lms/workspace/lms/lms.json msgid "Evaluation" msgstr "评估" @@ -2502,7 +2602,7 @@ msgstr "评估请求" msgid "Evaluation end date cannot be less than the batch end date." msgstr "评估结束日期不得早于批次结束日期" -#: frontend/src/components/Modals/Event.vue:287 +#: frontend/src/components/Modals/Event.vue:286 msgid "Evaluation saved successfully" msgstr "评估保存成功" @@ -2551,7 +2651,7 @@ msgstr "评估人添加成功" msgid "Evaluator deleted successfully" msgstr "评估人删除成功" -#: lms/lms/api.py:1416 +#: lms/lms/api.py:1417 msgid "Evaluator does not exist." msgstr "评估人不存在。" @@ -2621,6 +2721,13 @@ msgstr "预期输出" msgid "Expiration Date" msgstr "失效日期" +#. Label of the expires_on (Date) field in DocType 'LMS Coupon' +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:38 +#: frontend/src/components/Settings/Coupons/CouponList.vue:176 +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Expires On" +msgstr "到期日" + #. Label of the expiry_date (Date) field in DocType 'LMS Certificate' #: frontend/src/components/Modals/BulkCertificates.vue:33 #: frontend/src/components/Modals/Event.vue:144 @@ -2628,6 +2735,10 @@ msgstr "失效日期" msgid "Expiry Date" msgstr "到期日" +#: lms/lms/doctype/lms_coupon/lms_coupon.py:23 +msgid "Expiry date cannot be in the past" +msgstr "" + #. Label of the explanation_1 (Small Text) field in DocType 'LMS Question' #. Label of the explanation_3 (Small Text) field in DocType 'LMS Question' #. Label of the explanation_4 (Small Text) field in DocType 'LMS Question' @@ -2650,7 +2761,7 @@ msgstr "查看更多" #. Submission' #. Option for the 'Status' (Select) field in DocType 'LMS Certificate #. Evaluation' -#: frontend/src/components/Modals/Event.vue:397 +#: frontend/src/components/Modals/Event.vue:396 #: lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json msgid "Fail" @@ -2681,7 +2792,7 @@ msgstr "从Zoom获取课程{0}考勤数据失败:{1}" msgid "Failed to send email" msgstr "邮件发送失败" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:364 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:363 msgid "Failed to submit. Please try again. {0}" msgstr "提交失败,请重试。{0}" @@ -2703,7 +2814,7 @@ msgstr "精选" #. Label of the feedback (Small Text) field in DocType 'LMS Batch Feedback' #: frontend/src/components/BatchFeedback.vue:30 -#: frontend/src/pages/Batch.vue:146 +#: frontend/src/pages/Batch.vue:149 #: lms/lms/doctype/lms_batch_feedback/lms_batch_feedback.json msgid "Feedback" msgstr "反馈" @@ -2727,7 +2838,7 @@ msgstr "专业/研究领域" msgid "File Type" msgstr "文件类型" -#: frontend/src/components/Settings/Transactions.vue:15 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:15 msgid "Filter by Billing Name" msgstr "按账单名称筛选" @@ -2735,7 +2846,7 @@ msgstr "按账单名称筛选" msgid "Filter by Exercise" msgstr "按练习筛选" -#: frontend/src/components/Settings/Transactions.vue:20 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:20 #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmissions.vue:28 msgid "Filter by Member" msgstr "按成员筛选" @@ -2754,6 +2865,16 @@ msgstr "名字" msgid "Fixed 9-5" msgstr "固定9-5工作制" +#. Option for the 'Discount Type' (Select) field in DocType 'LMS Coupon' +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Fixed Amount" +msgstr "" + +#. Label of the fixed_amount_discount (Int) field in DocType 'LMS Coupon' +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Fixed Amount Discount" +msgstr "" + #. Option for the 'Time Preference' (Select) field in DocType 'User' #: lms/fixtures/custom_field.json msgid "Flexible Time" @@ -2806,7 +2927,7 @@ msgstr "起始日期" #. Label of the full_name (Data) field in DocType 'Course Evaluator' #. Label of the full_name (Data) field in DocType 'LMS Program Member' -#: frontend/src/pages/JobApplications.vue:278 +#: frontend/src/pages/JobApplications.vue:280 #: lms/lms/doctype/course_evaluator/course_evaluator.json #: lms/lms/doctype/lms_program_member/lms_program_member.json #: lms/templates/signup-form.html:5 @@ -2829,16 +2950,16 @@ msgstr "全职" msgid "Function" msgstr "职能" -#: frontend/src/pages/Billing.vue:43 +#: frontend/src/pages/Billing.vue:46 msgid "GST Amount" msgstr "商品及服务税额" -#: frontend/src/pages/Billing.vue:110 +#: frontend/src/pages/Billing.vue:145 msgid "GST Number" msgstr "商品及服务税号" #. Label of the gstin (Data) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:76 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:107 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "GSTIN" msgstr "商品及服务税识别号" @@ -3048,7 +3169,7 @@ msgstr "我正在求职" msgid "I am unavailable" msgstr "我暂不可用" -#: frontend/src/pages/QuizForm.vue:334 +#: frontend/src/pages/QuizForm.vue:340 msgid "ID" msgstr "ID" @@ -3130,7 +3251,7 @@ msgstr "图片:数据流损坏" #. Option for the 'Status' (Select) field in DocType 'LMS Certificate #. Evaluation' #. Option for the 'Status' (Select) field in DocType 'LMS Course' -#: frontend/src/components/Modals/Event.vue:389 +#: frontend/src/components/Modals/Event.vue:388 #: lms/lms/doctype/lms_batch_old/lms_batch_old.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json #: lms/lms/doctype/lms_course/lms_course.json @@ -3244,8 +3365,8 @@ msgstr "讲师评语" msgid "Interest" msgstr "兴趣" -#: frontend/src/components/AppSidebar.vue:588 -#: frontend/src/components/AppSidebar.vue:591 +#: frontend/src/components/AppSidebar.vue:612 +#: frontend/src/components/AppSidebar.vue:615 msgid "Introduction" msgstr "简介" @@ -3267,7 +3388,7 @@ msgstr "邀请码" msgid "Invite Only" msgstr "仅限邀请" -#: frontend/src/components/AppSidebar.vue:522 +#: frontend/src/components/AppSidebar.vue:546 msgid "Invite your team and students" msgstr "邀请团队成员及学员" @@ -3304,7 +3425,7 @@ msgstr "是否为SCORM包" msgid "Issue Date" msgstr "签发日期" -#: frontend/src/components/AppSidebar.vue:629 +#: frontend/src/components/AppSidebar.vue:653 msgid "Issue a Certificate" msgstr "颁发证书" @@ -3390,13 +3511,13 @@ msgid "Jobs" msgstr "职位" #: frontend/src/components/LiveClass.vue:81 -#: frontend/src/pages/Home/AdminHome.vue:172 -#: frontend/src/pages/Home/StudentHome.vue:115 +#: frontend/src/pages/Home/AdminHome.vue:175 +#: frontend/src/pages/Home/StudentHome.vue:118 #: lms/templates/upcoming_evals.html:15 msgid "Join" msgstr "加入" -#: frontend/src/components/UpcomingEvaluations.vue:92 +#: frontend/src/components/UpcomingEvaluations.vue:95 msgid "Join Call" msgstr "加入通话" @@ -3454,9 +3575,12 @@ msgid "LMS Badge Assignment" msgstr "学习管理系统徽章分配" #. Name of a DocType +#. Option for the 'Reference DocType' (Select) field in DocType 'LMS Coupon +#. Item' #. Option for the 'Payment for Document Type' (Select) field in DocType 'LMS #. Payment' #: lms/lms/doctype/lms_batch/lms_batch.json +#: lms/lms/doctype/lms_coupon_item/lms_coupon_item.json #: lms/lms/doctype/lms_payment/lms_payment.json msgid "LMS Batch" msgstr "学习管理系统批次" @@ -3501,9 +3625,22 @@ msgstr "学习管理系统证书评估" msgid "LMS Certificate Request" msgstr "学习管理系统证书申请" +#. Name of a DocType +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "LMS Coupon" +msgstr "" + +#. Name of a DocType +#: lms/lms/doctype/lms_coupon_item/lms_coupon_item.json +msgid "LMS Coupon Item" +msgstr "" + +#. Option for the 'Reference DocType' (Select) field in DocType 'LMS Coupon +#. Item' #. Name of a DocType #. Option for the 'Payment for Document Type' (Select) field in DocType 'LMS #. Payment' +#: lms/lms/doctype/lms_coupon_item/lms_coupon_item.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_payment/lms_payment.json msgid "LMS Course" @@ -3732,7 +3869,7 @@ msgstr "启动文件" msgid "Learning Consistency" msgstr "学习持续性" -#: frontend/src/components/AppSidebar.vue:613 +#: frontend/src/components/AppSidebar.vue:637 msgid "Learning Paths" msgstr "学习路径" @@ -3868,7 +4005,7 @@ msgstr "实时编码链接" #: frontend/src/components/Modals/CourseProgressSummary.vue:86 #: frontend/src/components/Settings/Evaluators.vue:81 #: frontend/src/components/Settings/Members.vue:79 -#: frontend/src/components/Settings/Transactions.vue:94 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:94 #: frontend/src/pages/Assignments.vue:66 frontend/src/pages/Batches.vue:82 #: frontend/src/pages/CertifiedParticipants.vue:98 #: frontend/src/pages/Courses.vue:77 @@ -3899,7 +4036,7 @@ msgid "Location Preference" msgstr "地点偏好" #: frontend/src/components/NoPermission.vue:28 -#: frontend/src/components/QuizBlock.vue:9 frontend/src/pages/Batch.vue:196 +#: frontend/src/components/QuizBlock.vue:9 frontend/src/pages/Batch.vue:199 #: frontend/src/pages/Lesson.vue:103 msgid "Login" msgstr "登录" @@ -3934,7 +4071,7 @@ msgstr "发布公告" msgid "Make notes for quick revision. Press / for menu." msgstr "制作笔记以便快速复习。按/键唤出菜单。" -#: frontend/src/pages/Billing.vue:123 +#: frontend/src/pages/Billing.vue:158 msgid "Make sure to enter the correct billing name as the same will be used in your invoice." msgstr "请确保输入正确的开票名称,该名称将用于发票" @@ -3973,7 +4110,7 @@ msgstr "全部标记为已读" #. Label of the marks (Int) field in DocType 'LMS Quiz Result' #: frontend/src/components/Modals/Question.vue:40 #: frontend/src/components/Modals/Question.vue:106 -#: frontend/src/components/Quiz.vue:120 frontend/src/pages/QuizForm.vue:344 +#: frontend/src/components/Quiz.vue:120 frontend/src/pages/QuizForm.vue:350 #: frontend/src/pages/QuizSubmission.vue:64 #: lms/lms/doctype/lms_quiz_question/lms_quiz_question.json #: lms/lms/doctype/lms_quiz_result/lms_quiz_result.json @@ -4000,7 +4137,7 @@ msgid "Marks to Deduct" msgstr "待扣分数" #. Label of the max_attempts (Int) field in DocType 'LMS Quiz' -#: frontend/src/pages/Quizzes.vue:249 lms/lms/doctype/lms_quiz/lms_quiz.json +#: frontend/src/pages/Quizzes.vue:255 lms/lms/doctype/lms_quiz/lms_quiz.json msgid "Max Attempts" msgstr "最大尝试次数" @@ -4058,7 +4195,7 @@ msgstr "会议ID" #: frontend/src/components/Settings/BadgeAssignmentForm.vue:26 #: frontend/src/components/Settings/BadgeAssignments.vue:179 #: frontend/src/components/Settings/BadgeForm.vue:215 -#: frontend/src/components/Settings/TransactionDetails.vue:26 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:28 #: frontend/src/components/Settings/ZoomSettings.vue:187 #: frontend/src/pages/AssignmentSubmissionList.vue:14 #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmissions.vue:268 @@ -4192,7 +4329,7 @@ msgstr "成员类型" msgid "Member Username" msgstr "成员用户名" -#: frontend/src/pages/Programs/ProgramForm.vue:463 +#: frontend/src/pages/Programs/ProgramForm.vue:468 msgid "Member added to program successfully" msgstr "成员成功添加至项目" @@ -4257,7 +4394,7 @@ msgstr "导师请求状态更新模板" msgid "Message" msgstr "信息" -#: frontend/src/pages/JobApplications.vue:240 +#: frontend/src/pages/JobApplications.vue:241 msgid "Message is required" msgstr "" @@ -4285,7 +4422,7 @@ msgstr "元关键词" msgid "Meta Tags" msgstr "元标签" -#: lms/lms/api.py:1456 +#: lms/lms/api.py:1457 msgid "Meta tags should be a list." msgstr "元标签应为列表格式。" @@ -4311,6 +4448,7 @@ msgstr "多选题至少需要两个选项" #: lms/lms/doctype/lms_category/lms_category.json #: lms/lms/doctype/lms_certificate/lms_certificate.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_enrollment/lms_enrollment.json #: lms/lms/doctype/lms_lesson_note/lms_lesson_note.json @@ -4329,7 +4467,7 @@ msgid "Moderator" msgstr "主持人" #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmissions.vue:286 -#: frontend/src/pages/Quizzes.vue:263 +#: frontend/src/pages/Quizzes.vue:269 msgid "Modified" msgstr "修改时间" @@ -4352,7 +4490,7 @@ msgstr "模块错误" msgid "Monday" msgstr "星期一" -#: frontend/src/components/AppSidebar.vue:637 +#: frontend/src/components/AppSidebar.vue:661 msgid "Monetization" msgstr "课程变现功能" @@ -4393,6 +4531,7 @@ msgstr "名称" #: frontend/src/components/Settings/BadgeAssignments.vue:21 #: frontend/src/components/Settings/Badges.vue:21 #: frontend/src/components/Settings/Categories.vue:27 +#: frontend/src/components/Settings/Coupons/CouponList.vue:16 #: frontend/src/components/Settings/EmailTemplates.vue:17 #: frontend/src/components/Settings/Evaluators.vue:17 #: frontend/src/components/Settings/Members.vue:17 @@ -4408,7 +4547,11 @@ msgstr "新建" msgid "New Batch" msgstr "新建批次" -#: frontend/src/pages/CourseForm.vue:690 lms/www/lms.py:93 +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:9 +msgid "New Coupon" +msgstr "" + +#: frontend/src/pages/CourseForm.vue:700 lms/www/lms.py:93 msgid "New Course" msgstr "新建课程" @@ -4432,7 +4575,7 @@ msgstr "新建支付网关" msgid "New Question" msgstr "新建试题" -#: frontend/src/pages/QuizForm.vue:400 frontend/src/pages/QuizForm.vue:408 +#: frontend/src/pages/QuizForm.vue:406 frontend/src/pages/QuizForm.vue:414 msgid "New Quiz" msgstr "新建测验" @@ -4503,6 +4646,14 @@ msgstr "暂无公告" msgid "No certificates" msgstr "无证书" +#: frontend/src/components/Settings/Coupons/CouponList.vue:82 +msgid "No coupons created yet." +msgstr "" + +#: frontend/src/components/Settings/Coupons/CouponList.vue:123 +msgid "No coupons selected for deletion" +msgstr "" + #: frontend/src/components/BatchCourses.vue:67 msgid "No courses added" msgstr "未添加任何课程" @@ -4596,7 +4747,7 @@ msgstr "不可预览" msgid "Not Graded" msgstr "未评分" -#: frontend/src/components/NoPermission.vue:7 frontend/src/pages/Batch.vue:164 +#: frontend/src/components/NoPermission.vue:7 frontend/src/pages/Batch.vue:167 msgid "Not Permitted" msgstr "未授权" @@ -4631,7 +4782,7 @@ msgstr "通知" msgid "Notify me when available" msgstr "可用时通知我" -#: frontend/src/components/BatchStudents.vue:48 +#: frontend/src/components/AdminBatchDashboard.vue:49 msgid "Number of Students" msgstr "学员数量" @@ -4708,7 +4859,7 @@ msgstr "开放课程" msgid "Open Ended" msgstr "开放型问题" -#: frontend/src/components/Settings/TransactionDetails.vue:88 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:121 msgid "Open the " msgstr "打开" @@ -4748,7 +4899,7 @@ msgid "Orange" msgstr "橙色" #. Label of the order_id (Data) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:70 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:114 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Order ID" msgstr "订单ID" @@ -4758,7 +4909,10 @@ msgstr "订单ID" msgid "Organization" msgstr "组织" -#: frontend/src/pages/Billing.vue:32 +#. Label of the original_amount (Currency) field in DocType 'LMS Payment' +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:92 +#: frontend/src/pages/Billing.vue:34 +#: lms/lms/doctype/lms_payment/lms_payment.json msgid "Original Amount" msgstr "原始金额" @@ -4786,11 +4940,15 @@ msgid "Owner" msgstr "所有者" #. Label of the pan (Data) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:77 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:108 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "PAN" msgstr "永久账户号码" +#: frontend/src/pages/Billing.vue:150 +msgid "PAN Number" +msgstr "永久账号号码" + #. Option for the 'File Type' (Select) field in DocType 'Course Lesson' #. Option for the 'Type' (Select) field in DocType 'LMS Assignment' #. Option for the 'Type' (Select) field in DocType 'LMS Assignment Submission' @@ -4827,10 +4985,6 @@ msgstr "评估后付费证书" msgid "Paid Course" msgstr "付费课程" -#: frontend/src/pages/Billing.vue:115 -msgid "Pan Number" -msgstr "PAN号码" - #. Option for the 'Type' (Select) field in DocType 'Job Opportunity' #. Option in a Select field in the job-opportunity Web Form #: frontend/src/pages/Jobs.vue:195 @@ -4848,7 +5002,7 @@ msgstr "部分完成" #. Submission' #. Option for the 'Status' (Select) field in DocType 'LMS Certificate #. Evaluation' -#: frontend/src/components/Modals/Event.vue:393 +#: frontend/src/components/Modals/Event.vue:392 #: lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json msgid "Pass" @@ -4865,7 +5019,7 @@ msgstr "通过" #. Label of the passing_percentage (Int) field in DocType 'LMS Quiz' #. Label of the passing_percentage (Int) field in DocType 'LMS Quiz Submission' -#: frontend/src/pages/QuizForm.vue:78 frontend/src/pages/Quizzes.vue:242 +#: frontend/src/pages/QuizForm.vue:78 frontend/src/pages/Quizzes.vue:248 #: lms/lms/doctype/lms_quiz/lms_quiz.json #: lms/lms/doctype/lms_quiz_submission/lms_quiz_submission.json msgid "Passing Percentage" @@ -4894,20 +5048,20 @@ msgstr "支付国家" #. Label of the payment_details_section (Section Break) field in DocType 'LMS #. Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:42 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:54 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Payment Details" msgstr "支付详情" -#: frontend/src/components/Settings/TransactionDetails.vue:18 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:20 msgid "Payment For Certificate" msgstr "证书费用" -#: frontend/src/components/Settings/TransactionDetails.vue:51 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:47 msgid "Payment For Document" msgstr "文档费用" -#: frontend/src/components/Settings/TransactionDetails.vue:46 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:42 msgid "Payment For Document Type" msgstr "文档类型费用" @@ -4917,15 +5071,15 @@ msgid "Payment Gateway" msgstr "支付网关" #. Label of the payment_id (Data) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:79 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:110 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Payment ID" msgstr "支付ID" #. Label of the payment_received (Check) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/TransactionDetails.vue:13 -#: frontend/src/components/Settings/Transactions.vue:25 -#: frontend/src/components/Settings/Transactions.vue:226 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:15 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:25 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:187 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Payment Received" msgstr "已收款" @@ -4942,13 +5096,13 @@ msgstr "支付提醒模板" msgid "Payment Settings" msgstr "支付设置" -#: frontend/src/pages/Billing.vue:21 +#: frontend/src/pages/Billing.vue:20 msgid "Payment for " msgstr "支付对象:" #. Label of the payment_for_certificate (Check) field in DocType 'LMS Payment' -#: frontend/src/components/Settings/Transactions.vue:30 -#: frontend/src/components/Settings/Transactions.vue:233 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:30 +#: frontend/src/components/Settings/Transactions/TransactionList.vue:194 #: lms/lms/doctype/lms_payment/lms_payment.json msgid "Payment for Certificate" msgstr "证书支付" @@ -4975,16 +5129,18 @@ msgstr "未安装支付应用" #. Option for the 'Status' (Select) field in DocType 'LMS Certificate #. Evaluation' #. Option for the 'Status' (Select) field in DocType 'LMS Mentor Request' -#: frontend/src/components/Modals/Event.vue:385 +#: frontend/src/components/Modals/Event.vue:384 #: lms/lms/doctype/cohort_join_request/cohort_join_request.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json #: lms/lms/doctype/lms_mentor_request/lms_mentor_request.json msgid "Pending" msgstr "待处理" +#. Option for the 'Discount Type' (Select) field in DocType 'LMS Coupon' #. Label of the percentage (Int) field in DocType 'LMS Quiz Submission' #: frontend/src/pages/QuizSubmission.vue:44 #: frontend/src/pages/QuizSubmissionList.vue:102 +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_quiz_submission/lms_quiz_submission.json msgid "Percentage" msgstr "百分比" @@ -4994,6 +5150,11 @@ msgstr "百分比" msgid "Percentage (e.g. 70%)" msgstr "百分比(如70%)" +#. Label of the percentage_discount (Int) field in DocType 'LMS Coupon' +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Percentage Discount" +msgstr "" + #: frontend/src/components/Modals/BatchStudentProgress.vue:46 msgid "Percentage/Status" msgstr "百分比/状态" @@ -5003,7 +5164,7 @@ msgstr "百分比/状态" msgid "Persona Captured" msgstr "用户画像已采集" -#: frontend/src/pages/Billing.vue:99 +#: frontend/src/pages/Billing.vue:134 msgid "Phone Number" msgstr "电话号码" @@ -5048,6 +5209,10 @@ msgstr "请报名本课程以查看此课时" msgid "Please ensure that you complete all the questions in {0} minutes." msgstr "请确保在{0}分钟内完成所有试题" +#: frontend/src/pages/Billing.vue:313 +msgid "Please enter a coupon code" +msgstr "" + #: frontend/src/components/Modals/LiveClassModal.vue:186 msgid "Please enter a title." msgstr "请输入标题" @@ -5085,7 +5250,7 @@ msgstr "请安装支付应用以创建付费班级,详情请参阅文档{0}" msgid "Please install the Payments App to create a paid course. Refer to the documentation for more details. {0}" msgstr "请安装支付应用以创建付费课程,详情请参阅文档{0}" -#: frontend/src/pages/Billing.vue:254 +#: frontend/src/pages/Billing.vue:297 msgid "Please let us know where you heard about us from." msgstr "请告知您通过何种渠道了解到我们" @@ -5093,7 +5258,7 @@ msgstr "请告知您通过何种渠道了解到我们" msgid "Please login to access the quiz." msgstr "请登录以访问测验" -#: frontend/src/components/NoPermission.vue:25 frontend/src/pages/Batch.vue:175 +#: frontend/src/components/NoPermission.vue:25 frontend/src/pages/Batch.vue:178 msgid "Please login to access this page." msgstr "请登录以访问此页面" @@ -5101,7 +5266,7 @@ msgstr "请登录以访问此页面" msgid "Please login to continue with payment." msgstr "请登录以继续支付" -#: lms/lms/utils.py:2020 +#: lms/lms/utils.py:2163 msgid "Please login to enroll in the program." msgstr "请登录以报名项目。" @@ -5114,7 +5279,7 @@ msgstr "请充分准备并准时参加评估" msgid "Please run the code to execute the test cases." msgstr "请运行代码以执行测试用例。" -#: frontend/src/pages/Programs/ProgramForm.vue:421 +#: frontend/src/pages/Programs/ProgramForm.vue:426 msgid "Please select a course" msgstr "请选择课程" @@ -5130,7 +5295,7 @@ msgstr "请选择时长" msgid "Please select a future date and time." msgstr "请选择未来的日期和时间" -#: frontend/src/pages/Programs/ProgramForm.vue:448 +#: frontend/src/pages/Programs/ProgramForm.vue:453 msgid "Please select a member" msgstr "请选择成员" @@ -5200,7 +5365,7 @@ msgstr "备选答案4" msgid "Post" msgstr "发布" -#: frontend/src/pages/Billing.vue:95 +#: frontend/src/pages/Billing.vue:130 msgid "Postal Code" msgstr "邮政编码" @@ -5298,7 +5463,7 @@ msgstr "隐私信息包含您的成绩和工作环境偏好" msgid "Problem Statement" msgstr "问题描述" -#: frontend/src/pages/Billing.vue:129 +#: frontend/src/pages/Billing.vue:164 msgid "Proceed to Payment" msgstr "前往支付" @@ -5329,15 +5494,15 @@ msgstr "项目成员" msgid "Program Members" msgstr "项目成员" -#: frontend/src/pages/Programs/ProgramForm.vue:381 +#: frontend/src/pages/Programs/ProgramForm.vue:386 msgid "Program created successfully" msgstr "项目创建成功" -#: frontend/src/pages/Programs/ProgramForm.vue:552 +#: frontend/src/pages/Programs/ProgramForm.vue:557 msgid "Program deleted successfully" msgstr "项目删除成功" -#: frontend/src/pages/Programs/ProgramForm.vue:400 +#: frontend/src/pages/Programs/ProgramForm.vue:405 msgid "Program updated successfully" msgstr "项目更新成功" @@ -5347,24 +5512,24 @@ msgstr "编程练习" #: frontend/src/components/Settings/BadgeForm.vue:200 #: frontend/src/components/Settings/Badges.vue:205 -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:426 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:425 msgid "Programming Exercise Submission" msgstr "编程练习提交" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:417 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:416 #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmissions.vue:298 msgid "Programming Exercise Submissions" msgstr "编程练习提交记录" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:211 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:217 msgid "Programming Exercise created successfully" msgstr "编程练习创建成功" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:247 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:253 msgid "Programming Exercise deleted successfully" msgstr "编程练习删除成功" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:230 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:236 msgid "Programming Exercise updated successfully" msgstr "编程练习更新成功" @@ -5411,7 +5576,7 @@ msgstr "进度摘要" msgid "Progress Summary for {0}" msgstr "{0}进度摘要" -#: frontend/src/components/BatchStudents.vue:41 +#: frontend/src/components/AdminBatchDashboard.vue:42 msgid "Progress of students in courses and assessments" msgstr "学员在课程和评估中的进度" @@ -5481,7 +5646,7 @@ msgstr "Python" #: frontend/src/components/Assignment.vue:20 #: frontend/src/components/Modals/AssignmentForm.vue:32 #: frontend/src/components/Modals/Question.vue:27 -#: frontend/src/pages/QuizForm.vue:339 frontend/src/pages/QuizSubmission.vue:56 +#: frontend/src/pages/QuizForm.vue:345 frontend/src/pages/QuizSubmission.vue:56 #: lms/lms/doctype/course_lesson/course_lesson.json #: lms/lms/doctype/lms_assignment/lms_assignment.json #: lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.json @@ -5522,7 +5687,7 @@ msgstr "第{0}/{1}题" msgid "Questions" msgstr "问题" -#: frontend/src/pages/QuizForm.vue:381 +#: frontend/src/pages/QuizForm.vue:387 msgid "Questions deleted successfully" msgstr "问题删除成功" @@ -5564,7 +5729,7 @@ msgstr "测验摘要" msgid "Quiz Title" msgstr "测验标题" -#: frontend/src/pages/Quizzes.vue:201 +#: frontend/src/pages/Quizzes.vue:207 msgid "Quiz created successfully" msgstr "测验创建成功" @@ -5572,7 +5737,7 @@ msgstr "测验创建成功" msgid "Quiz is not available to Guest users. Please login to continue." msgstr "访客无法访问测验,请登录继续" -#: frontend/src/pages/QuizForm.vue:306 +#: frontend/src/pages/QuizForm.vue:312 msgid "Quiz updated successfully" msgstr "测验更新成功" @@ -5581,13 +5746,13 @@ msgstr "测验更新成功" msgid "Quiz will appear at the bottom of the lesson." msgstr "测验将显示在课时末尾" -#: frontend/src/components/AppSidebar.vue:621 -#: frontend/src/pages/QuizForm.vue:392 frontend/src/pages/Quizzes.vue:275 -#: frontend/src/pages/Quizzes.vue:285 lms/www/lms.py:249 +#: frontend/src/components/AppSidebar.vue:645 +#: frontend/src/pages/QuizForm.vue:398 frontend/src/pages/Quizzes.vue:281 +#: frontend/src/pages/Quizzes.vue:291 lms/www/lms.py:249 msgid "Quizzes" msgstr "测验" -#: frontend/src/pages/Quizzes.vue:223 +#: frontend/src/pages/Quizzes.vue:229 msgid "Quizzes deleted successfully" msgstr "测验删除成功" @@ -5624,6 +5789,16 @@ msgstr "就绪" msgid "Red" msgstr "红色" +#. Label of the redemption_count (Int) field in DocType 'LMS Coupon' +#: frontend/src/components/Settings/Coupons/CouponList.vue:189 +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Redemption Count" +msgstr "" + +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:64 +msgid "Redemptions Count" +msgstr "" + #. Label of the reference_docname (Dynamic Link) field in DocType 'LMS Batch #. Timetable' #: lms/lms/doctype/lms_batch_timetable/lms_batch_timetable.json @@ -5631,9 +5806,11 @@ msgid "Reference DocName" msgstr "参考文档名称" #. Label of the reference_doctype (Link) field in DocType 'LMS Batch Timetable' +#. Label of the reference_doctype (Select) field in DocType 'LMS Coupon Item' #. Label of the reference_doctype (Link) field in DocType 'LMS Timetable #. Legend' #: lms/lms/doctype/lms_batch_timetable/lms_batch_timetable.json +#: lms/lms/doctype/lms_coupon_item/lms_coupon_item.json #: lms/lms/doctype/lms_timetable_legend/lms_timetable_legend.json msgid "Reference DocType" msgstr "参考文档类型" @@ -5643,6 +5820,12 @@ msgstr "参考文档类型" msgid "Reference Document Type" msgstr "参考文档类型" +#. Label of the reference_name (Dynamic Link) field in DocType 'LMS Coupon +#. Item' +#: lms/lms/doctype/lms_coupon_item/lms_coupon_item.json +msgid "Reference Name" +msgstr "源单据" + #: lms/templates/emails/community_course_membership.html:17 msgid "Regards" msgstr "此致" @@ -5767,7 +5950,7 @@ msgstr "角色偏好" msgid "Role updated successfully" msgstr "角色更新成功。" -#: frontend/src/components/AppSidebar.vue:649 +#: frontend/src/components/AppSidebar.vue:673 msgid "Roles" msgstr "角色" @@ -5852,8 +6035,9 @@ msgstr "星期六" #: frontend/src/components/Modals/ZoomAccountModal.vue:10 #: frontend/src/components/Settings/BadgeAssignmentForm.vue:12 #: frontend/src/components/Settings/BadgeForm.vue:78 +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:78 #: frontend/src/components/Settings/PaymentGatewayDetails.vue:38 -#: frontend/src/components/Settings/TransactionDetails.vue:96 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:129 #: frontend/src/pages/BatchForm.vue:14 frontend/src/pages/CourseForm.vue:17 #: frontend/src/pages/JobForm.vue:8 frontend/src/pages/LessonForm.vue:14 #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:101 @@ -5875,7 +6059,7 @@ msgstr "日程" msgid "Schedule Evaluation" msgstr "安排评估" -#: frontend/src/components/UpcomingEvaluations.vue:100 +#: frontend/src/components/UpcomingEvaluations.vue:103 msgid "Schedule an evaluation to get certified." msgstr "安排评估以获得认证。" @@ -5994,7 +6178,7 @@ msgstr "发送" msgid "Send Confirmation Email" msgstr "发送确认邮件" -#: frontend/src/pages/JobApplications.vue:268 +#: frontend/src/pages/JobApplications.vue:270 msgid "Send Email" msgstr "发电子邮件" @@ -6029,15 +6213,15 @@ msgstr "设置颜色" msgid "Set your Password" msgstr "设置密码" -#: frontend/src/components/AppSidebar.vue:592 +#: frontend/src/components/AppSidebar.vue:616 msgid "Setting up" msgstr "系统配置中" -#: frontend/src/components/AppSidebar.vue:642 +#: frontend/src/components/AppSidebar.vue:666 msgid "Setting up payment gateway" msgstr "设置支付网关" -#: frontend/src/components/AppSidebar.vue:647 +#: frontend/src/components/AppSidebar.vue:671 #: frontend/src/components/Settings/Settings.vue:9 #: frontend/src/pages/BatchForm.vue:53 frontend/src/pages/CourseForm.vue:142 #: frontend/src/pages/ProfileRoles.vue:4 @@ -6070,7 +6254,7 @@ msgid "Show Answer" msgstr "显示答案" #. Label of the show_answers (Check) field in DocType 'LMS Quiz' -#: frontend/src/pages/QuizForm.vue:93 frontend/src/pages/Quizzes.vue:256 +#: frontend/src/pages/QuizForm.vue:93 frontend/src/pages/Quizzes.vue:262 #: lms/lms/doctype/lms_quiz/lms_quiz.json msgid "Show Answers" msgstr "显示答案" @@ -6195,7 +6379,7 @@ msgstr "解决方案" #. Label of the source (Link) field in DocType 'LMS Payment' #. Label of the source (Data) field in DocType 'LMS Source' #. Label of the source (Data) field in DocType 'LMS Video Watch Duration' -#: frontend/src/components/Settings/TransactionDetails.vue:35 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:37 #: lms/lms/doctype/lms_batch_enrollment/lms_batch_enrollment.json #: lms/lms/doctype/lms_payment/lms_payment.json #: lms/lms/doctype/lms_source/lms_source.json @@ -6216,8 +6400,8 @@ msgid "Stage" msgstr "阶段" #: frontend/src/components/LiveClass.vue:73 frontend/src/components/Quiz.vue:81 -#: frontend/src/pages/Home/AdminHome.vue:164 -#: frontend/src/pages/Home/StudentHome.vue:107 +#: frontend/src/pages/Home/AdminHome.vue:167 +#: frontend/src/pages/Home/StudentHome.vue:110 msgid "Start" msgstr "开始" @@ -6276,13 +6460,13 @@ msgstr "开始测验" msgid "Startup Organization" msgstr "初创机构" -#: frontend/src/pages/Billing.vue:83 +#: frontend/src/pages/Billing.vue:118 msgid "State/Province" msgstr "州/省" #. Label of the tab_4_tab (Tab Break) field in DocType 'LMS Course' #. Label of the statistics (Check) field in DocType 'LMS Settings' -#: frontend/src/components/BatchStudents.vue:5 +#: frontend/src/components/AdminBatchDashboard.vue:5 #: frontend/src/pages/Statistics.vue:225 #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_settings/lms_settings.json lms/www/lms.py:202 @@ -6349,13 +6533,13 @@ msgid "Student Reviews" msgstr "学员评价" #. Label of the show_students (Check) field in DocType 'LMS Settings' -#: frontend/src/components/BatchStudents.vue:11 -#: frontend/src/components/BatchStudents.vue:67 +#: frontend/src/components/AdminBatchDashboard.vue:11 +#: frontend/src/components/BatchStudents.vue:5 #: lms/lms/doctype/lms_settings/lms_settings.json msgid "Students" msgstr "学员" -#: frontend/src/components/BatchStudents.vue:285 +#: frontend/src/components/BatchStudents.vue:204 msgid "Students deleted successfully" msgstr "学员删除成功" @@ -6381,7 +6565,7 @@ msgid "Subject" msgstr "主题" #: frontend/src/components/Modals/AnnouncementModal.vue:94 -#: frontend/src/pages/JobApplications.vue:237 +#: frontend/src/pages/JobApplications.vue:238 msgid "Subject is required" msgstr "必须填写主题" @@ -6398,7 +6582,7 @@ msgstr "提交类型" msgid "Submission by" msgstr "提交人" -#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:359 +#: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseSubmission.vue:358 msgid "Submission saved!" msgstr "提交已保存!" @@ -6486,6 +6670,7 @@ msgstr "色板" #: lms/lms/doctype/lms_certificate/lms_certificate.json #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json +#: lms/lms/doctype/lms_coupon/lms_coupon.json #: lms/lms/doctype/lms_course/lms_course.json #: lms/lms/doctype/lms_course_interest/lms_course_interest.json #: lms/lms/doctype/lms_course_mentor_mapping/lms_course_mentor_mapping.json @@ -6611,7 +6796,7 @@ msgstr "感谢您提供反馈。" msgid "Thanks and Regards" msgstr "此致敬礼" -#: lms/lms/utils.py:1912 +#: lms/lms/utils.py:2055 msgid "The batch is full. Please contact the Administrator." msgstr "该批次已满。请联系管理员" @@ -6619,6 +6804,10 @@ msgstr "该批次已满。请联系管理员" msgid "The batch you have enrolled for is starting tomorrow. Please be prepared and be on time for the session." msgstr "您报名的批次明日开始,请做好准备准时参加" +#: lms/lms/utils.py:1855 +msgid "The coupon code '{0}' is invalid." +msgstr "" + #: lms/templates/emails/lms_course_interest.html:5 msgid "The course {0} is now available on {1}." msgstr "课程{0}现已在{1}上线" @@ -6647,7 +6836,7 @@ msgstr "当前暂无课程。创建您的首门课程开始使用!" msgid "There are no seats available in this batch." msgstr "本批次无可用席位" -#: frontend/src/components/BatchStudents.vue:155 +#: frontend/src/components/BatchStudents.vue:94 msgid "There are no students in this batch." msgstr "本批次暂无学员" @@ -6691,16 +6880,28 @@ msgid "This certificate does no expire" msgstr "本证书永久有效" #: frontend/src/components/LiveClass.vue:86 -#: frontend/src/pages/Home/AdminHome.vue:177 -#: frontend/src/pages/Home/StudentHome.vue:120 +#: frontend/src/pages/Home/AdminHome.vue:180 +#: frontend/src/pages/Home/StudentHome.vue:123 msgid "This class has ended" msgstr "本课程已结束" +#: lms/lms/utils.py:1884 +msgid "This coupon has expired." +msgstr "" + +#: lms/lms/utils.py:1887 +msgid "This coupon has reached its maximum usage limit." +msgstr "" + +#: lms/lms/utils.py:1896 +msgid "This coupon is not applicable to this {0}." +msgstr "" + #: frontend/src/components/CourseCardOverlay.vue:126 msgid "This course has:" msgstr "本课程包含:" -#: lms/lms/utils.py:1773 +#: lms/lms/utils.py:1815 msgid "This course is free." msgstr "本课程免费" @@ -6745,6 +6946,10 @@ msgstr "系统正在更新中,期间不可进行任何修改操作。完整访 msgid "This video contains {0} {1}:" msgstr "本视频包含{0}个{1}:" +#: frontend/src/components/Settings/Coupons/CouponList.vue:128 +msgid "This will permanently delete the coupon and the code will no longer be valid." +msgstr "" + #. Option for the 'Day' (Select) field in DocType 'Evaluator Schedule' #. Option for the 'Day' (Select) field in DocType 'LMS Certificate Request' #: lms/lms/doctype/evaluator_schedule/evaluator_schedule.json @@ -6856,7 +7061,7 @@ msgstr "时间安排:" #: frontend/src/pages/ProgrammingExercises/ProgrammingExerciseForm.vue:17 #: frontend/src/pages/Programs/ProgramForm.vue:25 #: frontend/src/pages/QuizForm.vue:56 frontend/src/pages/Quizzes.vue:115 -#: frontend/src/pages/Quizzes.vue:229 lms/lms/doctype/cohort/cohort.json +#: frontend/src/pages/Quizzes.vue:235 lms/lms/doctype/cohort/cohort.json #: lms/lms/doctype/cohort_subgroup/cohort_subgroup.json #: lms/lms/doctype/cohort_web_page/cohort_web_page.json #: lms/lms/doctype/course_chapter/course_chapter.json @@ -6892,7 +7097,7 @@ msgstr "至" msgid "To Date" msgstr "截止日期" -#: lms/lms/utils.py:1784 +#: lms/lms/utils.py:1829 msgid "To join this batch, please contact the Administrator." msgstr "加入本批次请联系管理员" @@ -6900,12 +7105,12 @@ msgstr "加入本批次请联系管理员" msgid "Too many users signed up recently, so the registration is disabled. Please try back in an hour" msgstr "近期注册用户过多,注册功能已临时关闭,请一小时后重试" -#: frontend/src/pages/Billing.vue:53 +#: frontend/src/pages/Billing.vue:54 msgid "Total" msgstr "总计" #. Label of the total_marks (Int) field in DocType 'LMS Quiz' -#: frontend/src/pages/QuizForm.vue:73 frontend/src/pages/Quizzes.vue:235 +#: frontend/src/pages/QuizForm.vue:73 frontend/src/pages/Quizzes.vue:241 #: lms/lms/doctype/lms_quiz/lms_quiz.json msgid "Total Marks" msgstr "总分" @@ -6919,7 +7124,7 @@ msgstr "总注册数" msgid "Training Feedback" msgstr "培训反馈" -#: frontend/src/components/Settings/TransactionDetails.vue:5 +#: frontend/src/components/Settings/Transactions/TransactionDetails.vue:9 msgid "Transaction Details" msgstr "交易详情" @@ -7013,7 +7218,7 @@ msgstr "审核中" msgid "Unlisted" msgstr "未列出" -#: frontend/src/pages/Batches.vue:286 frontend/src/pages/Courses.vue:324 +#: frontend/src/pages/Batches.vue:285 frontend/src/pages/Courses.vue:324 msgid "Unpublished" msgstr "未发布" @@ -7035,14 +7240,14 @@ msgstr "非结构化角色" #. Option for the 'Status' (Select) field in DocType 'Cohort' #. Option for the 'Status' (Select) field in DocType 'LMS Certificate Request' #. Label of the upcoming (Check) field in DocType 'LMS Course' -#: frontend/src/pages/Batches.vue:284 frontend/src/pages/CourseForm.vue:164 +#: frontend/src/pages/Batches.vue:283 frontend/src/pages/CourseForm.vue:164 #: frontend/src/pages/Courses.vue:315 lms/lms/doctype/cohort/cohort.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json #: lms/lms/doctype/lms_course/lms_course.json msgid "Upcoming" msgstr "即将到来" -#: frontend/src/pages/Batch.vue:187 frontend/src/pages/Home/AdminHome.vue:34 +#: frontend/src/pages/Batch.vue:190 frontend/src/pages/Home/AdminHome.vue:34 msgid "Upcoming Batches" msgstr "即将开课批次" @@ -7078,6 +7283,17 @@ msgstr "上传文件" msgid "Uploading {0}%" msgstr "上传进度{0}%" +#. Label of the usage_limit (Int) field in DocType 'LMS Coupon' +#: frontend/src/components/Settings/Coupons/CouponDetails.vue:58 +#: frontend/src/components/Settings/Coupons/CouponList.vue:182 +#: lms/lms/doctype/lms_coupon/lms_coupon.json +msgid "Usage Limit" +msgstr "" + +#: lms/lms/doctype/lms_coupon/lms_coupon.py:31 +msgid "Usage limit cannot be negative" +msgstr "" + #: frontend/src/components/Modals/EmailTemplateModal.vue:38 msgid "Use HTML" msgstr "使用HTML" @@ -7174,7 +7390,7 @@ msgstr "" msgid "View Certificate" msgstr "查看证书" -#: frontend/src/pages/JobApplications.vue:262 +#: frontend/src/pages/JobApplications.vue:264 msgid "View Resume" msgstr "" @@ -7269,7 +7485,7 @@ msgstr "您使用Frappe Learning的主要场景是?" msgid "When a course gets submitted for review, it will be listed here." msgstr "提交审核的课程将在此列出" -#: frontend/src/pages/Billing.vue:106 +#: frontend/src/pages/Billing.vue:141 msgid "Where did you hear about us?" msgstr "您通过何种渠道了解到我们?" @@ -7343,7 +7559,7 @@ msgstr "您已注册本批次" msgid "You are already enrolled for this course." msgstr "您已注册本课程" -#: frontend/src/pages/Batch.vue:169 +#: frontend/src/pages/Batch.vue:172 msgid "You are not a member of this batch. Please checkout our upcoming batches." msgstr "您不属于本批次成员,请查看即将开课批次" @@ -7697,7 +7913,7 @@ msgstr "分钟数" msgid "others" msgstr "其他" -#: frontend/src/pages/QuizForm.vue:340 +#: frontend/src/pages/QuizForm.vue:346 msgid "question_detail" msgstr "问题详情"