aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDayllan Maza <dmaza@wikimedia.org>2018-11-08 15:32:37 -0500
committerDayllan Maza <dmaza@wikimedia.org>2018-11-15 23:11:11 -0500
commitd361d8cbecf5ee697128c15e204bdefe21f0be9c (patch)
treeab1d8f0600c7f54c33ded92af86a703dc5dae742
parentc678feabafdfbfa748977e04a7e84e8192b69f81 (diff)
downloadmediawikicore-d361d8cbecf5ee697128c15e204bdefe21f0be9c.tar.gz
mediawikicore-d361d8cbecf5ee697128c15e204bdefe21f0be9c.zip
Fix partial block translation for non-editing msg
The current phrasing for non-editing partial blocks was not clear. Adding 'specified' as part of the message to avoid confusion. Bug: T208806 Change-Id: If6fe6397060a38dd5036d2c0c1d58aa9e798ecc1
-rw-r--r--languages/i18n/en.json4
-rw-r--r--tests/phpunit/includes/logging/BlockLogFormatterTest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/i18n/en.json b/languages/i18n/en.json
index 39ba36095761..48f938f77222 100644
--- a/languages/i18n/en.json
+++ b/languages/i18n/en.json
@@ -4141,8 +4141,8 @@
"logentry-block-reblock": "$1 {{GENDER:$2|changed}} block settings for {{GENDER:$4|$3}} with an expiration time of $5 $6",
"logentry-partialblock-block": "$1 {{GENDER:$2|blocked}} {{GENDER:$4|$3}} from editing {{PLURAL:$8||the pages}} $7 with an expiration time of $5 $6",
"logentry-partialblock-reblock": "$1 {{GENDER:$2|changed}} block settings for {{GENDER:$4|$3}} preventing edits on {{PLURAL:$8||the pages}} $7 with an expiration time of $5 $6",
- "logentry-non-editing-block-block": "$1 {{GENDER:$2|blocked}} {{GENDER:$4|$3}} from non-editing actions with an expiration time of $5 $6",
- "logentry-non-editing-block-reblock": "$1 {{GENDER:$2|changed}} block settings for {{GENDER:$4|$3}} for non-editing actions with an expiration time of $5 $6",
+ "logentry-non-editing-block-block": "$1 {{GENDER:$2|blocked}} {{GENDER:$4|$3}} from specified non-editing actions with an expiration time of $5 $6",
+ "logentry-non-editing-block-reblock": "$1 {{GENDER:$2|changed}} block settings for {{GENDER:$4|$3}} for specified non-editing actions with an expiration time of $5 $6",
"logentry-suppress-block": "$1 {{GENDER:$2|blocked}} {{GENDER:$4|$3}} with an expiration time of $5 $6",
"logentry-suppress-reblock": "$1 {{GENDER:$2|changed}} block settings for {{GENDER:$4|$3}} with an expiration time of $5 $6",
"logentry-import-upload": "$1 {{GENDER:$2|imported}} $3 by file upload",
diff --git a/tests/phpunit/includes/logging/BlockLogFormatterTest.php b/tests/phpunit/includes/logging/BlockLogFormatterTest.php
index 85ccebc4ebde..0041b9ce64df 100644
--- a/tests/phpunit/includes/logging/BlockLogFormatterTest.php
+++ b/tests/phpunit/includes/logging/BlockLogFormatterTest.php
@@ -431,7 +431,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
],
],
[
- 'text' => 'Sysop blocked Logtestuser from non-editing actions'
+ 'text' => 'Sysop blocked Logtestuser from specified non-editing actions'
. ' with an expiration time of indefinite (anonymous users only)',
'api' => [
'duration' => 'infinite',