Commit 932d5b3d authored by Alexander Yuzhin's avatar Alexander Yuzhin Committed by Maxim Kadushkin

[DE mobile] Localization EditTable.

parent 235c4765
......@@ -46,7 +46,7 @@ define([
], function (core) {
'use strict';
DE.Controllers.EditTable = Backbone.Controller.extend((function() {
DE.Controllers.EditTable = Backbone.Controller.extend(_.extend((function() {
// Private
var _stack = [],
_metricText = Common.Utils.Metric.getCurrentMetricName(),
......@@ -646,5 +646,5 @@ define([
}
}
}
})());
})(), DE.Controllers.EditTable || {}))
});
\ No newline at end of file
......@@ -49,7 +49,7 @@ define([
], function (editTemplate, $, _, Backbone) {
'use strict';
DE.Views.EditTable = Backbone.View.extend((function() {
DE.Views.EditTable = Backbone.View.extend(_.extend((function() {
// private
var _styles = [];
......@@ -87,7 +87,8 @@ define([
render: function () {
this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone')
phone : Common.SharedSettings.get('phone'),
scope : this
}));
return this;
......@@ -213,8 +214,33 @@ define([
showTableStyleOptions: function () {
this.showPage('#edit-table-style-options-view');
}
},
textRemoveTable: 'Remove Table',
textTableOptions: 'Table Options',
textStyle: 'Style',
textWrap: 'Wrap',
textBack: 'Back',
textInline: 'Inline',
textFlow: 'Flow',
textWithText: 'Move with Text',
textFromText: 'Distance from Text',
textAlign: 'Align',
textOptions: 'Options',
textRepeatHeader: 'Repeat as Header Row',
textResizeFit: 'Resize to Fit Content',
textCellMargins: 'Cell Margins',
textFill: 'Fill',
textBorder: 'Border',
textStyleOptions: 'Style Options',
textSize: 'Size',
textColor: 'Color',
textHeaderRow: 'Header Row',
textTotalRow: 'Total Row',
textBandedRow: 'Banded Row',
textFirstColumn: 'First Column',
textLastColumn: 'Last Column',
textBandedColumn: 'Banded Column'
}
})());
})(), DE.Views.EditTable || {}))
});
\ No newline at end of file
......@@ -293,5 +293,31 @@
"DE.Views.EditShape.textEffects": "Effects",
"DE.Views.EditShape.textSize": "Size",
"DE.Views.EditShape.textColor": "Color",
"DE.Views.EditShape.textOpacity": "Opacity"
"DE.Views.EditShape.textOpacity": "Opacity",
"DE.Views.EditTabletextRemoveTable": "Remove Table",
"DE.Views.EditTabletextTableOptions": "Table Options",
"DE.Views.EditTabletextStyle": "Style",
"DE.Views.EditTabletextWrap": "Wrap",
"DE.Views.EditTabletextBack": "Back",
"DE.Views.EditTabletextInline": "Inline",
"DE.Views.EditTabletextFlow": "Flow",
"DE.Views.EditTabletextWithText": "Move with Text",
"DE.Views.EditTabletextFromText": "Distance from Text",
"DE.Views.EditTabletextAlign": "Align",
"DE.Views.EditTabletextOptions": "Options",
"DE.Views.EditTabletextRepeatHeader": "Repeat as Header Row",
"DE.Views.EditTabletextResizeFit": "Resize to Fit Content",
"DE.Views.EditTabletextCellMargins": "Cell Margins",
"DE.Views.EditTabletextFill": "Fill",
"DE.Views.EditTabletextBorder": "Border",
"DE.Views.EditTabletextStyleOptions": "Style Options",
"DE.Views.EditTabletextSize": "Size",
"DE.Views.EditTabletextColor": "Color",
"DE.Views.EditTabletextHeaderRow": "Header Row",
"DE.Views.EditTabletextTotalRow": "Total Row",
"DE.Views.EditTabletextBandedRow": "Banded Row",
"DE.Views.EditTabletextFirstColumn": "First Column",
"DE.Views.EditTabletextLastColumn": "Last Column",
"DE.Views.EditTabletextBandedColumn": "Banded Column"
}
\ 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