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
parent
4cdb87fc8a
commit
4971d77637
|
|
@ -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(),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue