translation fixes (#3327)
This commit is contained in:
parent
2f1043cfa0
commit
e7cf2bb588
1 changed files with 4 additions and 4 deletions
|
|
@ -649,8 +649,8 @@ frappe.views.ReportView = frappe.ui.BaseList.extend({
|
|||
// setup sorter
|
||||
make_sorter: function() {
|
||||
var me = this;
|
||||
this.sort_dialog = new frappe.ui.Dialog({title:'Sorting Preferences'});
|
||||
$(this.sort_dialog.body).html('<p class="help">Sort By</p>\
|
||||
this.sort_dialog = new frappe.ui.Dialog({title:__('Sorting Preferences')});
|
||||
$(this.sort_dialog.body).html('<p class="help">'+__('Sort By')+'</p>\
|
||||
<div class="sort-column"></div>\
|
||||
<div><select class="sort-order form-control" style="margin-top: 10px; width: 60%;">\
|
||||
<option value="asc">'+__('Ascending')+'</option>\
|
||||
|
|
@ -689,7 +689,7 @@ frappe.views.ReportView = frappe.ui.BaseList.extend({
|
|||
this.sort_order_next_select.val('desc');
|
||||
|
||||
// button actions
|
||||
this.page.add_inner_button(__('Set Sort'), function() {
|
||||
this.page.add_inner_button(__('Sort Order'), function() {
|
||||
me.sort_dialog.show();
|
||||
});
|
||||
|
||||
|
|
@ -937,4 +937,4 @@ frappe.ui.ColumnPicker = Class.extend({
|
|||
this.list.set_columns(columns);
|
||||
this.list.run();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue