fix: translation fixes

(cherry picked from commit 1d81a9f933)
This commit is contained in:
mahsem
2025-01-19 20:52:58 +01:00
committed by Mergify
parent 6120999632
commit e4f09ce543
3 changed files with 5 additions and 3 deletions

View File

@@ -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,

View File

@@ -29,7 +29,7 @@ frappe.ui.form.on("Plaid Settings", {
"Bank Transaction",
"",
true,
"Bank Transaction"
__("Bank Transaction")
);
frappe.msgprint({

View File

@@ -204,7 +204,9 @@ class BOMCreator(Document):
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()