[SSE] Отладка Top10 filters, добавлены переводы.
This commit is contained in:
parent
862fb0cb42
commit
51e83664e8
|
@ -316,11 +316,11 @@ define([
|
||||||
'<div id="id-top10-type-combo" style=""></div>',
|
'<div id="id-top10-type-combo" style=""></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div style="margin-right:15px; display: inline-block; vertical-align: middle;">',
|
'<div style="margin-right:15px; display: inline-block; vertical-align: middle;">',
|
||||||
'<label class="input-label">', t.textCount, '</label>',
|
'<label class="input-label"></label>',
|
||||||
'<div id="id-top10-count-spin" class="input-group-nr" style=""></div>',
|
'<div id="id-top10-count-spin" class="input-group-nr" style=""></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div style="display: inline-block; vertical-align: middle;">',
|
'<div style="display: inline-block; vertical-align: middle;">',
|
||||||
'<label class="input-label">', t.textItem, '</label>',
|
'<label class="input-label"></label>',
|
||||||
'<div id="id-top10-item-combo" class="input-group-nr" style=""></div>',
|
'<div id="id-top10-item-combo" class="input-group-nr" style=""></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
|
@ -427,6 +427,7 @@ define([
|
||||||
|
|
||||||
this.cmbType.setValue(type || type===null);
|
this.cmbType.setValue(type || type===null);
|
||||||
this.cmbItem.setValue(percent || percent===null);
|
this.cmbItem.setValue(percent || percent===null);
|
||||||
|
this.spnCount.setDefaultUnit((percent || percent===null) ? '%' : '');
|
||||||
this.spnCount.setValue(top10Filter.asc_getVal());
|
this.spnCount.setValue(top10Filter.asc_getVal());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -455,10 +456,8 @@ define([
|
||||||
|
|
||||||
cancelButtonText : "Cancel",
|
cancelButtonText : "Cancel",
|
||||||
okButtonText : 'OK',
|
okButtonText : 'OK',
|
||||||
txtTitle : "Top 10 Filter",
|
txtTitle : "Top 10 AutoFilter",
|
||||||
textType : 'Show',
|
textType : 'Show',
|
||||||
textCount : '',
|
|
||||||
textItem : '',
|
|
||||||
txtTop : 'Top',
|
txtTop : 'Top',
|
||||||
txtBottom : 'Bottom',
|
txtBottom : 'Bottom',
|
||||||
txtItems : 'Item',
|
txtItems : 'Item',
|
||||||
|
|
|
@ -1115,5 +1115,13 @@
|
||||||
"SSE.Views.Toolbar.txtText": "Text",
|
"SSE.Views.Toolbar.txtText": "Text",
|
||||||
"SSE.Views.Toolbar.txtTime": "Time",
|
"SSE.Views.Toolbar.txtTime": "Time",
|
||||||
"SSE.Views.Toolbar.txtUnmerge": "Unmerge Cells",
|
"SSE.Views.Toolbar.txtUnmerge": "Unmerge Cells",
|
||||||
"SSE.Views.Toolbar.txtYen": "¥ Yen"
|
"SSE.Views.Toolbar.txtYen": "¥ Yen",
|
||||||
|
"SSE.Views.Top10FilterDialog.cancelButtonText": "Cancel",
|
||||||
|
"SSE.Views.Top10FilterDialog.okButtonText": "OK",
|
||||||
|
"SSE.Views.Top10FilterDialog.txtTitle": "Top 10 AutoFilter",
|
||||||
|
"SSE.Views.Top10FilterDialog.textType": "Show",
|
||||||
|
"SSE.Views.Top10FilterDialog.txtTop": "Top",
|
||||||
|
"SSE.Views.Top10FilterDialog.txtBottom": "Bottom",
|
||||||
|
"SSE.Views.Top10FilterDialog.txtItems": "Item",
|
||||||
|
"SSE.Views.Top10FilterDialog.txtPercent": "Percent"
|
||||||
}
|
}
|
Loading…
Reference in a new issue