r50719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50718‎ | r50719 | r50720 >
Date:12:02, 18 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
* mark up "Warning:" the same way in all messages
* add an i18n related FIXME in SimpleSecurity
* capitalisation tweaks in a few messages
Modified paths:
  • /trunk/extensions/GroupPermissionsManager/GroupPermissionsManager.i18n.php (modified) (history)
  • /trunk/extensions/RefreshSpecial/RefreshSpecial.i18n.php (modified) (history)
  • /trunk/extensions/SemanticForms/languages/SF_Messages.php (modified) (history)
  • /trunk/extensions/SimpleSecurity/SimpleSecurity.i18n.php (modified) (history)
  • /trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SimpleSecurity/SimpleSecurity.i18n.php
@@ -18,9 +18,9 @@
1919 'security-logpage' => 'Security log',
2020 'security-logpagetext' => 'This is a log of actions blocked by the [http://www.mediawiki.org/wiki/Extension:SimpleSecurity SimpleSecurity extension].',
2121 'security-logentry' => '', # do not translate or duplicate this message to other languages
22 - 'badaccess-read' => 'Warning: "$1" is referred to here, but you do not have sufficient permissions to access it.',
 22+ 'badaccess-read' => '\'\'\'Warning:\'\'\' "$1" is referred to here, but you do not have sufficient permissions to access it.',
2323 'security-info' => 'There are $1 on this page',
24 - 'security-info-toggle' => 'security restrictions',
 24+ 'security-info-toggle' => 'security restrictions', // FIXME: should be integrated into 'security-info'
2525 'security-inforestrict' => '$1 is restricted to $2',
2626 'security-desc-LS' => '(applies because this page is in the "$2 $1")',
2727 'security-desc-PR' => '(set from the "protect" tab)',
Index: trunk/extensions/SemanticForms/languages/SF_Messages.php
@@ -97,8 +97,8 @@
9898 'sf_editdata_title' => 'Edit $1: $2',
9999 'sf_editdata_badurl' => 'This is the page for editing data. You must specify both a form name and a target page in the URL;
100100 it should look like \'Special:EditData?form=<form name>&target=<target page>\', or \'Special:EditData/<form name>/<target page>\'.',
101 - 'sf_editdata_morethanoneform' => 'Warning: More than one default form is defined for this page.',
102 - 'sf_editdata_formwarning' => 'Warning: This page <a href="$1">already exists</a>, but it does not use this form.',
 101+ 'sf_editdata_morethanoneform' => "'''Warning:''' More than one default form is defined for this page.",
 102+ 'sf_editdata_formwarning' => '\'\'\'Warning:\'\'\' This page <a href="$1">already exists</a>, but it does not use this form.',
103103 'sf_editdata_remove' => 'Remove',
104104 'sf_editdata_addanother' => 'Add another',
105105 'sf_editdata_none' => 'None',
Index: trunk/extensions/RefreshSpecial/RefreshSpecial.i18n.php
@@ -17,7 +17,7 @@
1818 'refreshspecial-title' => 'Refresh special pages',
1919 'refreshspecial-help' => 'This special page provides means to manually refresh special pages.
2020 When you have chosen all pages that you want to refresh, click on the "Refresh selected" button below to refresh the selected special pages.
21 -Warning: the refresh may take a while on larger wikis.',
 21+\'\'\'Warning:\'\'\' The refresh may take a while on larger wikis.',
2222 'refreshspecial-button' => 'Refresh selected',
2323 'refreshspecial-fail' => 'Please check at least one special page to refresh.',
2424 'refreshspecial-refreshing' => 'refreshing special pages',
@@ -27,7 +27,7 @@
2828 'refreshspecial-select-all-pages' => 'Select all pages',
2929 'refreshspecial-link-back' => 'Go back to special page',
3030 'refreshspecial-none-selected' => 'You have not selected any special pages. Reverting to default selection.',
31 - 'refreshspecial-db-error' => 'Failed: database error',
 31+ 'refreshspecial-db-error' => 'Failed: Database error',
3232 'refreshspecial-no-page' => 'No such special page',
3333 'refreshspecial-slave-lagged' => 'Slave lagged, waiting…',
3434 'refreshspecial-reconnected' => 'Reconnected.',
Index: trunk/extensions/WikimediaIncubator/WikimediaIncubator.i18n.php
@@ -19,7 +19,7 @@
2020 'wminc-prefinfo-code' => 'The ISO 639 language code',
2121 'wminc-prefinfo-project' => 'Select the Wikimedia project (Incubator option is for users who do general work)',
2222 'wminc-prefinfo-error' => 'You selected a project that needs a language code.',
23 - 'wminc-warning-unprefixed' => 'Warning: the page you are editing is unprefixed!',
 23+ 'wminc-warning-unprefixed' => "'''Warning:''' The page you are editing is unprefixed!",
2424 'wminc-warning-suggest' => 'You can create a page at [[$1]].',
2525 'wminc-warning-suggest-move' => 'You can [{{fullurl:Special:MovePage/$3|wpNewTitle=$2}} move this page to $1].',
2626 );
Index: trunk/extensions/GroupPermissionsManager/GroupPermissionsManager.i18n.php
@@ -49,7 +49,7 @@
5050 'grouppermissions-log-delete' => 'deleted group "$2"',
5151 'grouppermissions-log-name' => 'Group permissions log',
5252 'grouppermissions-log-header' => 'This page tracks changes to the underlying permissions of user groups.',
53 - 'grouppermissions-needjs' => 'Warning: JavaScript is disabled on your browser. Some features may not work!',
 53+ 'grouppermissions-needjs' => "'''Warning:''' JavaScript is disabled on your browser. Some features may not work!",
5454 'grouppermissions-sp-header' => 'You may use this page to manage how permissions are sorted and add new permissions. Hover over a permission to read its description',
5555 'grouppermissions-sp-sort' => 'Sort permissions',
5656 'grouppermissions-sp-save' => 'Save',

Status & tagging log