http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88820

Revision: 88820
Author:   yuvipanda
Date:     2011-05-25 19:35:38 +0000 (Wed, 25 May 2011)
Log Message:
-----------
Fixed i18n issue with wrong arg name

Modified Paths:
--------------
    trunk/extensions/ShortUrl/ShortUrl.i18n.php
    trunk/extensions/ShortUrl/SpecialShortUrl.php

Modified: trunk/extensions/ShortUrl/ShortUrl.i18n.php
===================================================================
--- trunk/extensions/ShortUrl/ShortUrl.i18n.php 2011-05-25 19:30:57 UTC (rev 
88819)
+++ trunk/extensions/ShortUrl/ShortUrl.i18n.php 2011-05-25 19:35:38 UTC (rev 
88820)
@@ -17,7 +17,7 @@
 $messages['en'] = array(
        'shorturl' => 'Short Url',
        'shorturl-desc' => '[[Special:ShortUrl|Short Url for redirects]]',
-       'shorturl-not-found' => 'Sorry, the URL you are looking for is not 
found (No article with ID $1 exists)',
+       'shorturl-not-found' => 'Sorry, the URL you are looking for is not 
found (No Short URL with ID $1 exists)',
        'shorturl-toolbox-title' => 'Copy this short link for sharing',
        'shorturl-toolbox-text' => 'Short URL'
 );

Modified: trunk/extensions/ShortUrl/SpecialShortUrl.php
===================================================================
--- trunk/extensions/ShortUrl/SpecialShortUrl.php       2011-05-25 19:30:57 UTC 
(rev 88819)
+++ trunk/extensions/ShortUrl/SpecialShortUrl.php       2011-05-25 19:35:38 UTC 
(rev 88820)
@@ -44,7 +44,7 @@
             return;
         }
                // Wrong ID
-               $notfound = Html::element( 'p', array(), wfMsg ( 
'shorturl-not-found', $id ) );
+               $notfound = Html::element( 'p', array(), wfMsg ( 
'shorturl-not-found', $par ) );
                $wgOut->addHTML( $notfound );
        }
 }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to