Skip to content

Commit

Permalink
Merge pull request #45334 from mahsem/translation_fixes
Browse files Browse the repository at this point in the history
fix: translation fixes
  • Loading branch information
ruthra-kumar authored Jan 20, 2025
2 parents f9200a9 + 3697ba0 commit 30e87c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ frappe.ui.form.on("Accounts Settings", {
msg += " ";
msg += __("Please enable only if the understand the effects of enabling this.");
msg += "<br>";
msg += "Do you still want to enable immutable ledger?";
msg += __("Do you still want to enable immutable ledger?");

frappe.confirm(
msg,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ frappe.ui.form.on("Plaid Settings", {
"Bank Transaction",
"",
true,
"Bank Transaction"
__("Bank Transaction")
);

frappe.msgprint({
Expand Down
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/bom_creator/bom_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 30e87c3

Please sign in to comment.