r109486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109485‎ | r109486 | r109487 >
Date:03:59, 19 January 2012
Author:kaldari
Status:ok
Tags:
Comment:
make more text editable
Modified paths:
  • /trunk/extensions/CongressLookup/CongressLookup.i18n.php (modified) (history)
  • /trunk/extensions/CongressLookup/SpecialCongressLookup.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/CongressLookup.i18n.php
@@ -20,7 +20,8 @@
2121 'congresslookup-fax' => 'Fax: $1',
2222 'congresslookup-contact-form' => 'Contact form',
2323 'congresslookup-twitter' => 'Twitter: $1',
24 - 'congresslookup-your-reps' => 'Your Representatives:',
 24+ 'congresslookup-your-reps' => 'Your representatives:',
 25+ 'congresslookup-contact-your-reps' => 'Contact your representatives:',
2526 'congresslookup-no-house-rep' => 'No House representative was found for your zip code.',
2627 'congresslookup-no-senators' => 'No senators were found for your zip code.',
2728 'congresslookup-report-errors' => 'Report an error',
Index: trunk/extensions/CongressLookup/SpecialCongressLookup.php
@@ -207,8 +207,8 @@
208208 private function getZipForm( $isError=false ) {
209209 $htmlOut = <<<HTML
210210 <div id="sopaZipForm" class="sopaActionDiv">
211 -<h4>Contact your representatives</h4>
212211 HTML;
 212+ $htmlOut .= Html::element( 'h4', array(), wfMsg( 'congresslookup-contact-your-reps' ));
213213 if ( $isError ) {
214214 $htmlOut .= Html::element( 'p', array( 'class' => 'error' ), wfMsg( 'congresslookup-zipcode-error' ));
215215 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r109489MFT r109485, r109486, r109487, r109488awjrichards04:16, 19 January 2012

Status & tagging log