Skip to content

Commit 014fd24

Browse files
authored
Merge pull request #53101 from nextcloud/backport/52897/stable31
2 parents e39244f + 94564fa commit 014fd24

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

apps/settings/src/components/GroupListItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</h2>
1414
<NcNoteCard type="warning"
1515
show-alert>
16-
{{ t('settings', 'You are about to remove the group "{group}". The accounts will NOT be deleted.', { group: name }) }}
16+
{{ t('settings', 'You are about to delete the group "{group}". The accounts will NOT be deleted.', { group: name }) }}
1717
</NcNoteCard>
1818
<div class="modal__button-row">
1919
<NcButton type="secondary"
@@ -62,7 +62,7 @@
6262
<template #icon>
6363
<Delete :size="20" />
6464
</template>
65-
{{ t('settings', 'Remove group') }}
65+
{{ t('settings', 'Delete group') }}
6666
</NcActionButton>
6767
</template>
6868
</NcAppNavigationItem>
@@ -179,7 +179,7 @@ export default {
179179
await this.$store.dispatch('removeGroup', this.id)
180180
this.showRemoveGroupModal = false
181181
} catch (error) {
182-
showError(t('settings', 'Failed to remove group "{group}"', { group: this.name }))
182+
showError(t('settings', 'Failed to delete group "{group}"', { group: this.name }))
183183
}
184184
},
185185
},

cypress/e2e/settings/users_groups.cy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ describe('Settings: Delete an empty group', { testIsolation: false }, () => {
139139
})
140140

141141
it('can delete the group', () => {
142-
// The "Remove group" action in the actions menu is shown and clicked
143-
cy.get('.action-item__popper button').contains('Remove group').should('exist').click({ force: true })
142+
// The "Delete group" action in the actions menu is shown and clicked
143+
cy.get('.action-item__popper button').contains('Delete group').should('exist').click({ force: true })
144144
// And confirmation dialog accepted
145145
cy.get('.modal-container button').contains('Confirm').click({ force: true })
146146

@@ -190,8 +190,8 @@ describe('Settings: Delete a non empty group', () => {
190190
.find('button.action-item__menutoggle')
191191
.click({ force: true })
192192

193-
// The "Remove group" action in the actions menu is shown and clicked
194-
cy.get('.action-item__popper button').contains('Remove group').should('exist').click({ force: true })
193+
// The "Delete group" action in the actions menu is shown and clicked
194+
cy.get('.action-item__popper button').contains('Delete group').should('exist').click({ force: true })
195195
// And confirmation dialog accepted
196196
cy.get('.modal-container button').contains('Confirm').click({ force: true })
197197

dist/settings-users-3239.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-users-3239.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-apps-users-management.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-apps-users-management.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)