From 27f20cfa418cf9a9ca09d82790e38d635563c04f Mon Sep 17 00:00:00 2001 From: Massedil Date: Wed, 19 Nov 2025 17:57:36 +0100 Subject: [PATCH] Add share link modal and rename some texts --- src/i18n/en_US.json | 8 +- src/i18n/fr_FR.json | 8 +- src/views/Group/GroupInvitations.vue | 210 ++++++++++++++++----------- 3 files changed, 140 insertions(+), 86 deletions(-) diff --git a/src/i18n/en_US.json b/src/i18n/en_US.json index 9beb6b377..1a21a6da0 100644 --- a/src/i18n/en_US.json +++ b/src/i18n/en_US.json @@ -388,7 +388,7 @@ "Drafts": "Drafts", "Due on": "Due on", "Duplicate": "Duplicate", - "Edit invitation": "Edit invitation", + "Edit label": "Edit label", "Edit post": "Edit post", "Edit profile {profile}": "Edit profile {profile}", "Edit user email": "Edit user email", @@ -623,6 +623,7 @@ "Integrate this event with 3rd-party tools and show metadata for the event.": "Integrate this event with 3rd-party tools and show metadata for the event.", "Interact with a remote content": "Interact with a remote content", "Interact": "Interact", + "Invitation URL":"Invitation URL", "Invitation links": "Invitation links", "Invitations": "Invitations", "Invite a new member": "Invite a new member", @@ -636,6 +637,7 @@ "Join a group": "Join a group", "Join group {group}": "Join group {group}", "Join group": "Join group", + "Join my group":"Join my group", "Join {instance}, a Mobilizon instance": "Join {instance}, a Mobilizon instance", "Join": "Join", "Keep the entire conversation about a specific topic together on a single page.": "Keep the entire conversation about a specific topic together on a single page.", @@ -1093,7 +1095,9 @@ "Set an URL to a page with your own privacy policy.": "Set an URL to a page with your own privacy policy.", "Set an URL to a page with your own terms.": "Set an URL to a page with your own terms.", "Settings": "Settings", + "Share link":"Share link", "Share this event": "Share this event", + "Share this group invitation link":"Share this group invitation link", "Share this group": "Share this group", "Share this post": "Share this post", "Share": "Share", @@ -1378,7 +1382,7 @@ "Update group posts": "Update group posts", "Update group resources": "Update group resources", "Update group": "Update group", - "Update invitation":"Update invitation", + "Update label":"Update label", "Update my event": "Update my event", "Update my profile": "Update my profile", "Update post": "Update post", diff --git a/src/i18n/fr_FR.json b/src/i18n/fr_FR.json index 2b5a22d0d..7ea52d13c 100644 --- a/src/i18n/fr_FR.json +++ b/src/i18n/fr_FR.json @@ -388,7 +388,7 @@ "Drafts": "Brouillons", "Due on": "Pr\u00e9vu pour le", "Duplicate": "Dupliquer", - "Edit invitation": "Modifier l'invitation", + "Edit label": "Modifier le label", "Edit post": "\u00c9diter le billet", "Edit profile {profile}": "\u00c9diter le profil {profile}", "Edit user email": "\u00c9diter l'e-mail de l'utilisateur\u00b7ice", @@ -623,6 +623,7 @@ "Integrate this event with 3rd-party tools and show metadata for the event.": "Int\u00e9grer cet \u00e9v\u00e9nement avec des outils tiers et afficher des m\u00e9tadonn\u00e9es pour l'\u00e9v\u00e9nement.", "Interact with a remote content": "Interagir avec un contenu distant", "Interact": "Interagir", + "Invitation URL":"Lien de l'invitation", "Invitation links": "Liens d'invitation", "Invitations" : "Invitations", "Invite a new member": "Inviter un nouveau membre", @@ -636,6 +637,7 @@ "Join a group": "Rejoindre un groupe", "Join group {group}": "Rejoindre le groupe {group}", "Join group": "Rejoindre le groupe", + "Join my group":"Rejoignez mon groupe", "Join {instance}, a Mobilizon instance": "Rejoignez {instance}, une instance Mobilizon", "Join": "Rejoindre", "Keep the entire conversation about a specific topic together on a single page.": "Rassemblez sur une seule page toute la conversation \u00e0 propos d'un sujet sp\u00e9cifique.", @@ -1092,7 +1094,9 @@ "Set an URL to a page with your own privacy policy.": "Entrez une URL vers une page web avec votre propre politique de confidentialit\u00e9.", "Set an URL to a page with your own terms.": "Entrez une URL vers une page web avec vos propres conditions d'utilisation.", "Settings": "Param\u00e8tres", + "Share link":"Partager le lien", "Share this event": "Partager l'\u00e9v\u00e9nement", + "Share this group invitation link":"Partager ce lien d'invitation de groupe", "Share this group": "Partager ce groupe", "Share this post": "Partager ce billet", "Share": "Partager", @@ -1377,7 +1381,7 @@ "Update group posts": "Mettre \u00e0 jour des billets de groupes", "Update group resources": "Mettre \u00e0 jour des ressources de groupes", "Update group": "Mettre \u00e0 jour le groupe", - "Update invitation" : "Mettre à jour l'invitation", + "Update label" : "Mettre à jour le label", "Update my event": "Mettre \u00e0 jour mon \u00e9v\u00e9nement", "Update my profile": "Mettre \u00e0 jour mon profil", "Update post": "Mettre \u00e0 jour le billet", diff --git a/src/views/Group/GroupInvitations.vue b/src/views/Group/GroupInvitations.vue index 8da8a36ff..34dad2cf3 100644 --- a/src/views/Group/GroupInvitations.vue +++ b/src/views/Group/GroupInvitations.vue @@ -30,14 +30,13 @@

{{ t("Invitation links") }}

- {{ t("New invitation") }} - - + - - {{ props.row.label }} - - - {{ t("Invite link") }} + + + + + + {{ props.row.label }} + + - - - -
{{ t("Edit invitation") }}{{ t("Share link") }} - {{ t("Update invitation") }} - {{ t("Cancel update") }} - {{ t("Delete invitation") }} -
-
-
+
+ +
+ {{ t("Edit label") }} + {{ t("Update label") }} + {{ t("Cancel update") }} + {{ t("Delete invitation") }} +
+
+
+