From ff8f958d0b6f777e4dab99912a79c811ef36397a Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 21 Mar 2018 14:29:43 +0300 Subject: [PATCH] [ALL] applied translation for Viewport controller --- apps/documenteditor/main/app/controller/Viewport.js | 3 ++- apps/presentationeditor/main/app/controller/Viewport.js | 3 ++- apps/spreadsheeteditor/main/app/controller/Viewport.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Viewport.js b/apps/documenteditor/main/app/controller/Viewport.js index 0c889b7c0..43b07abda 100644 --- a/apps/documenteditor/main/app/controller/Viewport.js +++ b/apps/documenteditor/main/app/controller/Viewport.js @@ -49,7 +49,7 @@ define([ ], function (Viewport) { 'use strict'; - DE.Controllers.Viewport = Backbone.Controller.extend({ + DE.Controllers.Viewport = Backbone.Controller.extend(_.assign({ // Specifying a Viewport model models: [], @@ -366,4 +366,5 @@ define([ textFitPage: 'Fit to Page', textFitWidth: 'Fit to Width' + }, DE.Controllers.Viewport)); }); diff --git a/apps/presentationeditor/main/app/controller/Viewport.js b/apps/presentationeditor/main/app/controller/Viewport.js index 6ae3dbbe9..053110bc2 100644 --- a/apps/presentationeditor/main/app/controller/Viewport.js +++ b/apps/presentationeditor/main/app/controller/Viewport.js @@ -49,7 +49,7 @@ define([ ], function (Viewport) { 'use strict'; - PE.Controllers.Viewport = Backbone.Controller.extend({ + PE.Controllers.Viewport = Backbone.Controller.extend(_.assign({ // Specifying a Viewport model models: [], @@ -403,4 +403,5 @@ define([ textFitPage: 'Fit to Page', textFitWidth: 'Fit to Width' + }, PE.Controllers.Viewport)); }); diff --git a/apps/spreadsheeteditor/main/app/controller/Viewport.js b/apps/spreadsheeteditor/main/app/controller/Viewport.js index ce517338f..fc3a06846 100644 --- a/apps/spreadsheeteditor/main/app/controller/Viewport.js +++ b/apps/spreadsheeteditor/main/app/controller/Viewport.js @@ -48,7 +48,7 @@ define([ ], function (Viewport) { 'use strict'; - SSE.Controllers.Viewport = Backbone.Controller.extend({ + SSE.Controllers.Viewport = Backbone.Controller.extend(_.assign({ // Specifying a Viewport model models: [], @@ -413,4 +413,5 @@ define([ textHideHeadings: 'Hide Headings', textHideGridlines: 'Hide Gridlines', textFreezePanes: 'Freeze Panes' + }, SSE.Controllers.Viewport)); });