From 88e024f18bb5adcbb8d68c448042be2c8f99174f Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Fri, 18 Nov 2016 13:39:40 +0300 Subject: [PATCH] [DE mobile] Localization AddOther. --- .../mobile/app/controller/add/AddOther.js | 8 +-- .../mobile/app/template/AddOther.template | 60 +++++++++---------- .../mobile/app/view/add/AddOther.js | 37 ++++++++++-- apps/documenteditor/mobile/locale/en.json | 26 +++++++- 4 files changed, 90 insertions(+), 41 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/add/AddOther.js b/apps/documenteditor/mobile/app/controller/add/AddOther.js index e9d87a3836..fde3598027 100644 --- a/apps/documenteditor/mobile/app/controller/add/AddOther.js +++ b/apps/documenteditor/mobile/app/controller/add/AddOther.js @@ -45,7 +45,7 @@ define([ ], function (core) { 'use strict'; - DE.Controllers.AddOther = Backbone.Controller.extend((function() { + DE.Controllers.AddOther = Backbone.Controller.extend(_.extend((function() { var c_pageNumPosition = { PAGE_NUM_POSITION_TOP: 0x01, PAGE_NUM_POSITION_BOTTOM: 0x02, @@ -205,8 +205,8 @@ define([ DE.getController('AddContainer').hideModal(); }, - txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"' + txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"' } - })()); -}); + })(), DE.Controllers.AddOther || {})) +}); \ No newline at end of file diff --git a/apps/documenteditor/mobile/app/template/AddOther.template b/apps/documenteditor/mobile/app/template/AddOther.template index a4c835231c..8b61a6652f 100644 --- a/apps/documenteditor/mobile/app/template/AddOther.template +++ b/apps/documenteditor/mobile/app/template/AddOther.template @@ -9,7 +9,7 @@
-
Page Break
+
<%= scope.textPageBreak %>
@@ -21,7 +21,7 @@
-
Section Break
+
<%= scope.textSectionBreak %>
@@ -33,7 +33,7 @@
-
Line Break
+
<%= scope.textLineBreak %>
@@ -45,7 +45,7 @@
-
Link
+
<%= scope.textLink %>
@@ -57,7 +57,7 @@
-
Page Number
+
<%= scope.textPageNumber %>
@@ -70,8 +70,8 @@
@@ -82,7 +82,7 @@
-
Next Page
+
<%= scope.textNextPage %>
@@ -91,7 +91,7 @@
-
Continuous Page
+
<%= scope.textContPage %>
@@ -100,7 +100,7 @@
-
Even Page
+
<%= scope.textEvenPage %>
@@ -109,7 +109,7 @@
-
Odd Page
+
<%= scope.textOddPage %>
@@ -124,8 +124,8 @@