From 4b339df3c14b68f581f5505a75a031c3e4a3783f Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Mon, 26 Dec 2016 12:05:24 +0300 Subject: [PATCH] [SSE mobile] Append translation for a settings and search. --- .../mobile/app/controller/Settings.js | 6 +-- .../mobile/app/view/Settings.js | 1 - apps/spreadsheeteditor/mobile/locale/en.json | 43 +++++++++++++++++++ 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/controller/Settings.js b/apps/spreadsheeteditor/mobile/app/controller/Settings.js index fc51dc578..82fcff5c8 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Settings.js @@ -46,7 +46,7 @@ define([ ], function (core) { 'use strict'; - SSE.Controllers.Settings = Backbone.Controller.extend((function() { + SSE.Controllers.Settings = Backbone.View.extend(_.extend((function() { // private var rootView, inProgress, @@ -191,5 +191,5 @@ define([ notcriticalErrorTitle : 'Warning', warnDownloadAs : 'If you continue saving in this format all features except the text will be lost.
Are you sure you want to continue?' } - })()); -}); + })(), SSE.Controllers.Settings || {})) +}); \ No newline at end of file diff --git a/apps/spreadsheeteditor/mobile/app/view/Settings.js b/apps/spreadsheeteditor/mobile/app/view/Settings.js index d09a09bb7..0ca31e4bf 100644 --- a/apps/spreadsheeteditor/mobile/app/view/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/view/Settings.js @@ -205,7 +205,6 @@ define([ textAddress: 'address', textEmail: 'email', textTel: 'tel' - } })(), SSE.Views.Settings || {})) }); \ No newline at end of file diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index d5caa7491..c1393becd 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -109,6 +109,49 @@ "SSE.Controllers.Main.advDRMEnterPassword": "You password please:", "SSE.Controllers.Main.advDRMPassword": "Password", + "SSE.Controllers.Search.textNoTextFound": "Text not found", + "SSE.Controllers.Search.textReplaceAll": "Replace All", + "SSE.Views.Search.textFind": "Find", + "SSE.Views.Search.textFindAndReplace": "Find and Replace", + "SSE.Views.Search.textDone": "Done", + "SSE.Views.Search.textReplace": "Replace", + "SSE.Views.Search.textMatchCase": "Match Case", + "SSE.Views.Search.textMatchCell": "Match Cell", + "SSE.Views.Search.textSearchIn": "Search In", + "SSE.Views.Search.textWorkbook": "Workbook", + "SSE.Views.Search.textSheet": "Sheet", + + "SSE.Controllers.Settings.txtLoading": "Loading...", + "SSE.Controllers.Settings.notcriticalErrorTitle": "Warning", + "SSE.Controllers.Settings.warnDownloadAs": "If you continue saving in this format all features except the text will be lost.
Are you sure you want to continue?", + "SSE.Views.Settings.unknownText": "Unknown", + "SSE.Views.Settings.textFindAndReplace": "Find and Replace", + "SSE.Views.Settings.textSettings": "Settings", + "SSE.Views.Settings.textDone": "Done", + "SSE.Views.Settings.textFind": "Find", + "SSE.Views.Settings.textEditDoc": "Edit Document", + "SSE.Views.Settings.textReader": "Reader Mode", + "SSE.Views.Settings.textDownload": "Download", + "SSE.Views.Settings.textDocInfo": "Document Info", + "SSE.Views.Settings.textHelp": "Help", + "SSE.Views.Settings.textAbout": "About", + "SSE.Views.Settings.textBack": "Back", + "SSE.Views.Settings.textDocTitle": "Document title", + "SSE.Views.Settings.textLoading": "Loading...", + "SSE.Views.Settings.textAuthor": "Author", + "SSE.Views.Settings.textCreateDate": "Create date", + "SSE.Views.Settings.textStatistic": "Statistic", + "SSE.Views.Settings.textPages": "Pages", + "SSE.Views.Settings.textParagraphs": "Paragraphs", + "SSE.Views.Settings.textWords": "Words", + "SSE.Views.Settings.textSymbols": "Symbols", + "SSE.Views.Settings.textSpaces": "Spaces", + "SSE.Views.Settings.textDownloadAs": "Download As...", + "SSE.Views.Settings.textVersion": "Version", + "SSE.Views.Settings.textAddress": "address", + "SSE.Views.Settings.textEmail": "email", + "SSE.Views.Settings.textTel": "tel", + "SSE.Controllers.EditCell.textFonts": "Fonts", "SSE.Controllers.EditCell.textAuto": "Auto", "SSE.Controllers.EditCell.textPt": "pt",