Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1292,6 +1292,7 @@ |
1293 | 1293 | 'listgrouprights-rights', |
1294 | 1294 | 'listgrouprights-helppage', |
1295 | 1295 | 'listgrouprights-members', |
| 1296 | + 'listgrouprights-right-display', |
1296 | 1297 | ), |
1297 | 1298 | 'emailuser' => array( |
1298 | 1299 | 'mailnologin', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -279,6 +279,7 @@ |
280 | 280 | 'comma-separator', |
281 | 281 | 'colon-separator', |
282 | 282 | 'autocomment-prefix', |
| 283 | + 'listgrouprights-right-display', |
283 | 284 | ); |
284 | 285 | |
285 | 286 | /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */ |
Index: trunk/phase3/includes/SpecialListgrouprights.php |
— | — | @@ -95,7 +95,10 @@ |
96 | 96 | $r = array(); |
97 | 97 | foreach( $permissions as $permission => $granted ) { |
98 | 98 | if ( $granted ) { |
99 | | - $description = User::getRightDescription($permission); |
| 99 | + $description = wfMsgHTML( 'listgrouprights-right-display', |
| 100 | + User::getRightDescription($permission), |
| 101 | + $permission |
| 102 | + ); |
100 | 103 | $r[] = $description; |
101 | 104 | } |
102 | 105 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1469,10 +1469,10 @@ |
1470 | 1470 | 'right-suppressredirect' => 'Not create a redirect from the old name when moving a page', |
1471 | 1471 | 'right-upload' => 'Upload files', |
1472 | 1472 | 'right-reupload' => 'Overwrite an existing file', |
1473 | | -'right-reupload-own' => 'Overwrite an existing file uploaded by the same user', |
| 1473 | +'right-reupload-own' => 'Overwrite an existing file uploaded by oneself', |
1474 | 1474 | 'right-reupload-shared' => 'Override files on the shared media repository locally', |
1475 | 1475 | 'right-upload_by_url' => 'Upload a file from a URL address', |
1476 | | -'right-purge' => 'Purge the site cache for a page without a confirmation page', |
| 1476 | +'right-purge' => 'Purge the site cache for a page without confirmation', |
1477 | 1477 | 'right-autoconfirmed' => 'Edit semi-protected pages', |
1478 | 1478 | 'right-bot' => 'Be treated as an automated process', |
1479 | 1479 | 'right-nominornewtalk' => 'Not have minor edits to discussion pages trigger the new messages prompt', |
— | — | @@ -1494,18 +1494,18 @@ |
1495 | 1495 | 'right-editprotected' => 'Edit protected pages (without cascading protection)', |
1496 | 1496 | 'right-editinterface' => 'Edit the user interface', |
1497 | 1497 | 'right-editusercssjs' => "Edit other users' CSS and JS files", |
1498 | | -'right-rollback' => 'Quickly revert the last user who edited a particular page', |
1499 | | -'right-markbotedits' => 'Mark reverted edits as bot edits', |
| 1498 | +'right-rollback' => 'Quickly rollback the edits of the last user who edited a particular page', |
| 1499 | +'right-markbotedits' => 'Mark rolled-back edits as bot edits', |
1500 | 1500 | 'right-import' => 'Import pages from other wikis', |
1501 | 1501 | 'right-importupload' => 'Import pages from a file upload', |
1502 | | -'right-patrol' => 'Mark edits as patrolled', |
1503 | | -'right-autopatrol' => 'Have edits automatically marked as patrolled', |
| 1502 | +'right-patrol' => "Mark others' edits as patrolled", |
| 1503 | +'right-autopatrol' => "Have one's own edits automatically marked as patrolled", |
1504 | 1504 | 'right-patrolmarks' => 'View recent changes patrol marks', |
1505 | 1505 | 'right-unwatchedpages' => 'View a list of unwatched pages', |
1506 | 1506 | 'right-trackback' => 'Submit a trackback', |
1507 | 1507 | 'right-mergehistory' => 'Merge the history of pages', |
1508 | 1508 | 'right-userrights' => 'Edit all user rights', |
1509 | | -'right-userrights-interwiki' => 'Edit user rights of users in other wiki sites', |
| 1509 | +'right-userrights-interwiki' => 'Edit user rights of users on other wikis', |
1510 | 1510 | 'right-siteadmin' => 'Lock and unlock the database', |
1511 | 1511 | |
1512 | 1512 | # User rights log |
— | — | @@ -1958,13 +1958,14 @@ |
1959 | 1959 | 'listusers-noresult' => 'No user found.', |
1960 | 1960 | |
1961 | 1961 | # Special:Listgrouprights |
1962 | | -'listgrouprights' => 'User group rights', |
1963 | | -'listgrouprights-summary' => 'The following is a list of user groups defined on this wiki, with their associated access rights. |
1964 | | -Additional information about individual rights can be found [[{{MediaWiki:Listgrouprights-helppage}}|here]].', |
1965 | | -'listgrouprights-group' => 'Group', |
1966 | | -'listgrouprights-rights' => 'Rights', |
1967 | | -'listgrouprights-helppage' => 'Help:Group rights', |
1968 | | -'listgrouprights-members' => '(list of members)', |
| 1962 | +'listgrouprights' => 'User group rights', |
| 1963 | +'listgrouprights-summary' => 'The following is a list of user groups defined on this wiki, with their associated access rights. |
| 1964 | +Additional information about individual rights can be found at [[{{MediaWiki:Listgrouprights-helppage}}]].', |
| 1965 | +'listgrouprights-group' => 'Group', |
| 1966 | +'listgrouprights-rights' => 'Rights', |
| 1967 | +'listgrouprights-helppage' => 'Help:Group rights', |
| 1968 | +'listgrouprights-members' => '(list of members)', |
| 1969 | +'listgrouprights-right-display' => '$1 ($2)', # only translate this message to other languages if you have to change it |
1969 | 1970 | |
1970 | 1971 | # E-mail user |
1971 | 1972 | 'mailnologin' => 'No send address', |