r82503 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82502‎ | r82503 | r82504 >
Date:07:23, 20 February 2011
Author:purodha
Status:deferred
Tags:
Comment:
I18n: PLURAL support added to message 'maps_desc'
for the number of items in the list of mapping services.
Modified paths:
  • /trunk/extensions/Maps/Maps.i18n.php (modified) (history)
  • /trunk/extensions/Maps/Maps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps.i18n.php
@@ -17,7 +17,7 @@
1818 // General
1919 'maps_name' => 'Maps',
2020 'maps_desc' => "Provides the ability to display coordinate data in maps, and geocode addresses ([http://mapping.referata.com/wiki/Maps_examples demos]).
21 -Available mapping services: $1",
 21+{{PLURAL:$2|Mapping service is|Available mapping services:}} $1",
2222 'maps_map' => 'Map',
2323 'maps-loading-map' => 'Loading map...',
2424 'maps-markers' => 'Markers',
Index: trunk/extensions/Maps/Maps.php
@@ -200,7 +200,7 @@
201201 '[http://www.mediawiki.org/wiki/Extension:Maps/Credits ' . wfMsg( 'maps-others' ) . ']'
202202 ),
203203 'url' => 'http://www.mediawiki.org/wiki/Extension:Maps',
204 - 'description' => wfMsgExt( 'maps_desc', 'parsemag', $servicesList ),
 204+ 'description' => wfMsgExt( 'maps_desc', 'parsemag', $servicesList, count($servicesList) ),
205205 );
206206
207207 return true;

Follow-up revisions

RevisionCommit summaryAuthorDate
r83890partial revert of r82503 and rem of non-needed ifjeroendedauw12:45, 14 March 2011

Status & tagging log