aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/oc/user.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2020-03-08 00:14:29 +0100
committerGravatar GitHub <noreply@github.com> 2020-03-08 00:14:29 +0100
commit51edbc1578fe49b281b39d91451d2b9df0092028 (patch)
treed82c6181797cbebe38e7a6dc5934237dc6597b15 /app/i18n/oc/user.php
parent128b3367880fd18e4179123b4e533d14902b484c (diff)
Improve login and registration pages (#2794)
* Keep the user on login page on failure * Show an error if username already exists * Check the password format in the backend * Return a better message if username is invalid * Add a title to the login page * wip: Improve look of login and register pages * Set a capital M in username help message On the registration page, username tip started with a minuscule, while the password tip started with a capital. * Change message if username is taken
Diffstat (limited to 'app/i18n/oc/user.php')
-rw-r--r--app/i18n/oc/user.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/i18n/oc/user.php b/app/i18n/oc/user.php
index dbab5b898..9a68c46f6 100644
--- a/app/i18n/oc/user.php
+++ b/app/i18n/oc/user.php
@@ -29,9 +29,16 @@ return array(
'welcome' => 'La benvenguda %s,',
),
),
+ 'password' => array(
+ 'invalid' => 'The password is invalid.', // TODO - Translation
+ ),
'tos' => array(
'feedback' => array(
'invalid' => 'Vos cal acceptar las condicions d’utilizacion per poder vos inscriure.',
),
),
+ 'username' => array(
+ 'invalid' => 'The username is invalid.', // TODO - Translation
+ 'taken' => 'The username %s is taken.', // TODO - Translation
+ ),
);