Commit 51e83664 authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Отладка Top10 filters, добавлены переводы.

parent 862fb0cb
...@@ -316,11 +316,11 @@ define([ ...@@ -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([ ...@@ -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([ ...@@ -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 @@ ...@@ -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"
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment