Kaynağa Gözat

translation fixes (#3327)

version-14
almeidapaulopt 8 yıl önce
committed by Rushabh Mehta
ebeveyn
işleme
e7cf2bb588
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. +4
    -4
      frappe/public/js/frappe/views/reports/reportview.js

+ 4
- 4
frappe/public/js/frappe/views/reports/reportview.js Dosyayı Görüntüle

@@ -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();
}
});
});

Yükleniyor…
İptal
Kaydet