X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FConfig%2Findex.html.twig;h=9fb92d3d71ddc526978121ad988a2461967e0f76;hb=5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3;hp=8743dc1dd0b207f15508376b0a734f60e0afb8d9;hpb=23ff8d36199c0cddb5bae4a5010cb71f861eeef8;p=github%2Fwallabag%2Fwallabag.git 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 8743dc1d..9fb92d3d 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 @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}config{% endtrans %}{% endblock %} +{% block title %}{{ 'config.page_title'|trans }}{% endblock %} {% block content %} @@ -11,14 +11,14 @@
@@ -28,9 +28,9 @@
+ {{ form_label(form.config.theme) }} {{ form_errors(form.config.theme) }} {{ form_widget(form.config.theme) }} -
@@ -42,6 +42,18 @@
+
+
+ {{ form_label(form.config.reading_speed) }} + {{ form_errors(form.config.reading_speed) }} + {{ form_widget(form.config.reading_speed) }} +

+ {{ 'config.form_settings.reading_speed.help_message'|trans }} + myreadspeed +

+
+
+
{{ form_label(form.config.language) }} @@ -50,10 +62,8 @@
- - + {{ form_widget(form.config.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.config) }} @@ -63,33 +73,37 @@
- {% trans %}RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.{% endtrans %} + {{ 'config.form_rss.description'|trans }}
- +
{% if rss.token %} {{ rss.token }} {% else %} - {% trans %}No token{% endtrans %} + {{ 'config.form_rss.no_token'|trans }} {% endif %} - – {% if rss.token %}{% trans %}Reset your token{% endtrans %}{% else %}{% trans %}Create your token{% endtrans %}{% endif %} + – + {% if rss.token %} + {{ 'config.form_rss.token_reset'|trans }} + {% else %} + {{ 'config.form_rss.token_create'|trans }} + {% endif %}
{% if rss.token %}
- - - + +
{% endif %} @@ -102,11 +116,8 @@ - - - + {{ form_widget(form.rss.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.rss) }} @@ -133,7 +144,7 @@ {% if twofactor_auth %}
- {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %} + {{ 'config.form_user.two_factor_description'|trans }}
@@ -146,11 +157,8 @@ {% endif %} - - - + {{ form_widget(form.user.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.user) }} @@ -182,11 +190,8 @@ - - - + {{ form_widget(form.pwd.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} + {{ form_rest(form.pwd) }} @@ -196,9 +201,12 @@