Commit d3843067 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Localization EditChart.

parent 2abb5bec
......@@ -46,7 +46,7 @@ define([
], function (core) {
'use strict';
DE.Controllers.EditChart = Backbone.Controller.extend((function() {
DE.Controllers.EditChart = Backbone.Controller.extend(_.extend((function() {
// Private
var _stack = [],
_chartObject = undefined,
......@@ -593,5 +593,5 @@ define([
return chartExist;
}
};
})());
})(), DE.Controllers.EditChart || {}))
});
\ No newline at end of file
......@@ -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 = $('<div/>').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
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment