From f656d39f41e39563d4c02603184335cc8ac79eb6 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Wed, 31 Dec 2008 17:57:20 +0000 Subject: [PATCH] * Fix some messages, per Siebrand --- languages/messages/MessagesEn.php | 18 ++++++++++-------- maintenance/language/messages.inc | 2 ++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 07a843f948..3246895bca 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1201,13 +1201,13 @@ It appears to have been deleted.', It already exists.', 'userrestricted-page' => '\'\'\'Your user name or IP address has been restricted from editing page "$1".\'\'\' -The restriction was put by [[User:$2|$2]]. +The restriction was set by [[User:$2|$2]]. The reason given is \'\'$3\'\'. -Restriction was put on $4 at $5 and expires on $6 at $7. +The estriction was set on $4 at $5 and expires on $6 at $7. You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.', -'userrestricted-namespace' => "'''Your user name or IP address has been restricted from editing $1 namespace.''' +'userrestricted-namespace' => "'''Your user name or IP address has been restricted from editing the $1 namespace.''' The restriction was put by [[User:$2|$2]]. The reason given is ''$3''. @@ -1217,10 +1217,10 @@ Restriction was put on $4 at $5 and expires on $6 at $7. You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.", 'userrestricted-page-indef' => '\'\'\'Your user name or IP address has been restricted from editing page "$1".\'\'\' -The restriction was put by [[User:$2|$2]]. +The restriction was set by [[User:$2|$2]]. The reason given is \'\'$3\'\'. -Restriction was put on $4 at $5 and will not expire. +The restriction was set on $4 at $5 and will not expire. You can contact [[User:$2|$2]] or another [[{{MediaWiki:Grouppage-sysop}}|administrator]] to discuss the restriction.', 'userrestricted-namespace-indef' => "'''Your user name or IP address has been restricted from editing $1 namespace.''' @@ -1700,6 +1700,7 @@ please see math/README to configure.', 'right-userrights' => 'Edit all user rights', 'right-userrights-interwiki' => 'Edit user rights of users on other wikis', 'right-siteadmin' => 'Lock and unlock the database', +'right-restrict' => 'Restrict users from editing certain pages and namespaces', # User rights log 'rightslog' => 'User rights log', @@ -1741,6 +1742,7 @@ please see math/README to configure.', 'action-userrights' => 'edit all user rights', 'action-userrights-interwiki' => 'edit user rights of users on other wikis', 'action-siteadmin' => 'lock or unlock the database', +'action-restrict' => 'restrict users from editing pages', # Recent changes 'nchanges' => '$1 {{PLURAL:$1|change|changes}}', @@ -2743,7 +2745,7 @@ You cannot create an account', 'userrestrictiontype-page' => 'Page', # Special:RemoveRestrictions -'removerestrictions' => 'Remove restriction from a user', +'removerestrictions' => 'Remove the restriction for a user', 'removerestrictions-intro' => 'Use the form below to remove a restriction from a certain user.', 'removerestrictions-noid' => 'No restriction ID was specified.', 'removerestrictions-wrongid' => 'Restriction with that ID not found. @@ -2764,8 +2766,8 @@ Most probably someone has removed it or it expired.', 'restrictuser-go' => 'Restrict user', 'restrictuser-notfound' => 'User not found', 'restrictuser-existing' => 'Existing restrictions', -'restrictuser-legend-page' => 'Restrict from editing certain page', -'restrictuser-legend-namespace' => 'Restrict from editing certain namespace', +'restrictuser-legend-page' => 'Restrict from editing a page', +'restrictuser-legend-namespace' => 'Restrict from editing a namespace', 'restrictuser-title' => 'Page to restrict:', 'restrictuser-namespace' => 'Namespace:', 'restrictuser-expiry' => 'Expires:', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index cde93e9457..051a5bd362 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1003,6 +1003,7 @@ $wgMessageStructure = array( 'right-userrights', 'right-userrights-interwiki', 'right-siteadmin', + 'right-restrict', ), 'rightslog' => array( 'rightslog', @@ -1044,6 +1045,7 @@ $wgMessageStructure = array( 'action-userrights', 'action-userrights-interwiki', 'action-siteadmin', + 'action-restrict', ), 'recentchanges' => array( 'nchanges', -- 2.20.1