From ae63473793774923aa7391f50fcbeb4deae275f1 Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin <alexander.yuzhin@onlyoffice.com> Date: Sun, 25 Dec 2016 17:07:46 +0300 Subject: [PATCH] [SSE mobile] Append translation for a main controller. --- .../mobile/app/controller/Main.js | 18 +-- apps/spreadsheeteditor/mobile/locale/en.json | 107 ++++++++++++++++++ 2 files changed, 116 insertions(+), 9 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index e41f69abe..7d7a03661 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -1298,7 +1298,7 @@ define([ if (url) this.iframePrint.src = url; }, - leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' then \'Save\' to save them. Click \'Leave this Page\' to discard all the unsaved changes.', + leavePageText: 'You have unsaved changes in this document. Click \'Stay on this Page\' to await the autosave of the document. Click \'Leave this Page\' to discard all the unsaved changes.', defaultTitleText: 'ONLYOFFICE Spreadsheet Editor', criticalErrorTitle: 'Error', notcriticalErrorTitle: 'Warning', @@ -1324,7 +1324,7 @@ define([ uploadImageTextText: 'Uploading image...', savePreparingText: 'Preparing to save', savePreparingTitle: 'Preparing to save. Please wait...', - uploadImageSizeMessage: 'Maximium image size limit exceeded.', + uploadImageSizeMessage: 'Maximum image size limit exceeded.', uploadImageExtMessage: 'Unknown image format.', uploadImageFileCountMessage: 'No images uploaded.', reloadButtonText: 'Reload Page', @@ -1332,15 +1332,9 @@ define([ convertationTimeoutText: 'Convertation timeout exceeded.', downloadErrorText: 'Download failed.', unsupportedBrowserErrorText : 'Your browser is not supported.', - splitMaxRowsErrorText: 'The number of rows must be less than %1', - splitMaxColsErrorText: 'The number of columns must be less than %1', - splitDividerErrorText: 'The number of rows must be a divisor of %1', requestEditFailedTitleText: 'Access denied', requestEditFailedMessageText: 'Someone is editing this document right now. Please try again later.', - txtNeedSynchronize: 'You have an updates', textLoadingDocument: 'Loading document', - warnBrowserZoom: 'Your browser\'s current zoom setting is not fully supported. Please reset to the default zoom by pressing Ctrl+0.', - warnBrowserIE9: 'The application has low capabilities on IE9. Use IE10 or higher', applyChangesTitleText: 'Loading Data', applyChangesTextText: 'Loading data...', errorKeyEncrypt: 'Unknown key descriptor', @@ -1374,7 +1368,7 @@ define([ txtDiagramTitle: 'Chart Title', txtXAxis: 'X Axis', txtYAxis: 'Y Axis', - txtSeries: 'Seria', + txtSeries: 'Series', errorMailMergeLoadFile: 'Loading failed', mailMergeLoadFileText: 'Loading Data Source...', mailMergeLoadFileTitle: 'Loading Data Source', @@ -1398,6 +1392,12 @@ define([ titleLicenseExp: 'License expired', openErrorText: 'An error has occurred while opening the file', saveErrorText: 'An error has occurred while saving the file', + errorToken: 'The document security token is not correctly formed.<br>Please contact your Document Server administrator.', + errorTokenExpire: 'The document security token has expired.<br>Please contact your Document Server administrator.', + errorSessionAbsolute: 'The document editing session has expired. Please reload the page.', + errorSessionIdle: 'The document has not been edited for quite a long time. Please reload the page.', + errorSessionToken: 'The connection to the server has been interrupted. Please reload the page.', + errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.', txtEncoding: 'Encoding', txtDelimiter: 'Delimiter', txtSpace: 'Space', diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index fdbcfe675..d5caa7491 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -2,6 +2,113 @@ "Common.UI.ThemeColorPalette.textThemeColors": "Theme Colors", "Common.UI.ThemeColorPalette.textStandartColors": "Standard Colors", + "SSE.Controllers.Main.leavePageText": "You have unsaved changes in this document. Click 'Stay on this Page' to await the autosave of the document. Click 'Leave this Page' to discard all the unsaved changes.", + "SSE.Controllers.Main.defaultTitleText": "ONLYOFFICE Spreadsheet Editor", + "SSE.Controllers.Main.criticalErrorTitle": "Error", + "SSE.Controllers.Main.notcriticalErrorTitle": "Warning", + "SSE.Controllers.Main.errorDefaultMessage": "Error code: %1", + "SSE.Controllers.Main.criticalErrorExtText": "Press 'Ok' to back to document list.", + "SSE.Controllers.Main.openTitleText": "Opening Document", + "SSE.Controllers.Main.openTextText": "Opening document...", + "SSE.Controllers.Main.saveTitleText": "Saving Document", + "SSE.Controllers.Main.saveTextText": "Saving document...", + "SSE.Controllers.Main.loadFontsTitleText": "Loading Data", + "SSE.Controllers.Main.loadFontsTextText": "Loading data...", + "SSE.Controllers.Main.loadImagesTitleText": "Loading Images", + "SSE.Controllers.Main.loadImagesTextText": "Loading images...", + "SSE.Controllers.Main.loadFontTitleText": "Loading Data", + "SSE.Controllers.Main.loadFontTextText": "Loading data...", + "SSE.Controllers.Main.loadImageTitleText": "Loading Image", + "SSE.Controllers.Main.loadImageTextText": "Loading image...", + "SSE.Controllers.Main.downloadTitleText": "Downloading Document", + "SSE.Controllers.Main.downloadTextText": "Downloading document...", + "SSE.Controllers.Main.printTitleText": "Printing Document", + "SSE.Controllers.Main.printTextText": "Printing document...", + "SSE.Controllers.Main.uploadImageTitleText": "Uploading Image", + "SSE.Controllers.Main.uploadImageTextText": "Uploading image...", + "SSE.Controllers.Main.savePreparingText": "Preparing to save", + "SSE.Controllers.Main.savePreparingTitle": "Preparing to save. Please wait...", + "SSE.Controllers.Main.uploadImageSizeMessage": "Maximum image size limit exceeded.", + "SSE.Controllers.Main.uploadImageExtMessage": "Unknown image format.", + "SSE.Controllers.Main.uploadImageFileCountMessage": "No images uploaded.", + "SSE.Controllers.Main.reloadButtonText": "Reload Page", + "SSE.Controllers.Main.unknownErrorText": "Unknown error.", + "SSE.Controllers.Main.convertationTimeoutText": "Convertation timeout exceeded.", + "SSE.Controllers.Main.downloadErrorText": "Download failed.", + "SSE.Controllers.Main.unsupportedBrowserErrorText ": "Your browser is not supported.", + "SSE.Controllers.Main.requestEditFailedTitleText": "Access denied", + "SSE.Controllers.Main.requestEditFailedMessageText": "Someone is editing this document right now. Please try again later.", + "SSE.Controllers.Main.textLoadingDocument": "Loading document", + "SSE.Controllers.Main.applyChangesTitleText": "Loading Data", + "SSE.Controllers.Main.applyChangesTextText": "Loading data...", + "SSE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor", + "SSE.Controllers.Main.errorKeyExpire": "Key descriptor expired", + "SSE.Controllers.Main.errorUsersExceed": "Count of users was exceed", + "SSE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. You can't edit anymore.", + "SSE.Controllers.Main.errorFilePassProtect": "The document is password protected.", + "SSE.Controllers.Main.txtBasicShapes": "Basic Shapes", + "SSE.Controllers.Main.txtFiguredArrows": "Figured Arrows", + "SSE.Controllers.Main.txtMath": "Math", + "SSE.Controllers.Main.txtCharts": "Charts", + "SSE.Controllers.Main.txtStarsRibbons": "Stars & Ribbons", + "SSE.Controllers.Main.txtCallouts": "Callouts", + "SSE.Controllers.Main.txtButtons": "Buttons", + "SSE.Controllers.Main.txtRectangles": "Rectangles", + "SSE.Controllers.Main.txtLines": "Lines", + "SSE.Controllers.Main.txtEditingMode": "Set editing mode...", + "SSE.Controllers.Main.textAnonymous": "Anonymous", + "SSE.Controllers.Main.loadingDocumentTitleText": "Loading document", + "SSE.Controllers.Main.loadingDocumentTextText": "Loading document...", + "SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", + "SSE.Controllers.Main.errorProcessSaveResult": "Saving is failed.", + "SSE.Controllers.Main.textShape": "Shape", + "SSE.Controllers.Main.errorStockChart": "Incorrect row order. To build a stock chart place the data on the sheet in the following order:<br> opening price, max price, min price, closing price.", + "SSE.Controllers.Main.errorDataRange": "Incorrect data range.", + "SSE.Controllers.Main.errorDatabaseConnection": "External error.<br>Database connection error. Please, contact support.", + "SSE.Controllers.Main.titleUpdateVersion": "Version changed", + "SSE.Controllers.Main.errorUpdateVersion": "The file version has been changed. The page will be reloaded.", + "SSE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.", + "SSE.Controllers.Main.txtDiagramTitle": "Chart Title", + "SSE.Controllers.Main.txtXAxis": "X Axis", + "SSE.Controllers.Main.txtYAxis": "Y Axis", + "SSE.Controllers.Main.txtSeries": "Series", + "SSE.Controllers.Main.errorMailMergeLoadFile": "Loading failed", + "SSE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...", + "SSE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source", + "SSE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.", + "SSE.Controllers.Main.downloadMergeText": "Downloading...", + "SSE.Controllers.Main.downloadMergeTitle": "Downloading", + "SSE.Controllers.Main.sendMergeTitle": "Sending Merge", + "SSE.Controllers.Main.sendMergeText": "Sending Merge...", + "SSE.Controllers.Main.txtArt": "Your text here", + "SSE.Controllers.Main.errorConnectToServer": "The document could not be saved. Please check connection settings or contact your administrator.<br>When you click the 'OK' button, you will be prompted to download the document.<br><br>Find more information about connecting Document Server <a href=\"https://api.onlyoffice.com/editors/callback\" target=\"_blank\">here</a>", + "SSE.Controllers.Main.textTryUndoRedo": "The Undo/Redo functions are disabled for the Fast co-editing mode.<br>Click the 'Strict mode' button to switch to the Strict co-editing mode to edit the file without other users interference and send your changes only after you save them. You can switch between the co-editing modes using the editor Advanced settings.", + "SSE.Controllers.Main.textStrict": "Strict mode", + "SSE.Controllers.Main.txtErrorLoadHistory": "Loading history failed", + "SSE.Controllers.Main.textBuyNow": "Visit website", + "SSE.Controllers.Main.textNoLicenseTitle": "ONLYOFFICE open source version", + "SSE.Controllers.Main.warnNoLicense": "You are using an open source version of ONLYOFFICE. The version has limitations for concurrent connections to the document server (20 connections at a time).<br>If you need more please consider purchasing a commercial license.", + "SSE.Controllers.Main.textContactUs": "Contact sales", + "SSE.Controllers.Main.errorViewerDisconnect": "Connection is lost. You can still view the document,<br>but will not be able to download until the connection is restored.", + "SSE.Controllers.Main.warnLicenseExp": "Your license has expired.<br>Please update your license and refresh the page.", + "SSE.Controllers.Main.titleLicenseExp": "License expired", + "SSE.Controllers.Main.openErrorText": "An error has occurred while opening the file", + "SSE.Controllers.Main.saveErrorText": "An error has occurred while saving the file", + "SSE.Controllers.Main.errorToken": "The document security token is not correctly formed.<br>Please contact your Document Server administrator.", + "SSE.Controllers.Main.errorTokenExpire": "The document security token has expired.<br>Please contact your Document Server administrator.", + "SSE.Controllers.Main.errorSessionAbsolute": "The document editing session has expired. Please reload the page.", + "SSE.Controllers.Main.errorSessionIdle": "The document has not been edited for quite a long time. Please reload the page.", + "SSE.Controllers.Main.errorSessionToken": "The connection to the server has been interrupted. Please reload the page.", + "SSE.Controllers.Main.errorAccessDeny": "You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.", + "SSE.Controllers.Main.txtEncoding": "Encoding", + "SSE.Controllers.Main.txtDelimiter": "Delimiter", + "SSE.Controllers.Main.txtSpace": "Space", + "SSE.Controllers.Main.txtTab": "Tab", + "SSE.Controllers.Main.advCSVOptions": "Choose CSV Options", + "SSE.Controllers.Main.advDRMOptions": "Protected File", + "SSE.Controllers.Main.advDRMEnterPassword": "You password please:", + "SSE.Controllers.Main.advDRMPassword": "Password", + "SSE.Controllers.EditCell.textFonts": "Fonts", "SSE.Controllers.EditCell.textAuto": "Auto", "SSE.Controllers.EditCell.textPt": "pt",