[SE mobile] Add localization for the view of editing charts

This commit is contained in:
Alexander Yuzhin 2016-12-22 13:41:12 +03:00
parent 1236267c37
commit c6783cd87e
5 changed files with 284 additions and 145 deletions

View file

@ -453,10 +453,10 @@ define([
// Cross
setOptions('horizontal-axis-cross', [
{display: this.textAuto, value: Asc.c_oAscCrossesRule.auto},
{display: this.textValue, value: Asc.c_oAscCrossesRule.value},
{display: this.textMinValue, value: Asc.c_oAscCrossesRule.minValue},
{display: this.textMaxValue, value: Asc.c_oAscCrossesRule.maxValue}
{display: me.textAuto, value: Asc.c_oAscCrossesRule.auto},
{display: me.textValue, value: Asc.c_oAscCrossesRule.value},
{display: me.textMinValue, value: Asc.c_oAscCrossesRule.minValue},
{display: me.textMaxValue, value: Asc.c_oAscCrossesRule.maxValue}
]);
var crossValue = axisProps.getCrossesRule();
@ -469,8 +469,8 @@ define([
// Pos
setOptions('horizontal-axis-position', [
{display: this.textOnTickMarks, value: Asc.c_oAscLabelsPosition.byDivisions},
{display: this.textBetweenTickMarks, value: Asc.c_oAscLabelsPosition.betweenDivisions}
{display: me.textOnTickMarks, value: Asc.c_oAscLabelsPosition.byDivisions},
{display: me.textBetweenTickMarks, value: Asc.c_oAscLabelsPosition.betweenDivisions}
]);
setValue('horizontal-axis-position', axisProps.getLabelsPosition());
@ -478,10 +478,10 @@ define([
// Tick
var tickOptions = [
{display: this.textNone, value: Asc.c_oAscTickMark.TICK_MARK_NONE},
{display: this.textCross, value: Asc.c_oAscTickMark.TICK_MARK_CROSS},
{display: this.textIn, value: Asc.c_oAscTickMark.TICK_MARK_IN},
{display: this.textOut, value: Asc.c_oAscTickMark.TICK_MARK_OUT}
{display: me.textNone, value: Asc.c_oAscTickMark.TICK_MARK_NONE},
{display: me.textCross, value: Asc.c_oAscTickMark.TICK_MARK_CROSS},
{display: me.textIn, value: Asc.c_oAscTickMark.TICK_MARK_IN},
{display: me.textOut, value: Asc.c_oAscTickMark.TICK_MARK_OUT}
];
setOptions('horizontal-axis-tick-major', tickOptions);
@ -492,10 +492,10 @@ define([
// Label
setOptions('horizontal-axis-label-pos', [
{display: this.textNone, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_NONE},
{display: this.textLow, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_LOW},
{display: this.textHigh, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_HIGH},
{display: this.textNextToAxis, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_NEXT_TO}
{display: me.textNone, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_NONE},
{display: me.textLow, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_LOW},
{display: me.textHigh, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_HIGH},
{display: me.textNextToAxis, value: Asc.c_oAscTickLabelsPos.TICK_LABEL_POSITION_NEXT_TO}
]);
setValue('horizontal-axis-label-pos', axisProps.getTickLabelsPos());
@ -1059,33 +1059,9 @@ define([
return clr;
},
textChart: 'Chart',
textLayout: 'Layout',
textLegendPos: 'Legend',
textHorTitle: 'Horizontal Axis Title',
textVertTitle: 'Vertical Axis Title',
textDataLabels: 'Data Labels',
textSeparator: 'Data Labels Separator',
textSeriesName: 'Series Name',
textCategoryName: 'Category Name',
textValue: 'Value',
textAxisOptions: 'Axis Options',
textMinValue: 'Minimum Value',
textMaxValue: 'Maximum Value',
textAxisCrosses: 'Axis Crosses',
textUnits: 'Display Units',
textTickOptions: 'Tick Options',
textMajorType: 'Major Type',
textMinorType: 'Minor Type',
textLabelOptions: 'Label Options',
textLabelPos: 'Label Position',
textReverse: 'Values in reverse order',
textVertAxis: 'Vertical Axis',
textHorAxis: 'Horizontal Axis',
textMarksInterval: 'Interval between Marks',
textLabelDist: 'Axis Label Distance',
textLabelInterval: 'Interval between Labels',
textAxisPos: 'Axis Position',
textLeftOverlay: 'Left Overlay',
textRightOverlay: 'Right Overlay',
textOverlay: 'Overlay',
@ -1118,24 +1094,8 @@ define([
textManual: 'Manual',
textBetweenTickMarks: 'Between Tick Marks',
textOnTickMarks: 'On Tick Marks',
textHorGrid: 'Horizontal Gridlines',
textVertGrid: 'Vertical Gridlines',
textLines: 'Lines',
textMarkers: 'Markers',
textMajor: 'Major',
textMinor: 'Minor',
textMajorMinor: 'Major and Minor',
textStraight: 'Straight',
textSmooth: 'Smooth',
textType: 'Type',
textTypeData: 'Type & Data',
textStyle: 'Style',
errorMaxRows: 'ERROR! The maximum number of data series per chart is 255.',
errorStockChart: 'Incorrect row order. To build a stock chart place the data on the sheet in the following order:<br> opening price, max price, min price, closing price.',
textAxisSettings: 'Axis Settings',
textGridLines: 'Gridlines',
textShow: 'Show',
textHide: 'Hide',
textLeft: 'Left',
textRight: 'Right',
textTop: 'Top',

View file

@ -103,7 +103,7 @@ define([
$('#edit-link-sheet select').html(sheets.join(''));
$('#edit-link-type select').val(linkInfo.asc_getType());
$('#edit-link-type .item-after').text((linkInfo.asc_getType() == Asc.c_oAscHyperlinkType.RangeLink) ? 'Internal Data Range' : 'External Link');
$('#edit-link-type .item-after').text((linkInfo.asc_getType() == Asc.c_oAscHyperlinkType.RangeLink) ? me.textInternalLink : me.textExternalLink);
$('#edit-link-sheet, #edit-link-range').css('display', (linkInfo.asc_getType() == Asc.c_oAscHyperlinkType.RangeLink) ? 'block' : 'none');
$('#edit-link-link').css('display', (linkInfo.asc_getType() != Asc.c_oAscHyperlinkType.RangeLink) ? 'block' : 'none');
@ -217,6 +217,8 @@ define([
SSE.getController('EditContainer').hideModal();
},
textExternalLink: 'External Link',
textInternalLink: 'Internal Data Range',
textDefault: 'Selected range',
textInvalidRange: 'Invalid cells range',
textEmptyImgUrl: 'You need to specify image URL.',

View file

@ -6,7 +6,7 @@
<a id="chart-style" class="item-link" data-page="#edit-chart-style">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Style</div>
<div class="item-title"><%= scope.textStyle %></div>
</div>
</div>
</a>
@ -15,7 +15,7 @@
<a id="chart-layout" class="item-link" data-page="#edit-chart-layout">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Layout</div>
<div class="item-title"><%= scope.textLayout %></div>
</div>
</div>
</a>
@ -24,7 +24,7 @@
<a id="chart-vaxis" class="item-link" data-page="#edit-chart-vertical-axis">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Vertical Axis</div>
<div class="item-title"><%= scope.textVerAxis %></div>
</div>
</div>
</a>
@ -33,7 +33,7 @@
<a id="chart-haxis" class="item-link" data-page="#edit-chart-horizontal-axis">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Horizontal Axis</div>
<div class="item-title"><%= scope.textHorAxis %></div>
</div>
</div>
</a>
@ -42,7 +42,7 @@
<a id="chart-reorder" class="item-link" data-page="#edit-chart-reorder">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Reorder</div>
<div class="item-title"><%= scope.textReorder %></div>
</div>
</div>
</a>
@ -126,15 +126,15 @@
<div class="navbar">
<div class="navbar-inner edit-chart-style" data-page="edit-chart-style">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding">Style</div>
<div class="center sliding"><%= scope.textStyle %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
<% if (!android) { %>
<div class="edit-chart-style subnavbar categories">
<div class="buttons-row">
<a href="#tab-chart-type" class="button tab-link active">Type</a>
<a href="#tab-chart-style" class="button tab-link">Style</a>
<a href="#tab-chart-fill" class="button tab-link">Fill</a>
<a href="#tab-chart-border" class="button tab-link">Border</a>
<a href="#tab-chart-type" class="button tab-link active"><%= scope.textType %></a>
<a href="#tab-chart-style" class="button tab-link"><%= scope.textStyle %></a>
<a href="#tab-chart-fill" class="button tab-link"><%= scope.textFill %></a>
<a href="#tab-chart-border" class="button tab-link"><%= scope.textBorder %></a>
</div>
</div>
<% } %>
@ -143,10 +143,10 @@
<div class="edit-chart-style subnavbar categories" style="padding: 0;">
<div class="toolbar tabbar" style="top: 0;">
<div data-page="index" class="toolbar-inner">
<a href="#tab-chart-type" class="tab-link active">Type</a>
<a href="#tab-chart-style" class="tab-link">Style</a>
<a href="#tab-chart-fill" class="tab-link">Fill</a>
<a href="#tab-chart-border" class="tab-link">Border</a>
<a href="#tab-chart-type" class="tab-link active"><%= scope.textType %></a>
<a href="#tab-chart-style" class="tab-link"><%= scope.textStyle %></a>
<a href="#tab-chart-fill" class="tab-link"><%= scope.textFill %></a>
<a href="#tab-chart-border" class="tab-link"><%= scope.textBorder %></a>
</div>
</div>
</div>
@ -176,7 +176,7 @@
<div class="list-block">
<ul>
<li id="edit-chart-bordersize">
<div style="padding: 15px 0 0 15px;">Size</div>
<div style="padding: 15px 0 0 15px;"><%= scope.textSize %></div>
<div class="item-content">
<div class="item-inner">
<div class="item-input">
@ -192,7 +192,7 @@
<a id="edit-chart-bordercolor" class="item-link" data-page="#edit-chart-border-color-view">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Color</div>
<div class="item-title"><%= scope.textColor %></div>
<div class="item-after"><div class="color-preview"></div></div>
</div>
</div>
@ -211,7 +211,7 @@
<div class="navbar">
<div class="navbar-inner" data-page="edit-chart-border-color">
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding">Color</div>
<div class="center sliding"><%= scope.textColor %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
@ -227,7 +227,7 @@
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding">Layout</div>
<div class="center sliding"><%= scope.textLayout %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
@ -239,14 +239,14 @@
<li>
<a id="chart-layout-title" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-title">
<option value="0" selected>None</option>
<option value="1">Overlay</option>
<option value="2">No Overlay</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textOverlay %></option>
<option value="2"><%= scope.textNoOverlay %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Chart Title</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textChartTitle %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -254,37 +254,37 @@
<li>
<a id="chart-layout-legend" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-legend">
<option value="0" selected>None</option>
<option value="1">Left</option>
<option value="2">Top</option>
<option value="3">Right</option>
<option value="4">Bottom</option>
<option value="5">Left Overlay</option>
<option value="6">Right Overlay</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textLeft %></option>
<option value="2"><%= scope.textTop %></option>
<option value="3"><%= scope.textRight %></option>
<option value="4"><%= scope.textBottom %></option>
<option value="5"><%= scope.textLeftOverlay %></option>
<option value="6"><%= scope.textRightOverlay %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Legend</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textLegend %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="content-block-title">Axis Title</div>
<div class="content-block-title"><%= scope.textAxisTitle %></div>
<div class="list-block">
<ul>
<li>
<a id="chart-layout-axis-title-horizontal" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-axis-title-horizontal">
<option value="0" selected>None</option>
<option value="1">No Overlay</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textNoOverlay %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Horizontal</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textHorizontal %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -292,35 +292,35 @@
<li>
<a id="chart-layout-axis-title-vertical" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-axis-title-vertical">
<option value="0" selected>None</option>
<option value="1">Rotated</option>
<option value="3">Horizontal</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textRotated %></option>
<option value="3"><%= scope.textHorizontal %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Vertical</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textVertical %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="content-block-title">Gridlines</div>
<div class="content-block-title"><%= scope.textGridlines %></div>
<div class="list-block">
<ul>
<li>
<a id="chart-layout-gridlines-horizontal" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-gridlines-horizontal">
<option value="0" selected>None</option>
<option value="1">Major</option>
<option value="2">Minor</option>
<option value="3">Major and Minor</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textMajor %></option>
<option value="2"><%= scope.textMinor %></option>
<option value="3"><%= scope.textMajorMinor %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Horizontal</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textHorizontal %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -328,15 +328,15 @@
<li>
<a id="chart-layout-gridlines-vertical" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-gridlines-vertical">
<option value="0" selected>None</option>
<option value="1">Major</option>
<option value="2">Minor</option>
<option value="3">Major and Minor</option>
<option value="0" selected><%= scope.textNone %></option>
<option value="1"><%= scope.textMajor %></option>
<option value="2"><%= scope.textMinor %></option>
<option value="3"><%= scope.textMajorMinor %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Vertical</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textVertical %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -348,12 +348,12 @@
<li>
<a id="chart-layout-data-labels" class="item-link smart-select" data-back-on-select="true">
<select name="chart-layout-data-labels">
<option value="0" selected>None</option>
<option value="0" selected><%= scope.textNone %></option>
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Data Labels</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textDataLabels %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -370,7 +370,7 @@
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding">Axis Options</div>
<div class="center sliding"><%= scope.textAxisOptions %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
@ -382,7 +382,7 @@
<li id="edit-vertical-axis-min-val">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Minimum Value</div>
<div class="item-title"><%= scope.textMinValue %></div>
<div class="item-after">
<div class="item-input">
<input class="field right placeholder-color" type="number" placeholder="Auto">
@ -394,7 +394,7 @@
<li id="edit-vertical-axis-max-val">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Maximum Value</div>
<div class="item-title"><%= scope.textMaxValue %></div>
<div class="item-after">
<div class="item-input">
<input class="field right placeholder-color" type="number" placeholder="Auto">
@ -412,8 +412,8 @@
<select name="vertical-axis-cross"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Axis Crosses</div>
<div class="item-after">Auto</div>
<div class="item-title"><%= scope.textAxisCrosses %></div>
<div class="item-after"><%= scope.textAuto %></div>
</div>
</div>
</a>
@ -421,7 +421,7 @@
<li id="edit-vertical-axis-cross-value" style="display: none;">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Crosses Value</div>
<div class="item-title"><%= scope.textCrossesValue %></div>
<div class="item-after">
<div class="item-input">
<input class="field right placeholder-color" type="number" placeholder="0">
@ -440,8 +440,8 @@
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Display Units</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textDisplayUnits %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -449,7 +449,7 @@
<li id="vertical-axis-in-reverse">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Values in Reverse Order</div>
<div class="item-title"><%= scope.textValReverseOrder %></div>
<div class="item-after">
<label class="label-switch">
<input type="checkbox">
@ -461,7 +461,7 @@
</li>
</ul>
</div>
<div class="content-block-title">Tick Options</div>
<div class="content-block-title"><%= scope.textTickOptions %>Tick Options</div>
<div class="list-block">
<ul>
<li>
@ -469,8 +469,8 @@
<select name="vertical-axis-tick-major"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Major Type</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textMajorType %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -480,15 +480,15 @@
<select name="vertical-axis-tick-minor"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Minor Type</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textMajorType %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="content-block-title">Label Options</div>
<div class="content-block-title"><%= scope.textLabelOptions %></div>
<div class="list-block">
<ul>
<li>
@ -496,8 +496,8 @@
<select name="vertical-axis-label-pos"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Label Position</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textLabelPos %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -514,7 +514,7 @@
<div class="navbar">
<div class="navbar-inner">
<div class="left sliding"><a href="#" class="back link"> <i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
<div class="center sliding">Axis Options</div>
<div class="center sliding"><%= scope.textAxisOptions %></div>
<div class="right"><% if (phone) { %><a href="#" class="link icon-only close-picker"><i class="icon icon-expand-down"></i></a><% } %></div>
</div>
</div>
@ -528,8 +528,8 @@
<select name="horizontal-axis-cross"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Axis Crosses</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textAxisCrosses %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -537,7 +537,7 @@
<li id="edit-horizontal-axis-cross-value" style="display: none;">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Crosses Value</div>
<div class="item-title"><%= scope.textCrossesValue %></div>
<div class="item-after">
<div class="item-input">
<input class="field right placeholder-color" type="number" placeholder="0">
@ -556,8 +556,8 @@
</select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Axis Position</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textAxisPosition %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -565,7 +565,7 @@
<li id="horizontal-axis-in-reverse">
<div class="item-content">
<div class="item-inner">
<div class="item-title">Values in Reverse Order</div>
<div class="item-title"><%= scope.textValReverseOrder %></div>
<div class="item-after">
<label class="label-switch">
<input type="checkbox">
@ -577,7 +577,7 @@
</li>
</ul>
</div>
<div class="content-block-title">Tick Options</div>
<div class="content-block-title"><%= scope.textTickOptions %></div>
<div class="list-block">
<ul>
<li>
@ -585,8 +585,8 @@
<select name="horizontal-axis-tick-major"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Major Type</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textMajorType %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
@ -596,15 +596,15 @@
<select name="horizontal-axis-tick-minor"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Minor Type</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textMajorType %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>
</li>
</ul>
</div>
<div class="content-block-title">Label Options</div>
<div class="content-block-title"><%= scope.textLabelOptions %></div>
<div class="list-block">
<ul>
<li>
@ -612,8 +612,8 @@
<select name="horizontal-axis-label-pos"></select>
<div class="item-content">
<div class="item-inner">
<div class="item-title">Label Position</div>
<div class="item-after">None</div>
<div class="item-title"><%= scope.textLabelPos %></div>
<div class="item-after"><%= scope.textNone %></div>
</div>
</div>
</a>

View file

@ -221,6 +221,47 @@ define([
textToBackground: 'Send to Background',
textForward: 'Move Forward',
textBackward: 'Move Backward',
textStyle: 'Style',
textLayout: 'Layout',
textVerAxis: 'Vertical Axis',
textHorAxis: 'Horizontal Axis',
textType: 'Type',
textFill: 'Fill',
textBorder: 'Border',
textSize: 'Size',
textColor: 'Color',
textOverlay: 'Overlay',
textNoOverlay: 'No Overlay',
textChartTitle: 'Chart Title',
textLeft: 'Left',
textTop: 'Top',
textRight: 'Right',
textBottom: 'Bottom',
textLeftOverlay: 'Left Overlay',
textRightOverlay: 'Right Overlay',
textLegend: 'Legend',
textAxisTitle: 'Axis Title',
textHorizontal: 'Horizontal',
textRotated: 'Rotated',
textVertical: 'Vertical',
textMajor: 'Major',
textMinor: 'Minor',
textMajorMinor: 'Major and Minor',
textDataLabels: 'Data Labels',
textAxisOptions: 'Axis Options',
textMinValue: 'Minimum Value',
textMaxValue: 'Maximum Value',
textAxisCrosses: 'Axis Crosses',
textAuto: 'Auto',
textCrossesValue: 'Crosses Value',
textDisplayUnits: 'Display Units',
textValReverseOrder: 'Values in Reverse Order',
textTickOptions: 'Tick Options',
textMajorType: 'Major Type',
textLabelOptions: 'Label Options',
textLabelPos: 'Label Position',
textAxisPosition: 'Axis Position',
textNone: 'None'
}
})(), SSE.Views.EditChart || {}))
});

View file

@ -2,6 +2,142 @@
"Common.UI.ThemeColorPalette.textThemeColors": "Theme Colors",
"Common.UI.ThemeColorPalette.textStandartColors": "Standard Colors",
"SSE.Controllers.EditChart.textValue": "Value",
"SSE.Controllers.EditChart.textMinValue": "Minimum Value",
"SSE.Controllers.EditChart.textMaxValue": "Maximum Value",
"SSE.Controllers.EditChart.textLeftOverlay": "Left Overlay",
"SSE.Controllers.EditChart.textRightOverlay": "Right Overlay",
"SSE.Controllers.EditChart.textOverlay": "Overlay",
"SSE.Controllers.EditChart.textNoOverlay": "No Overlay",
"SSE.Controllers.EditChart.textRotated": "Rotated",
"SSE.Controllers.EditChart.textHorizontal": "Horizontal",
"SSE.Controllers.EditChart.textInnerBottom": "Inner Bottom",
"SSE.Controllers.EditChart.textInnerTop": "Inner Top",
"SSE.Controllers.EditChart.textOuterTop": "Outer Top",
"SSE.Controllers.EditChart.textNone": "None",
"SSE.Controllers.EditChart.textCenter": "Center",
"SSE.Controllers.EditChart.textFixed": "Fixed",
"SSE.Controllers.EditChart.textAuto": "Auto",
"SSE.Controllers.EditChart.textCross": "Cross",
"SSE.Controllers.EditChart.textIn": "In",
"SSE.Controllers.EditChart.textOut": "Out",
"SSE.Controllers.EditChart.textLow": "Low",
"SSE.Controllers.EditChart.textHigh": "High",
"SSE.Controllers.EditChart.textNextToAxis": "Next to axis",
"SSE.Controllers.EditChart.textHundreds": "Hundreds",
"SSE.Controllers.EditChart.textThousands": "Thousands",
"SSE.Controllers.EditChart.textTenThousands": "10 000",
"SSE.Controllers.EditChart.textHundredThousands": "100 000",
"SSE.Controllers.EditChart.textMillions": "Millions",
"SSE.Controllers.EditChart.textTenMillions": "10 000 000",
"SSE.Controllers.EditChart.textHundredMil": "100 000 000",
"SSE.Controllers.EditChart.textBillions": "Billions",
"SSE.Controllers.EditChart.textTrillions": "Trillions",
"SSE.Controllers.EditChart.textCustom": "Custom",
"SSE.Controllers.EditChart.textManual": "Manual",
"SSE.Controllers.EditChart.textBetweenTickMarks": "Between Tick Marks",
"SSE.Controllers.EditChart.textOnTickMarks": "On Tick Marks",
"SSE.Controllers.EditChart.errorMaxRows": "ERROR! The maximum number of data series per chart is 255.",
"SSE.Controllers.EditChart.errorStockChart": "Incorrect row order. To build a stock chart place the data on the sheet in the following order:<br> opening price, max price, min price, closing price.",
"SSE.Controllers.EditChart.textLeft": "Left",
"SSE.Controllers.EditChart.textRight": "Right",
"SSE.Controllers.EditChart.textTop": "Top",
"SSE.Controllers.EditChart.textBottom": "Bottom",
"SSE.Controllers.EditChart.textFit": "Fit Width",
"SSE.Views.EditChart.textBack": "Back",
"SSE.Views.EditChart.textChart": "Chart",
"SSE.Views.EditChart.textReorder": "Reorder",
"SSE.Views.EditChart.textRemoveChart": "Remove Chart",
"SSE.Views.EditChart.textToForeground": "Bring to Foreground",
"SSE.Views.EditChart.textToBackground": "Send to Background",
"SSE.Views.EditChart.textForward": "Move Forward",
"SSE.Views.EditChart.textBackward": "Move Backward",
"SSE.Views.EditChart.textStyle": "Style",
"SSE.Views.EditChart.textLayout": "Layout",
"SSE.Views.EditChart.textVerAxis": "Vertical Axis",
"SSE.Views.EditChart.textHorAxis": "Horizontal Axis",
"SSE.Views.EditChart.textType": "Type",
"SSE.Views.EditChart.textFill": "Fill",
"SSE.Views.EditChart.textBorder": "Border",
"SSE.Views.EditChart.textSize": "Size",
"SSE.Views.EditChart.textColor": "Color",
"SSE.Views.EditChart.textOverlay": "Overlay",
"SSE.Views.EditChart.textNoOverlay": "No Overlay",
"SSE.Views.EditChart.textChartTitle": "Chart Title",
"SSE.Views.EditChart.textLeft": "Left",
"SSE.Views.EditChart.textTop": "Top",
"SSE.Views.EditChart.textRight": "Right",
"SSE.Views.EditChart.textBottom": "Bottom",
"SSE.Views.EditChart.textLeftOverlay": "Left Overlay",
"SSE.Views.EditChart.textRightOverlay": "Right Overlay",
"SSE.Views.EditChart.textLegend": "Legend",
"SSE.Views.EditChart.textAxisTitle": "Axis Title",
"SSE.Views.EditChart.textHorizontal": "Horizontal",
"SSE.Views.EditChart.textRotated": "Rotated",
"SSE.Views.EditChart.textVertical": "Vertical",
"SSE.Views.EditChart.textMajor": "Major",
"SSE.Views.EditChart.textMinor": "Minor",
"SSE.Views.EditChart.textMajorMinor": "Major and Minor",
"SSE.Views.EditChart.textDataLabels": "Data Labels",
"SSE.Views.EditChart.textAxisOptions": "Axis Options",
"SSE.Views.EditChart.textMinValue": "Minimum Value",
"SSE.Views.EditChart.textMaxValue": "Maximum Value",
"SSE.Views.EditChart.textAxisCrosses": "Axis Crosses",
"SSE.Views.EditChart.textAuto": "Auto",
"SSE.Views.EditChart.textCrossesValue": "Crosses Value",
"SSE.Views.EditChart.textDisplayUnits": "Display Units",
"SSE.Views.EditChart.textValReverseOrder": "Values in Reverse Order",
"SSE.Views.EditChart.textTickOptions": "Tick Options",
"SSE.Views.EditChart.textMajorType": "Major Type",
"SSE.Views.EditChart.textLabelOptions": "Label Options",
"SSE.Views.EditChart.textLabelPos": "Label Position",
"SSE.Views.EditChart.textAxisPosition": "Axis Position",
"SSE.Views.EditChart.textNone": "None",
"SSE.Views.EditImage.textReplace": "Replace",
"SSE.Views.EditImage.textReorder": "Reorder",
"SSE.Views.EditImage.textDefault": "Default Size",
"SSE.Views.EditImage.textRemove": "Remove Image",
"SSE.Views.EditImage.textBack": "Back",
"SSE.Views.EditImage.textToForeground": "Bring to Foreground",
"SSE.Views.EditImage.textToBackground": "Send to Background",
"SSE.Views.EditImage.textForward": "Move Forward",
"SSE.Views.EditImage.textBackward": "Move Backward",
"SSE.Views.EditImage.textFromLibrary": "Picture from Library",
"SSE.Views.EditImage.textFromURL": "Picture from URL",
"SSE.Views.EditImage.textLinkSettings": "Link Settings",
"SSE.Views.EditImage.textAddress": "Address",
"SSE.Views.EditImage.textImageURL": "Image URL",
"SSE.Views.EditImage.textReplaceImg": "Replace Image",
"SSE.Views.EditShape.textStyle": "Style",
"SSE.Views.EditShape.textReplace": "Replace",
"SSE.Views.EditShape.textReorder": "Reorder",
"SSE.Views.EditShape.textRemoveShape": "Remove Shape",
"SSE.Views.EditShape.textBack": "Back",
"SSE.Views.EditShape.textToForeground": "Bring to Foreground",
"SSE.Views.EditShape.textToBackground": "Send to Background",
"SSE.Views.EditShape.textForward": "Move Forward",
"SSE.Views.EditShape.textBackward": "Move Backward",
"SSE.Views.EditShape.textFill": "Fill",
"SSE.Views.EditShape.textBorder": "Border",
"SSE.Views.EditShape.textEffects": "Effects",
"SSE.Views.EditShape.textSize": "Size",
"SSE.Views.EditShape.textColor": "Color",
"SSE.Views.EditShape.textOpacity": "Opacity",
"SSE.Views.EditText.textBack": "Back",
"SSE.Views.EditText.textFonts": "Fonts",
"SSE.Views.EditText.textTextColor": "Text Color",
"SSE.Views.EditText.textFillColor": "Fill Color",
"SSE.Views.EditText.textSize": "Size",
"SSE.Controllers.EditHyperlink.textExternalLink": "External Link",
"SSE.Controllers.EditHyperlink.textInternalLink": "Internal Data Range",
"SSE.Controllers.EditHyperlink.textDefault": "Selected range",
"SSE.Controllers.EditHyperlink.textInvalidRange": "Invalid cells range",
"SSE.Controllers.EditHyperlink.textEmptyImgUrl": "You need to specify image URL.",
"SSE.Controllers.EditHyperlink.txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
"SSE.Views.EditHyperlink.textBack": "Back",
"SSE.Views.EditHyperlink.textExternalLink": "External Link",
"SSE.Views.EditHyperlink.textInternalLink": "Internal Data Range",