diff --git a/erpnext/hr/report/salary_register/salary_register.html b/erpnext/hr/report/salary_register/salary_register.html
index 2a9cd3ebdb53..d7bf6a78bc7f 100644
--- a/erpnext/hr/report/salary_register/salary_register.html
+++ b/erpnext/hr/report/salary_register/salary_register.html
@@ -2,7 +2,7 @@
{%= frappe.boot.letter_heads[filters.letter_head || frappe.defaults.get_default("letter_head")] %}
{%= __(report.report_name) %}
-From {%= filters.date_range[0] %} to {%= filters.date_range[1] %}
+{{ __("From") }} {%= filters.date_range[0] %} {{ __("to") }} {%= filters.date_range[1] %}
@@ -34,4 +34,4 @@ From {%= filters.date_range[0] %} to {%= filters.date_ra
{% } %}
-Printed On {%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}
+{{ __("Printed On") }} {%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}
diff --git a/erpnext/public/js/payment/pos_payment.html b/erpnext/public/js/payment/pos_payment.html
index 7700b2437485..185d748aff92 100644
--- a/erpnext/public/js/payment/pos_payment.html
+++ b/erpnext/public/js/payment/pos_payment.html
@@ -1,20 +1,20 @@
-
Total Amount: {%= format_currency(grand_total, currency) %}
+ {{ __("Total Amount") }}: {%= format_currency(grand_total, currency) %}
-
Paid
{%= format_currency(paid_amount, currency) %}
+
{{ __("Paid") }}
{%= format_currency(paid_amount, currency) %}
-
Outstanding
{%= format_currency(outstanding_amount, currency) %}
+
{{ __("Outstanding") }}
{%= format_currency(outstanding_amount, currency) %}
@@ -33,7 +33,7 @@
Total Amount:
- Del
+ {{ __("Del") }}
0
.
diff --git a/erpnext/public/js/pos/pos.html b/erpnext/public/js/pos/pos.html
index e356d8768e08..181a41f2d5e9 100644
--- a/erpnext/public/js/pos/pos.html
+++ b/erpnext/public/js/pos/pos.html
@@ -17,7 +17,7 @@
@@ -68,7 +68,7 @@
- {% var chartData = ["Qty", "Disc", "Price"] %} {% for(var i=0; i
+ {% var chartData = [__("Qty"), __("Disc"), __("Price")] %} {% for(var i=0; i
<3; i++) { %}
{% for(var j=i*3; j
<(i+1)*3; j++) { %} {{j+1}}
@@ -77,10 +77,10 @@
{% } %}
- Del
+ {{ __("Del") }}
0
.
- Pay
+ {{ __("Pay") }}
@@ -97,7 +97,7 @@
@@ -112,7 +112,7 @@
{% if task.todo %}
diff --git a/erpnext/templates/includes/projects/project_timesheets.html b/erpnext/templates/includes/projects/project_timesheets.html
index fb44017fa8d2..3a9aecd2514c 100644
--- a/erpnext/templates/includes/projects/project_timesheets.html
+++ b/erpnext/templates/includes/projects/project_timesheets.html
@@ -5,7 +5,7 @@
{{ timesheet.info.name }}
- From {{ frappe.format_date(timesheet.from_time) }} to {{ frappe.format_date(timesheet.to_time) }}
+ {{ __("From") }} {{ frappe.format_date(timesheet.from_time) }} {{ __("to") }} {{ frappe.format_date(timesheet.to_time) }}
diff --git a/erpnext/templates/pages/cart.html b/erpnext/templates/pages/cart.html
index 6cff5b13e230..fb0c05fcddbb 100644
--- a/erpnext/templates/pages/cart.html
+++ b/erpnext/templates/pages/cart.html
@@ -60,7 +60,7 @@
{{doc.terms}}
{% endif %}
diff --git a/erpnext/templates/pages/task_info.html b/erpnext/templates/pages/task_info.html
index f386ce891ac1..6cfac28da6a9 100644
--- a/erpnext/templates/pages/task_info.html
+++ b/erpnext/templates/pages/task_info.html
@@ -19,9 +19,9 @@
{{ doc.subject }}
@@ -36,45 +36,45 @@ {{ doc.subject }}
@@ -83,22 +83,22 @@
{{ doc.subject }}
Comments
+{{ __("Comments") }}
{{comment.sender_full_name}}: - {{comment.subject}} on {{comment.creation.strftime('%Y-%m-%d')}}
+ {{comment.subject}} {{ __("on") }} {{comment.creation.strftime('%Y-%m-%d')}} {% endfor %}Add Comment
+{{ __("Add Comment") }}
diff --git a/erpnext/templates/pages/timelog_info.html b/erpnext/templates/pages/timelog_info.html index 8b2fa6ac0638..22ea3e45d380 100644 --- a/erpnext/templates/pages/timelog_info.html +++ b/erpnext/templates/pages/timelog_info.html @@ -19,28 +19,28 @@{{ doc.name }}