From 9614f8eb9d5d2312a152d379f5bad08ba2759879 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:09:44 +0530 Subject: [PATCH 01/11] chore: French translations --- lms/locale/fr.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/locale/fr.po b/lms/locale/fr.po index fea3e60e..1595f0bf 100644 --- a/lms/locale/fr.po +++ b/lms/locale/fr.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-18 12:33\n" +"PO-Revision-Date: 2025-11-25 13:39\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: French\n" "MIME-Version: 1.0\n" @@ -310,7 +310,7 @@ msgstr "" #. Name of a role #: frontend/src/pages/Batches.vue:274 lms/lms/doctype/lms_badge/lms_badge.json msgid "All" -msgstr "" +msgstr "Tous" #: frontend/src/pages/Batches.vue:26 msgid "All Batches" @@ -1580,7 +1580,7 @@ msgstr "" #: lms/job/doctype/job_opportunity/job_opportunity.json #: lms/lms/doctype/payment_country/payment_country.json msgid "Country" -msgstr "" +msgstr "Pays" #. Label of the coupon (Link) field in DocType 'LMS Payment' #: lms/lms/doctype/lms_payment/lms_payment.json @@ -8057,5 +8057,5 @@ msgstr "" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} Publié" +msgstr "" From 731e24297450577751ec6d84f4abd438eb754b32 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:09:46 +0530 Subject: [PATCH 02/11] chore: Spanish translations --- lms/locale/es.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/es.po b/lms/locale/es.po index 96bae98f..0a832db2 100644 --- a/lms/locale/es.po +++ b/lms/locale/es.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-21 12:31\n" +"PO-Revision-Date: 2025-11-25 13:39\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Spanish\n" "MIME-Version: 1.0\n" @@ -8057,5 +8057,5 @@ msgstr "{} Aprobado" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} Publicada" +msgstr "" From e2d7b409bd4c1e866788e59c568b39e863205098 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:09:47 +0530 Subject: [PATCH 03/11] chore: Arabic translations --- lms/locale/ar.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/ar.po b/lms/locale/ar.po index 76828739..6159368c 100644 --- a/lms/locale/ar.po +++ b/lms/locale/ar.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-18 12:33\n" +"PO-Revision-Date: 2025-11-25 13:39\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Arabic\n" "MIME-Version: 1.0\n" @@ -8057,5 +8057,5 @@ msgstr "" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} نشرت" +msgstr "" From 3b925246eedc254b36b342dcf5307d24f82f879b Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:09:51 +0530 Subject: [PATCH 04/11] chore: German translations --- lms/locale/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/de.po b/lms/locale/de.po index 68421d32..c8b81922 100644 --- a/lms/locale/de.po +++ b/lms/locale/de.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-18 12:33\n" +"PO-Revision-Date: 2025-11-25 13:39\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: German\n" "MIME-Version: 1.0\n" @@ -8057,5 +8057,5 @@ msgstr "{} Bestanden" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} Veröffentlicht" +msgstr "" From af3f1a5fc349a3445d95fc77b5a384c40dfc32eb Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:10:02 +0530 Subject: [PATCH 05/11] 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 349652ef..26394b0b 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: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-18 12:34\n" +"PO-Revision-Date: 2025-11-25 13:40\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Turkish\n" "MIME-Version: 1.0\n" @@ -8057,5 +8057,5 @@ msgstr "{} Geçti" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} Yayınlandı" +msgstr "" From 470e446ae6f8466e6c815f6711e58b0a385cb261 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:10:08 +0530 Subject: [PATCH 06/11] chore: Persian translations --- lms/locale/fa.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/fa.po b/lms/locale/fa.po index 7e1ae8e6..ad0965c6 100644 --- a/lms/locale/fa.po +++ b/lms/locale/fa.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-21 12:31\n" +"PO-Revision-Date: 2025-11-25 13:40\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Persian\n" "MIME-Version: 1.0\n" @@ -8057,5 +8057,5 @@ msgstr "" #. Count format of shortcut in the LMS Workspace #: lms/lms/workspace/lms/lms.json msgid "{} Published" -msgstr "{} منتشر شده" +msgstr "" From faa18d6a88fc4579acd40c046a22697e056442b1 Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Tue, 25 Nov 2025 19:10:19 +0530 Subject: [PATCH 07/11] chore: Slovenian translations --- lms/locale/sl.po | 58 ++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/lms/locale/sl.po b/lms/locale/sl.po index d56cef54..530ed051 100644 --- a/lms/locale/sl.po +++ b/lms/locale/sl.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-24 13:41\n" +"PO-Revision-Date: 2025-11-25 13:40\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Slovenian\n" "MIME-Version: 1.0\n" @@ -158,7 +158,7 @@ msgstr "Dodaj Poglavje" #: frontend/src/pages/Programs/ProgramForm.vue:176 msgid "Add Course to Program" -msgstr "" +msgstr "Dodaj tečaj v program" #: frontend/src/components/Settings/Evaluators.vue:91 msgid "Add Evaluator" @@ -454,7 +454,7 @@ msgstr "" #: frontend/src/pages/JobApplications.vue:14 #: frontend/src/pages/JobApplications.vue:25 msgid "Applications" -msgstr "" +msgstr "Prijave" #: frontend/src/pages/JobApplications.vue:292 msgid "Applied On" @@ -515,7 +515,7 @@ msgstr "" #: frontend/src/components/Modals/BatchStudentProgress.vue:43 #: lms/lms/doctype/lms_batch/lms_batch.json lms/templates/assessments.html:11 msgid "Assessment" -msgstr "" +msgstr "Ocena" #. Label of the assessment_name (Dynamic Link) field in DocType 'LMS #. Assessment' @@ -648,12 +648,12 @@ msgstr "" #. Label of the attendees (Int) field in DocType 'LMS Live Class' #: lms/lms/doctype/lms_live_class/lms_live_class.json msgid "Attendees" -msgstr "" +msgstr "Udeleženci" #. Label of the attire (Select) field in DocType 'User' #: lms/fixtures/custom_field.json msgid "Attire Preference" -msgstr "" +msgstr "Prednostna oblačila" #: frontend/src/pages/ProfileEvaluator.vue:146 msgid "Authorize Google Calendar Access" @@ -662,13 +662,13 @@ msgstr "" #. Option for the 'Event' (Select) field in DocType 'LMS Badge' #: lms/lms/doctype/lms_badge/lms_badge.json msgid "Auto Assign" -msgstr "" +msgstr "Samodejno Dodeli" #. Label of the auto_recording (Select) field in DocType 'LMS Live Class' #: frontend/src/components/Modals/LiveClassModal.vue:73 #: lms/lms/doctype/lms_live_class/lms_live_class.json msgid "Auto Recording" -msgstr "" +msgstr "Samodejno Snemanje" #: frontend/src/pages/ProfileEvaluator.vue:241 msgid "Availability updated successfully" @@ -702,18 +702,18 @@ msgstr "" #: frontend/src/components/Settings/Badges.vue:214 #: lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json msgid "Badge" -msgstr "" +msgstr "Značka" #. Label of the badge_description (Small Text) field in DocType 'LMS Badge #. Assignment' #: lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json msgid "Badge Description" -msgstr "" +msgstr "Opis Značke" #. Label of the badge_image (Attach) field in DocType 'LMS Badge Assignment' #: lms/lms/doctype/lms_badge_assignment/lms_badge_assignment.json msgid "Badge Image" -msgstr "" +msgstr "Slika Značke" #: frontend/src/components/Settings/BadgeAssignmentForm.vue:131 msgid "Badge assignment created successfully" @@ -760,7 +760,7 @@ msgstr "Šarža" #. Settings' #: lms/lms/doctype/lms_settings/lms_settings.json msgid "Batch Confirmation Template" -msgstr "" +msgstr "Predloga za potrditev Skupine" #. Name of a DocType #: lms/lms/doctype/batch_course/batch_course.json @@ -783,20 +783,20 @@ msgstr "Podrobnosti Šarže" #. Label of the batch_details_raw (HTML Editor) field in DocType 'LMS Batch' #: lms/lms/doctype/lms_batch/lms_batch.json msgid "Batch Details Raw" -msgstr "" +msgstr "Podrobnosti o Skupini" #: frontend/src/pages/BatchForm.vue:89 msgid "Batch End Date" -msgstr "" +msgstr "Končni datum Skupine" #: frontend/src/components/Settings/BadgeForm.vue:204 #: frontend/src/components/Settings/Badges.vue:202 msgid "Batch Enrollment" -msgstr "" +msgstr "Skupni Vpis" #: frontend/src/components/Modals/EmailTemplateModal.vue:28 msgid "Batch Enrollment Confirmation" -msgstr "" +msgstr "Potrditev Skupnega Vpisa" #. Name of a role #: lms/lms/doctype/course_evaluator/course_evaluator.json @@ -811,12 +811,12 @@ msgstr "" #: lms/lms/doctype/lms_programming_exercise_submission/lms_programming_exercise_submission.json #: lms/lms/doctype/lms_zoom_settings/lms_zoom_settings.json msgid "Batch Evaluator" -msgstr "" +msgstr "Ocenjevalec Skupine" #. Label of the batch_name (Link) field in DocType 'LMS Certificate Evaluation' #: lms/lms/doctype/lms_certificate_evaluation/lms_certificate_evaluation.json msgid "Batch Name" -msgstr "" +msgstr "Ime Skupine" #. Label of the batch_old (Link) field in DocType 'Exercise Latest Submission' #. Label of the batch_old (Link) field in DocType 'Exercise Submission' @@ -825,7 +825,7 @@ msgstr "" #: lms/lms/doctype/exercise_submission/exercise_submission.json #: lms/lms/doctype/lms_enrollment/lms_enrollment.json msgid "Batch Old" -msgstr "" +msgstr "Stara Skupina" #. Label of the section_break_7 (Section Break) field in DocType 'LMS Batch #. Old' @@ -834,46 +834,46 @@ msgstr "" #: lms/lms/doctype/lms_batch_old/lms_batch_old.json #: lms/lms/doctype/lms_settings/lms_settings.json msgid "Batch Settings" -msgstr "" +msgstr "Nastavitve Skupine" #: frontend/src/pages/BatchForm.vue:82 msgid "Batch Start Date" -msgstr "" +msgstr "Datum začetka Skupine" #: lms/templates/emails/batch_confirmation.html:11 msgid "Batch Start Date:" -msgstr "" +msgstr "Datum začetka Skupine:" #: frontend/src/components/AdminBatchDashboard.vue:41 msgid "Batch Summary" -msgstr "" +msgstr "Povzetek Skupine" #. Label of the batch_title (Data) field in DocType 'LMS Certificate' #. Label of the batch_title (Data) field in DocType 'LMS Certificate Request' #: lms/lms/doctype/lms_certificate/lms_certificate.json #: lms/lms/doctype/lms_certificate_request/lms_certificate_request.json msgid "Batch Title" -msgstr "" +msgstr "Naslov Skupine" #: frontend/src/pages/BatchForm.vue:594 msgid "Batch deleted successfully" -msgstr "" +msgstr "Skupina uspešno izbrisana" #: lms/lms/doctype/lms_batch/lms_batch.py:43 msgid "Batch end date cannot be before the batch start date" -msgstr "" +msgstr "Končni datum Skupine ne more biti pred začetnim datumom skupine" #: lms/lms/api.py:211 msgid "Batch has already started." -msgstr "" +msgstr "Skupina se je že začela." #: lms/lms/api.py:206 msgid "Batch is sold out." -msgstr "" +msgstr "Skupina je razprodana." #: lms/lms/doctype/lms_batch/lms_batch.py:48 msgid "Batch start time cannot be greater than or equal to end time." -msgstr "" +msgstr "Začetni čas skupine ne sme biti večji ali enak končnemu času." #: lms/templates/emails/batch_start_reminder.html:10 msgid "Batch:" From 219139e45bc55d729b45cdf84757cd6927baebe0 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 26 Nov 2025 11:21:18 +0530 Subject: [PATCH 08/11] fix: round the amount after exchange rate calculation --- lms/lms/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/lms/utils.py b/lms/lms/utils.py index e3c65b22..1bd04ccc 100644 --- a/lms/lms/utils.py +++ b/lms/lms/utils.py @@ -13,7 +13,6 @@ from frappe.desk.notifications import extract_mentions from frappe.rate_limiter import rate_limit from frappe.utils import ( add_months, - ceil, cint, cstr, flt, @@ -25,6 +24,7 @@ from frappe.utils import ( getdate, nowtime, pretty_date, + rounded, ) from lms.lms.md import find_macros, markdown_to_html @@ -928,7 +928,7 @@ def check_multicurrency(amount, currency, country=None, amount_usd=None): if apply_rounding and amount % 100 != 0: amount = amount + 100 - amount % 100 - return ceil(amount), currency + return rounded(amount), currency def apply_gst(amount, country=None): @@ -1197,7 +1197,7 @@ def get_categorized_courses(courses): @frappe.whitelist(allow_guest=True) -@rate_limit(limit=50, seconds=60 * 60) +@rate_limit(limit=200, seconds=60 * 60) def get_course_outline(course, progress=False): """Returns the course outline.""" outline = [] From 3be31249516f1624d9ea5b178c7f6bea97819789 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 26 Nov 2025 15:05:55 +0530 Subject: [PATCH 09/11] fix: profile update form --- frontend/src/components/Modals/EditProfile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Modals/EditProfile.vue b/frontend/src/components/Modals/EditProfile.vue index f6564d49..ca89d289 100644 --- a/frontend/src/components/Modals/EditProfile.vue +++ b/frontend/src/components/Modals/EditProfile.vue @@ -222,8 +222,8 @@ watch( watch( () => profile.language, - (newVal, oldVal) => { - if (newVal !== oldVal) { + () => { + if (profile.language !== props.profile.data.language) { hasLanguageChanged.value = true } } From 924a11e4f45dbb7c2a4bd4c92e2db4cae9ddfbb1 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 26 Nov 2025 15:06:21 +0530 Subject: [PATCH 10/11] chore: frappe-ui tree shaking changes --- frappe-ui | 2 +- frontend/package.json | 2 +- frontend/src/index.css | 2 +- frontend/src/socket.js | 12 ------------ frontend/tailwind.config.js | 2 +- frontend/yarn.lock | 8 ++++---- lms/lms/api.py | 13 ++++++++++++- lms/lms/doctype/lms_certificate/lms_certificate.py | 2 +- 8 files changed, 21 insertions(+), 22 deletions(-) diff --git a/frappe-ui b/frappe-ui index 204333c9..5e976a17 160000 --- a/frappe-ui +++ b/frappe-ui @@ -1 +1 @@ -Subproject commit 204333c9256f21fca5f5c50acd66cee11aeca4f3 +Subproject commit 5e976a1753524030f93bc2a5880764ecdd135328 diff --git a/frontend/package.json b/frontend/package.json index 1bf08668..0cb5efc1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -33,7 +33,7 @@ "dayjs": "^1.11.6", "dompurify": "^3.2.6", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.216", + "frappe-ui": "^0.1.220", "highlight.js": "^11.11.1", "lucide-vue-next": "^0.383.0", "markdown-it": "^14.0.0", diff --git a/frontend/src/index.css b/frontend/src/index.css index 92b6d76d..32ecf2d7 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1,3 +1,3 @@ @import './assets/Inter/inter.css'; -@import 'frappe-ui/src/style.css'; +@import 'frappe-ui/style.css'; @import './styles/codemirror.css'; \ No newline at end of file diff --git a/frontend/src/socket.js b/frontend/src/socket.js index ad69de52..70f0a91c 100644 --- a/frontend/src/socket.js +++ b/frontend/src/socket.js @@ -1,7 +1,5 @@ import { io } from 'socket.io-client' import { socketio_port } from '../../../../sites/common_site_config.json' -import { getCachedListResource } from 'frappe-ui/src/resources/listResource' -import { getCachedResource } from 'frappe-ui/src/resources/resources' export function initSocket() { let host = window.location.hostname @@ -14,15 +12,5 @@ export function initSocket() { withCredentials: true, reconnectionAttempts: 5, }) - socket.on('refetch_resource', (data) => { - if (data.cache_key) { - let resource = - getCachedResource(data.cache_key) || - getCachedListResource(data.cache_key) - if (resource) { - resource.reload() - } - } - }) return socket } diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 522480bb..e0f7f20a 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -1,4 +1,4 @@ -import frappeUIPreset from 'frappe-ui/src/tailwind/preset' +import frappeUIPreset from 'frappe-ui/tailwind' export default { presets: [frappeUIPreset], diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 8904dafc..b86be152 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2938,10 +2938,10 @@ fraction.js@^5.3.4: resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.3.4.tgz#8c0fcc6a9908262df4ed197427bdeef563e0699a" integrity sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ== -frappe-ui@^0.1.216: - version "0.1.216" - resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.216.tgz#2297192cfcf13db7f9d4e374782fac1d42d54634" - integrity sha512-rBBa5CZdRaYGllxU95uz1luVddZlZQXWxoPB7InxKqt5W/t7ZDqAudm6Crbo1kBy3Hp7VPNNbB43jVKJhlcrPQ== +frappe-ui@^0.1.220: + version "0.1.220" + resolved "https://registry.yarnpkg.com/frappe-ui/-/frappe-ui-0.1.220.tgz#689731816f8e97e8574bad797caf1f09de94cbad" + integrity sha512-UOlndnoXxxpQM+FjlH7ybSXQgERxdDS0hZNyEna/GPUrm8xMTqKsgnWRqgyv1VLdv/qCDmQT/KNgo5TstHKLhg== dependencies: "@floating-ui/vue" "^1.1.6" "@headlessui/vue" "^1.7.14" diff --git a/lms/lms/api.py b/lms/lms/api.py index 8f3ef261..f7c69de4 100644 --- a/lms/lms/api.py +++ b/lms/lms/api.py @@ -1678,7 +1678,18 @@ def get_profile_details(username): details = frappe.db.get_value( "User", {"username": username}, - ["full_name", "name", "username", "user_image", "bio", "headline", "cover_image"], + [ + "first_name", + "last_name", + "full_name", + "name", + "username", + "user_image", + "bio", + "headline", + "language", + "cover_image", + ], as_dict=True, ) diff --git a/lms/lms/doctype/lms_certificate/lms_certificate.py b/lms/lms/doctype/lms_certificate/lms_certificate.py index 620c0abc..eb3aa1ee 100644 --- a/lms/lms/doctype/lms_certificate/lms_certificate.py +++ b/lms/lms/doctype/lms_certificate/lms_certificate.py @@ -19,7 +19,7 @@ class LMSCertificate(Document): self.name = make_autoname("hash", self.doctype) def after_insert(self): - if not frappe.flags.in_test: + if not frappe.in_test: outgoing_email_account = frappe.get_cached_value( "Email Account", {"default_outgoing": 1, "enable_outgoing": 1}, "name" ) From ca0fed9f173905a8da351e96b8a5ec6963f5866e Mon Sep 17 00:00:00 2001 From: Jannat Patel <31363128+pateljannat@users.noreply.github.com> Date: Wed, 26 Nov 2025 19:26:44 +0530 Subject: [PATCH 11/11] chore: Slovenian translations --- lms/locale/sl.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/locale/sl.po b/lms/locale/sl.po index 530ed051..ea25dd3b 100644 --- a/lms/locale/sl.po +++ b/lms/locale/sl.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: frappe\n" "Report-Msgid-Bugs-To: jannat@frappe.io\n" "POT-Creation-Date: 2025-11-14 16:04+0000\n" -"PO-Revision-Date: 2025-11-25 13:40\n" +"PO-Revision-Date: 2025-11-26 13:56\n" "Last-Translator: jannat@frappe.io\n" "Language-Team: Slovenian\n" "MIME-Version: 1.0\n" @@ -7401,7 +7401,7 @@ msgstr "" #. Option for the 'Color' (Select) field in DocType 'LMS Course' #: lms/lms/doctype/lms_course/lms_course.json msgid "Violet" -msgstr "" +msgstr "Vijolična" #. Label of the visibility (Select) field in DocType 'LMS Batch Old' #: lms/lms/doctype/lms_batch_old/lms_batch_old.json