-
-
Color
+
+
<%= scope.textColor %>
<% if (phone) { %>
<% } %>
diff --git a/apps/documenteditor/mobile/app/view/edit/EditChart.js b/apps/documenteditor/mobile/app/view/edit/EditChart.js
index 6ecb18cc4..c1d646e37 100644
--- a/apps/documenteditor/mobile/app/view/edit/EditChart.js
+++ b/apps/documenteditor/mobile/app/view/edit/EditChart.js
@@ -49,7 +49,7 @@ define([
], function (editTemplate, $, _, Backbone) {
'use strict';
- DE.Views.EditChart = Backbone.View.extend((function() {
+ DE.Views.EditChart = Backbone.View.extend(_.extend((function() {
// private
var _styles = [];
@@ -128,7 +128,8 @@ define([
this.layout = $('
').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
- types : groupsOfTypes
+ types : groupsOfTypes,
+ scope : this
}));
return this;
@@ -241,7 +242,33 @@ define([
});
this.fireEvent('page:show', [this, selector]);
- }
+ },
+
+ textStyle: 'Style',
+ textWrap: 'Wrap',
+ textReorder: 'Reorder',
+ textRemoveChart: 'Remove Chart',
+ textBack: 'Back',
+ textToForeground: 'Bring to Foreground',
+ textToBackground: 'Send to Background',
+ textForward: 'Move Forward',
+ textBackward: 'Move Backward',
+ textInline: 'Inline',
+ textSquare: 'Square',
+ textTight: 'Tight',
+ textThrough: 'Through',
+ textTopBottom: 'Top and Bottom',
+ textInFront: 'In Front',
+ textBehind: 'Behind',
+ textAlign: 'Align',
+ textMoveText: 'Move with Text',
+ textOverlap: 'Allow Overlap',
+ textDistanceText: 'Distance from Text',
+ textType: 'Type',
+ textFill: 'Fill',
+ textBorder: 'Border',
+ textSize: 'Size',
+ textColor: 'Color'
}
- })());
+ })(), DE.Views.EditChart || {}))
});
\ No newline at end of file
diff --git a/apps/documenteditor/mobile/locale/en.json b/apps/documenteditor/mobile/locale/en.json
index 0eab8e57d..d48bb6198 100644
--- a/apps/documenteditor/mobile/locale/en.json
+++ b/apps/documenteditor/mobile/locale/en.json
@@ -179,5 +179,31 @@
"DE.Controllers.AddTable.textTableSize": "Table Size",
"DE.Controllers.AddTable.textColumns": "Columns",
"DE.Controllers.AddTable.textRows": "Rows",
- "DE.Controllers.AddTable.textCancel": "Cancel"
+ "DE.Controllers.AddTable.textCancel": "Cancel",
+
+ "DE.Views.EditChart.textStyle": "Style",
+ "DE.Views.EditChart.textWrap": "Wrap",
+ "DE.Views.EditChart.textReorder": "Reorder",
+ "DE.Views.EditChart.textRemoveChart": "Remove Chart",
+ "DE.Views.EditChart.textBack": "Back",
+ "DE.Views.EditChart.textToForeground": "Bring to Foreground",
+ "DE.Views.EditChart.textToBackground": "Send to Background",
+ "DE.Views.EditChart.textForward": "Move Forward",
+ "DE.Views.EditChart.textBackward": "Move Backward",
+ "DE.Views.EditChart.textInline": "Inline",
+ "DE.Views.EditChart.textSquare": "Square",
+ "DE.Views.EditChart.textTight": "Tight",
+ "DE.Views.EditChart.textThrough": "Through",
+ "DE.Views.EditChart.textTopBottom": "Top and Bottom",
+ "DE.Views.EditChart.textInFront": "In Front",
+ "DE.Views.EditChart.textBehind": "Behind",
+ "DE.Views.EditChart.textAlign": "Align",
+ "DE.Views.EditChart.textMoveText": "Move with Text",
+ "DE.Views.EditChart.textOverlap": "Allow Overlap",
+ "DE.Views.EditChart.textDistanceText": "Distance from Text",
+ "DE.Views.EditChart.textType": "Type",
+ "DE.Views.EditChart.textFill": "Fill",
+ "DE.Views.EditChart.textBorder": "Border",
+ "DE.Views.EditChart.textSize": "Size",
+ "DE.Views.EditChart.textColor": "Color"
}
\ No newline at end of file