[SSE] Fix translation for custom sort

This commit is contained in:
Julia Radzhabova 2019-12-02 15:07:56 +03:00
parent ca980870fa
commit 856b4420b9
2 changed files with 11 additions and 9 deletions

View file

@ -221,11 +221,11 @@ define([
if (res) {
var config = {
width: 500,
title: this.txtSorting,
msg: this.txtExpandSort,
title: this.toolbar.txtSorting,
msg: this.toolbar.txtExpandSort,
buttons: [ {caption: this.txtExpand, primary: true, value: 'expand'},
{caption: this.txtSortSelected, primary: true, value: 'sort'},
buttons: [ {caption: this.toolbar.txtExpand, primary: true, value: 'expand'},
{caption: this.toolbar.txtSortSelected, primary: true, value: 'sort'},
'cancel'],
callback: function(btn){
if (btn == 'expand' || btn == 'sort') {
@ -273,11 +273,7 @@ define([
this.onWorksheetLocked(currentSheet, this.api.asc_isWorksheetLockedOrDeleted(currentSheet));
},
textWizard: 'Text to Columns Wizard',
txtExpandSort: 'The data next to the selection will not be sorted. Do you want to expand the selection to include the adjacent data or continue with sorting the currently selected cells only?',
txtExpand: 'Expand and sort',
txtSorting: 'Sorting',
txtSortSelected: 'Sort selected'
textWizard: 'Text to Columns Wizard'
}, SSE.Controllers.DataTab || {}));
});

View file

@ -2119,6 +2119,12 @@
"SSE.Views.SortDialog.textMoreCols": "(More columns...)",
"SSE.Views.SortDialog.errorSameColumnValue": "%1 is being sorted by values more than once.<br>Delete the duplicate sort criteria and try again.",
"SSE.Views.SortDialog.errorSameColumnColor": "%1 is being sorted by the same color more than once.<br>Delete the duplicate sort criteria and try again.",
"SSE.Views.SortOptionsDialog.textTitle": "Sort Options",
"SSE.Views.SortOptionsDialog.textHeaders": "My data has headers",
"SSE.Views.SortOptionsDialog.textCase": "Case sensitive",
"SSE.Views.SortOptionsDialog.textOrientation": "Orientation",
"SSE.Views.SortOptionsDialog.textTopBottom": "Sort top to bottom",
"SSE.Views.SortOptionsDialog.textLeftRight": "Sort left to right",
"SSE.Views.Statusbar.CopyDialog.itemCopyToEnd": "(Copy to end)",
"SSE.Views.Statusbar.CopyDialog.itemMoveToEnd": "(Move to end)",
"SSE.Views.Statusbar.CopyDialog.textCopyBefore": "Copy before sheet",