[de mobile] change application settings and add traslation
This commit is contained in:
parent
0f043e0faa
commit
20c211c1da
|
@ -142,12 +142,13 @@ define([
|
||||||
initSettings: function (pageId) {
|
initSettings: function (pageId) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
|
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||||
|
|
||||||
if (_imageObject) {
|
if (_imageObject) {
|
||||||
if (pageId == '#edit-image-wrap-view') {
|
if (pageId == '#edit-image-wrap-view') {
|
||||||
me._initWrapView();
|
me._initWrapView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_initWrapView: function() {
|
_initWrapView: function() {
|
||||||
|
|
|
@ -171,7 +171,7 @@ define([
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
// me.api && me.api.UpdateInterfaceState();
|
// me.api && me.api.UpdateInterfaceState();
|
||||||
|
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
||||||
if (_shapeObject) {
|
if (_shapeObject) {
|
||||||
if (pageId == '#edit-shape-wrap') {
|
if (pageId == '#edit-shape-wrap') {
|
||||||
me._initWrapView();
|
me._initWrapView();
|
||||||
|
@ -181,7 +181,6 @@ define([
|
||||||
me.getView('EditShape').isShapeCanFill = _shapeObject.get_ShapeProperties().get_CanFill();
|
me.getView('EditShape').isShapeCanFill = _shapeObject.get_ShapeProperties().get_CanFill();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_initWrapView: function() {
|
_initWrapView: function() {
|
||||||
|
|
|
@ -279,7 +279,7 @@ define([
|
||||||
textLeft: 'Left',
|
textLeft: 'Left',
|
||||||
textBottom: 'Bottom',
|
textBottom: 'Bottom',
|
||||||
textRight: 'Right',
|
textRight: 'Right',
|
||||||
textAdvancedSettings: 'Advanced Settings',
|
textAdvancedSettings: 'Application Settings',
|
||||||
textUnitOfMeasurement: 'Unit of Measurement',
|
textUnitOfMeasurement: 'Unit of Measurement',
|
||||||
textCentimeter: 'Centimeter',
|
textCentimeter: 'Centimeter',
|
||||||
textPoint: 'Point',
|
textPoint: 'Point',
|
||||||
|
|
|
@ -414,5 +414,10 @@
|
||||||
"DE.Views.Settings.textVersion": "Version",
|
"DE.Views.Settings.textVersion": "Version",
|
||||||
"DE.Views.Settings.textWords": "Words",
|
"DE.Views.Settings.textWords": "Words",
|
||||||
"DE.Views.Settings.unknownText": "Unknown",
|
"DE.Views.Settings.unknownText": "Unknown",
|
||||||
|
"DE.Views.Settings.textAdvancedSettings": "Application Settings",
|
||||||
|
"DE.Views.Settings.textUnitOfMeasurement": "Unit of Measurement",
|
||||||
|
"DE.Views.Settings.textCentimeter": "Centimeter",
|
||||||
|
"DE.Views.Settings.textPoint": "Point",
|
||||||
|
"DE.Views.Settings.textInch": "Inch",
|
||||||
"DE.Views.Toolbar.textBack": "Back"
|
"DE.Views.Toolbar.textBack": "Back"
|
||||||
}
|
}
|
Loading…
Reference in a new issue