Index: trunk/extensions/Maps/Services/OpenLayers/OpenLayerFunctions.js |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | for (i = 0; i < mapTypes.length; i++) map.addLayer(mapTypes[i]); |
61 | 61 | |
62 | 62 | // Layer to hold the markers. |
63 | | - var markerLayer = new OpenLayers.Layer.Markers('Markers'); |
| 63 | + var markerLayer = new OpenLayers.Layer.Markers( msgMarkers ); |
64 | 64 | markerLayer.id= 'markerLayer'; |
65 | 65 | map.addLayer(markerLayer); |
66 | 66 | |
Index: trunk/extensions/Maps/Services/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | Html::linkedStyle( "$egMapsScriptPath/Services/OpenLayers/OpenLayers/theme/default/style.css" ), |
77 | 77 | Html::linkedScript( "$egMapsScriptPath/Services/OpenLayers/OpenLayers/OpenLayers.js?$egMapsStyleVersion" ), |
78 | 78 | Html::linkedScript( "$egMapsScriptPath/Services/OpenLayers/OpenLayerFunctions{$egMapsJsExt}?$egMapsStyleVersion" ), |
79 | | - Html::inlineScript( 'initOLSettings(200, 100);' ) |
| 79 | + Html::inlineScript( 'initOLSettings(200, 100); var msgMarkers = "' . Xml::encodeJsVar( wfMsg( 'maps-markers' ) ) . '";' ) |
80 | 80 | ); |
81 | 81 | } |
82 | 82 | |
Index: trunk/extensions/Maps/Maps.i18n.php |
— | — | @@ -22,6 +22,7 @@ |
23 | 23 | Available mapping services: $1", |
24 | 24 | 'maps_map' => 'Map', |
25 | 25 | 'maps-loading-map' => 'Loading map...', |
| 26 | + 'maps-markers' => 'Markers', |
26 | 27 | |
27 | 28 | // Coordinate handling |
28 | 29 | 'maps-abb-north' => 'N', |