diff --git a/django/contrib/gis/templates/gis/admin/openlayers.js b/django/contrib/gis/templates/gis/admin/openlayers.js
index c455bff..9e296ba 100644
a
|
b
|
OpenLayers.Projection.addTransform("EPSG:4326", "EPSG:3857", OpenLayers.Layer.Sp
|
68 | 68 | {{ module }}.clearFeatures = function (){ |
69 | 69 | {{ module }}.deleteFeatures(); |
70 | 70 | document.getElementById('{{ id }}').value = ''; |
| 71 | {% localize off %} |
71 | 72 | {{ module }}.map.setCenter(new OpenLayers.LonLat({{ default_lon }}, {{ default_lat }}), {{ default_zoom }}); |
| 73 | {% endlocalize %} |
72 | 74 | } |
73 | 75 | // Add Select control |
74 | 76 | {{ module }}.addSelectControl = function(){ |
… |
… |
OpenLayers.Projection.addTransform("EPSG:4326", "EPSG:3857", OpenLayers.Layer.Sp
|
137 | 139 | {{ module }}.map.zoomTo({{ point_zoom }}); |
138 | 140 | } |
139 | 141 | } else { |
| 142 | {% localize off %} |
140 | 143 | {{ module }}.map.setCenter(new OpenLayers.LonLat({{ default_lon }}, {{ default_lat }}), {{ default_zoom }}); |
| 144 | {% endlocalize %} |
141 | 145 | } |
142 | 146 | // This allows editing of the geographic fields -- the modified WKT is |
143 | 147 | // written back to the content field (as EWKT, so that the ORM will know |