Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php |
— | — | @@ -1,52 +1,58 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Internationalization file for the Donation Interface - Payflowerpro - extension |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | +*/ |
| 8 | + |
3 | 9 | $messages = array(); |
4 | 10 | |
5 | 11 | $messages['en'] = array( |
6 | | - 'payflowprogateway' => 'Support Wikimedia', |
7 | | - 'pfp-accessible' => "This page is only accessible from the donation page", |
8 | | - 'pfp-form-message' => 'Contribute with your credit card. (Other ways to give, including Paypal, check, or mail can be |
9 | | - <a href="http://wikimediafoundation.org/wiki/Donate/WaysToGive/en"> found here</a>.)', |
10 | | - 'pfp-form-message-2' => 'To change amount or currency, return to |
11 | | - <a href="https://www.mediawiki.org/index.php?title=Donate"> the donation page</a>', |
12 | | - 'pfp-donor-legend' => 'Donor Information', |
13 | | - 'pfp-card-legend' => "Credit Card Information", |
14 | | - 'pfp-amount-legend' => "Donation Amount: ", |
15 | | - 'pfp-donor-amount' => "Amount: ", |
16 | | - 'pfp-donor-email' => 'Email Address: ', |
17 | | - 'pfp-donor-fname' => 'First Name: ', |
18 | | - 'pfp-donor-mname' => 'Middle Name: ', |
19 | | - 'pfp-donor-lname' => 'Last Name: ', |
20 | | - 'pfp-donor-name' => 'Name: ', |
21 | | - 'pfp-donor-street' => 'Street: ', |
22 | | - 'pfp-donor-city' => 'City: ', |
23 | | - 'pfp-donor-state' => 'State: ', |
24 | | - 'pfp-donor-postal' => 'Postal Code: ', |
25 | | - 'pfp-donor-country' => 'Country/Region: ', |
26 | | - 'pfp-donor-address' => 'Address: ', |
27 | | - 'pfp-donor-card' => 'Credit Card: ', |
28 | | - 'pfp-donor-card-num' => 'Card Number: ', |
29 | | - 'pfp-donor-expiration' => 'Expiration Date: ', |
30 | | - 'pfp-donor-security' => 'Security Code: ', |
31 | | - 'pfp-donor-submit' => 'Donate', |
32 | | - 'pfp-donor-currency-msg' => 'This donation is being made in ', |
33 | | - 'pfp-error-msg' => "Please enter your ", |
34 | | - 'pfp-error-msg-email' => "**Please enter a valid email address**", |
35 | | - 'pfp-error-msg-amex' => "**Please enter a correct card number for American Express.**", |
36 | | - 'pfp-error-msg-mc' => "**Please enter a correct card number for Mastercard.**", |
37 | | - 'pfp-error-msg-visa' => "**Please enter a correct card number for Visa.**", |
38 | | - 'pfp-response-0' => "Your transaction has been approved. Thank you for your donation!", |
39 | | - 'pfp-response-126' => "Your transaction is pending approval.", |
40 | | - 'pfp-response-12' => "Please contact your credit card company for further information.", |
41 | | - 'pfp-response-13' => "Your transaction requires voice authorization. Please contact us to continue your transaction.", //this will not apply to WikiMedia accounts |
42 | | - 'pfp-response-114' => "Please contact your credit card company for further information.", |
43 | | - 'pfp-response-23' => "Your credit card number or expiration date is incorrect.", |
44 | | - 'pfp-response-4' => "Invalid Amount.", |
45 | | - 'pfp-response-24' => "Your credit card number or expiration date is incorrect.", |
46 | | - 'pfp-response-112' => "Your address or CVV number is incorrect.", |
47 | | - 'pfp-response-125' => "Your transaction has been declined by Fraud Prevention Services.", |
48 | | - 'pfp-response-default' => "There was an error processing your transaction. Please try again later.", |
49 | | - 'php-response-declined' => "Your transaction has been declined. ", |
50 | | - 'pfp-post-transaction' => "Transaction Details", |
51 | | - |
| 12 | + 'payflowprogateway' => 'Support Wikimedia', |
| 13 | + 'pfp-accessible' => 'This page is only accessible from the donation page', |
| 14 | + 'pfp-form-message' => 'Contribute with your credit card. |
| 15 | +(Other ways to give, including Paypal, check, or mail can be <a href="http://wikimediafoundation.org/wiki/Donate/WaysToGive/en"> found here</a>.)', |
| 16 | + 'pfp-form-message-2' => 'To change amount or currency, return to <a href="https://www.mediawiki.org/index.php?title=Donate"> the donation page</a>', |
| 17 | + 'pfp-donor-legend' => 'Donor Information', |
| 18 | + 'pfp-card-legend' => 'Credit Card Information', |
| 19 | + 'pfp-amount-legend' => 'Donation Amount:', |
| 20 | + 'pfp-donor-amount' => 'Amount:', |
| 21 | + 'pfp-donor-email' => 'Email Address:', |
| 22 | + 'pfp-donor-fname' => 'First Name:', |
| 23 | + 'pfp-donor-mname' => 'Middle Name:', |
| 24 | + 'pfp-donor-lname' => 'Last Name:', |
| 25 | + 'pfp-donor-name' => 'Name:', |
| 26 | + 'pfp-donor-street' => 'Street:', |
| 27 | + 'pfp-donor-city' => 'City:', |
| 28 | + 'pfp-donor-state' => 'State:', |
| 29 | + 'pfp-donor-postal' => 'Postal Code:', |
| 30 | + 'pfp-donor-country' => 'Country/Region:', |
| 31 | + 'pfp-donor-address'=> 'Address:', |
| 32 | + 'pfp-donor-card' => 'Credit Card:', |
| 33 | + 'pfp-donor-card-num' => 'Card Number:', |
| 34 | + 'pfp-donor-expiration' => 'Expiration Date:', |
| 35 | + 'pfp-donor-security' => 'Security Code:', |
| 36 | + 'pfp-donor-submit' => 'Donate', |
| 37 | + 'pfp-donor-currency-msg' => 'This donation is being made in', |
| 38 | + 'pfp-error-msg' => 'Please enter your', |
| 39 | + 'pfp-error-msg-email' => '**Please enter a valid email address**', |
| 40 | + 'pfp-error-msg-amex' => '**Please enter a correct card number for American Express.**', |
| 41 | + 'pfp-error-msg-mc' => '**Please enter a correct card number for Mastercard.**', |
| 42 | + 'pfp-error-msg-visa' => '**Please enter a correct card number for Visa.**', |
| 43 | + 'pfp-response-0' => 'Your transaction has been approved. |
| 44 | +Thank you for your donation!', |
| 45 | + 'pfp-response-126' => 'Your transaction is pending approval.', |
| 46 | + 'pfp-response-12' => 'Please contact your credit card company for further information.', |
| 47 | + 'pfp-response-13' => 'Your transaction requires voice authorization. |
| 48 | +Please contact us to continue your transaction.', //this will not apply to WikiMedia accounts |
| 49 | + 'pfp-response-114' => 'Please contact your credit card company for further information.', |
| 50 | + 'pfp-response-23' => 'Your credit card number or expiration date is incorrect.', |
| 51 | + 'pfp-response-4' => 'Invalid Amount.', |
| 52 | + 'pfp-response-24' => 'Your credit card number or expiration date is incorrect.', |
| 53 | + 'pfp-response-112' => 'Your address or CVV number is incorrect.', |
| 54 | + 'pfp-response-125' => 'Your transaction has been declined by Fraud Prevention Services.', |
| 55 | + 'pfp-response-default' => 'There was an error processing your transaction. |
| 56 | +Please try again later.', |
| 57 | + 'php-response-declined' => 'Your transaction has been declined.', |
| 58 | + 'pfp-post-transaction' => 'Transaction Details', |
52 | 59 | ); |
53 | | - |
Index: trunk/extensions/DonationInterface/paypal_gateway/paypal_gateway.i18n.php |
— | — | @@ -1,4 +1,10 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Internationalization file for the Donation Interface- Paypal Gateway - extension |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | +*/ |
| 8 | + |
3 | 9 | $messages = array(); |
4 | 10 | |
5 | 11 | $messages['en'] = array( |
Index: trunk/extensions/DonationInterface/donate_interface/donate_interface.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | |
105 | 105 | $output = XML::openElement('form', array('name' => "donate", 'method' => "post", 'action' => "", 'onsubmit' => 'return validateForm(this)')) . |
106 | 106 | XML::openElement('div', array('id' => 'mw-donation-intro')) . |
107 | | - XML::element('p', array('class' => 'mw-donation-intro-text'), wfMsg('donation-intro')) . |
| 107 | + XML::element('p', array('class' => 'mw-donation-intro-text'), wfMsg('donor-intro')) . |
108 | 108 | XML::closeElement('div'); |
109 | 109 | |
110 | 110 | $amount = array( |
Index: trunk/extensions/DonationInterface/donate_interface/donate_interface.i18n.php |
— | — | @@ -1,12 +1,18 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Internationalization file for the Donation Interface extension |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | +*/ |
| 8 | + |
3 | 9 | $messages = array(); |
4 | 10 | |
5 | 11 | $messages['en'] = array( |
6 | 12 | 'donate_interface' => 'Support Wikimedia', |
7 | | - 'donation-intro' => 'Please choose a payment method, amount, and currency.', |
8 | | - 'donor-amount' => "Donation Amount: ", |
9 | | - 'donor-other-amount' => "Other Amount: ", |
10 | | - 'donor-currency' => "Currency: ", |
11 | | - 'donor-gateway' => "Payment Method: ", |
12 | | - 'donor-submit-button' => "Donate", |
| 13 | + 'donor-intro' => 'Please choose a payment method, amount, and currency.', |
| 14 | + 'donor-amount' => 'Donation Amount:', |
| 15 | + 'donor-other-amount' => 'Other Amount', |
| 16 | + 'donor-currency' => 'Currency:', |
| 17 | + 'donor-gateway' => 'Payment Method:', |
| 18 | + 'donor-submit-button' => 'Donate', |
13 | 19 | ); |
\ No newline at end of file |