[SSE] Refactoring sort settings
This commit is contained in:
parent
ad4f70949f
commit
dfd52d3886
|
@ -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 || {}));
|
||||
});
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue