From a098f0b2434bb48e7bd3b693584579fabf52b5ac Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 9 Nov 2023 17:39:09 +0100 Subject: [PATCH] fix(MemberPicker): Rename "users" to "accounts" and "people" to "members" * Mention collective name in title: "Add members to ". * Change "Create" button to "Create without members" if no members are picked. Signed-off-by: Jonas --- cypress/e2e/collective.spec.js | 2 +- src/components/Member/MemberPicker.vue | 4 ++-- src/components/Member/MemberSearchResults.vue | 2 +- src/components/Nav/NewCollectiveModal.vue | 12 +++++++++--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/cypress/e2e/collective.spec.js b/cypress/e2e/collective.spec.js index f00da6a12d..fd4369dfe6 100644 --- a/cypress/e2e/collective.spec.js +++ b/cypress/e2e/collective.spec.js @@ -84,7 +84,7 @@ describe('Collective', function() { cy.get('button span.circles-icon').click() // cy.get('.circle-selector ul').should('not.contain', 'Foreign') cy.get('.circle-selector li [title*=History]').click() - cy.get('button').contains('Add people').click() + cy.get('button').contains('Add members').click() cy.get('button').contains('Create').click() cy.get('#titleform input').invoke('val').should('contain', 'History Club') diff --git a/src/components/Member/MemberPicker.vue b/src/components/Member/MemberPicker.vue index 82033397c8..3a9f4f04ec 100644 --- a/src/components/Member/MemberPicker.vue +++ b/src/components/Member/MemberPicker.vue @@ -5,7 +5,7 @@ :value.sync="searchQuery" type="text" :show-trailing-button="isSearching" - :label="t('collectives', 'Search users, groups, circles…')" + :label="t('collectives', 'Search accounts, groups, circles…')" @trailing-button-click="clearSearch" @input="onSearch"> @@ -35,7 +35,7 @@