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

8.4.x
Alex Pott 2017-04-29 20:45:01 +01:00
parent 4cdb87fc8a
commit 4971d77637
1 changed files with 2 additions and 2 deletions

View File

@ -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(),
],