From 72695b4a50713a330d945c1bb238d1c033bd5d9a Mon Sep 17 00:00:00 2001
From: Valentin Lab
Date: Thu, 16 Nov 2023 16:01:26 +0100
Subject: [PATCH] chg: change signup button on login page to a less prevalent
question link mentioning membership
Some user have been confused by the wording and the prevalence of the
previous signup button and were drawn to create a second account after
creating their account on the administrative backend previously.
---
src/i18n/fr-FR/app.po | 53 ++++++++++++++++++++++++-------------------
src/views/Login.vue | 41 +++++++++++++++------------------
2 files changed, 48 insertions(+), 46 deletions(-)
diff --git a/src/i18n/fr-FR/app.po b/src/i18n/fr-FR/app.po
index 628c68df..b7ccd563 100644
--- a/src/i18n/fr-FR/app.po
+++ b/src/i18n/fr-FR/app.po
@@ -197,7 +197,7 @@ msgstr "Validation des demandes de crédit"
msgid "Approve"
msgstr "Valider"
-#: src/views/Login.vue:210
+#: src/views/Login.vue:203
msgid "Ask me later"
msgstr "Plus tard"
@@ -209,7 +209,7 @@ msgstr "Authentification"
msgid "Biometric login successfully disabled"
msgstr "Identification biométrique désactivée"
-#: src/views/Login.vue:242
+#: src/views/Login.vue:235
msgid "Biometric login successfully set up"
msgstr "Identification biométrique mise en place"
@@ -247,7 +247,7 @@ msgstr "valider"
msgid "Confirm password"
msgstr "Confirmez votre mot de passe"
-#: src/views/Login.vue:165
+#: src/views/Login.vue:158
msgid "Connection successful"
msgstr "Connection réussie"
@@ -317,7 +317,7 @@ msgstr "Courriel"
msgid "Email sent"
msgstr "Courriel envoyé"
-#: src/views/Login.vue:203
+#: src/views/Login.vue:196
msgid "Enable biometric login"
msgstr "Activer le login biométrique"
@@ -345,7 +345,7 @@ msgstr "Prénom"
msgid "for account %{ name }"
msgstr "pour le compte %{ name }"
-#: src/views/Login.vue:48 src/views/Login.vue:51
+#: src/views/Login.vue:48
msgid "Forgot password ?"
msgstr "Mot de passe oublié ?"
@@ -368,7 +368,7 @@ msgstr "Les codes PINs entrés ne sont pas identiques"
msgid "Help"
msgstr "Aide"
-#: src/views/Login.vue:177
+#: src/views/Login.vue:170
msgid "Invalid credentials"
msgstr "Identifiant ou mot de passe incorrect"
@@ -380,7 +380,7 @@ msgstr "E-mail invalide."
msgid "Invalid QR code content format"
msgstr "Format du QR code invalide"
-#: src/main.ts:224
+#: src/main.ts:226
msgid "Language settings"
msgstr "Préférences de langue"
@@ -392,7 +392,7 @@ msgstr "Nom"
msgid "Later"
msgstr "Plus tard"
-#: src/main.ts:106
+#: src/main.ts:108
msgid "Log in"
msgstr "Se connecter"
@@ -400,11 +400,11 @@ msgstr "Se connecter"
msgid "Login"
msgstr "Connection"
-#: src/main.ts:105
+#: src/main.ts:107
msgid "Login into Monujo"
msgstr "S'authentifier pour accéder à Monujo"
-#: src/main.ts:134
+#: src/main.ts:136
msgid "Main account"
msgstr "Compte principal"
@@ -424,7 +424,7 @@ msgstr "Montant minimum à créditer : "
msgid "month"
msgstr "mois"
-#: src/main.ts:132
+#: src/main.ts:134
msgid "Mutual credit"
msgstr "Crédit mutuel"
@@ -437,7 +437,7 @@ msgstr "Nom, adresse email ou téléphone"
msgid "Next"
msgstr "Suivant"
-#: src/views/Login.vue:209
+#: src/views/Login.vue:202
msgid "No"
msgstr "Non"
@@ -466,6 +466,11 @@ msgstr "Aucune transaction à afficher"
msgid "No transactions found"
msgstr "Aucune transaction à afficher"
+#: src/views/Login.vue:35 src/views/Login.vue:39 src/views/Login.vue:53
+#: src/views/Login.vue:55
+msgid "Not a member yet ?"
+msgstr "Pas encore adhérent ?"
+
#: src/components/ConfirmPaymentModal.vue:149
#: src/components/ConfirmPaymentModal.vue:152
msgid "Ok"
@@ -598,7 +603,7 @@ msgstr "Veuillez scanner le QR code ci-dessus pour continuer"
msgid "Please try again or contact your administrator"
msgstr "Veuillez ré-éssayer ou contacter votre administrateur"
-#: src/main.ts:131
+#: src/main.ts:133
msgid "Pledged account"
msgstr "Compte nantis"
@@ -629,11 +634,11 @@ msgstr "Rafraîchir le solde et les transactions"
msgid "Request"
msgstr "Recevoir"
-#: src/views/Login.vue:181
+#: src/views/Login.vue:174
msgid "Request failed to remote server."
msgstr "La requête a échoué, impossible de joindre le serveur distant."
-#: src/views/Login.vue:171
+#: src/views/Login.vue:164
msgid "Request refused by remote server. Contact your administrator"
msgstr "Refus du serveur distant, contactez votre administrateur"
@@ -656,7 +661,7 @@ msgstr "Ré-initialiser le mot de passe"
msgid "Save"
msgstr "Enregistrer"
-#: src/main.ts:195
+#: src/main.ts:197
msgid "Security settings"
msgstr "Préférences de sécurité"
@@ -714,7 +719,7 @@ msgstr "Partager"
msgid "Share transactions"
msgstr "Partager les opérations"
-#: src/components/TheNavBar.vue:55 src/views/Login.vue:61
+#: src/components/TheNavBar.vue:55 src/views/Login.vue:68
msgid "Sign in"
msgstr "Se connecter"
@@ -722,7 +727,7 @@ msgstr "Se connecter"
msgid "Sign out"
msgstr "Déconnexion"
-#: src/views/Login.vue:72 src/views/Signup.vue:146
+#: src/views/Signup.vue:146
msgid "Sign up"
msgstr "Créer un compte"
@@ -933,13 +938,13 @@ msgstr "Impossible de lire le QR code."
msgid "Unexpected error occurred"
msgstr "Erreure Inattendue"
-#: src/views/Login.vue:235
+#: src/views/Login.vue:228
msgid "Unexpected issue occurred while saving your credentials"
msgstr ""
"Une erreur inattendue est survenue pendant l'enregistrement de vos "
"identifiants"
-#: src/views/Login.vue:184 src/views/ResetPassword.vue:74
+#: src/views/Login.vue:177 src/views/ResetPassword.vue:74
#: src/views/Signup.vue:213
msgid "Unexpected issue when attempting to connect to remote server."
msgstr ""
@@ -948,7 +953,9 @@ msgstr ""
#: src/components/PendingTopUp.vue:89
msgid "unexpected server error occured while fetching pending topup list"
-msgstr "Il y a eu un problème lors de la tentative de téléchargement de la liste des demandes de rechargement"
+msgstr ""
+"Il y a eu un problème lors de la tentative de téléchargement de la liste des "
+"demandes de rechargement"
#: src/views/ResetPassword.vue:70
msgid ""
@@ -1000,7 +1007,7 @@ msgstr "Compte à créditer"
msgid "week"
msgstr "semaine"
-#: src/views/Login.vue:204
+#: src/views/Login.vue:197
msgid ""
"Would you like to use your device's biometric (fingerprint, face "
"recognition, ...) capability to login ?"
@@ -1012,7 +1019,7 @@ msgstr ""
msgid "year"
msgstr "année"
-#: src/views/Login.vue:208
+#: src/views/Login.vue:201
msgid "Yes"
msgstr "Oui"
diff --git a/src/views/Login.vue b/src/views/Login.vue
index 1afda868..9b095fd5 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -43,16 +43,23 @@
-
+
+
+
{{ fail }}
@@ -283,10 +276,12 @@
.login-buttons > div {
margin: 6px;
}
- .forgot-password {
- text-align: right;
- margin-right: 2px;
- margin-top: 10px;
+ .links-container {
+ margin-top: 1em;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+
button {
border: none;
background: none;