Skip to content

Commit

Permalink
fix: typos (#1351)
Browse files Browse the repository at this point in the history
(cherry picked from commit b57ec34)
  • Loading branch information
barredterra authored and mergify[bot] committed Jan 24, 2024
1 parent c001f59 commit 62c5088
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/FormView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ const isFormReadOnly = computed(() => {
if (!isFormReady.value) return true
if (!props.id) return false
// submited & cancelled docs are read only
// submitted & cancelled docs are read only
if (formModel.value.docstatus !== 0) return true
// read only due to workflow based on current user's roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def validate(self):
self.validate_holidays()
self.validate_attendance()
if not self.leave_type:
frappe.throw(_("Leave Type is madatory"))
frappe.throw(_("Leave Type is mandatory"))

def validate_attendance(self):
attendance_records = frappe.get_all(
Expand Down
2 changes: 1 addition & 1 deletion hrms/hr/doctype/exit_interview/exit_interview.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_interviews(interviews):
interviews = json.loads(interviews)

if not len(interviews):
frappe.throw(_("Atleast one interview has to be selected."))
frappe.throw(_("At least one interview has to be selected."))

return interviews

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def validate_duplicate_on_payroll_period(self):
)
if application:
frappe.throw(
_("Employee {0} already submited an apllication {1} for the payroll period {2}").format(
_("Employee {0} already submitted an application {1} for the payroll period {2}").format(
self.employee, application, self.payroll_period
)
)
Expand Down

0 comments on commit 62c5088

Please sign in to comment.