Index: branches/wmf/1.16wmf4/extensions/ContributionTracking/ContributionTracking_body.php |
— | — | @@ -111,7 +111,6 @@ |
112 | 112 | |
113 | 113 | // PayPal |
114 | 114 | $repost['business'] = $wgContributionTrackingPayPalBusiness; |
115 | | - $repost['item_name'] = 'One-time donation'; |
116 | 115 | $repost['item_number'] = 'DONATE'; |
117 | 116 | $repost['no_note'] = '0'; |
118 | 117 | $repost['return'] = $returnto; |
— | — | @@ -132,9 +131,11 @@ |
133 | 132 | $repost[ 'cmd' ] = '_xclick-subscriptions'; |
134 | 133 | $amount_field_name = 'a3'; |
135 | 134 | $repost['notify_url'] = $wgContributionTrackingPayPalRecurringIPN; |
| 135 | + $repost['item_name'] = $this->msg( 'contrib-tracking-item-name-recurring' ); |
136 | 136 | } else { |
137 | 137 | $repost['cmd'] = '_xclick'; |
138 | 138 | $repost['notify_url'] = $wgContributionTrackingPayPalIPN; |
| 139 | + $repost['item_name'] = $this->msg( 'contrib-tracking-item-name-onetime' ); |
139 | 140 | } |
140 | 141 | } |
141 | 142 | else if ( $gateway == 'moneybookers' ) { |
Index: branches/wmf/1.16wmf4/extensions/ContributionTracking/ContributionTracking.i18n.php |
— | — | @@ -24,6 +24,9 @@ |
25 | 25 | |
26 | 26 | 'contrib-tracking-button' => 'Continue', |
27 | 27 | |
| 28 | + 'contrib-tracking-item-name-onetime' => 'One-time donation', |
| 29 | + 'contrib-tracking-item-name-recurring' => 'Recurring monthly donation', |
| 30 | + |
28 | 31 | ); |
29 | 32 | |
30 | 33 | /** Message documentation (Message documentation) |
Property changes on: branches/wmf/1.16wmf4/extensions/ContributionTracking |
___________________________________________________________________ |
Modified: svn:mergeinfo |
31 | 34 | Merged /trunk/extensions/ContributionTracking:r78135-78145 |