From 71854ec7b7b7c5c07ed0d4d26b1a29f5d7cca21e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 9 Dec 2020 19:09:31 +0100 Subject: [PATCH] Improve my events / my groups when there's no content Signed-off-by: Thomas Citharel --- js/src/i18n/en_US.json | 12 +++++- js/src/i18n/fr_FR.json | 12 +++++- js/src/views/Event/MyEvents.vue | 76 ++++++++++++++++++++++++++------- js/src/views/Group/MyGroups.vue | 47 +++++++++++++++++--- 4 files changed, 124 insertions(+), 23 deletions(-) diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index 0db363aeb..c4a686b25 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -810,5 +810,15 @@ "Unable to load event for participation. The error details are provided below:": "Unable to load event for participation. The error details are provided below:", "Unable to save your participation in this browser.": "Unable to save your participation in this browser.", "return to the event's page": "return to the event's page", - "View all events": "View all events" + "View all events": "View all events", + "You will find here all the events you have created or of which you are a participant.": "You will find here all the events you have created or of which you are a participant.", + "Create event": "Create event", + "You didn't create or join any event yet": "You didn't create or join any event yet", + "create an event": "create an event", + "explore the events": "explore the events", + "Do you wish to {create_event} or {explore_events}?": "Do you wish to {create_event} or {explore_events}?", + "You are not part of any group": "You are not part of any group", + "create a group": "create a group", + "explore the groups": "explore the groups", + "Do you wish to {create_group} or {explore_groups}?": "Do you wish to {create_group} or {explore_groups}?" } diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index f84e45794..8d4b9a144 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -904,5 +904,15 @@ "Unable to save your participation in this browser.": "Échec de la sauvegarde de votre participation dans ce navigateur.", "return to the event's page": "retourner sur la page de l'événement", "You may now close this window, or {return_to_event}.": "Vous pouvez maintenant fermer cette fenêtre, ou bien {return_to_event}.", - "View all events": "Voir tous les événements" + "View all events": "Voir tous les événements", + "You will find here all the events you have created or of which you are a participant.": "Vous trouverez ici tous les événements que vous avez créé ou dont vous êtes un·e participant·e.", + "Create event": "Créer un événement", + "You didn't create or join any event yet.": "Vous n'avez pas encore créé ou rejoint d'événement.", + "create an event": "créer un événement", + "explore the events": "explorer les événements", + "Do you wish to {create_event} or {explore_events}?": "Voulez-vous {create_event} ou {explore_events} ?", + "You are not part of any group.": "Vous ne faites partie d'aucun groupe.", + "create a group": "créer un groupe", + "explore the groups": "explorer les groupes", + "Do you wish to {create_group} or {explore_groups}?": "Voulez-vous {create_group} ou {explore_groups} ?" } diff --git a/js/src/views/Event/MyEvents.vue b/js/src/views/Event/MyEvents.vue index 678b0b9f8..32083c01b 100644 --- a/js/src/views/Event/MyEvents.vue +++ b/js/src/views/Event/MyEvents.vue @@ -1,8 +1,22 @@