From acfcb789e30d093daaf4bfc424509e2d82a897c2 Mon Sep 17 00:00:00 2001 From: "Zeller, Christina" Date: Wed, 8 Jun 2022 17:06:27 +0200 Subject: [PATCH] Fixes dots. Refs https://github.com/inveniosoftware/invenio-app-rdm/issues/1707 --- .../members/components/RemoveMemberModal.js | 4 ++-- .../members/components/bulk_actions/SelectedMembers.js | 4 ++-- .../members/invitations/invitationsModal/GroupTabPane.js | 2 +- .../js/invenio_communities/members/members/index.js | 5 ++--- .../settings/profile/RenameCommunitySlugButton.js | 2 +- invenio_communities/communities/services/components.py | 2 +- invenio_communities/members/services/schemas.py | 2 +- invenio_communities/members/services/service.py | 6 +++--- 8 files changed, 13 insertions(+), 14 deletions(-) diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/RemoveMemberModal.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/RemoveMemberModal.js index 7953fca5e..4f322c176 100644 --- a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/RemoveMemberModal.js +++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/RemoveMemberModal.js @@ -32,13 +32,13 @@ class RemoveMemberModal extends Component { this.contentMap = { [modalModeEnum.leave]: { headerText: i18next.t("Leave community"), - bodyText: i18next.t("You're about to leave this community."), + bodyText: i18next.t("You are about to leave this community."), buttonText: i18next.t("Leave"), }, [modalModeEnum.remove]: { headerText: i18next.t("Remove user"), bodyText: i18next.t( - "You're about to remove this user from this community" + "You are about to remove this user from this community." ), buttonText: i18next.t("Remove"), }, diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/bulk_actions/SelectedMembers.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/bulk_actions/SelectedMembers.js index 70cb687d3..53411f39d 100644 --- a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/bulk_actions/SelectedMembers.js +++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/components/bulk_actions/SelectedMembers.js @@ -53,8 +53,8 @@ export class SelectedMembers extends Component { >
{displayingGroups - ? i18next.t("Selected groups.") - : i18next.t("Selected members.")} + ? i18next.t("Selected groups") + : i18next.t("Selected members")}
); diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/invitations/invitationsModal/GroupTabPane.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/invitations/invitationsModal/GroupTabPane.js index fb38095b9..5893daaa5 100644 --- a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/invitations/invitationsModal/GroupTabPane.js +++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/invitations/invitationsModal/GroupTabPane.js @@ -113,7 +113,7 @@ export class GroupTabPane extends Component { /> {selectedCount > 0 && ( - You are about to add {{ selectedCount }} groups + You are about to add {{ selectedCount }} groups. )} diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/members/index.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/members/index.js index 339508bc9..ba8559dc4 100644 --- a/invenio_communities/assets/semantic-ui/js/invenio_communities/members/members/index.js +++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/members/members/index.js @@ -5,14 +5,13 @@ export const memberVisibilityTypes = [ name: "public", visible: true, title: i18next.t("Public"), - description: i18next.t("Your community membership is visible to everyone") + ".", + description: i18next.t("Your community membership is visible to everyone."), }, { name: "hidden", visible: false, title: i18next.t("Hidden"), description: i18next.t( - "Your community membership is only visible to other members of the community" + "." - ), + "Your community membership is only visible to other members of the community."), }, ]; diff --git a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/RenameCommunitySlugButton.js b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/RenameCommunitySlugButton.js index d47c92dc1..b5d3bc392 100644 --- a/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/RenameCommunitySlugButton.js +++ b/invenio_communities/assets/semantic-ui/js/invenio_communities/settings/profile/RenameCommunitySlugButton.js @@ -89,7 +89,7 @@ export class RenameCommunitySlugButton extends Component {