diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 558421a..e666066 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -25,7 +25,6 @@ {% block header_navbar_menus %} diff --git a/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php b/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php index 0295fb6..1096433 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php @@ -23,7 +23,7 @@ class PublicFeedController extends AbstractController 'SkobkinPointToolsBundle:Post:feed.html.twig', [ // @todo Move to translation - 'feed_title' => 'All', + 'feed_title' => 'Public feed', 'posts' => $postsPagination, // Special feed mark (to not show comments and other) 'is_feed' => true, diff --git a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig index 4f9832f..a9da234 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig +++ b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig @@ -1,6 +1,6 @@ {% extends 'SkobkinPointToolsBundle:Post:base_feed.html.twig' %} -{% block header_title %}{{ feed_title }} @ Point Tools{% endblock %} +{% block header_title %}{{ feed_title|trans }} @ Point Tools{% endblock %} {% block content %} {% if is_feed is defined %}