From 641abfd69688a7623e284aac0f66e63f3d98d296 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 6 Oct 2020 09:54:07 +0200 Subject: [PATCH] Improve profile registration Signed-off-by: Thomas Citharel --- js/src/i18n/en_US.json | 10 ++++++---- js/src/i18n/fr_FR.json | 9 +++++++-- js/src/views/Account/Register.vue | 29 +++++++++++++++++------------ 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index 9feaa3a7a..f817b1128 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -358,7 +358,6 @@ "This is a demonstration site to test the beta version of Mobilizon.": "This is a demonstration site to test the beta version of Mobilizon.", "This will delete / anonymize all content (events, comments, messages, participations…) created from this identity.": "This will delete / anonymize all content (events, comments, messages, participations…) created from this identity.", "Title": "Title", - "To achieve your registration, please create a first identity profile.": "To achieve your registration, please create a first identity profile.", "To change the world, change the software": "To change the world, change the software", "To confirm, type your event title \"{eventTitle}\"": "To confirm, type your event title \"{eventTitle}\"", "To confirm, type your identity username \"{preferredUsername}\"": "To confirm, type your identity username \"{preferredUsername}\"", @@ -743,8 +742,6 @@ "{group}'s events": "{group}'s events", "When someone from the group creates an event and attributes it to the group, it will show up here.": "When someone from the group creates an event and attributes it to the group, it will show up here.", "View all": "View all", - "The username is a unique identifier of your account on this and all the other instances. It's as unique as an email address, which makes it easy for other people to interact with it.": "The username is a unique identifier of your account on this and all the other instances. It's as unique as an email address, which makes it easy for other people to interact with it.", - "Bio": "Bio", "+ Start a discussion": "+ Start a discussion", "+ Add a resource": "+ Add a resource", "+ Create an event": "+ Create an event", @@ -785,5 +782,10 @@ "Created by {name}": "Created by {name}", "View all posts": "View all posts", "Didn't receive the instructions?": "Didn't receive the instructions?", - "Allow all comments from users with accounts": "Allow all comments from logged-in users" + "Allow all comments from users with accounts": "Allow all comments from logged-in users", + "This identifier is unique to your profile. It allows others to find you.": "This identifier is unique to your profile. It allows others to find you.", + "Displayed nickname": "Displayed nickname", + "Short bio": "Short bio", + "Congratulations, your account is now created!": "Congratulations, your account is now created!", + "Now, create your first profile:": "Now, create your first profile:" } diff --git a/js/src/i18n/fr_FR.json b/js/src/i18n/fr_FR.json index 484d9352f..0b4b4abe6 100644 --- a/js/src/i18n/fr_FR.json +++ b/js/src/i18n/fr_FR.json @@ -691,7 +691,7 @@ "Updated": "Mis à jour", "Use my location": "Utiliser ma position", "User": "Utilisateur·ice", - "Username": "Pseudo", + "Username": "Identifiant", "Users": "Utilisateur⋅ice⋅s", "View a reply": "Aucune réponse | Voir une réponse | Voir {totalReplies} réponses", "View all": "Voir tous", @@ -824,5 +824,10 @@ "{profile} (by default)": "{profile} (par défault)", "{title} ({count} todos)": "{title} ({count} todos)", "© The OpenStreetMap Contributors": "© Les Contributeur⋅ices OpenStreetMap", - "Allow all comments from users with accounts": "Autoriser tous les commentaires d'utilisateur·ices avec des comptes" + "Allow all comments from users with accounts": "Autoriser tous les commentaires d'utilisateur·ices avec des comptes", + "This identifier is unique to your profile. It allows others to find you.": "Cet identifiant est unique à votre profil. Il permet à d'autres personnes de vous trouver.", + "Displayed nickname": "Pseudonyme affiché", + "Short bio": "Courte biographie", + "Congratulations, your account is now created!": "Bravo, votre compte est dorénavant créé !", + "Now, create your first profile:": "Maintenant, créez votre premier profil :" } diff --git a/js/src/views/Account/Register.vue b/js/src/views/Account/Register.vue index 2229c6497..1f1678000 100644 --- a/js/src/views/Account/Register.vue +++ b/js/src/views/Account/Register.vue @@ -2,12 +2,15 @@
-

{{ $t("Register an account on Mobilizon!") }}

- {{ - $t("To achieve your registration, please create a first identity profile.") - }} +

+ {{ $t("Congratulations, your account is now created!") }} +

+

{{ $t("Register an account on Mobilizon!") }}

+

+ {{ $t("Now, create your first profile:") }} +

- +

- {{ - $t( - "The username is a unique identifier of your account on this and all the other instances. It's as unique as an email address, which makes it easy for other people to interact with it." - ) - }} + {{ $t("This identifier is unique to your profile. It allows others to find you.") }}

- + @@ -161,6 +160,7 @@ export default class Register extends mixins(identityEditionMixin) {