Index: trunk/extensions/Maps/Maps.i18n.php |
— | — | @@ -149,6 +149,8 @@ |
150 | 150 | 'maps_click_to_activate' => 'Click to activate map', |
151 | 151 | 'maps_centred_on' => 'Map centered on $1, $2.', |
152 | 152 | |
| 153 | + 'maps-par-resizable' => 'Makes the map resizable by dragging at it\'s lower right corner.', |
| 154 | + |
153 | 155 | // Google Maps v2 |
154 | 156 | 'maps-googlemaps2-incompatbrowser' => 'Your browser is not compatible with Google Maps v2.', |
155 | 157 | 'maps_overlays' => 'Overlays', |
— | — | @@ -168,7 +170,10 @@ |
169 | 171 | 'maps-googlemaps3-par-autoinfowindows' => 'Automatically open all info windows after the page has loaded.', |
170 | 172 | 'maps-googlemaps3-par-kml' => 'KML files to load onto the map.', |
171 | 173 | 'maps-googlemaps3-par-fusiontables' => 'IDs of Google Fusion Tables which should be loaded onto the map.', |
172 | | - 'maps-googlemaps3-par-resizable' => 'Makes the map resizable by dragging at it\'s lower right corner.', |
| 174 | + |
| 175 | + // OpenLayers |
| 176 | + 'maps-openlayers-par-controls' => 'The controls to place on the map.', |
| 177 | + 'maps-openlayers-par-layers' => 'The layers that will be available in the layer selector. The first layer will be shown when the map loads.', |
173 | 178 | ); |
174 | 179 | |
175 | 180 | /** Message documentation (Message documentation) |
Index: trunk/extensions/Maps/includes/services/GoogleMaps3/Maps_GoogleMaps3.php |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | |
139 | 139 | $params['resizable'] = new Parameter( 'resizable', Parameter::TYPE_BOOLEAN ); |
140 | 140 | $params['resizable']->setDefault( $egMapsResizableByDefault, false ); |
141 | | - $params['resizable']->setDescription( wfMsg( 'maps-googlemaps3-par-resizable' ) ); |
| 141 | + $params['resizable']->setDescription( wfMsg( 'maps-par-resizable' ) ); |
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
Index: trunk/extensions/Maps/includes/services/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -42,15 +42,18 @@ |
43 | 43 | $params['controls']->addManipulations( |
44 | 44 | new ParamManipulationFunctions( 'strtolower' ) |
45 | 45 | ); |
| 46 | + $params['controls']->setDescription( wfMsg( 'maps-openlayers-par-controls' ) ); |
46 | 47 | |
47 | 48 | $params['layers'] = new ListParameter( 'layers' ); |
48 | 49 | $params['layers']->addManipulations( new MapsParamOLLayers() ); |
49 | 50 | $params['layers']->setDoManipulationOfDefault( true ); |
50 | 51 | $params['layers']->addCriteria( new CriterionOLLayer() ); |
51 | 52 | $params['layers']->setDefault( $egMapsOLLayers ); |
| 53 | + $params['layers']->setDescription( wfMsg( 'maps-openlayers-par-layers' ) ); |
52 | 54 | |
53 | 55 | $params['resizable'] = new Parameter( 'resizable', Parameter::TYPE_BOOLEAN ); |
54 | | - $params['resizable']->setDefault( $egMapsResizableByDefault, false ); |
| 56 | + $params['resizable']->setDefault( $egMapsResizableByDefault, false ); |
| 57 | + $params['resizable']->setDescription( wfMsg( 'maps-par-resizable' ) ); |
55 | 58 | } |
56 | 59 | |
57 | 60 | /** |