From 0942b518a1dc2e88582f169812c8cadb0ff43f1b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 25 May 2021 16:22:01 +0200 Subject: [PATCH] Small js fixes Signed-off-by: Thomas Citharel --- js/src/i18n/fr_FR.json | 2 +- js/src/views/Admin/AdminGroupProfile.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index 6aaa58de9..a478da9a8 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -1047,7 +1047,7 @@ "{moderator} suspended group {profile}": "{moderator} a suspendu le groupe {profile}", "{moderator} suspended profile {profile}": "{moderator} a suspendu le profil {profile}", "{nb} km": "{nb} km", - "{number} members": "{number} membres", + "{number} members": "Aucun⋅e membre|Un⋅e membre|{number} membres", "{number} organized events": "Aucun événement organisé|Un événement organisé|{number} événements organisés", "{number} participations": "Aucune participation|Une participation|{number} participations", "{number} posts": "Aucun billet|Un billet|{number} billets", diff --git a/js/src/views/Admin/AdminGroupProfile.vue b/js/src/views/Admin/AdminGroupProfile.vue index 2cbec4711..e4bae72db 100644 --- a/js/src/views/Admin/AdminGroupProfile.vue +++ b/js/src/views/Admin/AdminGroupProfile.vue @@ -21,7 +21,7 @@ name: RouteName.PROFILES, params: { id: group.id }, }" - >{{ group.name || group.preferredUsername }}{{ group.name || usernameWithDomain(group) }} @@ -293,9 +293,9 @@ import { ApolloCache, FetchResult, InMemoryCache } from "@apollo/client/core"; import VueRouter from "vue-router"; const { isNavigationFailure, NavigationFailureType } = VueRouter; -const EVENTS_PER_PAGE = 3; -const POSTS_PER_PAGE = 1; -const MEMBERS_PER_PAGE = 3; +const EVENTS_PER_PAGE = 10; +const POSTS_PER_PAGE = 10; +const MEMBERS_PER_PAGE = 10; @Component({ apollo: {