Skip to content

Commit

Permalink
chg: change signup button on login page to a less prevalent question …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
vaab committed Nov 16, 2023
1 parent 630f0c8 commit 72695b4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 46 deletions.
53 changes: 30 additions & 23 deletions src/i18n/fr-FR/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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é ?"

Expand All @@ -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"

Expand All @@ -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"

Expand All @@ -392,19 +392,19 @@ msgstr "Nom"
msgid "Later"
msgstr "Plus tard"

#: src/main.ts:106
#: src/main.ts:108
msgid "Log in"
msgstr "Se connecter"

#: src/router/index.ts:32
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"

Expand All @@ -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"

Expand All @@ -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"

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand All @@ -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é"

Expand Down Expand Up @@ -714,15 +719,15 @@ 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"

#: src/components/TheNavBar.vue:139
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"

Expand Down Expand Up @@ -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 ""
Expand All @@ -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 ""
Expand Down Expand Up @@ -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 ?"
Expand All @@ -1012,7 +1019,7 @@ msgstr ""
msgid "year"
msgstr "année"

#: src/views/Login.vue:208
#: src/views/Login.vue:201
msgid "Yes"
msgstr "Oui"

Expand Down
41 changes: 18 additions & 23 deletions src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,23 @@
</span>
</p>
</div>
<div
v-if="!$config?.hideResetPassword && canResetPassword"
class="forgot-password mb-4"
>
<div class="links-container mb-2">
<button
v-if="!$config?.hideResetPassword && canResetPassword"
@click="$router.push({ name: 'Reset password' })"
type="button"
>
{{ $gettext("Forgot password ?") }}
</button>
<button
v-if="
!$config?.hideAccountCreate && ($config.signUpUrl || canSignup)
"
@click="onClickSignUp()"
type="button"
>
{{ $gettext("Not a member yet ?") }}
</button>
</div>
<div class="login-buttons">
<div>
Expand All @@ -62,22 +69,8 @@
</button>
</p>
</div>
<div
v-if="
!$config?.hideAccountCreate && ($config.signUpUrl || canSignup)
"
>
<p class="control has-text-centered">
<button
@click="onClickSignUp()"
type="button"
class="button create-account"
>
{{ $gettext("Sign up") }}
</button>
</p>
</div>
</div>
<p class="has-text-danger has-text-centered" v-if="fail">
{{ fail }}
</p>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 72695b4

Please sign in to comment.