From 967ea894d9209bb12b45057ec1a2a727d142adea Mon Sep 17 00:00:00 2001 From: sameer Chauhan Date: Wed, 1 Feb 2023 01:30:09 +0530 Subject: [PATCH] fix: translations update in MutliSelectDialog fix: translations update in MutliSelectDialog in the title field (cherry picked from commit 88c77edc0d33c29e2eadbb6dabab83ba46d27774) --- frappe/public/js/frappe/form/multi_select_dialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/form/multi_select_dialog.js b/frappe/public/js/frappe/form/multi_select_dialog.js index ee5e27c919..0c1c150c95 100644 --- a/frappe/public/js/frappe/form/multi_select_dialog.js +++ b/frappe/public/js/frappe/form/multi_select_dialog.js @@ -75,8 +75,8 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog { } make() { - let doctype_plural = this.doctype.plural(); - let title = __("Select {0}", [this.for_select ? __("value") : __(doctype_plural)]); + let doctype_plural = __(this.doctype).plural(); + let title = __("Select {0}", [this.for_select ? __("value") : doctype_plural]); this.dialog = new frappe.ui.Dialog({ title: title,