Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -17,8 +17,8 @@ |
18 | 18 | // form placeholder values |
19 | 19 | $first = wfMsg( 'payflowpro_gateway-first' ); |
20 | 20 | $last = wfMsg( 'payflowpro_gateway-last' ); |
21 | | - $city = 'City'; |
22 | | - $zip = 'Zip Code'; |
| 21 | + $city = wfMsg( 'payflowpro_gateway-donor-city' ); |
| 22 | + $zip = wfMsg( 'payflowpro_gateway-zip-code' ); |
23 | 23 | $email = wfMsg( 'payflowpro_gateway-donor-email' ); |
24 | 24 | $js = <<<EOT |
25 | 25 | <script type="text/javascript"> |
— | — | @@ -227,9 +227,9 @@ |
228 | 228 | $form .= '</tr>'; |
229 | 229 | $form .= '<tr>'; |
230 | 230 | $form .= '<td class="label"> </td>'; |
231 | | - $form .= '<td>' . Xml::input( 'city', '18', $this->form_data['city'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \'City\' )', 'maxlength' => '40', 'id' => 'city' ) ) . ' ' . |
| 231 | + $form .= '<td>' . Xml::input( 'city', '18', $this->form_data['city'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-donor-city' ).'\' )', 'maxlength' => '40', 'id' => 'city' ) ) . ' ' . |
232 | 232 | $this->generateStateDropdown() . ' ' . |
233 | | - Xml::input( 'zip', '5', $this->form_data['zip'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \'Zip Code\' )', 'maxlength' => '10', 'id' => 'zip' ) ) . |
| 233 | + Xml::input( 'zip', '5', $this->form_data['zip'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-zip-code' ).'\' )', 'maxlength' => '10', 'id' => 'zip' ) ) . |
234 | 234 | '</td>'; |
235 | 235 | $form .= '</tr>'; |
236 | 236 | |