Change "protection level" to "protection settings"

This was suggested in translatewiki.

Protection is not only about protection level, but also
about its being cascading or not and expiry time. The message
should reflect this. Some messages that are specifically about
level are not changed.

Change-Id: Id9dae220269cda526564c555427e24d880e1a57c
This commit is contained in:
Amir Aharoni 2021-04-21 13:41:09 +03:00
parent 73766b6fbc
commit 986a4c9459
2 changed files with 18 additions and 18 deletions

View file

@ -1314,7 +1314,7 @@
"right-hideuser": "Block a username, hiding it from the public",
"right-ipblock-exempt": "Bypass IP blocks, auto-blocks and range blocks",
"right-unblockself": "Unblock oneself",
"right-protect": "Change protection levels and edit cascade-protected pages",
"right-protect": "Change protection settings and edit cascade-protected pages",
"right-editprotected": "Edit pages protected as \"{{int:protect-level-sysop}}\"",
"right-editsemiprotected": "Edit pages protected as \"{{int:protect-level-autoconfirmed}}\"",
"right-editcontentmodel": "Edit the content model of a page",
@ -1422,7 +1422,7 @@
"action-suppressrevision": "review and restore hidden revisions",
"action-suppressionlog": "view this private log",
"action-block": "block this user from editing",
"action-protect": "change protection levels for this page",
"action-protect": "change protection settings for this page",
"action-rollback": "quickly rollback the edits of the last user who edited a particular page",
"action-import": "import pages from another wiki",
"action-importupload": "import pages from a file upload",
@ -2543,14 +2543,14 @@
"protectlogpage": "Protection log",
"protectlogtext": "Below is a list of changes to page protections.\nSee the [[Special:ProtectedPages|protected pages list]] for the list of currently operational page protections.",
"protectedarticle": "protected \"[[$1]]\"",
"modifiedarticleprotection": "changed protection level for \"[[$1]]\"",
"modifiedarticleprotection": "changed protection settings for \"[[$1]]\"",
"unprotectedarticle": "removed protection from \"[[$1]]\"",
"movedarticleprotection": "moved protection settings from \"[[$2]]\" to \"[[$1]]\"",
"protectedarticle-comment": "{{GENDER:$2|Protected}} \"[[$1]]\"",
"modifiedarticleprotection-comment": "{{GENDER:$2|Changed protection level}} for \"[[$1]]\"",
"modifiedarticleprotection-comment": "{{GENDER:$2|Changed}} protection settings for \"[[$1]]\"",
"unprotectedarticle-comment": "{{GENDER:$2|Removed protection}} from \"[[$1]]\"",
"protect-title": "Change protection level for \"$1\"",
"protect-title-notallowed": "View protection level of \"$1\"",
"protect-title": "Change protection settings for \"$1\"",
"protect-title-notallowed": "View protection settings of \"$1\"",
"prot_1movedto2": "[[$1]] moved to [[$2]]",
"protect-badnamespace-title": "Non-protectable namespace",
"protect-badnamespace-text": "Pages in this namespace cannot be protected.",
@ -2562,11 +2562,11 @@
"protect_expiry_invalid": "Expiration time is invalid.",
"protect_expiry_old": "Expiration time is in the past.",
"protect-unchain-permissions": "Unlock further protect options",
"protect-text": "Here you may view and change the protection level for the page <strong>$1</strong>.",
"protect-locked-blocked": "You cannot change protection levels while blocked.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-locked-dblock": "Protection levels cannot be changed due to an active database lock.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-locked-access": "Your account does not have permission to change page protection levels.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-cascadeon": "This page is currently protected because it is transcluded in the following {{PLURAL:$1|page, which has|pages, which have}} cascading protection turned on.\nChanges to this page's protection level will not affect the cascading protection.",
"protect-text": "Here you may view and change the protection settings for the page <strong>$1</strong>.",
"protect-locked-blocked": "You cannot change protection settings while blocked.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-locked-dblock": "Protection settings cannot be changed due to an active database lock.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-locked-access": "Your account does not have permission to change page protection settings.\nHere are the current settings for the page <strong>$1</strong>:",
"protect-cascadeon": "This page is currently protected because it is transcluded in the following {{PLURAL:$1|page, which has|pages, which have}} cascading protection turned on.\nChanges to this page's protection settings will not affect the cascading protection.",
"protect-default": "Allow all users",
"protect-fallback": "Allow only users with \"$1\" permission",
"protect-level-autoconfirmed": "Allow only autoconfirmed users",
@ -2577,7 +2577,7 @@
"protect-expiring-local": "expires $1",
"protect-expiry-indefinite": "indefinite",
"protect-cascade": "Protect pages included in this page (cascading protection)",
"protect-cantedit": "You cannot change the protection levels of this page because you do not have permission to edit it.",
"protect-cantedit": "You cannot change the protection settings of this page because you do not have permission to edit it.",
"protect-othertime": "Other time:",
"protect-othertime-op": "other time",
"protect-existing-expiry": "Existing expiration time: $3, $2",
@ -3996,8 +3996,8 @@
"logentry-protect-unprotect": "$1 {{GENDER:$2|removed}} protection from $3",
"logentry-protect-protect": "$1 {{GENDER:$2|protected}} $3 $4",
"logentry-protect-protect-cascade": "$1 {{GENDER:$2|protected}} $3 $4 [cascading]",
"logentry-protect-modify": "$1 {{GENDER:$2|changed}} protection level for $3 $4",
"logentry-protect-modify-cascade": "$1 {{GENDER:$2|changed}} protection level for $3 $4 [cascading]",
"logentry-protect-modify": "$1 {{GENDER:$2|changed}} protection settings for $3 $4",
"logentry-protect-modify-cascade": "$1 {{GENDER:$2|changed}} protection settings for $3 $4 [cascading]",
"logentry-rights-rights": "$1 {{GENDER:$2|changed}} group membership for {{GENDER:$6|$3}} from $4 to $5",
"logentry-rights-rights-legacy": "$1 {{GENDER:$2|changed}} group membership for $3",
"logentry-rights-autopromote": "$1 was automatically {{GENDER:$2|promoted}} from $4 to $5",

View file

@ -205,7 +205,7 @@ class ProtectLogFormatterTest extends LogFormatterTestCase {
],
],
[
'text' => 'User changed protection level for ProtectPage ' .
'text' => 'User changed protection settings for ProtectPage ' .
'[Edit=Allow only administrators] ' .
'(indefinite) [Move=Allow only administrators] (indefinite)',
'api' => [
@ -257,7 +257,7 @@ class ProtectLogFormatterTest extends LogFormatterTestCase {
],
],
[
'text' => 'User changed protection level for ProtectPage ' .
'text' => 'User changed protection settings for ProtectPage ' .
'[Edit=Allow only administrators] (indefinite) ' .
'[Move=Allow only administrators] (indefinite) [cascading]',
'api' => [
@ -296,7 +296,7 @@ class ProtectLogFormatterTest extends LogFormatterTestCase {
],
[
'legacy' => true,
'text' => 'User changed protection level for ProtectPage ' .
'text' => 'User changed protection settings for ProtectPage ' .
'[edit=sysop] (indefinite)[move=sysop] (indefinite)',
'api' => [
'description' => '[edit=sysop] (indefinite)[move=sysop] (indefinite)',
@ -320,7 +320,7 @@ class ProtectLogFormatterTest extends LogFormatterTestCase {
],
[
'legacy' => true,
'text' => 'User changed protection level for ProtectPage ' .
'text' => 'User changed protection settings for ProtectPage ' .
'[edit=sysop] (indefinite)[move=sysop] (indefinite) [cascading]',
'api' => [
'description' => '[edit=sysop] (indefinite)[move=sysop] (indefinite)',