r100033 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100032‎ | r100033 | r100034 >
Date:14:39, 17 October 2011
Author:raymond
Status:ok
Tags:
Comment:
Some message tweaks: 'email' -> 'e-mail' for consistency, fix typo
Add 3 messages with optional GENDER to the translatewiki.net backlist
Modified paths:
  • /trunk/extensions/Contest/Contest.i18n.php (modified) (history)
  • /trunk/extensions/Translate/check-blacklist.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/Contest.i18n.php
@@ -92,8 +92,8 @@
9393 'contest-edit-opportunities' => 'Opportunities page',
9494 'contest-edit-rulespage' => 'Rules page',
9595 'contest-edit-help' => 'Help page',
96 - 'contest-edit-signup' => 'Signup email page',
97 - 'contest-edit-reminder' => 'Reminder email page',
 96+ 'contest-edit-signup' => 'Signup e-mail page',
 97+ 'contest-edit-reminder' => 'Reminder e-mail page',
9898 'contest-edit-end' => 'Contest end',
9999 'contest-edit-exists-already' => 'Note: you are editing an already existing contest, not creating a new one.',
100100 'contest-edit-submit' => 'Submit',
@@ -113,7 +113,7 @@
114114 'contest-welcome-rules-link' => 'the contest rules', // js i18n
115115 'contest-welcome-signup' => 'Signup now',
116116 'contest-welcome-js-off' => 'The contest user interface uses JavaScript for an improved interface. Your browser either does not support JavaScript or has JavaScript turned off.',
117 - 'contest-welcome-accept-challenge' => 'Challenge Accepted',
 117+ 'contest-welcome-accept-challenge' => 'Challenge accepted',
118118
119119 'contest-welcome-select-header' => 'Select your challenge:',
120120
@@ -121,7 +121,7 @@
122122 'contest-signup-unknown' => 'There is no contest with the provided name.',
123123 'contest-signup-submit' => 'Sign up',
124124 'contest-signup-header' => 'Please fill out the form to complete your registration for $1.',
125 - 'contest-signup-email' => 'Your email address',
 125+ 'contest-signup-email' => 'Your e-mail address',
126126 'contest-signup-realname' => 'Your real name',
127127 'contest-signup-volunteer' => 'I am interested in volunteer opportunities',
128128 'contest-signup-wmf' => 'I am interested in working for the Wikimedia Foundation',
@@ -134,7 +134,7 @@
135135
136136 'contest-signup-require-rules' => 'You need to agree to the contest rules.',
137137 'contest-signup-require-country' => 'You need to provide your country of residence.',
138 - 'contest-signup-invalid-email' => 'The email address you provided is not valid.',
 138+ 'contest-signup-invalid-email' => 'The e-mail address you provided is not valid.',
139139 'contest-signup-invalid-name' => 'The name you provided is too short.',
140140 'contest-signup-require-challenge' => 'You must select a challenge.',
141141 'contest-signup-invalid-cv' => 'You entered an invalid URL.',
@@ -200,7 +200,7 @@
201201
202202 'contest-submission-submit' => 'Submit',
203203 'contest-submission-unknown' => 'There is no contest with the provided name.',
204 - 'contest-submission-header' => 'Thanks for participating in this contest! Once you have completed the challenge, you can add a link to you submission below.',
 204+ 'contest-submission-header' => 'Thanks for participating in this contest! Once you have completed the challenge, you can add a link to your submission below.',
205205 'contest-submission-finished' => 'This contest has ended. Thanks for your participation!',
206206
207207 'contest-submission-submission' => 'Link to your submission',
@@ -285,8 +285,8 @@
286286 'contest-contestant-permalink' => 'Hover-text for comment permalinks',
287287
288288 // Emails
289 - 'contest-email-signup-title' => 'Title for signup emails',
290 - 'contest-email-reminder-title' => 'Title for reminder emails',
 289+ 'contest-email-signup-title' => 'Title for signup e-mails',
 290+ 'contest-email-reminder-title' => 'Title for reminder e-mails',
291291
292292 // Special:MyContests
293293 'contest-mycontests-toplink' => 'Text for link in the top menu (ie where watchlist and preferences are linked)',
@@ -294,3 +294,4 @@
295295 'contest-mycontests-active-header' => 'Page header (h2)',
296296 'contest-mycontests-finished-header' => 'Page header (h2)',
297297 );
 298+
Index: trunk/extensions/Translate/check-blacklist.php
@@ -205,6 +205,15 @@
206206 )
207207 ),
208208 array(
 209+ 'group' => 'ext-contest',
 210+ 'check' => 'variable',
 211+ 'message' => array(
 212+ 'group-contestadmin-member', // Optional GENDER parameter
 213+ 'group-contestparticipant-member', // Optional GENDER parameter
 214+ 'group-contestjudge-member', // Optional GENDER parameter
 215+ )
 216+),
 217+array(
209218 'group' => 'ext-contributionseditcount',
210219 'check' => 'variable',
211220 'message' => array(

Status & tagging log