r112187 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112186‎ | r112187 | r112188 >
Date:06:25, 23 February 2012
Author:pgehres
Status:ok
Tags:
Comment:
Adding forms for second week of Africa testing (ET, GQ, KE, and TZ) as well as implementing new country-specific i18n file to keep the i18n files for TWN sane
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_common/country.specific.i18n.php (added) (history)
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/ET.html (added) (history)
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/GQ.html (added) (history)
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/KE.html (added) (history)
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/TZ.html (added) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/TZ.html
@@ -0,0 +1,39 @@
 2+<tr>
 3+ <td colspan="2">
 4+ <h3 class="cc_header">%donate_interface-cc-form-header-personal%<img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-left:8px;"></h3>
 5+ </td>
 6+</tr>
 7+<tr>
 8+ <td colspan="2">
 9+ <input class="halfwidth" name="fname" value="@fname" type="text" placeholder="%donate_interface-donor-name%" id="fname"><input class="halfwidth leftmar" name="lname" value="@lname" type="text" placeholder="%donate_interface-donor-lname%" id="lname">
 10+ </td>
 11+</tr>
 12+<tr>
 13+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 14+</tr>
 15+<tr>
 16+ <td colspan="2">
 17+ <input class="fullwidth" name="street" value="@street" type="text" title="%donate_interface-donor-address%/%donate_interface-donor-pobox%" placeholder="%donate_interface-donor-address%/%donate_interface-donor-pobox%" id="street">
 18+ </td>
 19+</tr>
 20+<tr>
 21+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 22+</tr>
 23+<tr>
 24+ <td colspan="2">
 25+ <input class="fullwidth" name="city" value="@city" type="text" title="%donate_interface-donor-city%" placeholder="%donate_interface-donor-city%" id="city">
 26+ </td>
 27+</tr>
 28+<tr>
 29+ <td colspan="2">
 30+ <select class="txt" id="country" name="country" value="@country" placeholder="%donate_interface-country%">
 31+ <option value="">%donate_interface-select-country%</option>
 32+ @select_country
 33+ </select>
 34+ </td>
 35+</tr>
 36+<tr>
 37+ <td colspan="2">
 38+ <input class="fullwidth" name="emailAdd" value="@emailAdd" type="text" title="%donate_interface-donor-email%" placeholder="%donate_interface-donor-email%" id="emailAdd">
 39+ </td>
 40+</tr>
Property changes on: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/TZ.html
___________________________________________________________________
Added: svn:eol-style
141 + native
Added: svn:executable
242 + *
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/KE.html
@@ -0,0 +1,39 @@
 2+<tr>
 3+ <td colspan="2">
 4+ <h3 class="cc_header">%donate_interface-cc-form-header-personal%<img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-left:8px;"></h3>
 5+ </td>
 6+</tr>
 7+<tr>
 8+ <td colspan="2">
 9+ <input class="halfwidth" name="fname" value="@fname" type="text" placeholder="%donate_interface-donor-name%" id="fname"><input class="halfwidth leftmar" name="lname" value="@lname" type="text" placeholder="%donate_interface-donor-lname-alt%" id="lname">
 10+ </td>
 11+</tr>
 12+<tr>
 13+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 14+</tr>
 15+<tr>
 16+ <td colspan="2">
 17+ <input class="fullwidth" name="street" value="@street" type="text" title="%donate_interface-donor-address%/%donate_interface-donor-pobox%" placeholder="%donate_interface-donor-address%/%donate_interface-donor-pobox%" id="street">
 18+ </td>
 19+</tr>
 20+<tr>
 21+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 22+</tr>
 23+<tr>
 24+ <td colspan="2">
 25+ <input class="halfwidth" name="city" value="@city" type="text" title="%donate_interface-donor-city%" placeholder="%donate_interface-donor-city%" id="city"><input name="zip" class="halfwidth leftmar" value="@zip" type="text" title="%donate_interface-postcode%" placeholder="%donate_interface-donor-postcode%" id="zip">
 26+ </td>
 27+</tr>
 28+<tr>
 29+ <td colspan="2">
 30+ <select class="txt" id="country" name="country" value="@country" placeholder="%donate_interface-country%">
 31+ <option value="">%donate_interface-select-country%</option>
 32+ @select_country
 33+ </select>
 34+ </td>
 35+</tr>
 36+<tr>
 37+ <td colspan="2">
 38+ <input class="fullwidth" name="emailAdd" value="@emailAdd" type="text" title="%donate_interface-donor-email%" placeholder="%donate_interface-donor-email%" id="emailAdd">
 39+ </td>
 40+</tr>
Property changes on: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/KE.html
___________________________________________________________________
Added: svn:eol-style
141 + native
Added: svn:executable
242 + *
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/GQ.html
@@ -0,0 +1,39 @@
 2+<tr>
 3+ <td colspan="2">
 4+ <h3 class="cc_header">%donate_interface-cc-form-header-personal%<img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-left:8px;"></h3>
 5+ </td>
 6+</tr>
 7+<tr>
 8+ <td colspan="2">
 9+ <input class="halfwidth" name="fname" value="@fname" type="text" placeholder="%donate_interface-donor-fname%" id="fname"><input class="halfwidth leftmar" name="lname" value="@lname" type="text" placeholder="%donate_interface-donor-lname%" id="lname">
 10+ </td>
 11+</tr>
 12+<tr>
 13+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 14+</tr>
 15+<tr>
 16+ <td colspan="2">
 17+ <input class="fullwidth" name="street" value="@street" type="text" title="%donate_interface-donor-address%/%donate_interface-donor-pobox%" placeholder="%donate_interface-donor-address%/%donate_interface-donor-pobox%" id="street">
 18+ </td>
 19+</tr>
 20+<tr>
 21+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 22+</tr>
 23+<tr>
 24+ <td colspan="2">
 25+ <input class="fullwidth" name="city" value="@city" type="text" title="%donate_interface-donor-city%" placeholder="%donate_interface-donor-city%" id="city">
 26+ </td>
 27+</tr>
 28+<tr>
 29+ <td colspan="2">
 30+ <select class="txt" id="country" name="country" value="@country" placeholder="%donate_interface-country%">
 31+ <option value="">%donate_interface-select-country%</option>
 32+ @select_country
 33+ </select>
 34+ </td>
 35+</tr>
 36+<tr>
 37+ <td colspan="2">
 38+ <input class="fullwidth" name="emailAdd" value="@emailAdd" type="text" title="%donate_interface-donor-email%" placeholder="%donate_interface-donor-email%" id="emailAdd">
 39+ </td>
 40+</tr>
Property changes on: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/GQ.html
___________________________________________________________________
Added: svn:eol-style
141 + native
Added: svn:executable
242 + *
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/ET.html
@@ -0,0 +1,39 @@
 2+<tr>
 3+ <td colspan="2">
 4+ <h3 class="cc_header">%donate_interface-cc-form-header-personal%<img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-left:8px;"></h3>
 5+ </td>
 6+</tr>
 7+<tr>
 8+ <td colspan="2">
 9+ <input class="halfwidth" name="fname" value="@fname" type="text" placeholder="%donate_interface-donor-name%" id="fname"><input class="halfwidth leftmar" name="lname" value="@lname" type="text" placeholder="%donate_interface-donor-lname%" id="lname">
 10+ </td>
 11+</tr>
 12+<tr>
 13+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 14+</tr>
 15+<tr>
 16+ <td colspan="2">
 17+ <input class="fullwidth" name="street" value="@street" type="text" title="%donate_interface-donor-address%/%donate_interface-donor-pobox%" placeholder="%donate_interface-donor-address%/%donate_interface-donor-pobox%" id="street">
 18+ </td>
 19+</tr>
 20+<tr>
 21+ <td colspan="2"><span class="creditcard-error-msg"></span></td>
 22+</tr>
 23+<tr>
 24+ <td colspan="2">
 25+ <input name="zip" class="halfwidth" value="@zip" type="text" title="%donate_interface-postcode%" placeholder="%donate_interface-donor-postcode%" id="zip"><input class="halfwidth leftmar" name="city" value="@city" type="text" title="%donate_interface-donor-city%" placeholder="%donate_interface-donor-city%" id="city">
 26+ </td>
 27+</tr>
 28+<tr>
 29+ <td colspan="2">
 30+ <select class="txt" id="country" name="country" value="@country" placeholder="%donate_interface-country%">
 31+ <option value="">%donate_interface-select-country%</option>
 32+ @select_country
 33+ </select>
 34+ </td>
 35+</tr>
 36+<tr>
 37+ <td colspan="2">
 38+ <input class="fullwidth" name="emailAdd" value="@emailAdd" type="text" title="%donate_interface-donor-email%" placeholder="%donate_interface-donor-email%" id="emailAdd">
 39+ </td>
 40+</tr>
Property changes on: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/_personal-information/ET.html
___________________________________________________________________
Added: svn:eol-style
141 + native
Added: svn:executable
242 + *
Index: trunk/extensions/DonationInterface/gateway_common/country.specific.i18n.php
@@ -0,0 +1,39 @@
 2+<?php
 3+
 4+/**
 5+ * Internationalization override file for the Donation Interface extension
 6+ *
 7+ * NOTE: This file is NOT meant to be translated by TWN. Its purpose is to
 8+ * define message variants where the message changes between countries within
 9+ * the same language.
 10+ */
 11+
 12+// NOTE: Messages are grouped by country, then language due to the nature
 13+// of the use of this file
 14+
 15+$messages = array();
 16+
 17+/* CV - Cape Verde */
 18+$messages['en']['donate_interface-donor-fname-cv'] = 'Forename';
 19+$messages['en']['donate_interface-donor-lname-cv'] = 'Surname';
 20+
 21+$messages['pt']['donate_interface-donor-fname-cv'] = 'Nome';
 22+$messages['pt']['donate_interface-donor-lname-cv'] = 'Apelido';
 23+
 24+/* ET - Ethiopia */
 25+$messages['en']['donate_interface-donor-lname-et'] = 'Surname';
 26+
 27+/* GQ - Equitorial Guinea */
 28+$messages['en']['donate_interface-donor-fname-gq'] = 'Forename';
 29+$messages['en']['donate_interface-donor-lname-gq'] = 'Surname';
 30+
 31+$messages['fr']['donate_interface-donor-fname-gq'] = 'Prénom';
 32+$messages['fr']['donate_interface-donor-lname-gq'] = 'Nom';
 33+
 34+$messages['pt']['donate_interface-donor-fname-gq'] = 'Nome';
 35+$messages['pt']['donate_interface-donor-lname-gq'] = 'Apelido';
 36+
 37+/* TZ - Tanzania */
 38+$messages['en']['donate_interface-donor-lname-tz'] = 'Surname';
 39+
 40+$messages['sw']['donate_interface-donor-lname-tz'] = 'Ubini';
\ No newline at end of file
Property changes on: trunk/extensions/DonationInterface/gateway_common/country.specific.i18n.php
___________________________________________________________________
Added: svn:eol-style
141 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r112188Tiny FU to r112187 fixing message for KEpgehres06:36, 23 February 2012
r112242i18n Only: MFT r110867, r110961, r111090, r111200, r111260, r111405, r111499...khorn20:18, 23 February 2012
r112262MFT r111992, r111993, r112177, r112187, r112188khorn23:10, 23 February 2012
r112272Adding the new i18n file to settings so that it is actually loaded. FU r112187pgehres23:37, 23 February 2012

Status & tagging log