]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Display login in config / user
authorJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 6 Jun 2019 11:51:25 +0000 (13:51 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Thu, 6 Jun 2019 11:51:25 +0000 (13:51 +0200)
Just so the user can see its login

16 files changed:
src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml
src/Wallabag/CoreBundle/Resources/translations/messages.th.yml
src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig

index c6a91cd1425af2aab0f9cf5559a6d38929a218b3..e9552ce0e241d20e2a2a66e78c2dd732a5ba439f 100644 (file)
@@ -102,6 +102,7 @@ config:
         # feed_limit: 'Number of items in the feed'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Navn'
         email_label: 'Emailadresse'
         two_factor:
index 4b78530603ff6b7a420a84ba010052c4ee4809c9..67744aeb8583642d2a771f4eb771a3722f0ea92c 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Anzahl der Einträge pro Feed'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Name'
         email_label: 'E-Mail-Adresse'
         two_factor:
index 1f8c47aac2c6b1938f35dad5c9c74a73a0431d68..2dda77bbcfbc6460b0276dd7ff40424d01183619 100644 (file)
@@ -5,7 +5,7 @@ security:
         forgot_password: 'Forgot your password?'
         submit: 'Login'
         register: 'Register'
-        username: 'Username'
+        username: 'Login'
         password: 'Password'
         cancel: 'Cancel'
     resetting:
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Number of items in the feed'
     form_user:
         two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        login_label: 'Login'
         name_label: 'Name'
         email_label: 'Email'
         two_factor:
@@ -544,7 +545,7 @@ user:
         no: No
         create_new_one: Create a new user
     form:
-        username_label: 'Username'
+        username_label: 'Login'
         name_label: 'Name'
         password_label: 'Password'
         repeat_new_password_label: 'Repeat new password'
@@ -559,7 +560,7 @@ user:
         delete_confirm: Are you sure?
         back_to_list: Back to list
     search:
-        placeholder: Filter by username or email
+        placeholder: Filter by login or email
 
 site_credential:
     page_title: Site credentials management
@@ -573,7 +574,7 @@ site_credential:
         no: No
         create_new_one: Create a new credential
     form:
-        username_label: 'Username'
+        username_label: 'Login'
         host_label: 'Host (subdomain.example.org, .example.org, etc.)'
         password_label: 'Password'
         save: Save
index 06fa1e48f5e04917fcd3dda9ddac1de137b81d82..aa6497990962c707cfd92b5b2b88fa32a2c220e6 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Límite de artículos en feed RSS'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nombre'
         email_label: 'Dirección de e-mail'
         two_factor:
index 5c1eaccc72db4615a68a43cf69801d727750967a..5f9e7b6c0d5bed4190d2d83c57b6e7e68a859ff6 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'محدودیت آر-اس-اس'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'نام'
         email_label: 'نشانی ایمیل'
         two_factor:
index 09c1cc8f0eec77ab0e720b3b52351844f130f7ac..9597ef4983fabde24a150c0743e4f4a9292f86a8 100644 (file)
@@ -5,7 +5,7 @@ security:
         forgot_password: "Mot de passe oublié ?"
         submit: "Se connecter"
         register: "Créer un compte"
-        username: "Nom d’utilisateur"
+        username: "Identifiant"
         password: "Mot de passe"
         cancel: "Annuler"
     resetting:
@@ -102,6 +102,7 @@ config:
         feed_limit: "Nombre d’articles dans le flux"
     form_user:
         two_factor_description: "Activer l’authentification double-facteur veut dire que vous allez recevoir un code par courriel OU que vous devriez utiliser une application de mot de passe à usage unique (comme Google Authenticator, Authy or FreeOTP) pour obtenir un code temporaire à chaque nouvelle connexion non approuvée. Vous ne pouvez pas choisir les deux options."
+        login_label: 'Identifiant'
         name_label: "Nom"
         email_label: "Adresse courriel"
         two_factor:
@@ -544,7 +545,7 @@ user:
         no: "Non"
         create_new_one: "Créer un nouvel utilisateur"
     form:
-        username_label: "Nom d’utilisateur"
+        username_label: "Identifiant"
         name_label: "Nom"
         password_label: "Mot de passe"
         repeat_new_password_label: "Confirmez votre nouveau mot de passe"
@@ -560,7 +561,7 @@ user:
         delete_confirm: "Êtes-vous sûr ?"
         back_to_list: "Revenir à la liste"
     search:
-        placeholder: "Filtrer par nom d’utilisateur ou email"
+        placeholder: "Filtrer par identifiant ou email"
 
 site_credential:
     page_title: Gestion des accès aux sites
index 92f2415b8a817691262bf1e8f4abcae43af3d3fb..6912df0fae4783b54c70fad1f15bb5bf4fe2c335 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Numero di elementi nel feed'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nome'
         email_label: 'E-mail'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index 4439cbcd57c0555d978aa89857b3848af72560b1..8d07f8db72397dbab599c90850aba9f7e638b617 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: "Nombre d'articles dins un flux"
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nom'
         email_label: 'Adreça de corrièl'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index 8311770f3686d2b846ea25ac40a15e3dc0501c60..bf7e2930fa02d7e80f777fe1547667c4646ac907 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Link do RSS'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nazwa'
         email_label: 'Adres email'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index c83bf6c1ea7ffc87c78ebae6053b9b3a2203ab65..ba36baa44d58d960c1c132a868b670299c3a7676 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Número de itens no feed'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nome'
         email_label: 'E-mail'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index c8bf80831a5d20aa3f994472441e3f585e5fdda6..b8e6883ae4b1f56b3f4bbb28c8c7a1454e1c90b9 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'Limită RSS'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Nume'
         email_label: 'E-mail'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index 5d0e70c934089142db93aec5248035f2042bdb29..443826d7c25a4fadbcc6eca41f71142d77dec798 100644 (file)
@@ -100,6 +100,7 @@ config:
         feed_limit: 'Количество записей в фиде'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'Имя'
         email_label: 'Email'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index 66426d5354af9ed7b121214cefd6a02b2735b6e9..f006bf3abbbc6945ac1850114ef1c989e7add1df 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'จำนวนไอเทมที่เก็บ'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'ชื่อ'
         email_label: 'อีเมล'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index 50bd38e366a2dfc8ef748caf30e0d2c180212a39..3920266d6da9c033b9a80993c43155cf00312e9d 100644 (file)
@@ -102,6 +102,7 @@ config:
         feed_limit: 'RSS içeriğinden talep edilecek makale limiti'
     form_user:
         # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option."
+        # login_label: 'Login'
         name_label: 'İsim'
         email_label: 'E-posta'
             # emailTwoFactor_label: 'Using email (receive a code by email)'
index a1caf242211b0eb1353e59a1b70491c2b67bf8d3..eba4539fa6a4e98ffc921786219d82774ca608a7 100644 (file)
                 {% else %}
                     – <a href="{{ path('generate_token') }}">{{ 'config.form_feed.token_create'|trans }}</a>
                 {% endif %}
-
             </div>
         </fieldset>
 
 
     {{ form_start(form.user) }}
         {{ form_errors(form.user) }}
+        <fieldset class="w500p inline">
+            <div class="row">
+                <label>{{ 'config.form_user.login_label'|trans }}</label>
+                {{ app.user.username }}
+            </div>
+        </fieldset>
 
         <fieldset class="w500p inline">
             <div class="row">
index a48c9e28af12b38a32a2119f10a1ce695b7592db..990546e8cd61c401b02aeda1acc9ddc385a3c1ce 100644 (file)
                         {{ form_start(form.user) }}
                             {{ form_errors(form.user) }}
 
+                            <div class="row">
+                                <div class="col s12">
+                                    <h6 class="grey-text">{{ 'config.form_user.login_label'|trans }}</h6>
+                                    <div>
+                                        {{ app.user.username }}
+                                    </div>
+                                </div>
+                            </div>
+
                             <div class="row">
                                 <div class="input-field col s12">
                                     {{ form_label(form.user.name) }}