@@ -195,7 +195,7 @@
-
Left Top
+
<%= scope.textLeftTop %>
@@ -204,7 +204,7 @@
-
Center Top
+
<%= scope.textCenterTop %>
@@ -213,7 +213,7 @@
-
Right Top
+
<%= scope.textRightTop %>
@@ -222,7 +222,7 @@
-
Left Bottom
+
<%= scope.textLeftBottom %>
@@ -231,7 +231,7 @@
-
Center Bottom
+
<%= scope.textCenterBottom %>
@@ -240,7 +240,7 @@
-
Right Bottom
+
<%= scope.textRightBottom %>
@@ -249,7 +249,7 @@
-
Current Position
+
<%= scope.textCurrentPos %>
diff --git a/apps/documenteditor/mobile/app/view/add/AddOther.js b/apps/documenteditor/mobile/app/view/add/AddOther.js
index b1a0f894e3..5abd44def2 100644
--- a/apps/documenteditor/mobile/app/view/add/AddOther.js
+++ b/apps/documenteditor/mobile/app/view/add/AddOther.js
@@ -48,9 +48,8 @@ define([
], function (addTemplate, $, _, Backbone) {
'use strict';
- DE.Views.AddOther = Backbone.View.extend((function() {
+ DE.Views.AddOther = Backbone.View.extend(_.extend((function() {
// private
- var fontNames;
return {
// el: '.view-main',
@@ -78,7 +77,8 @@ define([
render: function () {
this.layout = $('
').append(this.template({
android : Common.SharedSettings.get('android'),
- phone : Common.SharedSettings.get('phone')
+ phone : Common.SharedSettings.get('phone'),
+ scope : this
}));
return this;
@@ -135,7 +135,32 @@ define([
showPagePosition: function () {
this.showPage('#addother-pagenumber');
- }
+ },
+
+ textPageBreak: 'Page Break',
+ textSectionBreak: 'Section Break',
+ textLineBreak: 'Line Break',
+ textLink: 'Link',
+ textPageNumber: 'Page Number',
+ textBack: 'Back',
+ textAddLink: 'Add Link',
+ textDisplay: 'Display',
+ textTip: 'Screen Tip',
+ textInsert: 'Insert',
+ textPosition: 'Position',
+ textLeftTop: 'Left Top',
+ textCenterTop: 'Center Top',
+ textRightTop: 'Right Top',
+ textLeftBottom: 'Left Bottom',
+ textCenterBottom: 'Center Bottom',
+ textRightBottom: 'Right Bottom',
+ textCurrentPos: 'Current Position',
+ textNextPage: 'Next Page',
+ textContPage: 'Continuous Page',
+ textEvenPage: 'Even Page',
+ textOddPage: 'Odd Page'
+
+
}
- })());
-});
+ })(), DE.Views.AddOther || {}))
+});
\ No newline at end of file
diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json
index c20799039b..af89f7d567 100644
--- a/apps/documenteditor/mobile/locale/en.json
+++ b/apps/documenteditor/mobile/locale/en.json
@@ -150,5 +150,29 @@
"DE.Views.AddImage.textLinkSettings": "Link Settings",
"DE.Views.AddImage.textAddress": "Address",
"DE.Views.AddImage.textImageURL": "Image URL",
- "DE.Views.AddImage.textInsertImage": "Insert Image"
+ "DE.Views.AddImage.textInsertImage": "Insert Image",
+
+ "DE.Controllers.AddOther.txtNotUrl": "This field should be a URL in the format 'http://www.example.com'",
+ "DE.Views.AddOther.textPageBreak": "Page Break",
+ "DE.Views.AddOther.textSectionBreak": "Section Break",
+ "DE.Views.AddOther.textLineBreak": "Line Break",
+ "DE.Views.AddOther.textLink": "Link",
+ "DE.Views.AddOther.textPageNumber": "Page Number",
+ "DE.Views.AddOther.textBack": "Back",
+ "DE.Views.AddOther.textAddLink": "Add Link",
+ "DE.Views.AddOther.textDisplay": "Display",
+ "DE.Views.AddOther.textTip": "Screen Tip",
+ "DE.Views.AddOther.textInsert": "Insert",
+ "DE.Views.AddOther.textPosition": "Position",
+ "DE.Views.AddOther.textLeftTop": "Left Top",
+ "DE.Views.AddOther.textCenterTop": "Center Top",
+ "DE.Views.AddOther.textRightTop": "Right Top",
+ "DE.Views.AddOther.textLeftBottom": "Left Bottom",
+ "DE.Views.AddOther.textCenterBottom": "Center Bottom",
+ "DE.Views.AddOther.textRightBottom": "Right Bottom",
+ "DE.Views.AddOther.textCurrentPos": "Current Position",
+ "DE.Views.AddOther.textNextPage": "Next Page",
+ "DE.Views.AddOther.textContPage": "Continuous Page",
+ "DE.Views.AddOther.textEvenPage": "Even Page",
+ "DE.Views.AddOther.textOddPage": "Odd Page"
}
\ No newline at end of file