diff --git a/frappe/geo/doctype/address/address.py b/frappe/geo/doctype/address/address.py index faa798b1fb..bf5859a757 100644 --- a/frappe/geo/doctype/address/address.py +++ b/frappe/geo/doctype/address/address.py @@ -24,7 +24,7 @@ class Address(Document): self.address_title = self.links[0].link_name if self.address_title: - self.name = (cstr(self.address_title).strip() + "-" + cstr(self.address_type).strip()) + self.name = (cstr(self.address_title).strip() + "-" + cstr(_(self.address_type)).strip()) if frappe.db.exists("Address", self.name): self.name = make_autoname(cstr(self.address_title).strip() + "-" + cstr(self.address_type).strip() + "-.#") diff --git a/frappe/templates/includes/search_box.html b/frappe/templates/includes/search_box.html index 825f460431..a67399398f 100644 --- a/frappe/templates/includes/search_box.html +++ b/frappe/templates/includes/search_box.html @@ -1,7 +1,7 @@