diff --git a/erpnext/accounts/doctype/accounts_settings/accounts_settings.js b/erpnext/accounts/doctype/accounts_settings/accounts_settings.js index 4f59085db0a2..95332acdc286 100644 --- a/erpnext/accounts/doctype/accounts_settings/accounts_settings.js +++ b/erpnext/accounts/doctype/accounts_settings/accounts_settings.js @@ -12,7 +12,7 @@ frappe.ui.form.on("Accounts Settings", { msg += " "; msg += __("Please enable only if the understand the effects of enabling this."); msg += "
"; - msg += "Do you still want to enable immutable ledger?"; + msg += __("Do you still want to enable immutable ledger?"); frappe.confirm( msg, diff --git a/erpnext/erpnext_integrations/doctype/plaid_settings/plaid_settings.js b/erpnext/erpnext_integrations/doctype/plaid_settings/plaid_settings.js index 3c72f2cbab5f..04215e922347 100644 --- a/erpnext/erpnext_integrations/doctype/plaid_settings/plaid_settings.js +++ b/erpnext/erpnext_integrations/doctype/plaid_settings/plaid_settings.js @@ -29,7 +29,7 @@ frappe.ui.form.on("Plaid Settings", { "Bank Transaction", "", true, - "Bank Transaction" + __("Bank Transaction") ); frappe.msgprint({ diff --git a/erpnext/manufacturing/doctype/bom_creator/bom_creator.py b/erpnext/manufacturing/doctype/bom_creator/bom_creator.py index 59f8fb8178c6..41363120a5f9 100644 --- a/erpnext/manufacturing/doctype/bom_creator/bom_creator.py +++ b/erpnext/manufacturing/doctype/bom_creator/bom_creator.py @@ -206,7 +206,7 @@ def validate_fields(self): for field, label in fields.items(): if not self.get(field): - frappe.throw(_("Please set {0} in BOM Creator {1}").format(label, self.name)) + frappe.throw(_("Please set {0} in BOM Creator {1}").format(_(label), self.name)) def on_submit(self): self.enqueue_create_boms()