-
-
Color
+
+
<%= scope.textColor %>
<% if (phone) { %>
<% } %>
diff --git a/apps/documenteditor/mobile/app/view/edit/EditShape.js b/apps/documenteditor/mobile/app/view/edit/EditShape.js
index fe3b30795..369776cb5 100644
--- a/apps/documenteditor/mobile/app/view/edit/EditShape.js
+++ b/apps/documenteditor/mobile/app/view/edit/EditShape.js
@@ -48,7 +48,7 @@ define([
], function (editTemplate, $, _, Backbone) {
'use strict';
- DE.Views.EditShape = Backbone.View.extend((function() {
+ DE.Views.EditShape = Backbone.View.extend(_.extend((function() {
// private
return {
@@ -89,7 +89,8 @@ define([
this.layout = $('
').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
- shapes : Common.SharedSettings.get('shapes')
+ shapes : Common.SharedSettings.get('shapes'),
+ scope : this
}));
return this;
@@ -170,7 +171,35 @@ define([
});
this.fireEvent('page:show', [this, selector]);
- }
+ },
+
+ textStyle: 'Style',
+ textWrap: 'Wrap',
+ textReplace: 'Replace',
+ textReorder: 'Reorder',
+ textRemoveShape: 'Remove Shape',
+ textBack: 'Back',
+ textToForeground: 'Bring to Foreground',
+ textToBackground: 'Send to Background',
+ textForward: 'Move Forward',
+ textBackward: 'Move Backward',
+ textInline: 'Inline',
+ textSquare: 'Square',
+ textTight: 'Tight',
+ textThrough: 'Through',
+ textTopAndBottom: 'Top and Bottom',
+ textInFront: 'In Front',
+ textBehind: 'Behind',
+ textAlign: 'Align',
+ textWithText: 'Move with Text',
+ textOverlap: 'Allow Overlap',
+ textFromText: 'Distance from Text',
+ textFill: 'Fill',
+ textBorder: 'Border',
+ textEffects: 'Effects',
+ textSize: 'Size',
+ textColor: 'Color',
+ textOpacity: 'Opacity'
}
- })());
+ })(), DE.Views.EditShape || {}))
});
\ No newline at end of file
diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json
index 505433a3e..bbae6d9bd 100644
--- a/apps/documenteditor/mobile/locale/en.json
+++ b/apps/documenteditor/mobile/locale/en.json
@@ -266,4 +266,32 @@
"DE.Views.EditParagraph.textOrphan": "Orphan Control",
"DE.Views.EditParagraph.textKeepLines": "Keep Lines Together",
"DE.Views.EditParagraph.textKeepNext": "Keep with Next",
+
+ "DE.Views.EditShape.textStyle": "Style",
+ "DE.Views.EditShape.textWrap": "Wrap",
+ "DE.Views.EditShape.textReplace": "Replace",
+ "DE.Views.EditShape.textReorder": "Reorder",
+ "DE.Views.EditShape.textRemoveShape": "Remove Shape",
+ "DE.Views.EditShape.textBack": "Back",
+ "DE.Views.EditShape.textToForeground": "Bring to Foreground",
+ "DE.Views.EditShape.textToBackground": "Send to Background",
+ "DE.Views.EditShape.textForward": "Move Forward",
+ "DE.Views.EditShape.textBackward": "Move Backward",
+ "DE.Views.EditShape.textInline": "Inline",
+ "DE.Views.EditShape.textSquare": "Square",
+ "DE.Views.EditShape.textTight": "Tight",
+ "DE.Views.EditShape.textThrough": "Through",
+ "DE.Views.EditShape.textTopAndBottom": "Top and Bottom",
+ "DE.Views.EditShape.textInFront": "In Front",
+ "DE.Views.EditShape.textBehind": "Behind",
+ "DE.Views.EditShape.textAlign": "Align",
+ "DE.Views.EditShape.textWithText": "Move with Text",
+ "DE.Views.EditShape.textOverlap": "Allow Overlap",
+ "DE.Views.EditShape.textFromText": "Distance from Text",
+ "DE.Views.EditShape.textFill": "Fill",
+ "DE.Views.EditShape.textBorder": "Border",
+ "DE.Views.EditShape.textEffects": "Effects",
+ "DE.Views.EditShape.textSize": "Size",
+ "DE.Views.EditShape.textColor": "Color",
+ "DE.Views.EditShape.textOpacity": "Opacity"
}
\ No newline at end of file