From 540a9bc4a274fc5975b73a66ccf5b91bd3e226f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 12 Nov 2016 13:18:39 +0100 Subject: [PATCH] Added help on config screen --- docs/de/user/configuration.rst | 6 +-- docs/en/user/configuration.rst | 6 +-- docs/en/user/import.rst | 2 +- docs/fr/user/configuration.rst | 6 +-- docs/fr/user/import.rst | 2 +- src/Wallabag/CoreBundle/Entity/Config.php | 2 +- .../Resources/translations/messages.da.yml | 7 +++ .../Resources/translations/messages.de.yml | 7 +++ .../Resources/translations/messages.en.yml | 7 +++ .../Resources/translations/messages.es.yml | 7 +++ .../Resources/translations/messages.fa.yml | 7 +++ .../Resources/translations/messages.fr.yml | 7 +++ .../Resources/translations/messages.it.yml | 7 +++ .../Resources/translations/messages.oc.yml | 7 +++ .../Resources/translations/messages.pl.yml | 7 +++ .../Resources/translations/messages.pt.yml | 7 +++ .../Resources/translations/messages.ro.yml | 7 +++ .../Resources/translations/messages.tr.yml | 7 +++ .../Resources/translations/validators.da.yml | 2 +- .../Resources/translations/validators.de.yml | 2 +- .../Resources/translations/validators.en.yml | 2 +- .../Resources/translations/validators.es.yml | 2 +- .../Resources/translations/validators.fa.yml | 2 +- .../Resources/translations/validators.fr.yml | 2 +- .../Resources/translations/validators.it.yml | 2 +- .../Resources/translations/validators.oc.yml | 2 +- .../Resources/translations/validators.pl.yml | 2 +- .../Resources/translations/validators.pt.yml | 2 +- .../Resources/translations/validators.ro.yml | 2 +- .../Resources/translations/validators.tr.yml | 2 +- .../views/themes/baggy/Config/index.html.twig | 4 ++ .../themes/material/Config/index.html.twig | 48 ++++++++++++++++--- .../Controller/ConfigControllerTest.php | 2 +- 33 files changed, 152 insertions(+), 34 deletions(-) diff --git a/docs/de/user/configuration.rst b/docs/de/user/configuration.rst index 0b0793b1..23591cb9 100644 --- a/docs/de/user/configuration.rst +++ b/docs/de/user/configuration.rst @@ -13,8 +13,7 @@ Einstellungen Theme ~~~~~ -wallabag ist anpassbar. Du kannst dein bevorzugtes Theme hier auswählen. Du kannst -auch ein neues erstellen, ein extra Kapitel wird dem gewidmet sein. Das Standardtheme +wallabag ist anpassbar. Du kannst dein bevorzugtes Theme hier auswählen. Das Standardtheme ist ``Material``, es ist das Theme, dass in den Dokumentationsbildschirmfotos genutzt wird. Artikel pro Seite @@ -31,8 +30,7 @@ ein schneller oder langsamer Leser bist. wallabag wird die Lesezeit für jeden A Sprache ~~~~~~~ -Du kannst die Sprache von der wallabag Benutzeroberfläche ändern. Du musst die ausloggen, damit diese -Änderung Wirkung zeigt. +Du kannst die Sprache von der wallabag Benutzeroberfläche ändern. RSS --- diff --git a/docs/en/user/configuration.rst b/docs/en/user/configuration.rst index f74924df..a6edcd4a 100644 --- a/docs/en/user/configuration.rst +++ b/docs/en/user/configuration.rst @@ -12,8 +12,7 @@ Settings Theme ~~~~~ -wallabag is customizable. You can choose your prefered theme here. You can also -create a new one, a chapter will be dedicated for this. The default theme is +wallabag is customizable. You can choose your prefered theme here. The default theme is ``Material``, it's the theme used in the documentation screenshots. Items per page @@ -30,8 +29,7 @@ a fast or a slow reader. wallabag will recalculate the reading time for each art Language ~~~~~~~~ -You can change the language of wallabag interface. You need to logout for this change -to take effect. +You can change the language of wallabag interface. RSS --- diff --git a/docs/en/user/import.rst b/docs/en/user/import.rst index 70f0187d..38cd30c1 100644 --- a/docs/en/user/import.rst +++ b/docs/en/user/import.rst @@ -16,7 +16,7 @@ a new application on their developer website to continue. and submit your new application Pocket will give you a **Consumer Key** (for example, `49961-985e4b92fe21fe4c78d682c1`). -You need to configure the ``pocket_consumer_key`` into the ``Import`` section in the ``Internal settings`` menu. +You need to configure the ``pocket_consumer_key`` in the ``Config`` menu. Now, all is fine to migrate from Pocket. diff --git a/docs/fr/user/configuration.rst b/docs/fr/user/configuration.rst index 8bfe66f5..8ee0a49b 100644 --- a/docs/fr/user/configuration.rst +++ b/docs/fr/user/configuration.rst @@ -13,8 +13,7 @@ Thème ~~~~~ L'affichage de wallabag est personnalisable. C'est ici que vous choisissez le thème -que vous préférez. Vous pouvez aussi en créer un nouveau, une documentation sera -disponible pour guider. Le thème par défaut est ``Material``, c'est celui +que vous préférez. Le thème par défaut est ``Material``, c'est celui qui est utilisé dans les captures d'écran de la documentation. Nombre d'articles par page @@ -30,8 +29,7 @@ wallabag calcule une durée de lecture pour chaque article. Vous pouvez définir Langue ~~~~~~ -Vous pouvez définir la langue de l'interface de wallabag. Vous devrez vous déconnecter -pour que la nouvelle langue soit prise en compte. +Vous pouvez définir la langue de l'interface de wallabag. RSS --- diff --git a/docs/fr/user/import.rst b/docs/fr/user/import.rst index 2e6caafb..33062a33 100644 --- a/docs/fr/user/import.rst +++ b/docs/fr/user/import.rst @@ -16,7 +16,7 @@ Vous devez créer une nouvelle application sur leur site dédié aux développeu termes d'utilisation du service et soumettez votre application Pocket vous fournira une **Consumer Key** (par exemple, `49961-985e4b92fe21fe4c78d682c1`). -Vous devez configurer la ``pocket_consumer_key`` dans la section ``Import`` du menu ``Configuration interne``. +Vous devez configurer la ``pocket_consumer_key`` dans le menu ``Configuration``. Maintenant, tout est bien configuré pour migrer depuis Pocket. diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index d0f0e3f3..69393ac9 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php @@ -68,7 +68,7 @@ class Config * @Assert\Range( * min = 1, * max = 100000, - * maxMessage = "validator.rss_limit_too_hight" + * maxMessage = "validator.rss_limit_too_high" * ) */ private $rssLimit; diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 1077e9d1..a1bee173 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml @@ -71,6 +71,11 @@ config: # 300_word: 'I read ~300 words per minute' # 400_word: 'I read ~400 words per minute' pocket_consumer_key_label: Brugers nøgle til Pocket for at importere materialer + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'RSS-feeds fra wallabag gør det muligt at læse de artikler, der gemmes i wallabag, med din RSS-læser. Det kræver, at du genererer et token først.' token_label: 'RSS-Token' @@ -88,7 +93,9 @@ config: name_label: 'Navn' email_label: 'Emailadresse' # twoFactorAuthentication_label: 'Two factor authentication' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Gammel adgangskode' new_password_label: 'Ny adgangskode' repeat_new_password_label: 'Gentag adgangskode' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index 843102f4..c9625d06 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml @@ -71,6 +71,11 @@ config: 300_word: 'Ich lese ~300 Wörter pro Minute' 400_word: 'Ich lese ~400 Wörter pro Minute' pocket_consumer_key_label: Consumer-Key für Pocket, um Inhalte zu importieren + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'Die RSS-Feeds von wallabag erlauben es dir, deine gespeicherten Artikel mit deinem bevorzugten RSS-Reader zu lesen. Vorher musst du jedoch einen Token erstellen.' token_label: 'RSS-Token' @@ -88,7 +93,9 @@ config: name_label: 'Name' email_label: 'E-Mail-Adresse' twoFactorAuthentication_label: 'Zwei-Faktor-Authentifizierung' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Altes Kennwort' new_password_label: 'Neues Kennwort' repeat_new_password_label: 'Neues Kennwort wiederholen' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index 3cee6468..139cdc24 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml @@ -71,6 +71,11 @@ config: 300_word: 'I read ~300 words per minute' 400_word: 'I read ~400 words per minute' pocket_consumer_key_label: Consumer key for Pocket to import contents + help_theme: "wallabag is customizable. You can choose your prefered theme here." + help_items_per_page: "You can change the number of articles displayed on each page." + help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + help_language: "You can change the language of wallabag interface." + help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.' token_label: 'RSS token' @@ -88,7 +93,9 @@ config: name_label: 'Name' email_label: 'Email' twoFactorAuthentication_label: 'Two factor authentication' + help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Current password' new_password_label: 'New password' repeat_new_password_label: 'Repeat new password' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index 480eacc4..70e64bec 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml @@ -71,6 +71,11 @@ config: 300_word: 'Leo ~300 palabras por minuto' 400_word: 'Leo ~400 palabras por minuto' # pocket_consumer_key_label: Consumer key for Pocket to import contents + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'Los feeds RSS de wallabag permiten leer los artículos guardados con su lector RSS favorito. Necesita generar un token primero' token_label: 'RSS token' @@ -88,7 +93,9 @@ config: name_label: 'Nombre' email_label: 'Direccion e-mail' twoFactorAuthentication_label: 'Autentificación de dos factores' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Contraseña actual' new_password_label: 'Nueva contraseña' repeat_new_password_label: 'Confirmar la nueva contraseña' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 619b596a..75359901 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml @@ -71,6 +71,11 @@ config: 300_word: 'من تقریباً ۳۰۰ واژه را در دقیقه می‌خوانم' 400_word: 'من تقریباً ۴۰۰ واژه را در دقیقه می‌خوانم' pocket_consumer_key_label: کلید کاربری Pocket برای درون‌ریزی مطالب + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'با خوراک آر-اس-اس که wallabag در اختیارتان می‌گذارد، می‌توانید مقاله‌های ذخیره‌شده را در نرم‌افزار آر-اس-اس دلخواه خود بخوانید. برای این کار نخست باید یک کد بسازید.' token_label: 'کد آر-اس-اس' @@ -88,7 +93,9 @@ config: name_label: 'نام' email_label: 'نشانی ایمیل' twoFactorAuthentication_label: 'تأیید ۲مرحله‌ای' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'رمز قدیمی' new_password_label: 'رمز تازه' repeat_new_password_label: 'رمز تازه را دوباره بنویسید' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index d7e839b2..f2c9d8db 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml @@ -71,6 +71,11 @@ config: 300_word: "Je lis environ 300 mots par minute" 400_word: "Je lis environ 400 mots par minute" pocket_consumer_key_label: Clé d’authentification Pocket pour importer les données + help_theme: "L'affichage de wallabag est personnalisable. C'est ici que vous choisissez le thème que vous préférez." + help_items_per_page: "Vous pouvez définir le nombre d'articles affichés sur chaque page." + help_reading_speed: "wallabag calcule une durée de lecture pour chaque article. Vous pouvez définir ici, grâce à cette liste déroulante, si vous lisez plus ou moins vite. wallabag recalculera la durée de lecture de chaque article." + help_language: "Vous pouvez définir la langue de l'interface de wallabag." + help_pocket_consumer_key: "Nécessaire pour l'import depuis Pocket. Vous pouvez le créer depuis votre compte Pocket." form_rss: description: "Les flux RSS fournis par wallabag vous permettent de lire vos articles sauvegardés dans votre lecteur de flux préféré. Pour pouvoir les utiliser, vous devez d’abord créer un jeton." token_label: "Jeton RSS" @@ -88,7 +93,9 @@ config: name_label: "Nom" email_label: "Adresse courriel" twoFactorAuthentication_label: "Double authentification" + help_twoFactorAuthentication: "Si vous activez 2FA, à chaque tentative de connexion à wallabag, vous recevrez un code par email." form_password: + description: "Vous pouvez changer ici votre mot de passe. Le mot de passe doit contenir au moins 8 caractères." old_password_label: "Mot de passe actuel" new_password_label: "Nouveau mot de passe" repeat_new_password_label: "Confirmez votre nouveau mot de passe" diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index eecd7882..b7d066ab 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml @@ -71,6 +71,11 @@ config: 300_word: 'Leggo ~300 parole al minuto' 400_word: 'Leggo ~400 parole al minuto' pocket_consumer_key_label: Consumer key per Pocket per importare i contenuti + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'I feed RSS generati da wallabag ti permettono di leggere i tuoi contenuti salvati con il tuo lettore di RSS preferito. Prima, devi generare un token.' token_label: 'RSS token' @@ -88,7 +93,9 @@ config: name_label: 'Nome' email_label: 'E-mail' twoFactorAuthentication_label: 'Two factor authentication' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Password corrente' new_password_label: 'Nuova password' repeat_new_password_label: 'Ripeti la nuova password' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index 7fa31bce..16ef1e5d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml @@ -71,6 +71,11 @@ config: 300_word: "Legissi a l'entorn de 300 mots per minuta" 400_word: "Legissi a l'entorn de 400 mots per minuta" pocket_consumer_key_label: Clau d'autentificacion Pocket per importar las donadas + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: "Los fluxes RSS fornits per wallabag vos permeton de legir vòstres articles salvagardats dins vòstre lector de fluxes preferit. Per los poder emplegar, vos cal, d'en primièr crear un geton." token_label: 'Geton RSS' @@ -88,7 +93,9 @@ config: name_label: 'Nom' email_label: 'Adreça de corrièl' twoFactorAuthentication_label: 'Dobla autentificacion' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Senhal actual' new_password_label: 'Senhal novèl' repeat_new_password_label: 'Confirmatz vòstre novèl senhal' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index 1b00fc6d..73250cc0 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml @@ -71,6 +71,11 @@ config: 300_word: 'Czytam ~300 słów na minutę' 400_word: 'Czytam ~400 słów na minutę' pocket_consumer_key_label: 'Klucz klienta Pocket do importu zawartości' + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'Kanały RSS prowadzone przez wallabag pozwalają Ci na czytanie twoich zapisanych artykułów w twoium ulubionym czytniku RSS. Musisz najpierw wynegenerować tokena.‌' token_label: 'Token RSS' @@ -88,7 +93,9 @@ config: name_label: 'Nazwa' email_label: 'Adres email' twoFactorAuthentication_label: 'Autoryzacja dwuetapowa' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Stare hasło' new_password_label: 'Nowe hasło' repeat_new_password_label: 'Powtórz nowe hasło' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index 54316161..a375ac7b 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml @@ -71,6 +71,11 @@ config: 300_word: 'Posso ler ~300 palavras por minuto' 400_word: 'Posso ler ~400 palavras por minuto' pocket_consumer_key_label: 'Chave do consumidor do Pocket para importar conteúdo' + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'Feeds RSS providos pelo wallabag permitem que você leia seus artigos salvos em seu leitor de RSS favorito. Você precisa gerar um token primeiro.' token_label: 'Token RSS' @@ -88,7 +93,9 @@ config: name_label: 'Nome' email_label: 'E-mail' twoFactorAuthentication_label: 'Autenticação de dois passos' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Senha atual' new_password_label: 'Nova senha' repeat_new_password_label: 'Repita a nova senha' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 65cedfb2..7d8fcea3 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml @@ -71,6 +71,11 @@ config: # 300_word: 'I read ~300 words per minute' # 400_word: 'I read ~400 words per minute' pocket_consumer_key_label: Cheie consumator pentru importarea contentului din Pocket + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'Feed-urile RSS oferite de wallabag îți permit să-ți citești articolele salvate în reader-ul tău preferat RSS.' token_label: 'RSS-Token' @@ -88,7 +93,9 @@ config: name_label: 'Nume' email_label: 'E-mail' # twoFactorAuthentication_label: 'Two factor authentication' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Parola veche' new_password_label: 'Parola nouă' repeat_new_password_label: 'Repeat new password' diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index 73fb6fce..357aa2ae 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml @@ -71,6 +71,11 @@ config: # 300_word: 'I read ~300 words per minute' # 400_word: 'I read ~400 words per minute' # pocket_consumer_key_label: Consumer key for Pocket to import contents + # help_theme: "wallabag is customizable. You can choose your prefered theme here." + # help_items_per_page: "You can change the number of articles displayed on each page." + # help_reading_speed: "wallabag calculates a reading time for each article. You can define here, thanks to this list, if you are a fast or a slow reader. wallabag will recalculate the reading time for each article." + # help_language: "You can change the language of wallabag interface." + # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." form_rss: description: 'wallabag RSS akışı kaydetmiş olduğunuz makalelerini favori RSS okuyucunuzda görüntülemenizi sağlar. Bunu yapabilmek için öncelikle belirteç (token) oluşturmalısınız.' token_label: 'RSS belirteci (token)' @@ -88,7 +93,9 @@ config: name_label: 'İsim' email_label: 'E-posta' twoFactorAuthentication_label: 'İki adımlı doğrulama' + # help_twoFactorAuthentication: "If you enable 2FA, each time you want to login to wallabag, you'll receive a code by email." form_password: + # description: "You can change your password here. Your new password should by at least 8 characters long." old_password_label: 'Eski şifre' new_password_label: 'Yeni şifre' repeat_new_password_label: 'Yeni şifrenin tekrarı' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml index 313339ed..32a8b4a8 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Adgangskoden skal være mindst 8 tegn' # password_wrong_value: 'Wrong value for your current password' # item_per_page_too_high: 'This will certainly kill the app' - # rss_limit_too_hight: 'This will certainly kill the app' + # rss_limit_too_high: 'This will certainly kill the app' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml index 486cc3e4..37b9888f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Kennwort-Mindestlänge von acht Zeichen nicht erfüllt' password_wrong_value: 'Falscher Wert für dein aktuelles Kennwort' item_per_page_too_high: 'Dies wird die Anwendung möglicherweise beenden' - rss_limit_too_hight: 'Dies wird die Anwendung möglicherweise beenden' + rss_limit_too_high: 'Dies wird die Anwendung möglicherweise beenden' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml index cdfa46a6..29217497 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Password should by at least 8 chars long' password_wrong_value: 'Wrong value for your current password' item_per_page_too_high: 'This will certainly kill the app' - rss_limit_too_hight: 'This will certainly kill the app' + rss_limit_too_high: 'This will certainly kill the app' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml index ebbff7cf..57ddaa5a 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'La contraseña debe tener al menos 8 carácteres' password_wrong_value: 'Entrada equivocada para su contraseña actual' item_per_page_too_high: 'Esto matará la aplicación' - rss_limit_too_hight: 'Esto matará la aplicación' + rss_limit_too_high: 'Esto matará la aplicación' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml index 01c62ae0..e0536d18 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'رمز شما باید ۸ حرف یا بیشتر باشد' password_wrong_value: 'رمز فعلی را اشتباه وارد کرده‌اید' item_per_page_too_high: 'با این تعداد برنامه به فنا می‌رود' - rss_limit_too_hight: 'با این تعداد برنامه به فنا می‌رود' + rss_limit_too_high: 'با این تعداد برنامه به فنا می‌رود' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml index 2d5eca29..64574709 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml @@ -3,4 +3,4 @@ validator: password_too_short: "Le mot de passe doit contenir au moins 8 caractères" password_wrong_value: "Votre mot de passe actuel est faux" item_per_page_too_high: "Ça ne va pas plaire à l’application" - rss_limit_too_hight: "Ça ne va pas plaire à l’application" + rss_limit_too_high: "Ça ne va pas plaire à l’application" diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml index 826206f4..d9beb54f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'La password deve essere lunga almeno 8 caratteri' password_wrong_value: 'Valore inserito per la password corrente errato' item_per_page_too_high: 'Questo valore è troppo alto' - rss_limit_too_hight: 'Questo valore è troppo alto' + rss_limit_too_high: 'Questo valore è troppo alto' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml index 71b67575..f92c2708 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Lo senhal deu aver almens 8 caractèrs' password_wrong_value: 'Vòstre senhal actual es pas bon' item_per_page_too_high: "Aquò li agradarà pas a l'aplicacion" - rss_limit_too_hight: "Aquò li agradarà pas a l'aplicacion" + rss_limit_too_high: "Aquò li agradarà pas a l'aplicacion" diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml index 4f5a3caf..ffcd5e7f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Hasło powinno mieć minimum 8 znaków długości' password_wrong_value: 'Twoje obecne hasło jest błędne' item_per_page_too_high: 'To może spowodować problemy z aplikacją' - rss_limit_too_hight: 'To może spowodować problemy z aplikacją' + rss_limit_too_high: 'To może spowodować problemy z aplikacją' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml index 49890830..4eddff10 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'A senha deve ter pelo menos 8 caracteres' password_wrong_value: 'A senha atual informada está errada' item_per_page_too_high: 'Certamente isso pode matar a aplicação' - rss_limit_too_hight: 'Certamente isso pode matar a aplicação' + rss_limit_too_high: 'Certamente isso pode matar a aplicação' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml index 2ffbbd4d..59a8cdd8 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml @@ -3,4 +3,4 @@ validator: password_too_short: 'Parola ar trebui să conțină cel puțin 8 caractere' # password_wrong_value: 'Wrong value for your current password' # item_per_page_too_high: 'This will certainly kill the app' - # rss_limit_too_hight: 'This will certainly kill the app' + # rss_limit_too_high: 'This will certainly kill the app' diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml index 1b358965..01388771 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml @@ -3,4 +3,4 @@ validator: # password_too_short: 'Password should by at least 8 chars long' # password_wrong_value: 'Wrong value for your current password' # item_per_page_too_high: 'This will certainly kill the app' - # rss_limit_too_hight: 'This will certainly kill the app' + # rss_limit_too_high: 'This will certainly kill the app' diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index ff7ef73a..56fd8e0c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -155,6 +155,10 @@ {{ form_start(form.pwd) }} {{ form_errors(form.pwd) }} +
+ {{ 'config.form_password.description'|trans }} +
+
{{ form_label(form.pwd.old_password) }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index 19faddc0..9f67217b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -24,23 +24,33 @@ {{ form_errors(form.config) }}
-
+
{{ form_label(form.config.theme) }} {{ form_errors(form.config.theme) }} {{ form_widget(form.config.theme) }}
+
-
+
{{ form_label(form.config.items_per_page) }} {{ form_errors(form.config.items_per_page) }} {{ form_widget(form.config.items_per_page) }}
+
-
+
{{ form_label(form.config.reading_speed) }} {{ form_errors(form.config.reading_speed) }} {{ form_widget(form.config.reading_speed) }} @@ -49,18 +59,28 @@ myreadspeed

+
-
+
{{ form_label(form.config.language) }} {{ form_errors(form.config.language) }} {{ form_widget(form.config.language) }}
+
-
+
{{ form_label(form.config.pocket_consumer_key) }} {{ form_errors(form.config.pocket_consumer_key) }} {{ form_widget(form.config.pocket_consumer_key) }} @@ -69,6 +89,11 @@ https://getpocket.com/developer/docs/authentication

+
{{ form_widget(form.config.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} @@ -152,7 +177,7 @@ {% if twofactor_auth %}
-
+
{{ 'config.form_user.two_factor_description'|trans }}
@@ -161,6 +186,11 @@ {{ form_label(form.user.twoFactorAuthentication) }} {{ form_errors(form.user.twoFactorAuthentication) }}
+
{% endif %} @@ -173,6 +203,12 @@ {{ form_start(form.pwd) }} {{ form_errors(form.pwd) }} +
+
+ {{ 'config.form_password.description'|trans }} +
+
+
{{ form_label(form.pwd.old_password) }} diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php index 1954c654..d4fbe2d4 100644 --- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php @@ -373,7 +373,7 @@ class ConfigControllerTest extends WallabagCoreTestCase [ 'rss_config[rss_limit]' => 1000000000000, ], - 'validator.rss_limit_too_hight', + 'validator.rss_limit_too_high', ], ]; } -- 2.41.0