summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2017-04-29 20:45:01 +0100
committerAlex Pott2017-04-29 20:45:01 +0100
commit4971d77637e543730510dfce9e610adcc348a413 (patch)
treee35263ce0db70a09e32e845c72a0a5dd2e18b92c
parent4cdb87fc8ac4f749d7e3ef42c77f509825ecbf7f (diff)
Issue #2861072 by tar_inet, lomasr, imrancluster, cornelyus, jansete, th_tushar, RenatoG, Gábor Hojtsy, faline, saurabh rawat, cilefen: Change "users" to "user(s)" in user actions for consistency
-rw-r--r--core/modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index b865e95..61faa3b 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -1003,7 +1003,7 @@ function user_user_role_insert(RoleInterface $role) {
$action = Action::create([
'id' => $add_id,
'type' => 'user',
- 'label' => t('Add the @label role to the selected users', ['@label' => $role->label()]),
+ 'label' => t('Add the @label role to the selected user(s)', ['@label' => $role->label()]),
'configuration' => [
'rid' => $role->id(),
],
@@ -1016,7 +1016,7 @@ function user_user_role_insert(RoleInterface $role) {
$action = Action::create([
'id' => $remove_id,
'type' => 'user',
- 'label' => t('Remove the @label role from the selected users', ['@label' => $role->label()]),
+ 'label' => t('Remove the @label role from the selected user(s)', ['@label' => $role->label()]),
'configuration' => [
'rid' => $role->id(),
],