From 4e08a4939673dfa7429ca6cd3f61a0cc3b122f63 Mon Sep 17 00:00:00 2001 From: Corentin Flr <10946971+cogk@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:37:12 +0100 Subject: [PATCH] chore(QuickEntry): Change toast message text Use "New {0} {1} created" instead of "Created new {0} {1}" because the former is already translated in most languages. --- frappe/public/js/frappe/form/quick_entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/quick_entry.js b/frappe/public/js/frappe/form/quick_entry.js index 657a8d1196..a7b8ae4daf 100644 --- a/frappe/public/js/frappe/form/quick_entry.js +++ b/frappe/public/js/frappe/form/quick_entry.js @@ -162,7 +162,7 @@ frappe.ui.form.QuickEntryForm = class QuickEntryForm { if (data) { me.dialog.working = true; me.insert().then(() => { - let messagetxt = __("Created new {0} {1}", [ + let messagetxt = __("New {0} {1} created", [ __(me.doctype), this.doc.name.bold(), ]);