Commit 4971d776 authored by alexpott's avatar alexpott

Issue #2861072 by tar_inet, lomasr, imrancluster, cornelyus, jansete,...

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 4cdb87fc
......@@ -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(),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment