diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | 41 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | 33 |
2 files changed, 59 insertions, 15 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml new file mode 100644 index 00000000..84144705 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -0,0 +1,41 @@ | |||
1 | # Menu | ||
2 | unread: 'Non lus' | ||
3 | starred: 'Favoris' | ||
4 | archive: 'Lus' | ||
5 | all: 'Tous les articles' | ||
6 | tags: 'Tags' | ||
7 | config: 'Configuration' | ||
8 | howto: 'Aide' | ||
9 | logout: 'Déconnexion' | ||
10 | |||
11 | # Header | ||
12 | Back to unread articles: 'Retour aux articles non lus' | ||
13 | Add a new entry: 'Sauvegarder un nouvel article' | ||
14 | Search: 'Rechercher' | ||
15 | Filter entries: 'Filtrer les articles' | ||
16 | Enter your search here: 'Saisissez votre terme de recherche' | ||
17 | |||
18 | # Config screen | ||
19 | Settings: 'Paramètres' | ||
20 | User information: 'Mon compte' | ||
21 | Password: 'Mot de passe' | ||
22 | RSS: 'RSS' | ||
23 | Add a user: 'Créer un compte' | ||
24 | Theme: 'Thème' | ||
25 | Items per page: "Nombre d'articles par page" | ||
26 | Language: 'Langue' | ||
27 | Save: 'Enregistrer' | ||
28 | RSS token: 'Jeton RSS' | ||
29 | Name: 'Nom' | ||
30 | Email: 'Adresse e-mail' | ||
31 | No token: 'Aucun jeton généré' | ||
32 | Reset your token: 'Réinitialisez votre jeton' | ||
33 | Create your token: 'Créez votre jeton' | ||
34 | Rss limit: "Nombre d'articles dans un flux RSS" | ||
35 | RSS links: 'URL de vos flux RSS' | ||
36 | "RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.": "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." | ||
37 | Old password: 'Mot de passe actuel' | ||
38 | New password: 'Nouveau mot de passe' | ||
39 | Repeat new password: 'Confirmez votre nouveau mot de passe' | ||
40 | Username: "Nom d'utilisateur" | ||
41 | |||
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 3ec31a02..156bc05f 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 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | 2 | ||
3 | {% block title %}{% trans %}Config{% endtrans %}{% endblock %} | 3 | {% block title %}{% trans %}config{% endtrans %}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | ||
@@ -11,7 +11,7 @@ | |||
11 | <div class="row"> | 11 | <div class="row"> |
12 | <div class="div_tabs col s12"> | 12 | <div class="div_tabs col s12"> |
13 | <ul class="tabs"> | 13 | <ul class="tabs"> |
14 | <li class="tab col s3"><a class="active" href="#set1">{% trans %}Wallabag{% endtrans %}</a></li> | 14 | <li class="tab col s3"><a class="active" href="#set1">{% trans %}Settings{% endtrans %}</a></li> |
15 | <li class="tab col s3"><a href="#set2">{% trans %}RSS{% endtrans %}</a></li> | 15 | <li class="tab col s3"><a href="#set2">{% trans %}RSS{% endtrans %}</a></li> |
16 | <li class="tab col s3"><a href="#set3">{% trans %}User information{% endtrans %}</a></li> | 16 | <li class="tab col s3"><a href="#set3">{% trans %}User information{% endtrans %}</a></li> |
17 | <li class="tab col s3"><a href="#set4">{% trans %}Password{% endtrans %}</a></li> | 17 | <li class="tab col s3"><a href="#set4">{% trans %}Password{% endtrans %}</a></li> |
@@ -62,33 +62,36 @@ | |||
62 | 62 | ||
63 | <div class="row"> | 63 | <div class="row"> |
64 | <div class="input-field col s12"> | 64 | <div class="input-field col s12"> |
65 | <label>Rss token</label> | 65 | {% 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 %} |
66 | </div> | ||
67 | </div> | ||
68 | |||
69 | <div class="row"> | ||
70 | <div class="input-field col s12"> | ||
71 | <label>{% trans %}RSS token{% endtrans %}</label> | ||
66 | <div> | 72 | <div> |
67 | {% if rss.token %} | 73 | {% if rss.token %} |
68 | {{ rss.token }} | 74 | {{ rss.token }} |
69 | {% else %} | 75 | {% else %} |
70 | <em>No token</em> | 76 | <em>{% trans %}No token{% endtrans %}</em> |
71 | {% endif %} | 77 | {% endif %} |
72 | – | 78 | – <a href="{{ path('generate_token') }}">{% if rss.token %}{% trans %}Reset your token{% endtrans %}{% else %}{% trans %}Create your token{% endtrans %}{% endif %}</a> |
73 | <a href="{{ path('generate_token') }}">Regenerate ?</a> | ||
74 | </div> | 79 | </div> |
75 | </div> | 80 | </div> |
76 | </div> | 81 | </div> |
77 | 82 | {% if rss.token %} | |
78 | <div class="row"> | 83 | <div class="row"> |
79 | <div class="input-field col s12"> | 84 | <div class="input-field col s12"> |
80 | <label>Rss links:</label> | 85 | <label>{% trans %}RSS links{% endtrans %}</label> |
81 | {% if rss.token %} | ||
82 | <ul> | 86 | <ul> |
83 | <li><a href="{{ path('unread_rss', {'username': rss.username, 'token': rss.token}) }}">unread</a></li> | 87 | <li><a href="{{ path('unread_rss', {'username': rss.username, 'token': rss.token}) }}">{% trans %}unread{% endtrans %}</a></li> |
84 | <li><a href="{{ path('starred_rss', {'username': rss.username, 'token': rss.token}) }}">fav</a></li> | 88 | <li><a href="{{ path('starred_rss', {'username': rss.username, 'token': rss.token}) }}">{% trans %}starred{% endtrans %}</a></li> |
85 | <li><a href="{{ path('archive_rss', {'username': rss.username, 'token': rss.token}) }}">archives</a></li> | 89 | <li><a href="{{ path('archive_rss', {'username': rss.username, 'token': rss.token}) }}">{% trans %}archive{% endtrans %}</a></li> |
86 | </ul> | 90 | </ul> |
87 | {% else %} | 91 | |
88 | <strong>You need to generate a token first.</strong> | ||
89 | {% endif %} | ||
90 | </div> | 92 | </div> |
91 | </div> | 93 | </div> |
94 | {% endif %} | ||
92 | 95 | ||
93 | <div class="row"> | 96 | <div class="row"> |
94 | <div class="input-field col s12"> | 97 | <div class="input-field col s12"> |