Skip to content
Snippets Groups Projects
Commit 4971d776 authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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(),
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment