r94317 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94316‎ | r94317 | r94318 >
Date:01:49, 12 August 2011
Author:kaldari
Status:ok
Tags:
Comment:
making clear button localizable
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.i18n.php (modified) (history)
  • /trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialCentralNoticeLogs.php
@@ -102,7 +102,7 @@
103103 'class' => 'cn-filter-buttons',
104104 )
105105 );
106 - $filters .= Xml::submitButton( 'Clear filters',
 106+ $filters .= Xml::submitButton( wfMsg( 'centralnotice-clear-filters' ),
107107 array(
108108 'id' => 'centralnoticelogreset',
109109 'name' => 'centralnoticelogreset',
Index: trunk/extensions/CentralNotice/CentralNotice.i18n.php
@@ -171,6 +171,7 @@
172172 'centralnotice-filters' => 'Filters',
173173 'centralnotice-date' => 'Date',
174174 'centralnotice-apply-filters' => 'Apply filters',
 175+ 'centralnotice-clear-filters' => 'Clear filters',
175176 );
176177
177178 /** Message documentation (Message documentation)
@@ -271,6 +272,8 @@
272273 'centralnotice-log-label' => '$1 is a label for a setting, $2 is the value of the setting (or changes to the setting)',
273274 'centralnotice-campaign-settings' => 'Label for a radio button',
274275 'centralnotice-banner-settings' => 'Label for a radio button',
 276+ 'centralnotice-apply-filters' => 'Label for a submit button',
 277+ 'centralnotice-clear-filters' => 'Label for a submit button. Clear as in reset.',
275278 );
276279
277280 /** Afrikaans (Afrikaans)

Status & tagging log