r101503 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101502‎ | r101503 | r101504 >
Date:17:19, 1 November 2011
Author:pgehres
Status:ok
Tags:
Comment:
Localizing fields in webitects_2_3step
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/webitects_2_3step.html (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/webitects_2_3step.html
@@ -57,26 +57,15 @@
5858 <div class="ltr">
5959 <div id="appeal">
6060 <div id="appeal-content">
61 - <h2 id="appeal-head"> <span class="mw-headline" id="From_Wikipedia_programmer_Brandon_Harris">From Wikipedia programmer Brandon Harris</span></h2>
62 - <div id="appeal-body" class="plainlinks">
63 - <p>I feel like I'm living the first line of my obituary.</p>
64 - <p>I don't think there will be anything else that I do in my life as important as what I do now for Wikipedia. We're not just building an encyclopedia, we're working to make people free. When we have access to free knowledge, we are better people. We understand the world is bigger than us, and we become infected with tolerance and understanding.</p>
65 - <p>Wikipedia is the 5th largest website in the world. I work at the small non-profit that keeps it on the web. We don't run ads because doing so would sacrifice our independence. The site is not and should never be a propaganda tool.</p>
66 - <p>Our work is possible because of donations from our readers. Will you help protect Wikipedia by donating $5, $10, $20 or whatever you can afford?</p>
67 - <p>I work at the Wikimedia Foundation because everything in my soul tells me it's the right thing to do. I've worked at huge tech companies, doing some job to build some crappy thing that's designed to steal money from some kid who doesn't know it. I would come home from work crushed.</p>
68 - <p>You might not know this, but the Wikimedia Foundation operates with a very small staff. Most other top-ten sites have tens of thousands of people and massive budgets. But they produce a fraction of what we pull off with sticks and wire.</p>
69 - <p>When you give to Wikipedia, you're supporting free knowledge around the world. You're not only leaving a legacy for your children and for their children, you're elevating people around the world who have access to this treasure. You're assuring that one day everyone else will too.</p>
70 - <p>Thank you,</p>
71 - <p><strong>Brandon Harris</strong><br /></p>
72 - <p>Programmer, Wikimedia Foundation</p>
73 - </div>
 61+ <h2 id="appeal-head"> <span class="mw-headline">{{LanguageSwitch|2011FR/@appeal-title}}</span></h2>
 62+ <div id="appeal-body" class="plainlinks">{{LanguageSwitch|2011FR/@appeal}}</div>
7463 </div>
7564 </div>
7665
7766 <div id="donate">
7867 <div id="donate-content">
7968 <div id="donate-body" style="padding: 0 1em;">
80 - <div id="step1header"><h3>Donation amount <span id="selected-amount"></span> <span class="mute" id="change-amount" style="display: none;">(<a href="#">Change</a>)</span></h3></div>
 69+ <div id="step1header"><h3>%donate_interface-amount-legend% <span id="selected-amount"></span> <span class="mute" id="change-amount" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
8170
8271 <form method="post" name="paypalcontribution">
8372 <div id="step1wrapper">
@@ -97,33 +86,33 @@
9887 </table>
9988
10089 <p class="donate-options">
101 - <input class="btn" id="cc" type="button" value="Donate by Credit Card" /><br />
102 - <input class="btn" id="pp" type="button" value="Donate via PayPal"/><span id='loading'></span>
 90+ <input class="btn" id="cc" type="button" value="%donate_interface-cc-button%" /><br />
 91+ <input class="btn" id="pp" type="button" value="%donate_interface-paypal-button%"/><span id='loading'></span>
10392 </p>
10493 </div>
105 - <div id="step2header"><h3>Billing Address <span class="mute" id="change-billing" style="display: none;">(<a href="#">Change</a>)</span></h3></div>
 94+ <div id="step2header"><h3>%donate_interface-billing-address% <span class="mute" id="change-billing" style="display: none;">(<a href="#">%donation_interface-change%</a>)</span></h3></div>
10695 <div id="step2wrapper">
10796 <div id="billing-content" class="gainlayout">
10897 <div id="billingErrorMessages" class="small"></div>
10998 <div class="name-fields">
110 - <span class="name-first"><input class="txt hint" id="fname" name="fname" title="First name" value="@fname" /></span>
111 - <span class="name-last"><input class="txt hint" id="lname" name="lname" title="Last name" value="@lname" /></span>
 99+ <span class="name-first"><input class="txt hint" id="fname" name="fname" title="%donate_interface-donor-fname%" value="@fname" /></span>
 100+ <span class="name-last"><input class="txt hint" id="lname" name="lname" title="%donate_interface-donor-lname%" value="@lname" /></span>
112101 </div>
113102 <div class="loc-fields">
114 - <span class="loc-street"><input class="txt hint" id="street" name="street" title="Street address" value="@street" /></span>
115 - <span class="loc-city"><input class="txt hint" id="city" name="city" title="City" value="@city" /></span>
 103+ <span class="loc-street"><input class="txt hint" id="street" name="street" title="%donate_interface-donor-street%" value="@street" /></span>
 104+ <span class="loc-city"><input class="txt hint" id="city" name="city" title="%donate_interface-donor-city%" value="@city" /></span>
116105 <span class="loc-state">
117106 <select id="state" name="state" class="txt" value="@state" >
118107 <option value=""></option>
119108 <option value="AK">AK</option><option value="AL">AL</option><option value="AR">AR</option><option value="AZ">AZ</option><option value="CA">CA</option><option value="CO">CO</option><option value="CT">CT</option><option value="DC">DC</option><option value="DE">DE</option><option value="FL">FL</option><option value="GA">GA</option><option value="HI">HI</option><option value="IA">IA</option><option value="ID">ID</option><option value="IL">IL</option><option value="IN">IN</option><option value="KS">KS</option><option value="KY">KY</option><option value="LA">LA</option><option value="MA">MA</option><option value="MD">MD</option><option value="ME">ME</option><option value="MI">MI</option><option value="MN">MN</option><option value="MO">MO</option><option value="MS">MS</option><option value="MT">MT</option><option value="NC">NC</option><option value="ND">ND</option><option value="NE">NE</option><option value="NH">NH</option><option value="NJ">NJ</option><option value="NM">NM</option><option value="NV">NV</option><option value="NY">NY</option><option value="OH">OH</option><option value="OK">OK</option><option value="OR">OR</option><option value="PA">PA</option><option value="PR">PR</option><option value="RI">RI</option><option value="SC">SC</option><option value="SD">SD</option><option value="TN">TN</option><option value="TX">TX</option><option value="UT">UT</option><option value="VA">VA</option><option value="VT">VT</option><option value="WA">WA</option><option value="WI">WI</option><option value="WV">WV</option><option value="WY">WY</option><option value="AA">AA</option><option value="AE">AE</option><option value="AP">AP</option>
120109 </select>
121110 </span>
122 - <span class="loc-postal"><input class="txt hint" id="zip" name="zip" title="Zip" value="@zip"/></span>
 111+ <span class="loc-postal"><input class="txt hint" id="zip" name="zip" title="%donate_interface-zip%" value="@zip"/></span> <!-- TODO: use postal code on non-US -->
123112 </div>
124 - <p><input class="txt hint" title="Email address" id="emailAdd" name="emailAdd" value="@emailAdd"/></p>
 113+ <p><input class="txt hint" title="%donate_interface-donor-email%" id="emailAdd" name="emailAdd" value="@emailAdd"/></p>
125114
126115 <dl class="">
127 - <dt><span class="label">Select credit card</span></dt>
 116+ <dt><span class="label">%donate_interface-select-credit-card%</span></dt>
128117 <dd class="field" style="margin-bottom: 0;">
129118 <ul class="options-h" id="cards" style="margin: 0;">
130119 <li><input id="cc-visa" name="cardtype" type="radio" value="visa" class="cardradio" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-visa.png" /></label></li>
@@ -131,12 +120,12 @@
132121 <li><input id="cc-amex" name="cardtype" type="radio" value="american" class="cardradio" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-amex.png" /></label></li>
133122 <li><input id="cc-discover" name="cardtype" type="radio" value="discover" class="cardradio" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-discover.png" /></label></li>
134123 </ul>
135 - <div id="paymentContinue" style="margin-top: 10px; display: none;"> <input class="btn" id="paymentContinueBtn" type="button" value="Continue" /></div>
 124+ <div id="paymentContinue" style="margin-top: 10px; display: none;"> <input class="btn" id="paymentContinueBtn" type="button" value="%donate_interface-continue%" /></div>
136125 </dd>
137126 </dl>
138127 </div>
139128 </div>
140 - <div id="step3header"><h3>Payment Information <span class="mute" id="change-payment" style="display: none;">(<a href="#">Change</a>)</span></h3></div>
 129+ <div id="step3header"><h3>%donate_interface-cc-form-header-payment% <span class="mute" id="change-payment" style="display: none;">(<a href="#">%donate_interface-change%</a>)</span></h3></div>
141130 <div id="step3wrapper" style="display: none;">
142131 <div id="payment" class="gainlayout" style="height:300px;text-align:center;"></div>
143132 </div>

Follow-up revisions

RevisionCommit summaryAuthorDate
r101746MFT r101074, r101217, r101236, r101382, r101501, r101503, r101504, r101512, r...awjrichards23:23, 2 November 2011

Status & tagging log