From b8f5148a44da50c20a4c80e21cdfc4b8e68e6303 Mon Sep 17 00:00:00 2001 From: Robert Kirschner Date: Thu, 23 Mar 2017 13:43:26 +0100 Subject: [PATCH] [minor] fix: translatable title, h1, button on product_search page. Address row in web view has translatable address type --- erpnext/templates/includes/address_row.html | 2 +- erpnext/templates/pages/product_search.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/erpnext/templates/includes/address_row.html b/erpnext/templates/includes/address_row.html index 2c5056a2ba..bfc035a7e7 100644 --- a/erpnext/templates/includes/address_row.html +++ b/erpnext/templates/includes/address_row.html @@ -4,7 +4,7 @@
{{ doc.address_title }}
-
{{ doc.address_type }}
+
{{ _(doc.address_type) }}
{{ doc.city }}
{{ frappe.get_doc(doc).get_display() }} diff --git a/erpnext/templates/pages/product_search.html b/erpnext/templates/pages/product_search.html index 6875ba529c..c7134b0030 100644 --- a/erpnext/templates/pages/product_search.html +++ b/erpnext/templates/pages/product_search.html @@ -1,8 +1,8 @@ {% extends "templates/web.html" %} -{% block title %} {{ "Product Search" }} {% endblock %} +{% block title %} {{ _("Product Search") }} {% endblock %} -{% block header %}

Product Search

{% endblock %} +{% block header %}

{{ _("Product Search") }}

{% endblock %} {% block page_content %} @@ -10,7 +10,7 @@
-

Search Results

+

{{ _("Search Results") }}