r100740 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100739‎ | r100740 | r100741 >
Date:20:37, 25 October 2011
Author:kaldari
Status:ok
Tags:fundraising 
Comment:
doing the last of the message key changes for i18n
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_common/interface.i18n.php (modified) (history)
  • /trunk/extensions/DonationInterface/gateway_forms/Form.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/form_placeholders.js (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/form_placeholders.js
@@ -3,11 +3,11 @@
44 $(document).ready(function() {
55 if ( $( '#fname' ).val() == '') {
66 $( '#fname' ).css( 'color', '#999999' );
7 - $( '#fname' ).val( mw.msg( 'payflowpro_gateway-donor-fname' ) );
 7+ $( '#fname' ).val( mw.msg( 'donate_interface-donor-fname' ) );
88 }
99 if ( $( '#lname' ).val() == '') {
1010 $( '#lname' ).css( 'color', '#999999' );
11 - $( '#lname' ).val( mw.msg( 'payflowpro_gateway-donor-lname' ) );
 11+ $( '#lname' ).val( mw.msg( 'donate_interface-donor-lname' ) );
1212 }
1313 });
1414 })(jQuery);
Index: trunk/extensions/DonationInterface/gateway_forms/Form.php
@@ -184,10 +184,10 @@
185185 */
186186 public function generateCardDropdown() {
187187 $available_cards = array(
188 - 'visa' => wfMsg( 'payflow_gateway-card-name-visa' ),
189 - 'mastercard' => wfMsg( 'payflow_gateway-card-name-mc' ),
190 - 'american' => wfMsg( 'payflow_gateway-card-name-amex' ),
191 - 'discover' => wfMsg( 'payflow_gateway-card-name-discover' ),
 188+ 'visa' => wfMsg( 'donate_interface-card-name-visa' ),
 189+ 'mastercard' => wfMsg( 'donate_interface-card-name-mc' ),
 190+ 'american' => wfMsg( 'donate_interface-card-name-amex' ),
 191+ 'discover' => wfMsg( 'donate_interface-card-name-discover' ),
192192 );
193193
194194 $card_options = '';
Index: trunk/extensions/DonationInterface/gateway_common/interface.i18n.php
@@ -79,11 +79,11 @@
8080 'donate_interface-donor-security' => 'Security code',
8181 'donate_interface-donor-submit' => 'Donate',
8282 'donate_interface-donor-currency-msg' => 'This donation is being made in $1',
83 - 'payflow_gateway-card-name-amex' => 'American Express',
84 - 'payflow_gateway-card-name-visa' => 'Visa',
85 - 'payflow_gateway-card-name-mc' => 'Mastercard',
86 - 'payflow_gateway-card-name-discover' => 'Discover',
87 - 'payflow_gateway-error-msg-nopaypal' => 'Due to a technical error, we cannot send your request to PayPal. Please try using our regular credit card donation form.',
 83+ 'donate_interface-card-name-amex' => 'American Express',
 84+ 'donate_interface-card-name-visa' => 'Visa',
 85+ 'donate_interface-card-name-mc' => 'Mastercard',
 86+ 'donate_interface-card-name-discover' => 'Discover',
 87+ 'donate_interface-error-msg-nopaypal' => 'Due to a technical error, we cannot send your request to PayPal. Please try using our regular credit card donation form.',
8888 'donate_interface-error-msg' => 'Please enter your $1',
8989 'donate_interface-error-msg-js' => 'Please enter your',
9090 'donate_interface-error-msg-invalid-amount' => '**Please enter a valid amount**',

Status & tagging log