From cfb28c9da0ff648d34ae0602eaec55a8362504dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 1 Oct 2015 09:26:52 +0200 Subject: [PATCH] french translation --- .../CoreBundle/Filter/EntryFilterType.php | 2 +- .../CoreBundle/Repository/EntryRepository.php | 4 +- .../Resources/translations/messages.fr.yml | 13 ++++++ .../themes/material/Entry/entry.html.twig | 4 +- .../views/themes/material/layout.html.twig | 40 +------------------ .../Tests/Controller/EntryControllerTest.php | 1 - .../CoreBundle/Twig/WallabagExtension.php | 2 +- 7 files changed, 21 insertions(+), 45 deletions(-) diff --git a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php index f40c1c2d..2e6d6ff7 100644 --- a/src/Wallabag/CoreBundle/Filter/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Filter/EntryFilterType.php @@ -15,7 +15,7 @@ class EntryFilterType extends AbstractType private $repository; /** - * Repository & user are used to get a list of language entries for this user + * Repository & user are used to get a list of language entries for this user. * * @param EntityRepository $entryRepository * @param User $user diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 2286317c..57bf8024 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -163,9 +163,9 @@ class EntryRepository extends EntityRepository } /** - * Used only in test case to get the right entry associated to the right user + * Used only in test case to get the right entry associated to the right user. * - * @param string $username + * @param string $username * * @return Entry */ diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 4946344d..aced4d83 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml @@ -24,6 +24,7 @@ Add a new entry: 'Sauvegarder un nouvel article' Search: 'Rechercher' Filter entries: 'Filtrer les articles' Enter your search here: 'Saisissez votre terme de recherche' +Save new entry: 'Sauvegarder un nouvel article' # Config screen Settings: 'Paramètres' @@ -115,3 +116,15 @@ Entry unstarred: "Article retiré des favoris" Entry archived: "Article marqué comme lu" Entry unarchived: "Article marqué comme non lu" Entry deleted: "Article supprimé" + +# Entry +Mark as read: 'Marquer comme lu' +Favorite: 'Mettre en favori' +back: 'Retour' +original article: 'Article original' +Add a tag: 'Ajouter un tag' +Share: 'Partager' +Download: 'Télécharger' +Does this article appear wrong?: "Est-ce que cet article s'affiche mal ?" +Problems?: 'Un problème ?' +Edit title: "Modifier le titre" diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 3b4c7053..d3cef895 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -54,7 +54,7 @@
  • - {% trans %}Toggle mark as read{% endtrans %} + {% trans %}Mark as read{% endtrans %}
  • @@ -62,7 +62,7 @@
  • - {% trans %}Toggle favorite{% endtrans %} + {% trans %}Favorite{% endtrans %}
  • diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 7614fcd3..22d00a1e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -42,10 +42,11 @@
  • {% trans %}unread{% endtrans %}
  • {% trans %}starred{% endtrans %}
  • {% trans %}archive{% endtrans %}
  • -
  • {% trans %}all{% endtrans %}
  • +
  • {% trans %}all{% endtrans %}
  • {% trans %}tags{% endtrans %}
  • {% trans %}config{% endtrans %}
  • {% trans %}howto{% endtrans %}
  • +
  • {% trans %}About{% endtrans %}
  • {% trans %}logout{% endtrans %}
  • {% endblock %} - -{% block footer %} - -{% endblock %} diff --git a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php index e9c85a17..2862417e 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php @@ -3,7 +3,6 @@ namespace Wallabag\CoreBundle\Tests\Controller; use Wallabag\CoreBundle\Tests\WallabagCoreTestCase; -use Doctrine\ORM\AbstractQuery; class EntryControllerTest extends WallabagCoreTestCase { diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index f8328860..6b860c96 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php @@ -13,7 +13,7 @@ class WallabagExtension extends \Twig_Extension public function removeWww($url) { - return preg_replace('/^www\./i', '',$url); + return preg_replace('/^www\./i', '', $url); } public function getName() -- 2.41.0