[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;
|
if (values[i]==undefined) continue;
|
||||||
this.column_data.push({ value: i, displayValue: values[i] });
|
this.column_data.push({ value: i, displayValue: values[i] });
|
||||||
}
|
}
|
||||||
if (this.column_data.length>500)
|
if (this.column_data.length>=500)
|
||||||
this.column_data.push({ value: -1, displayValue: '(' + (this.sortOptions.sortcol ? this.textMoreCols : this.textMoreRows) + '...)' });
|
this.column_data.push({ value: -1, displayValue: this.sortOptions.sortcol ? this.textMoreCols : this.textMoreRows });
|
||||||
},
|
},
|
||||||
|
|
||||||
updateSortValues: function() {
|
updateSortValues: function() {
|
||||||
|
@ -633,8 +633,8 @@ define([ 'text!spreadsheeteditor/main/app/template/SortDialog.template',
|
||||||
errorMoreOneRow: 'More than one row is selected.',
|
errorMoreOneRow: 'More than one row is selected.',
|
||||||
errorMoreOneCol: 'More than one column is selected.',
|
errorMoreOneCol: 'More than one column is selected.',
|
||||||
txtInvalidRange: 'Invalid cells range.',
|
txtInvalidRange: 'Invalid cells range.',
|
||||||
textMoreRows: 'More rows',
|
textMoreRows: '(More rows...)',
|
||||||
textMoreCols: 'More columns'
|
textMoreCols: '(More columns...)'
|
||||||
|
|
||||||
}, SSE.Views.SortDialog || {}));
|
}, SSE.Views.SortDialog || {}));
|
||||||
});
|
});
|
|
@ -2115,8 +2115,8 @@
|
||||||
"SSE.Views.SortDialog.errorMoreOneRow": "More than one row is selected.",
|
"SSE.Views.SortDialog.errorMoreOneRow": "More than one row is selected.",
|
||||||
"SSE.Views.SortDialog.errorMoreOneCol": "More than one column is selected.",
|
"SSE.Views.SortDialog.errorMoreOneCol": "More than one column is selected.",
|
||||||
"SSE.Views.SortDialog.txtInvalidRange": "Invalid cells range.",
|
"SSE.Views.SortDialog.txtInvalidRange": "Invalid cells range.",
|
||||||
"SSE.Views.SortDialog.textMoreRows": "More rows",
|
"SSE.Views.SortDialog.textMoreRows": "(More rows...)",
|
||||||
"SSE.Views.SortDialog.textMoreCols": "More columns",
|
"SSE.Views.SortDialog.textMoreCols": "(More columns...)",
|
||||||
"SSE.Views.Statusbar.CopyDialog.itemCopyToEnd": "(Copy to end)",
|
"SSE.Views.Statusbar.CopyDialog.itemCopyToEnd": "(Copy to end)",
|
||||||
"SSE.Views.Statusbar.CopyDialog.itemMoveToEnd": "(Move to end)",
|
"SSE.Views.Statusbar.CopyDialog.itemMoveToEnd": "(Move to end)",
|
||||||
"SSE.Views.Statusbar.CopyDialog.textCopyBefore": "Copy before sheet",
|
"SSE.Views.Statusbar.CopyDialog.textCopyBefore": "Copy before sheet",
|
||||||
|
|
Loading…
Reference in a new issue