[de mobile] change application settings and add traslation

This commit is contained in:
Julia Svinareva 2019-04-11 16:36:29 +03:00
parent 0f043e0faa
commit 20c211c1da
4 changed files with 9 additions and 4 deletions

View file

@ -142,12 +142,13 @@ define([
initSettings: function (pageId) {
var me = this;
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
if (_imageObject) {
if (pageId == '#edit-image-wrap-view') {
me._initWrapView();
}
}
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
},
_initWrapView: function() {

View file

@ -171,7 +171,7 @@ define([
var me = this;
// me.api && me.api.UpdateInterfaceState();
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
if (_shapeObject) {
if (pageId == '#edit-shape-wrap') {
me._initWrapView();
@ -181,7 +181,6 @@ define([
me.getView('EditShape').isShapeCanFill = _shapeObject.get_ShapeProperties().get_CanFill();
}
}
_metricText = Common.Utils.Metric.getMetricName(Common.Utils.Metric.getCurrentMetric());
},
_initWrapView: function() {

View file

@ -279,7 +279,7 @@ define([
textLeft: 'Left',
textBottom: 'Bottom',
textRight: 'Right',
textAdvancedSettings: 'Advanced Settings',
textAdvancedSettings: 'Application Settings',
textUnitOfMeasurement: 'Unit of Measurement',
textCentimeter: 'Centimeter',
textPoint: 'Point',

View file

@ -414,5 +414,10 @@
"DE.Views.Settings.textVersion": "Version",
"DE.Views.Settings.textWords": "Words",
"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"
}