r40520 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40519‎ | r40520 | r40521 >
Date:08:02, 6 September 2008
Author:siebrand
Status:old
Tags:
Comment:
* add some newlines after periods
* remove some "sorry" and "please"
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -799,7 +799,7 @@
800800 "$1"
801801 from within function "$2".
802802 MySQL returned error "$3: $4"',
803 -'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.<br />
 803+'noconnect' => 'The wiki is experiencing some technical difficulties, and cannot contact the database server.<br />
804804 $1',
805805 'nodb' => 'Could not select database $1',
806806 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
@@ -834,7 +834,7 @@
835835 'badtitle' => 'Bad title',
836836 'badtitletext' => 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title.
837837 It may contain one or more characters which cannot be used in titles.',
838 -'perfdisabled' => 'Sorry! This feature has been temporarily disabled because it slows the database down to the point that no one can use the wiki.',
 838+'perfdisabled' => 'This feature has been temporarily disabled because it slows the database down to the point that no one can use the wiki.',
839839 'perfcached' => 'The following data is cached and may not be up to date.',
840840 'perfcachedts' => 'The following data is cached, and was last updated $1.',
841841 'querypage-no-updates' => 'Updates for this page are currently disabled.
@@ -899,7 +899,7 @@
900900 'createaccountmail' => 'by e-mail',
901901 'badretype' => 'The passwords you entered do not match.',
902902 'userexists' => 'Username entered already in use.
903 -Please choose a different name.',
 903+Choose a different name.',
904904 'youremail' => 'E-mail:',
905905 'username' => 'Username:',
906906 'uid' => 'User ID:',
@@ -908,14 +908,16 @@
909909 'yourlanguage' => 'Language:',
910910 'yourvariant' => 'Variant:', # only translate this message to other languages if you have to change it
911911 'yournick' => 'Signature:',
912 -'badsig' => 'Invalid raw signature; check HTML tags.',
 912+'badsig' => 'Invalid raw signature.
 913+Check HTML tags.',
913914 'badsiglength' => 'The signature is too long.
914915 It must be under $1 {{PLURAL:$1|character|characters}}.',
915916 'email' => 'E-mail',
916917 'prefs-help-realname' => 'Real name is optional.
917918 If you choose to provide it, this will be used for giving you attribution for your work.',
918919 'loginerror' => 'Login error',
919 -'prefs-help-email' => 'E-mail address is optional, but allows your password to be emailed to you if you forget it. You can also choose to let others to contact you through your user or user_talk page without needing to reveal your identity.',
 920+'prefs-help-email' => 'E-mail address is optional, but allows your password to be emailed to you if you forget it.
 921+You can also choose to let others to contact you through your user or user_talk page without needing to reveal your identity.',
920922 'prefs-help-email-required' => 'E-mail address is required.',
921923 'nocookiesnew' => 'The user account was created, but you are not logged in.
922924 {{SITENAME}} uses cookies to log in users.
@@ -958,7 +960,7 @@
959961 'loginend' => '', # do not translate or duplicate this message to other languages
960962 'signupend' => '{{int:loginend}}', # do not translate or duplicate this message to other languages
961963 'mailerror' => 'Error sending mail: $1',
962 -'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts.
 964+'acct_creation_throttle_hit' => 'You have already created $1 accounts.
963965 You cannot make any more.',
964966 'emailauthenticated' => 'Your e-mail address was authenticated on $1.',
965967 'emailnotauthenticated' => 'Your e-mail address is not yet authenticated.
@@ -966,7 +968,7 @@
967969 'noemailprefs' => 'Specify an e-mail address for these features to work.',
968970 'emailconfirmlink' => 'Confirm your e-mail address',
969971 'invalidemailaddress' => 'The e-mail address cannot be accepted as it appears to have an invalid format.
970 -Please enter a well-formatted address or empty that field.',
 972+Enter a well-formatted address or empty that field.',
971973 'accountcreated' => 'Account created',
972974 'accountcreatedtext' => 'The user account for $1 has been created.',
973975 'createaccount-title' => 'Account creation for {{SITENAME}}',
@@ -974,7 +976,8 @@
975977 You should log in and change your password now.
976978
977979 You may ignore this message, if this account was created in error.',
978 -'login-throttled' => "You have made too many recent attempts on this account's password. Please wait before trying again.",
 980+'login-throttled' => "You have made too many recent attempts on this account's password.
 981+Please wait before trying again.",
979982 'loginlanguagelabel' => 'Language: $1',
980983 'loginlanguagelinks' => '* Deutsch|de
981984 * English|en
@@ -1097,9 +1100,10 @@
10981101 'noarticletextanon' => '{{int:noarticletext}}', # do not translate or duplicate this message to other languages
10991102 'userpage-userdoesnotexist' => 'User account "$1" is not registered.
11001103 Please check if you want to create/edit this page.',
1101 -'clearyourcache' => "'''Note - After saving, you may have to bypass your browser's cache to see the changes.''' '''Mozilla / Firefox / Safari:''' hold ''Shift'' while clicking ''Reload,'' or press either ''Ctrl-F5'' or ''Ctrl-R'' (''Command-R'' on a Macintosh); '''Konqueror: '''click ''Reload'' or press ''F5;'' '''Opera:''' clear the cache in ''Tools → Preferences;'' '''Internet Explorer:''' hold ''Ctrl'' while clicking ''Refresh,'' or press ''Ctrl-F5.''",
 1104+'clearyourcache' => "'''Note - After saving, you may have to bypass your browser's cache to see the changes.''' '''Mozilla / Firefox / Safari:''' hold ''Shift'' while clicking ''Reload,'' or press either ''Ctrl-F5'' or ''Ctrl-R'' (''Command-R'' on a Macintosh);'''Konqueror: '''click ''Reload'' or press ''F5;'' '''Opera:''' clear the cache in ''Tools → Preferences;'' '''Internet Explorer:''' hold ''Ctrl'' while clicking ''Refresh,'' or press ''Ctrl-F5.''",
11021105 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
1103 -'usercsspreview' => "'''Remember that you are only previewing your user CSS. It has not yet been saved!'''",
 1106+'usercsspreview' => "'''Remember that you are only previewing your user CSS.
 1107+It has not yet been saved!'''",
11041108 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
11051109 'userinvalidcssjstitle' => "'''Warning:''' There is no skin \"\$1\".
11061110 Remember that custom .css and .js pages use a lowercase title, e.g. {{ns:user}}:Foo/monobook.css as opposed to {{ns:user}}:Foo/Monobook.css.",
@@ -1108,10 +1112,10 @@
11091113 'previewnote' => '<strong>This is only a preview;
11101114 changes have not yet been saved!</strong>',
11111115 'previewconflict' => 'This preview reflects the text in the upper text editing area as it will appear if you choose to save.',
1112 -'session_fail_preview' => '<strong>Sorry! We could not process your edit due to a loss of session data.
 1116+'session_fail_preview' => '<strong>We could not process your edit due to a loss of session data.
11131117 Please try again.
11141118 If it still does not work, try [[Special:UserLogout|logging out]] and logging back in.</strong>',
1115 -'session_fail_preview_html' => "<strong>Sorry! We could not process your edit due to a loss of session data.</strong>
 1119+'session_fail_preview_html' => "<strong>We could not process your edit due to a loss of session data.</strong>
11161120
11171121 ''Because {{SITENAME}} has raw HTML enabled, the preview is hidden as a precaution against JavaScript attacks.''
11181122
@@ -2790,7 +2794,8 @@
27912795 'tooltip-recreate' => 'Recreate the page even though it has been deleted',
27922796 'tooltip-upload' => 'Start upload',
27932797 'tooltip-rollback' => '"Rollback" reverts edit(s) to this page of the last contributor in one click.',
2794 -'tooltip-undo' => '"Undo" reverts this edit and opens the edit form in preview mode. Allows adding a reason in the summary.',
 2798+'tooltip-undo' => '"Undo" reverts this edit and opens the edit form in preview mode.
 2799+Allows adding a reason in the summary.',
27952800
27962801 # Stylesheets
27972802 'common.css' => '/* CSS placed here will be applied to all skins */', # only translate this message to other languages if you have to change it
@@ -3331,8 +3336,8 @@
33323337
33333338 # Scary transclusion
33343339 'scarytranscludedisabled' => '[Interwiki transcluding is disabled]',
3335 -'scarytranscludefailed' => '[Template fetch failed for $1; sorry]',
3336 -'scarytranscludetoolong' => '[URL is too long; sorry]',
 3340+'scarytranscludefailed' => '[Template fetch failed for $1]',
 3341+'scarytranscludetoolong' => '[URL is too long]',
33373342
33383343 # Trackbacks
33393344 'trackbackbox' => '<div id="mw_trackbacks">Trackbacks for this page:<br />

Follow-up revisions

RevisionCommit summaryAuthorDate
r40593Ugh. There is nothing wrong with having nicer messages (seems to be #mediawik...aaron18:50, 7 September 2008