r76614 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76613‎ | r76614 | r76615 >
Date:01:35, 13 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
better month display
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
@@ -223,7 +223,7 @@
224224 for ( $i = 1; $i < 13; $i++ ) {
225225 $selected = ( $i == $month && $this->test ) ? true : false;
226226 $expiry_months .= Xml::option(
227 - $i . ' - ' . $wgLang->getMonthName( $i ),
 227+ wfMsg( 'payflowpro_gateway-month', $i, $wgLang->getMonthName( $i ) ),
228228 str_pad( $i, 2, '0', STR_PAD_LEFT ),
229229 $selected );
230230 }
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php
@@ -193,6 +193,7 @@
194194 'payflowpro_gateway-cancel' => 'Cancel',
195195 'payflowpro_gateway-payment' => 'Payment',
196196 'payflowpro_gateway-payment-type' => 'Payment type',
 197+ 'payflowpro_gateway-month' => '$1 ($2)',
197198
198199 // For more USA states, see payflowpro_gateway.us-states.i18n.php.
199200 'payflowpro_gateway-state-dropdown-YY' => 'Select a State',
@@ -282,6 +283,7 @@
283284 'payflowpro_gateway-cvv-number-abbreviated' => "Abbreviation of 'Card Verification Value Number'",
284285 'payflowpro_gateway-cvv2' => "Abbreviation of 'Card Verification Value 2'",
285286 'payflowpro_gateway-cvv-number' => "Abbreviation of 'Card Verification Value' + 'Number' (unabbreviated)",
 287+ 'payflowpro_gateway-month' => 'Expiration month for credit card. $1 is the month number, $2 is the month name.',
286288 );
287289
288290 /** Magyar (magázó) (Magyar (magázó))

Follow-up revisions

RevisionCommit summaryAuthorDate
r76615Merging from r76564 thru r76614 of trunkawjrichards01:53, 13 November 2010
r76758Merging from r76614 thru r76757 of trunkawjrichards01:45, 16 November 2010

Status & tagging log