From 51e83664e8be16d69d9e990c90c93da1b73369e0 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 13 May 2016 14:53:29 +0300 Subject: [PATCH] =?UTF-8?q?[SSE]=20=D0=9E=D1=82=D0=BB=D0=B0=D0=B4=D0=BA?= =?UTF-8?q?=D0=B0=20Top10=20filters,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/app/view/AutoFilterDialog.js | 9 ++++----- apps/spreadsheeteditor/main/locale/en.json | 10 +++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js index f80303c75..763065358 100644 --- a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js +++ b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js @@ -316,11 +316,11 @@ define([ '
', '', '
', - '', + '', '
', '
', '
', - '', + '', '
', '
', '', @@ -427,6 +427,7 @@ define([ this.cmbType.setValue(type || type===null); this.cmbItem.setValue(percent || percent===null); + this.spnCount.setDefaultUnit((percent || percent===null) ? '%' : ''); this.spnCount.setValue(top10Filter.asc_getVal()); } } @@ -455,10 +456,8 @@ define([ cancelButtonText : "Cancel", okButtonText : 'OK', - txtTitle : "Top 10 Filter", + txtTitle : "Top 10 AutoFilter", textType : 'Show', - textCount : '', - textItem : '', txtTop : 'Top', txtBottom : 'Bottom', txtItems : 'Item', diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index ba1cb95ae..28714f586 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -1115,5 +1115,13 @@ "SSE.Views.Toolbar.txtText": "Text", "SSE.Views.Toolbar.txtTime": "Time", "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