diff --git a/apps/spreadsheeteditor/main/app/view/SortDialog.js b/apps/spreadsheeteditor/main/app/view/SortDialog.js index 3d6a42f32..f985c7c00 100644 --- a/apps/spreadsheeteditor/main/app/view/SortDialog.js +++ b/apps/spreadsheeteditor/main/app/view/SortDialog.js @@ -378,8 +378,8 @@ define([ 'text!spreadsheeteditor/main/app/template/SortDialog.template', if (values[i]==undefined) continue; this.column_data.push({ value: i, displayValue: values[i] }); } - if (this.column_data.length>500) - this.column_data.push({ value: -1, displayValue: '(' + (this.sortOptions.sortcol ? this.textMoreCols : this.textMoreRows) + '...)' }); + if (this.column_data.length>=500) + this.column_data.push({ value: -1, displayValue: this.sortOptions.sortcol ? this.textMoreCols : this.textMoreRows }); }, updateSortValues: function() { @@ -633,8 +633,8 @@ define([ 'text!spreadsheeteditor/main/app/template/SortDialog.template', errorMoreOneRow: 'More than one row is selected.', errorMoreOneCol: 'More than one column is selected.', txtInvalidRange: 'Invalid cells range.', - textMoreRows: 'More rows', - textMoreCols: 'More columns' + textMoreRows: '(More rows...)', + textMoreCols: '(More columns...)' }, SSE.Views.SortDialog || {})); }); \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index e5c7ed962..f90572c3f 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -2115,8 +2115,8 @@ "SSE.Views.SortDialog.errorMoreOneRow": "More than one row is selected.", "SSE.Views.SortDialog.errorMoreOneCol": "More than one column is selected.", "SSE.Views.SortDialog.txtInvalidRange": "Invalid cells range.", - "SSE.Views.SortDialog.textMoreRows": "More rows", - "SSE.Views.SortDialog.textMoreCols": "More columns", + "SSE.Views.SortDialog.textMoreRows": "(More rows...)", + "SSE.Views.SortDialog.textMoreCols": "(More columns...)", "SSE.Views.Statusbar.CopyDialog.itemCopyToEnd": "(Copy to end)", "SSE.Views.Statusbar.CopyDialog.itemMoveToEnd": "(Move to end)", "SSE.Views.Statusbar.CopyDialog.textCopyBefore": "Copy before sheet",