http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55339
Revision: 55339 Author: yaron Date: 2009-08-19 19:02:33 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Removed check of plural/singular for extension description - caused problem with magic-words registration Modified Paths: -------------- trunk/extensions/Maps/Maps.i18n.php trunk/extensions/Maps/Maps.php Modified: trunk/extensions/Maps/Maps.i18n.php =================================================================== --- trunk/extensions/Maps/Maps.i18n.php 2009-08-19 18:53:47 UTC (rev 55338) +++ trunk/extensions/Maps/Maps.i18n.php 2009-08-19 19:02:33 UTC (rev 55339) @@ -17,7 +17,7 @@ $messages['en'] = array( 'maps_name' => 'Maps', 'maps_desc' => "Provides the ability to display coordinate data in maps, and geocode addresses ([http://wiki.bn2vs.com/wiki/Maps demo]). -Available mapping {{PLURAL:$2|service|services}}: $1", +Available mapping services: $1", 'maps_coordinates_missing' => 'No coordinates provided for the map.', 'maps_geocoding_failed' => 'The following {{PLURAL:$2|address|addresses}} could not be geocoded: $1. @@ -233,7 +233,7 @@ */ $messages['nl'] = array( 'maps_desc' => 'Biedt de mogelijkheid om locatiegegevens weer te geven op kaarten en adressen om te zetten naar coordinaten ([http://wiki.bn2vs.com/wiki/Semantic_Maps demo]). -Beschikbare {{PLURAL:$2|kaartdienst|kaartdiensten}}: $1', +Beschikbare kaartdiensten: $1', 'maps_coordinates_missing' => 'Er zijn geen coördinaten opgegeven voor de kaart.', 'maps_geocoding_failed' => 'Voor {{PLURAL:$2|het volgende adres|de volgende adressen}} was geocodering niet mogelijk: $1 De kaart kan niet worden weergegeven.', Modified: trunk/extensions/Maps/Maps.php =================================================================== --- trunk/extensions/Maps/Maps.php 2009-08-19 18:53:47 UTC (rev 55338) +++ trunk/extensions/Maps/Maps.php 2009-08-19 19:02:33 UTC (rev 55339) @@ -109,7 +109,6 @@ $egMapsDefaultGeoService = in_array($egMapsDefaultGeoService, $egMapsAvailableGeoServices) ? $egMapsDefaultGeoService : $egMapsAvailableGeoServices[0]; $services_list = implode(', ', array_keys($egMapsServices)); - $services_count = count( $egMapsServices ); wfLoadExtensionMessages( 'Maps' ); @@ -119,8 +118,8 @@ 'version' => Maps_VERSION, 'author' => array("[http://bn2vs.com Jeroen De Dauw]", "[http://www.mediawiki.org/wiki/User:Yaron_Koren Yaron Koren]", "Robert Buzink", "Matt Williamson", "[http://www.sergeychernyshev.com Sergey Chernyshev]"), 'url' => 'http://www.mediawiki.org/wiki/Extension:Maps', - 'description' => wfMsgExt( 'maps_desc', 'parsemag', $services_list, $services_count ), - 'descriptionmsg' => wfMsgExt( 'maps_desc', 'parsemag', $services_list, $services_count ), + 'description' => wfMsgExt( 'maps_desc', 'parsemag', $services_list ), + 'descriptionmsg' => wfMsgExt( 'maps_desc', 'parsemag', $services_list ), ); efMapsAddParserHooks(); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs