[DE PE SSE] Add translations for new search

This commit is contained in:
JuliaSvinareva 2022-04-12 18:15:30 +03:00
parent c9c77487b7
commit 5696c4820d
4 changed files with 98 additions and 5 deletions

View file

@ -90,28 +90,32 @@ define([
this.btnBack = new Common.UI.Button({
parentEl: $('#search-bar-back'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-arrow-up'
iconCls: 'toolbar__icon btn-arrow-up',
hint: this.tipPreviousResult
});
this.btnBack.on('click', _.bind(this.onBtnNextClick, this, 'back'));
this.btnNext = new Common.UI.Button({
parentEl: $('#search-bar-next'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-arrow-down'
iconCls: 'toolbar__icon btn-arrow-down',
hint: this.tipNextResult
});
this.btnNext.on('click', _.bind(this.onBtnNextClick, this, 'next'));
this.btnOpenPanel = new Common.UI.Button({
parentEl: $('#search-bar-open-panel'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon more-vertical'
iconCls: 'toolbar__icon more-vertical',
hint: this.tipOpenAdvancedSettings
});
this.btnOpenPanel.on('click', _.bind(this.onOpenPanel, this));
this.btnClose = new Common.UI.Button({
parentEl: $('#search-bar-close'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-close'
iconCls: 'toolbar__icon btn-close',
hint: this.tipCloseSearch
});
this.btnClose.on('click', _.bind(function () {
this.hide();
@ -180,7 +184,11 @@ define([
this.btnNext.setDisabled(disable || resultNumber + 1 === allResults);
},
textFind: 'Find'
textFind: 'Find',
tipPreviousResult: 'Previous result',
tipNextResult: 'Next result',
tipOpenAdvancedSettings: 'Open advanced settings',
tipCloseSearch: 'Close search'
}, Common.UI.SearchBar || {}));
});

View file

@ -198,6 +198,11 @@
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Warning",
"Common.UI.Window.yesButtonText": "Yes",
"Common.UI.SearchBar.textFind": "Find",
"Common.UI.SearchBar.tipPreviousResult": "Previous result",
"Common.UI.SearchBar.tipNextResult": "Next result",
"Common.UI.SearchBar.tipOpenAdvancedSettings": "Open advanced settings",
"Common.UI.SearchBar.tipCloseSearch": "Close search",
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "address: ",
@ -502,6 +507,21 @@
"Common.Views.UserNameDialog.textDontShow": "Don't ask me again",
"Common.Views.UserNameDialog.textLabel": "Label:",
"Common.Views.UserNameDialog.textLabelError": "Label must not be empty.",
"Common.Views.SearchPanel.textFind": "Find",
"Common.Views.SearchPanel.textFindAndReplace": "Find and replace",
"Common.Views.SearchPanel.textCloseSearch": "Close search",
"Common.Views.SearchPanel.textReplace": "Replace",
"Common.Views.SearchPanel.textReplaceAll": "Replace All",
"Common.Views.SearchPanel.textSearchResults": "Search results: {0}/{1}",
"Common.Views.SearchPanel.textReplaceWith": "Replace with",
"Common.Views.SearchPanel.textCaseSensitive": "Case sensitive",
"Common.Views.SearchPanel.textMatchUsingRegExp": "Match using regular expressions",
"Common.Views.SearchPanel.textWholeWords": "Whole words only",
"Common.Views.SearchPanel.textNoMatches": "No matches",
"Common.Views.SearchPanel.textNoSearchResults": "No search results",
"Common.Views.SearchPanel.textTooManyResults": "There are too many results to show here",
"Common.Views.SearchPanel.tipPreviousResult": "Previous result",
"Common.Views.SearchPanel.tipNextResult": "Next result",
"DE.Controllers.LeftMenu.leavePageText": "All unsaved changes in this document will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Unnamed document",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
@ -1250,6 +1270,8 @@
"DE.Controllers.Viewport.textFitPage": "Fit to Page",
"DE.Controllers.Viewport.textFitWidth": "Fit to Width",
"DE.Controllers.Viewport.txtDarkMode": "Dark mode",
"DE.Controllers.Search.notcriticalErrorTitle": "Warning",
"DE.Controllers.Search.warnReplaceString": "{0} is not a valid special character for the Replace With box.",
"DE.Views.AddNewCaptionLabelDialog.textLabel": "Label:",
"DE.Views.AddNewCaptionLabelDialog.textLabelError": "Label must not be empty.",
"DE.Views.BookmarksDialog.textAdd": "Add",

View file

@ -280,6 +280,11 @@
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Warning",
"Common.UI.Window.yesButtonText": "Yes",
"Common.UI.SearchBar.textFind": "Find",
"Common.UI.SearchBar.tipPreviousResult": "Previous result",
"Common.UI.SearchBar.tipNextResult": "Next result",
"Common.UI.SearchBar.tipOpenAdvancedSettings": "Open advanced settings",
"Common.UI.SearchBar.tipCloseSearch": "Close search",
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "address: ",
@ -570,6 +575,21 @@
"Common.Views.UserNameDialog.textDontShow": "Don't ask me again",
"Common.Views.UserNameDialog.textLabel": "Label:",
"Common.Views.UserNameDialog.textLabelError": "Label must not be empty.",
"Common.Views.SearchPanel.textFind": "Find",
"Common.Views.SearchPanel.textFindAndReplace": "Find and replace",
"Common.Views.SearchPanel.textCloseSearch": "Close search",
"Common.Views.SearchPanel.textReplace": "Replace",
"Common.Views.SearchPanel.textReplaceAll": "Replace All",
"Common.Views.SearchPanel.textSearchResults": "Search results: {0}/{1}",
"Common.Views.SearchPanel.textReplaceWith": "Replace with",
"Common.Views.SearchPanel.textCaseSensitive": "Case sensitive",
"Common.Views.SearchPanel.textMatchUsingRegExp": "Match using regular expressions",
"Common.Views.SearchPanel.textWholeWords": "Whole words only",
"Common.Views.SearchPanel.textNoMatches": "No matches",
"Common.Views.SearchPanel.textNoSearchResults": "No search results",
"Common.Views.SearchPanel.textTooManyResults": "There are too many results to show here",
"Common.Views.SearchPanel.tipPreviousResult": "Previous result",
"Common.Views.SearchPanel.tipNextResult": "Next result",
"PE.Controllers.LeftMenu.leavePageText": "All unsaved changes in this document will be lost.<br> Click \"Cancel\" then \"Save\" to save them. Click \"OK\" to discard all the unsaved changes.",
"PE.Controllers.LeftMenu.newDocumentTitle": "Unnamed presentation",
"PE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
@ -1286,6 +1306,8 @@
"PE.Controllers.Toolbar.txtSymbol_zeta": "Zeta",
"PE.Controllers.Viewport.textFitPage": "Fit to Slide",
"PE.Controllers.Viewport.textFitWidth": "Fit to Width",
"PE.Controllers.Search.notcriticalErrorTitle": "Warning",
"PE.Controllers.Search.warnReplaceString": "{0} is not a valid special character for the Replace With box.",
"PE.Views.Animation.strDelay": "Delay",
"PE.Views.Animation.strDuration": "Duration",
"PE.Views.Animation.strRepeat": "Repeat",

View file

@ -143,6 +143,11 @@
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Warning",
"Common.UI.Window.yesButtonText": "Yes",
"Common.UI.SearchBar.textFind": "Find",
"Common.UI.SearchBar.tipPreviousResult": "Previous result",
"Common.UI.SearchBar.tipNextResult": "Next result",
"Common.UI.SearchBar.tipOpenAdvancedSettings": "Open advanced settings",
"Common.UI.SearchBar.tipCloseSearch": "Close search",
"Common.Utils.Metric.txtCm": "cm",
"Common.Utils.Metric.txtPt": "pt",
"Common.Views.About.txtAddress": "address: ",
@ -431,6 +436,38 @@
"Common.Views.UserNameDialog.textDontShow": "Don't ask me again",
"Common.Views.UserNameDialog.textLabel": "Label:",
"Common.Views.UserNameDialog.textLabelError": "Label must not be empty.",
"Common.Views.SearchPanel.textFind": "Find",
"Common.Views.SearchPanel.textFindAndReplace": "Find and replace",
"Common.Views.SearchPanel.textCloseSearch": "Close search",
"Common.Views.SearchPanel.textReplace": "Replace",
"Common.Views.SearchPanel.textReplaceAll": "Replace All",
"Common.Views.SearchPanel.textSearchResults": "Search results: {0}/{1}",
"Common.Views.SearchPanel.textReplaceWith": "Replace with",
"Common.Views.SearchPanel.textCaseSensitive": "Case sensitive",
"Common.Views.SearchPanel.textMatchUsingRegExp": "Match using regular expressions",
"Common.Views.SearchPanel.textWholeWords": "Whole words only",
"Common.Views.SearchPanel.textWithin": "Within",
"Common.Views.SearchPanel.textSelectDataRange": "Select Data range",
"Common.Views.SearchPanel.textSearch": "Search",
"Common.Views.SearchPanel.textLookIn": "Look in",
"Common.Views.SearchPanel.textSheet": "Sheet",
"Common.Views.SearchPanel.textWorkbook": "Workbook",
"Common.Views.SearchPanel.textSpecificRange": "Specific range",
"Common.Views.SearchPanel.textByRows": "By rows",
"Common.Views.SearchPanel.textByColumns": "By columns",
"Common.Views.SearchPanel.textFormulas": "Formulas",
"Common.Views.SearchPanel.textValues": "Values",
"Common.Views.SearchPanel.textSearchOptions": "Search options",
"Common.Views.SearchPanel.textNoMatches": "No matches",
"Common.Views.SearchPanel.textNoSearchResults": "No search results",
"Common.Views.SearchPanel.textItemEntireCell": "Entire cell contents",
"Common.Views.SearchPanel.textTooManyResults": "There are too many results to show here",
"Common.Views.SearchPanel.tipPreviousResult": "Previous result",
"Common.Views.SearchPanel.tipNextResult": "Next result",
"Common.Views.SearchPanel.textName": "Name",
"Common.Views.SearchPanel.textCell": "Cell",
"Common.Views.SearchPanel.textValue": "Value",
"Common.Views.SearchPanel.textFormula": "Formula",
"SSE.Controllers.DataTab.textColumns": "Columns",
"SSE.Controllers.DataTab.textEmptyUrl": "You need to specify URL.",
"SSE.Controllers.DataTab.textRows": "Rows",
@ -1439,6 +1476,10 @@
"SSE.Controllers.Viewport.textHideFBar": "Hide Formula Bar",
"SSE.Controllers.Viewport.textHideGridlines": "Hide Gridlines",
"SSE.Controllers.Viewport.textHideHeadings": "Hide Headings",
"SSE.Controllers.Search.textNoTextFound": "The data you have been searching for could not be found. Please adjust your search options.",
"SSE.Controllers.Search.textReplaceSuccess": "Search has been done. {0} occurrences have been replaced",
"SSE.Controllers.Search.textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
"SSE.Controllers.Search.textInvalidRange": "ERROR! Invalid cells range",
"SSE.Views.AdvancedSeparatorDialog.strDecimalSeparator": "Decimal separator",
"SSE.Views.AdvancedSeparatorDialog.strThousandsSeparator": "Thousands separator",
"SSE.Views.AdvancedSeparatorDialog.textLabel": "Settings used to recognize numeric data",