fix: web_form_context_title_translation (#33173)
This commit is contained in:
parent
93b4700899
commit
3efc476da9
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ def get_context(context):
|
|||
context.parents = frappe.safe_eval(self.breadcrumbs, {"_": _})
|
||||
|
||||
if self.show_list and frappe.form_dict.is_new:
|
||||
context.title = _("New {0}").format(context.title)
|
||||
context.title = _("New {0}").format(_(context.title))
|
||||
|
||||
context.has_header = (frappe.form_dict.name or frappe.form_dict.is_new) and (
|
||||
frappe.session.user != "Guest" or not self.login_required
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue