diff --git a/dashboard/public/translation/en.json b/dashboard/public/translation/en.json index 3f8133030..9a11ca702 100644 --- a/dashboard/public/translation/en.json +++ b/dashboard/public/translation/en.json @@ -221,7 +221,7 @@ "users": "Users", "externalLdapTooltip": "From external LDAP directory", "count": "Total groups: {{ count }}", - "emptyPlaceholder": "No groups yet" + "emptyPlaceholder": "No groups available" }, "settings": { "title": "User Settings", @@ -316,7 +316,7 @@ }, "deleteGroupDialog": { "title": "Delete group {{ name }}", - "description": "This group still has {{ memberCount }} member(s). Are you sure this group is not used?", + "description": "This group has {{ memberCount }} member(s). Really remove this group?", "deleteAction": "Delete" }, "passwordResetDialog": { diff --git a/dashboard/src/views/UsersView.vue b/dashboard/src/views/UsersView.vue index bfc5d4a61..9a43afb72 100644 --- a/dashboard/src/views/UsersView.vue +++ b/dashboard/src/views/UsersView.vue @@ -220,7 +220,7 @@ function onEditOrAddGroup(group = null) { async function onRemoveGroup(group) { const yes = await inputDialog.value.confirm({ title: t('users.deleteGroupDialog.title', { name: group.name }), - message: t('users.deleteGroupDialog.description', { memberCount: group.memberCount }), + message: t('users.deleteGroupDialog.description', { memberCount: group.userIds.length }), confirmStyle: 'danger', confirmLabel: t('users.deleteGroupDialog.deleteAction'), rejectLabel: t('main.dialog.cancel')