Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Call to OpenLayers.i18n is missing on some controls.

  • Loading branch information...
commit a43b824e616235748be8717cb77999ea24a901ff 1 parent e5bdd72
@manelclos manelclos authored
View
1  client/lib/Editor/Control/DrawPath.js
@@ -34,6 +34,7 @@ OpenLayers.Editor.Control.DrawPath = OpenLayers.Class(OpenLayers.Control.DrawFea
OpenLayers.Control.DrawFeature.prototype.initialize.apply(this,
[layer, OpenLayers.Handler.Path, options]);
+ this.title = OpenLayers.i18n('oleDrawPath');
},
/**
View
1  client/lib/Editor/Control/DrawPoint.js
@@ -28,6 +28,7 @@ OpenLayers.Editor.Control.DrawPoint = OpenLayers.Class(OpenLayers.Control.DrawFe
OpenLayers.Control.DrawFeature.prototype.initialize.apply(this,
[layer, OpenLayers.Handler.Point, options]);
+ this.title = OpenLayers.i18n('oleDrawPoint');
},
/**
View
1  client/lib/Editor/Control/FilterFeature.js
@@ -49,6 +49,7 @@ OpenLayers.Editor.Control.FilterFeature = OpenLayers.Class(OpenLayers.Control, {
*/
initialize: function (options) {
OpenLayers.Control.prototype.initialize.apply(this, arguments);
+ this.title = OpenLayers.i18n('oleFilterFeature');
},
/**
View
1  client/lib/Editor/Control/SaveFeature.js
@@ -44,6 +44,7 @@ OpenLayers.Editor.Control.SaveFeature = OpenLayers.Class(OpenLayers.Control.Butt
this.trigger = this.openSaveDialog;
+ this.title = OpenLayers.i18n('oleSaveFeature');
},
openSaveDialog: function() {
Please sign in to comment.
Something went wrong with that request. Please try again.