diff --git a/js/src/graphql/followers.ts b/js/src/graphql/followers.ts index c64d208e..41b775bc 100644 --- a/js/src/graphql/followers.ts +++ b/js/src/graphql/followers.ts @@ -32,7 +32,7 @@ export const GROUP_FOLLOWERS = gql` `; export const UPDATE_FOLLOWER = gql` - mutation UpdateFollower($id: ID!, $approved: Boolean) { + mutation UpdateFollower($id: ID!, $approved: Boolean!) { updateFollower(id: $id, approved: $approved) { id approved diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index d319d7ac..53126993 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -1446,5 +1446,7 @@ "By car": "By car", "Select all resources": "Select all resources", "Select this resource": "Select this resource", - "You can add resources by using the button above.": "You can add resources by using the button above." + "You can add resources by using the button above.": "You can add resources by using the button above.", + "{user}'s follow request was accepted": "{user}'s follow request was accepted", + "{user}'s follow request was rejected": "{user}'s follow request was rejected" } \ No newline at end of file diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index 66f9adf9..73804da2 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -1443,5 +1443,7 @@ "By car": "En voiture", "Select all resources": "Sélectionner toutes les ressources", "Select this resource": "Sélectionner cette ressource", - "You can add resources by using the button above.": "Vous pouvez ajouter des ressources en utilisant le bouton au dessus." + "You can add resources by using the button above.": "Vous pouvez ajouter des ressources en utilisant le bouton au dessus.", + "{user}'s follow request was accepted": "La demande de suivi de {user} a été acceptée", + "{user}'s follow request was rejected": "La demande de suivi de {user} a été rejetée" } diff --git a/js/src/views/Group/GroupFollowers.vue b/js/src/views/Group/GroupFollowers.vue index f54c68ed..12307d38 100644 --- a/js/src/views/Group/GroupFollowers.vue +++ b/js/src/views/Group/GroupFollowers.vue @@ -11,12 +11,12 @@ { name: RouteName.GROUP_SETTINGS, params: { preferredUsername: usernameWithDomain(group) }, - text: $t('Settings'), + text: t('Settings'), }, { name: RouteName.GROUP_FOLLOWERS_SETTINGS, params: { preferredUsername: usernameWithDomain(group) }, - text: $t('Followers'), + text: t('Followers'), }, ]" /> @@ -25,9 +25,9 @@ class="container mx-auto section" v-if="group && isCurrentActorAGroupAdmin && followers" > -