Browse files

Call to OpenLayers.i18n is missing on some controls.

  • Loading branch information...
1 parent e5bdd72 commit a43b824e616235748be8717cb77999ea24a901ff @manelclos manelclos committed Nov 24, 2011
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() {

0 comments on commit a43b824

Please sign in to comment.