fix: Add transtlation function to strings (#18806)

* fix: Add transtlation function to strings

fix: Add transtlation function to strings

* fix: Add transtlation function to strings

fix: Add transtlation function to strings
This commit is contained in:
Ernesto Ruiz
2019-09-05 03:34:42 -06:00
committed by Nabin Hait
parent fa4577d18a
commit bb8d9f2a57
2 changed files with 6 additions and 6 deletions

View File

@@ -27,8 +27,8 @@ frappe.query_reports["Payment Period Based On Invoice Date"] = {
fieldname:"payment_type",
label: __("Payment Type"),
fieldtype: "Select",
options: "Incoming\nOutgoing",
default: "Incoming"
options: __("Incoming")+"\n"+__("Outgoing"),
default: __("Incoming")
},
{
"fieldname":"party_type",

View File

@@ -51,14 +51,14 @@ erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
// add Opening, Closing, Totals rows
// if filtered by account and / or voucher
var me = this;
var total_tickets = {name:"All Tickets", "id": "all-tickets",
var total_tickets = {name:__("All Tickets"), "id": "all-tickets",
checked:true};
var days_to_close = {name:"Days to Close", "id":"days-to-close",
var days_to_close = {name:__("Days to Close"), "id":"days-to-close",
checked:false};
var total_closed = {};
var hours_to_close = {name:"Hours to Close", "id":"hours-to-close",
var hours_to_close = {name:__("Hours to Close"), "id":"hours-to-close",
checked:false};
var hours_to_respond = {name:"Hours to Respond", "id":"hours-to-respond",
var hours_to_respond = {name:__("Hours to Respond"), "id":"hours-to-respond",
checked:false};
var total_responded = {};