From e09407571cbd94d32d68577b0592c0c8f8f1f691 Mon Sep 17 00:00:00 2001 From: mnatalia Date: Fri, 20 Jan 2017 12:00:25 +0200 Subject: [PATCH] Added translations to the web page and item dashboard. --- erpnext/stock/doctype/item/item.js | 2 +- erpnext/templates/pages/projects.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js index 73a04f2b7c..03c23d2acc 100644 --- a/erpnext/stock/doctype/item/item.js +++ b/erpnext/stock/doctype/item/item.js @@ -218,7 +218,7 @@ $.extend(erpnext.item, { return; frappe.require('assets/js/item-dashboard.min.js', function() { - var section = frm.dashboard.add_section('
Stock Levels
'); + var section = frm.dashboard.add_section('
' + __("Stock Levels") + '
'); erpnext.item.item_dashboard = new erpnext.stock.ItemDashboard({ parent: section, item_code: frm.doc.name diff --git a/erpnext/templates/pages/projects.html b/erpnext/templates/pages/projects.html index aeee602877..765e43fb36 100644 --- a/erpnext/templates/pages/projects.html +++ b/erpnext/templates/pages/projects.html @@ -24,7 +24,7 @@

{{ _("Tasks") }}

- New task + {{ _("New task") }}

@@ -39,7 +39,7 @@

{% else %} -

No tasks

+

{{ _("No tasks") }}

{% endif %} @@ -55,7 +55,7 @@

{{ _("More") }}

{% endif %} {% else %} -

No time sheets

+

{{ _("No time sheets") }}

{% endif %}