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

Revision: 94317
Author:   kaldari
Date:     2011-08-12 01:49:26 +0000 (Fri, 12 Aug 2011)
Log Message:
-----------
making clear button localizable

Modified Paths:
--------------
    trunk/extensions/CentralNotice/CentralNotice.i18n.php
    trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php

Modified: trunk/extensions/CentralNotice/CentralNotice.i18n.php
===================================================================
--- trunk/extensions/CentralNotice/CentralNotice.i18n.php       2011-08-12 
01:44:13 UTC (rev 94316)
+++ trunk/extensions/CentralNotice/CentralNotice.i18n.php       2011-08-12 
01:49:26 UTC (rev 94317)
@@ -171,6 +171,7 @@
        'centralnotice-filters' => 'Filters',
        'centralnotice-date' => 'Date',
        'centralnotice-apply-filters' => 'Apply filters',
+       'centralnotice-clear-filters' => 'Clear filters',
 );
 
 /** Message documentation (Message documentation)
@@ -271,6 +272,8 @@
        'centralnotice-log-label' => '$1 is a label for a setting, $2 is the 
value of the setting (or changes to the setting)',
        'centralnotice-campaign-settings' => 'Label for a radio button',
        'centralnotice-banner-settings' => 'Label for a radio button',
+       'centralnotice-apply-filters' => 'Label for a submit button',
+       'centralnotice-clear-filters' => 'Label for a submit button. Clear as 
in reset.',
 );
 
 /** Afrikaans (Afrikaans)

Modified: trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php
===================================================================
--- trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php 
2011-08-12 01:44:13 UTC (rev 94316)
+++ trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php 
2011-08-12 01:49:26 UTC (rev 94317)
@@ -102,7 +102,7 @@
                                        'class' => 'cn-filter-buttons',
                                )
                        );
-                       $filters .= Xml::submitButton( 'Clear filters',
+                       $filters .= Xml::submitButton( wfMsg( 
'centralnotice-clear-filters' ),
                                array(
                                        'id' => 'centralnoticelogreset',
                                        'name' => 'centralnoticelogreset',


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

Reply via email to