diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-13 18:48:10 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-04-25 13:46:31 +0200 |
commit | 531c8d0a5c55fa93438e227a7d349235fbd31d28 (patch) | |
tree | de2ff4a1e09161a5bbec32170471190e836d3bbc /src | |
parent | 522e37ad274361dde697da13a92ff3f846599822 (diff) | |
download | wallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.tar.gz wallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.tar.zst wallabag-531c8d0a5c55fa93438e227a7d349235fbd31d28.zip |
Changed RSS to Atom feed and improve paging
Diffstat (limited to 'src')
47 files changed, 346 insertions, 309 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 9257ab18..3b281d48 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -14,7 +14,7 @@ use Wallabag\CoreBundle\Entity\Config; | |||
14 | use Wallabag\CoreBundle\Entity\TaggingRule; | 14 | use Wallabag\CoreBundle\Entity\TaggingRule; |
15 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; | 15 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; |
16 | use Wallabag\CoreBundle\Form\Type\ConfigType; | 16 | use Wallabag\CoreBundle\Form\Type\ConfigType; |
17 | use Wallabag\CoreBundle\Form\Type\RssType; | 17 | use Wallabag\CoreBundle\Form\Type\FeedType; |
18 | use Wallabag\CoreBundle\Form\Type\TaggingRuleType; | 18 | use Wallabag\CoreBundle\Form\Type\TaggingRuleType; |
19 | use Wallabag\CoreBundle\Form\Type\UserInformationType; | 19 | use Wallabag\CoreBundle\Form\Type\UserInformationType; |
20 | use Wallabag\CoreBundle\Tools\Utils; | 20 | use Wallabag\CoreBundle\Tools\Utils; |
@@ -92,17 +92,17 @@ class ConfigController extends Controller | |||
92 | return $this->redirect($this->generateUrl('config') . '#set3'); | 92 | return $this->redirect($this->generateUrl('config') . '#set3'); |
93 | } | 93 | } |
94 | 94 | ||
95 | // handle rss information | 95 | // handle feed information |
96 | $rssForm = $this->createForm(RssType::class, $config, ['action' => $this->generateUrl('config') . '#set2']); | 96 | $feedForm = $this->createForm(FeedType::class, $config, ['action' => $this->generateUrl('config') . '#set2']); |
97 | $rssForm->handleRequest($request); | 97 | $feedForm->handleRequest($request); |
98 | 98 | ||
99 | if ($rssForm->isSubmitted() && $rssForm->isValid()) { | 99 | if ($feedForm->isSubmitted() && $feedForm->isValid()) { |
100 | $em->persist($config); | 100 | $em->persist($config); |
101 | $em->flush(); | 101 | $em->flush(); |
102 | 102 | ||
103 | $this->addFlash( | 103 | $this->addFlash( |
104 | 'notice', | 104 | 'notice', |
105 | 'flashes.config.notice.rss_updated' | 105 | 'flashes.config.notice.feed_updated' |
106 | ); | 106 | ); |
107 | 107 | ||
108 | return $this->redirect($this->generateUrl('config') . '#set2'); | 108 | return $this->redirect($this->generateUrl('config') . '#set2'); |
@@ -143,14 +143,14 @@ class ConfigController extends Controller | |||
143 | return $this->render('WallabagCoreBundle:Config:index.html.twig', [ | 143 | return $this->render('WallabagCoreBundle:Config:index.html.twig', [ |
144 | 'form' => [ | 144 | 'form' => [ |
145 | 'config' => $configForm->createView(), | 145 | 'config' => $configForm->createView(), |
146 | 'rss' => $rssForm->createView(), | 146 | 'feed' => $feedForm->createView(), |
147 | 'pwd' => $pwdForm->createView(), | 147 | 'pwd' => $pwdForm->createView(), |
148 | 'user' => $userForm->createView(), | 148 | 'user' => $userForm->createView(), |
149 | 'new_tagging_rule' => $newTaggingRule->createView(), | 149 | 'new_tagging_rule' => $newTaggingRule->createView(), |
150 | ], | 150 | ], |
151 | 'rss' => [ | 151 | 'feed' => [ |
152 | 'username' => $user->getUsername(), | 152 | 'username' => $user->getUsername(), |
153 | 'token' => $config->getRssToken(), | 153 | 'token' => $config->getFeedToken(), |
154 | ], | 154 | ], |
155 | 'twofactor_auth' => $this->getParameter('twofactor_auth'), | 155 | 'twofactor_auth' => $this->getParameter('twofactor_auth'), |
156 | 'wallabag_url' => $this->getParameter('domain_name'), | 156 | 'wallabag_url' => $this->getParameter('domain_name'), |
@@ -281,19 +281,19 @@ class ConfigController extends Controller | |||
281 | public function generateTokenAction(Request $request) | 281 | public function generateTokenAction(Request $request) |
282 | { | 282 | { |
283 | $config = $this->getConfig(); | 283 | $config = $this->getConfig(); |
284 | $config->setRssToken(Utils::generateToken()); | 284 | $config->setFeedToken(Utils::generateToken()); |
285 | 285 | ||
286 | $em = $this->getDoctrine()->getManager(); | 286 | $em = $this->getDoctrine()->getManager(); |
287 | $em->persist($config); | 287 | $em->persist($config); |
288 | $em->flush(); | 288 | $em->flush(); |
289 | 289 | ||
290 | if ($request->isXmlHttpRequest()) { | 290 | if ($request->isXmlHttpRequest()) { |
291 | return new JsonResponse(['token' => $config->getRssToken()]); | 291 | return new JsonResponse(['token' => $config->getFeedToken()]); |
292 | } | 292 | } |
293 | 293 | ||
294 | $this->addFlash( | 294 | $this->addFlash( |
295 | 'notice', | 295 | 'notice', |
296 | 'flashes.config.notice.rss_token_updated' | 296 | 'flashes.config.notice.feed_token_updated' |
297 | ); | 297 | ); |
298 | 298 | ||
299 | return $this->redirect($this->generateUrl('config') . '#set2'); | 299 | return $this->redirect($this->generateUrl('config') . '#set2'); |
diff --git a/src/Wallabag/CoreBundle/Controller/RssController.php b/src/Wallabag/CoreBundle/Controller/FeedController.php index 1c831c03..9d55a9b7 100644 --- a/src/Wallabag/CoreBundle/Controller/RssController.php +++ b/src/Wallabag/CoreBundle/Controller/FeedController.php | |||
@@ -15,56 +15,68 @@ use Symfony\Component\Routing\Generator\UrlGeneratorInterface; | |||
15 | use Wallabag\CoreBundle\Entity\Tag; | 15 | use Wallabag\CoreBundle\Entity\Tag; |
16 | use Wallabag\UserBundle\Entity\User; | 16 | use Wallabag\UserBundle\Entity\User; |
17 | 17 | ||
18 | class RssController extends Controller | 18 | class FeedController extends Controller |
19 | { | 19 | { |
20 | /** | 20 | /** |
21 | * Shows unread entries for current user. | 21 | * Shows unread entries for current user. |
22 | * | 22 | * |
23 | * @Route("/{username}/{token}/unread.xml", name="unread_rss", defaults={"_format"="xml"}) | 23 | * @Route("/feed/{username}/{token}/unread/{page}", name="unread_feed", defaults={"page": 1}) |
24 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_rsstoken_converter") | 24 | * @Route("/{username}/{token}/unread.xml", defaults={"page": 1}) |
25 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | ||
26 | * | ||
27 | * @param User $user | ||
28 | * @param $page | ||
25 | * | 29 | * |
26 | * @return \Symfony\Component\HttpFoundation\Response | 30 | * @return \Symfony\Component\HttpFoundation\Response |
27 | */ | 31 | */ |
28 | public function showUnreadRSSAction(Request $request, User $user) | 32 | public function showUnreadFeedAction(User $user, $page) |
29 | { | 33 | { |
30 | return $this->showEntries('unread', $user, $request->query->get('page', 1)); | 34 | return $this->showEntries('unread', $user, $page); |
31 | } | 35 | } |
32 | 36 | ||
33 | /** | 37 | /** |
34 | * Shows read entries for current user. | 38 | * Shows read entries for current user. |
35 | * | 39 | * |
36 | * @Route("/{username}/{token}/archive.xml", name="archive_rss", defaults={"_format"="xml"}) | 40 | * @Route("/feed/{username}/{token}/archive/{page}", name="archive_feed", defaults={"page": 1}) |
37 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_rsstoken_converter") | 41 | * @Route("/{username}/{token}/archive.xml", defaults={"page": 1}) |
42 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | ||
43 | * | ||
44 | * @param User $user | ||
45 | * @param $page | ||
38 | * | 46 | * |
39 | * @return \Symfony\Component\HttpFoundation\Response | 47 | * @return \Symfony\Component\HttpFoundation\Response |
40 | */ | 48 | */ |
41 | public function showArchiveRSSAction(Request $request, User $user) | 49 | public function showArchiveFeedAction(User $user, $page) |
42 | { | 50 | { |
43 | return $this->showEntries('archive', $user, $request->query->get('page', 1)); | 51 | return $this->showEntries('archive', $user, $page); |
44 | } | 52 | } |
45 | 53 | ||
46 | /** | 54 | /** |
47 | * Shows starred entries for current user. | 55 | * Shows starred entries for current user. |
48 | * | 56 | * |
49 | * @Route("/{username}/{token}/starred.xml", name="starred_rss", defaults={"_format"="xml"}) | 57 | * @Route("/feed/{username}/{token}/starred/{page}", name="starred_feed", defaults={"page": 1}) |
50 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_rsstoken_converter") | 58 | * @Route("/{username}/{token}/starred.xml", defaults={"page": 1}) |
59 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | ||
60 | * | ||
61 | * @param User $user | ||
62 | * @param $page | ||
51 | * | 63 | * |
52 | * @return \Symfony\Component\HttpFoundation\Response | 64 | * @return \Symfony\Component\HttpFoundation\Response |
53 | */ | 65 | */ |
54 | public function showStarredRSSAction(Request $request, User $user) | 66 | public function showStarredFeedAction(User $user, $page) |
55 | { | 67 | { |
56 | return $this->showEntries('starred', $user, $request->query->get('page', 1)); | 68 | return $this->showEntries('starred', $user, $page); |
57 | } | 69 | } |
58 | 70 | ||
59 | /** | 71 | /** |
60 | * Shows all entries for current user. | 72 | * Shows all entries for current user. |
61 | * | 73 | * |
62 | * @Route("/{username}/{token}/all.xml", name="all_rss", defaults={"_format"="xml"}) | 74 | * @Route("/{username}/{token}/all.xml", name="all_feed", defaults={"_format"="xml"}) |
63 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_rsstoken_converter") | 75 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") |
64 | * | 76 | * |
65 | * @return \Symfony\Component\HttpFoundation\Response | 77 | * @return \Symfony\Component\HttpFoundation\Response |
66 | */ | 78 | */ |
67 | public function showAllRSSAction(Request $request, User $user) | 79 | public function showAllFeedAction(Request $request, User $user) |
68 | { | 80 | { |
69 | return $this->showEntries('all', $user, $request->query->get('page', 1)); | 81 | return $this->showEntries('all', $user, $request->query->get('page', 1)); |
70 | } | 82 | } |
@@ -72,21 +84,21 @@ class RssController extends Controller | |||
72 | /** | 84 | /** |
73 | * Shows entries associated to a tag for current user. | 85 | * Shows entries associated to a tag for current user. |
74 | * | 86 | * |
75 | * @Route("/{username}/{token}/tags/{slug}.xml", name="tag_rss", defaults={"_format"="xml"}) | 87 | * @Route("/{username}/{token}/tags/{slug}.xml", name="tag_feed", defaults={"_format"="xml"}) |
76 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_rsstoken_converter") | 88 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") |
77 | * @ParamConverter("tag", options={"mapping": {"slug": "slug"}}) | 89 | * @ParamConverter("tag", options={"mapping": {"slug": "slug"}}) |
78 | * | 90 | * |
79 | * @return \Symfony\Component\HttpFoundation\Response | 91 | * @return \Symfony\Component\HttpFoundation\Response |
80 | */ | 92 | */ |
81 | public function showTagsAction(Request $request, User $user, Tag $tag) | 93 | public function showTagsFeedAction(Request $request, User $user, Tag $tag) |
82 | { | 94 | { |
83 | $page = $request->query->get('page', 1); | 95 | $page = $request->query->get('page', 1); |
84 | 96 | ||
85 | $url = $this->generateUrl( | 97 | $url = $this->generateUrl( |
86 | 'tag_rss', | 98 | 'tag_feed', |
87 | [ | 99 | [ |
88 | 'username' => $user->getUsername(), | 100 | 'username' => $user->getUsername(), |
89 | 'token' => $user->getConfig()->getRssToken(), | 101 | 'token' => $user->getConfig()->getFeedToken(), |
90 | 'slug' => $tag->getSlug(), | 102 | 'slug' => $tag->getSlug(), |
91 | ], | 103 | ], |
92 | UrlGeneratorInterface::ABSOLUTE_URL | 104 | UrlGeneratorInterface::ABSOLUTE_URL |
@@ -119,12 +131,15 @@ class RssController extends Controller | |||
119 | return $this->render( | 131 | return $this->render( |
120 | '@WallabagCore/themes/common/Entry/entries.xml.twig', | 132 | '@WallabagCore/themes/common/Entry/entries.xml.twig', |
121 | [ | 133 | [ |
122 | 'url_html' => $this->generateUrl('tag_entries', ['slug' => $tag->getSlug()], UrlGeneratorInterface::ABSOLUTE_URL), | 134 | 'type' => 'tag', |
123 | 'type' => 'tag (' . $tag->getLabel() . ')', | ||
124 | 'url' => $url, | 135 | 'url' => $url, |
125 | 'entries' => $entries, | 136 | 'entries' => $entries, |
137 | 'user' => $user->getUsername(), | ||
138 | 'domainName' => $this->getParameter('domain_name'), | ||
139 | 'version' => $this->getParameter('wallabag_core.version'), | ||
140 | 'tag' => $tag->getSlug(), | ||
126 | ], | 141 | ], |
127 | new Response('', 200, ['Content-Type' => 'application/rss+xml']) | 142 | new Response('', 200, ['Content-Type' => 'application/atom+xml']) |
128 | ); | 143 | ); |
129 | } | 144 | } |
130 | 145 | ||
@@ -162,14 +177,14 @@ class RssController extends Controller | |||
162 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); | 177 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); |
163 | $entries = new Pagerfanta($pagerAdapter); | 178 | $entries = new Pagerfanta($pagerAdapter); |
164 | 179 | ||
165 | $perPage = $user->getConfig()->getRssLimit() ?: $this->getParameter('wallabag_core.rss_limit'); | 180 | $perPage = $user->getConfig()->getFeedLimit() ?: $this->getParameter('wallabag_core.Feed_limit'); |
166 | $entries->setMaxPerPage($perPage); | 181 | $entries->setMaxPerPage($perPage); |
167 | 182 | ||
168 | $url = $this->generateUrl( | 183 | $url = $this->generateUrl( |
169 | $type . '_rss', | 184 | $type . '_feed', |
170 | [ | 185 | [ |
171 | 'username' => $user->getUsername(), | 186 | 'username' => $user->getUsername(), |
172 | 'token' => $user->getConfig()->getRssToken(), | 187 | 'token' => $user->getConfig()->getFeedToken(), |
173 | ], | 188 | ], |
174 | UrlGeneratorInterface::ABSOLUTE_URL | 189 | UrlGeneratorInterface::ABSOLUTE_URL |
175 | ); | 190 | ); |
@@ -178,19 +193,19 @@ class RssController extends Controller | |||
178 | $entries->setCurrentPage((int) $page); | 193 | $entries->setCurrentPage((int) $page); |
179 | } catch (OutOfRangeCurrentPageException $e) { | 194 | } catch (OutOfRangeCurrentPageException $e) { |
180 | if ($page > 1) { | 195 | if ($page > 1) { |
181 | return $this->redirect($url . '?page=' . $entries->getNbPages(), 302); | 196 | return $this->redirect($url . '/' . $entries->getNbPages()); |
182 | } | 197 | } |
183 | } | 198 | } |
184 | 199 | ||
185 | return $this->render( | 200 | return $this->render('@WallabagCore/themes/common/Entry/entries.xml.twig', [ |
186 | '@WallabagCore/themes/common/Entry/entries.xml.twig', | 201 | 'type' => $type, |
187 | [ | 202 | 'url' => $url, |
188 | 'url_html' => $this->generateUrl($type, [], UrlGeneratorInterface::ABSOLUTE_URL), | 203 | 'entries' => $entries, |
189 | 'type' => $type, | 204 | 'user' => $user->getUsername(), |
190 | 'url' => $url, | 205 | 'domainName' => $this->getParameter('domain_name'), |
191 | 'entries' => $entries, | 206 | 'version' => $this->getParameter('wallabag_core.version'), |
192 | ], | 207 | ], |
193 | new Response('', 200, ['Content-Type' => 'application/rss+xml']) | 208 | new Response('', 200, ['Content-Type' => 'application/atom+xml']) |
194 | ); | 209 | ); |
195 | } | 210 | } |
196 | } | 211 | } |
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php index a3ef2b53..e9a1e9e0 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | |||
@@ -18,7 +18,7 @@ class WallabagCoreExtension extends Extension | |||
18 | $container->setParameter('wallabag_core.items_on_page', $config['items_on_page']); | 18 | $container->setParameter('wallabag_core.items_on_page', $config['items_on_page']); |
19 | $container->setParameter('wallabag_core.theme', $config['theme']); | 19 | $container->setParameter('wallabag_core.theme', $config['theme']); |
20 | $container->setParameter('wallabag_core.language', $config['language']); | 20 | $container->setParameter('wallabag_core.language', $config['language']); |
21 | $container->setParameter('wallabag_core.rss_limit', $config['rss_limit']); | 21 | $container->setParameter('wallabag_core.feed_limit', $config['rss_limit']); |
22 | $container->setParameter('wallabag_core.reading_speed', $config['reading_speed']); | 22 | $container->setParameter('wallabag_core.reading_speed', $config['reading_speed']); |
23 | $container->setParameter('wallabag_core.version', $config['version']); | 23 | $container->setParameter('wallabag_core.version', $config['version']); |
24 | $container->setParameter('wallabag_core.paypal_url', $config['paypal_url']); | 24 | $container->setParameter('wallabag_core.paypal_url', $config['paypal_url']); |
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index b902ae2c..7458f757 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php | |||
@@ -62,7 +62,7 @@ class Config | |||
62 | * | 62 | * |
63 | * @ORM\Column(name="rss_token", type="string", nullable=true) | 63 | * @ORM\Column(name="rss_token", type="string", nullable=true) |
64 | */ | 64 | */ |
65 | private $rssToken; | 65 | private $feedToken; |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * @var int | 68 | * @var int |
@@ -71,10 +71,10 @@ class Config | |||
71 | * @Assert\Range( | 71 | * @Assert\Range( |
72 | * min = 1, | 72 | * min = 1, |
73 | * max = 100000, | 73 | * max = 100000, |
74 | * maxMessage = "validator.rss_limit_too_high" | 74 | * maxMessage = "validator.feed_limit_too_high" |
75 | * ) | 75 | * ) |
76 | */ | 76 | */ |
77 | private $rssLimit; | 77 | private $feedLimit; |
78 | 78 | ||
79 | /** | 79 | /** |
80 | * @var float | 80 | * @var float |
@@ -231,51 +231,51 @@ class Config | |||
231 | } | 231 | } |
232 | 232 | ||
233 | /** | 233 | /** |
234 | * Set rssToken. | 234 | * Set feed Token. |
235 | * | 235 | * |
236 | * @param string $rssToken | 236 | * @param string $feedToken |
237 | * | 237 | * |
238 | * @return Config | 238 | * @return Config |
239 | */ | 239 | */ |
240 | public function setRssToken($rssToken) | 240 | public function setFeedToken($feedToken) |
241 | { | 241 | { |
242 | $this->rssToken = $rssToken; | 242 | $this->feedToken = $feedToken; |
243 | 243 | ||
244 | return $this; | 244 | return $this; |
245 | } | 245 | } |
246 | 246 | ||
247 | /** | 247 | /** |
248 | * Get rssToken. | 248 | * Get feedToken. |
249 | * | 249 | * |
250 | * @return string | 250 | * @return string |
251 | */ | 251 | */ |
252 | public function getRssToken() | 252 | public function getFeedToken() |
253 | { | 253 | { |
254 | return $this->rssToken; | 254 | return $this->feedToken; |
255 | } | 255 | } |
256 | 256 | ||
257 | /** | 257 | /** |
258 | * Set rssLimit. | 258 | * Set Feed Limit. |
259 | * | 259 | * |
260 | * @param int $rssLimit | 260 | * @param int $feedLimit |
261 | * | 261 | * |
262 | * @return Config | 262 | * @return Config |
263 | */ | 263 | */ |
264 | public function setRssLimit($rssLimit) | 264 | public function setFeedLimit($feedLimit) |
265 | { | 265 | { |
266 | $this->rssLimit = $rssLimit; | 266 | $this->feedLimit = $feedLimit; |
267 | 267 | ||
268 | return $this; | 268 | return $this; |
269 | } | 269 | } |
270 | 270 | ||
271 | /** | 271 | /** |
272 | * Get rssLimit. | 272 | * Get Feed Limit. |
273 | * | 273 | * |
274 | * @return int | 274 | * @return int |
275 | */ | 275 | */ |
276 | public function getRssLimit() | 276 | public function getFeedLimit() |
277 | { | 277 | { |
278 | return $this->rssLimit; | 278 | return $this->feedLimit; |
279 | } | 279 | } |
280 | 280 | ||
281 | /** | 281 | /** |
diff --git a/src/Wallabag/CoreBundle/Form/Type/RssType.php b/src/Wallabag/CoreBundle/Form/Type/FeedType.php index 49b31c1e..9b34daf4 100644 --- a/src/Wallabag/CoreBundle/Form/Type/RssType.php +++ b/src/Wallabag/CoreBundle/Form/Type/FeedType.php | |||
@@ -7,14 +7,14 @@ use Symfony\Component\Form\Extension\Core\Type\SubmitType; | |||
7 | use Symfony\Component\Form\FormBuilderInterface; | 7 | use Symfony\Component\Form\FormBuilderInterface; |
8 | use Symfony\Component\OptionsResolver\OptionsResolver; | 8 | use Symfony\Component\OptionsResolver\OptionsResolver; |
9 | 9 | ||
10 | class RssType extends AbstractType | 10 | class FeedType extends AbstractType |
11 | { | 11 | { |
12 | public function buildForm(FormBuilderInterface $builder, array $options) | 12 | public function buildForm(FormBuilderInterface $builder, array $options) |
13 | { | 13 | { |
14 | $builder | 14 | $builder |
15 | ->add('rss_limit', null, [ | 15 | ->add('feed_limit', null, [ |
16 | 'label' => 'config.form_rss.rss_limit', | 16 | 'label' => 'config.form_feed.feed_limit', |
17 | 'property_path' => 'rssLimit', | 17 | 'property_path' => 'feedLimit', |
18 | ]) | 18 | ]) |
19 | ->add('save', SubmitType::class, [ | 19 | ->add('save', SubmitType::class, [ |
20 | 'label' => 'config.form.save', | 20 | 'label' => 'config.form.save', |
@@ -31,6 +31,6 @@ class RssType extends AbstractType | |||
31 | 31 | ||
32 | public function getBlockPrefix() | 32 | public function getBlockPrefix() |
33 | { | 33 | { |
34 | return 'rss_config'; | 34 | return 'feed_config'; |
35 | } | 35 | } |
36 | } | 36 | } |
diff --git a/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php b/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php index 183d394a..04abc6d0 100644 --- a/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php +++ b/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php | |||
@@ -21,7 +21,7 @@ class PreparePagerForEntries | |||
21 | 21 | ||
22 | /** | 22 | /** |
23 | * @param AdapterInterface $adapter | 23 | * @param AdapterInterface $adapter |
24 | * @param User $user If user isn't logged in, we can force it (like for rss) | 24 | * @param User $user If user isn't logged in, we can force it (like for feed) |
25 | * | 25 | * |
26 | * @return Pagerfanta|null | 26 | * @return Pagerfanta|null |
27 | */ | 27 | */ |
diff --git a/src/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverter.php b/src/Wallabag/CoreBundle/ParamConverter/UsernameFeedTokenConverter.php index 4a2fcab5..e220abfc 100644 --- a/src/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverter.php +++ b/src/Wallabag/CoreBundle/ParamConverter/UsernameFeedTokenConverter.php | |||
@@ -10,12 +10,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | |||
10 | use Wallabag\UserBundle\Entity\User; | 10 | use Wallabag\UserBundle\Entity\User; |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * ParamConverter used in the RSS controller to retrieve the right user according to | 13 | * ParamConverter used in the Feed controller to retrieve the right user according to |
14 | * username & token given in the url. | 14 | * username & token given in the url. |
15 | * | 15 | * |
16 | * @see http://stfalcon.com/en/blog/post/symfony2-custom-paramconverter | 16 | * @see http://stfalcon.com/en/blog/post/symfony2-custom-paramconverter |
17 | */ | 17 | */ |
18 | class UsernameRssTokenConverter implements ParamConverterInterface | 18 | class UsernameFeedTokenConverter implements ParamConverterInterface |
19 | { | 19 | { |
20 | private $registry; | 20 | private $registry; |
21 | 21 | ||
@@ -67,7 +67,7 @@ class UsernameRssTokenConverter implements ParamConverterInterface | |||
67 | public function apply(Request $request, ParamConverter $configuration) | 67 | public function apply(Request $request, ParamConverter $configuration) |
68 | { | 68 | { |
69 | $username = $request->attributes->get('username'); | 69 | $username = $request->attributes->get('username'); |
70 | $rssToken = $request->attributes->get('token'); | 70 | $feedToken = $request->attributes->get('token'); |
71 | 71 | ||
72 | if (!$request->attributes->has('username') || !$request->attributes->has('token')) { | 72 | if (!$request->attributes->has('username') || !$request->attributes->has('token')) { |
73 | return false; | 73 | return false; |
@@ -78,8 +78,8 @@ class UsernameRssTokenConverter implements ParamConverterInterface | |||
78 | 78 | ||
79 | $userRepository = $em->getRepository($configuration->getClass()); | 79 | $userRepository = $em->getRepository($configuration->getClass()); |
80 | 80 | ||
81 | // Try to find user by its username and config rss_token | 81 | // Try to find user by its username and config feed_token |
82 | $user = $userRepository->findOneByUsernameAndRsstoken($username, $rssToken); | 82 | $user = $userRepository->findOneByUsernameAndFeedtoken($username, $feedToken); |
83 | 83 | ||
84 | if (null === $user || !($user instanceof User)) { | 84 | if (null === $user || !($user instanceof User)) { |
85 | throw new NotFoundHttpException(sprintf('%s not found.', $configuration->getClass())); | 85 | throw new NotFoundHttpException(sprintf('%s not found.', $configuration->getClass())); |
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index a27dd210..280d779d 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -22,10 +22,10 @@ services: | |||
22 | tags: | 22 | tags: |
23 | - { name: form.type } | 23 | - { name: form.type } |
24 | 24 | ||
25 | wallabag_core.param_converter.username_rsstoken_converter: | 25 | wallabag_core.param_converter.username_feed_token_converter: |
26 | class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter | 26 | class: Wallabag\CoreBundle\ParamConverter\UsernameFeedTokenConverter |
27 | tags: | 27 | tags: |
28 | - { name: request.param_converter, converter: username_rsstoken_converter } | 28 | - { name: request.param_converter, converter: username_feed_token_converter } |
29 | arguments: | 29 | arguments: |
30 | - "@doctrine" | 30 | - "@doctrine" |
31 | 31 | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 454f547d..61ef3b8f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Opsætning' | 54 | page_title: 'Opsætning' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Indstillinger' | 56 | settings: 'Indstillinger' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Brugeroplysninger' | 58 | user_info: 'Brugeroplysninger' |
59 | password: 'Adgangskode' | 59 | password: 'Adgangskode' |
60 | # rules: 'Tagging rules' | 60 | # rules: 'Tagging rules' |
@@ -85,19 +85,19 @@ config: | |||
85 | # 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." | 85 | # 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." |
86 | # help_language: "You can change the language of wallabag interface." | 86 | # help_language: "You can change the language of wallabag interface." |
87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | 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.' |
90 | token_label: 'RSS-Token' | 90 | token_label: 'RSS-Token' |
91 | no_token: 'Intet token' | 91 | no_token: 'Intet token' |
92 | token_create: 'Opret token' | 92 | token_create: 'Opret token' |
93 | token_reset: 'Nulstil token' | 93 | token_reset: 'Nulstil token' |
94 | rss_links: 'RSS-Links' | 94 | feed_links: 'RSS-Links' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Ulæst' | 96 | unread: 'Ulæst' |
97 | starred: 'Favoritter' | 97 | starred: 'Favoritter' |
98 | archive: 'Arkiv' | 98 | archive: 'Arkiv' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | # rss_limit: 'Number of items in the feed' | 100 | # feed_limit: 'Number of items in the feed' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Navn' | 103 | name_label: 'Navn' |
@@ -372,7 +372,7 @@ quickstart: | |||
372 | # title: 'Configure the application' | 372 | # title: 'Configure the application' |
373 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' | 373 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' |
374 | # language: 'Change language and design' | 374 | # language: 'Change language and design' |
375 | # rss: 'Enable RSS feeds' | 375 | # feed: 'Enable RSS feeds' |
376 | # tagging_rules: 'Write rules to automatically tag your articles' | 376 | # tagging_rules: 'Write rules to automatically tag your articles' |
377 | # admin: | 377 | # admin: |
378 | # title: 'Administration' | 378 | # title: 'Administration' |
@@ -589,10 +589,10 @@ flashes: | |||
589 | password_updated: 'Adgangskode opdateret' | 589 | password_updated: 'Adgangskode opdateret' |
590 | # password_not_updated_demo: "In demonstration mode, you can't change password for this user." | 590 | # password_not_updated_demo: "In demonstration mode, you can't change password for this user." |
591 | user_updated: 'Oplysninger opdateret' | 591 | user_updated: 'Oplysninger opdateret' |
592 | rss_updated: 'RSS-oplysninger opdateret' | 592 | feed_updated: 'RSS-oplysninger opdateret' |
593 | # tagging_rules_updated: 'Tagging rules updated' | 593 | # tagging_rules_updated: 'Tagging rules updated' |
594 | # tagging_rules_deleted: 'Tagging rule deleted' | 594 | # tagging_rules_deleted: 'Tagging rule deleted' |
595 | # rss_token_updated: 'RSS token updated' | 595 | # feed_token_updated: 'RSS token updated' |
596 | # annotations_reset: Annotations reset | 596 | # annotations_reset: Annotations reset |
597 | # tags_reset: Tags reset | 597 | # tags_reset: Tags reset |
598 | # entries_reset: Entries reset | 598 | # entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index dc1d4723..991e00f1 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Einstellungen' | 54 | page_title: 'Einstellungen' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Einstellungen' | 56 | settings: 'Einstellungen' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Benutzerinformation' | 58 | user_info: 'Benutzerinformation' |
59 | password: 'Kennwort' | 59 | password: 'Kennwort' |
60 | rules: 'Tagging-Regeln' | 60 | rules: 'Tagging-Regeln' |
@@ -85,19 +85,19 @@ config: | |||
85 | help_reading_speed: "wallabag berechnet eine Lesezeit pro Artikel. Hier kannst du definieren, ob du ein schneller oder langsamer Leser bist. wallabag wird die Lesezeiten danach neu berechnen." | 85 | help_reading_speed: "wallabag berechnet eine Lesezeit pro Artikel. Hier kannst du definieren, ob du ein schneller oder langsamer Leser bist. wallabag wird die Lesezeiten danach neu berechnen." |
86 | help_language: "Du kannst die Sprache der wallabag-Oberfläche ändern." | 86 | help_language: "Du kannst die Sprache der wallabag-Oberfläche ändern." |
87 | help_pocket_consumer_key: "Nötig für den Pocket-Import. Du kannst ihn in deinem Pocket account einrichten." | 87 | help_pocket_consumer_key: "Nötig für den Pocket-Import. Du kannst ihn in deinem Pocket account einrichten." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | 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.' |
90 | token_label: 'RSS-Token' | 90 | token_label: 'RSS-Token' |
91 | no_token: 'Kein Token' | 91 | no_token: 'Kein Token' |
92 | token_create: 'Token erstellen' | 92 | token_create: 'Token erstellen' |
93 | token_reset: 'Token zurücksetzen' | 93 | token_reset: 'Token zurücksetzen' |
94 | rss_links: 'RSS-Links' | 94 | feed_links: 'RSS-Links' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Ungelesene' | 96 | unread: 'Ungelesene' |
97 | starred: 'Favoriten' | 97 | starred: 'Favoriten' |
98 | archive: 'Archivierte' | 98 | archive: 'Archivierte' |
99 | all: 'Alle' | 99 | all: 'Alle' |
100 | rss_limit: 'Anzahl der Einträge pro Feed' | 100 | feed_limit: 'Anzahl der Einträge pro Feed' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Name' | 103 | name_label: 'Name' |
@@ -363,7 +363,7 @@ quickstart: | |||
363 | title: 'Anwendung konfigurieren' | 363 | title: 'Anwendung konfigurieren' |
364 | description: 'Um die Applikation für dich anzupassen, schau in die Konfiguration von wallabag.' | 364 | description: 'Um die Applikation für dich anzupassen, schau in die Konfiguration von wallabag.' |
365 | language: 'Sprache und Design ändern' | 365 | language: 'Sprache und Design ändern' |
366 | rss: 'RSS-Feeds aktivieren' | 366 | feed: 'RSS-Feeds aktivieren' |
367 | tagging_rules: 'Schreibe Regeln, um deine Beiträge automatisch zu taggen (verschlagworten)' | 367 | tagging_rules: 'Schreibe Regeln, um deine Beiträge automatisch zu taggen (verschlagworten)' |
368 | admin: | 368 | admin: |
369 | title: 'Administration' | 369 | title: 'Administration' |
@@ -580,14 +580,14 @@ flashes: | |||
580 | password_updated: 'Kennwort aktualisiert' | 580 | password_updated: 'Kennwort aktualisiert' |
581 | password_not_updated_demo: 'Im Testmodus kannst du das Kennwort nicht ändern.' | 581 | password_not_updated_demo: 'Im Testmodus kannst du das Kennwort nicht ändern.' |
582 | user_updated: 'Information aktualisiert' | 582 | user_updated: 'Information aktualisiert' |
583 | rss_updated: 'RSS-Informationen aktualisiert' | 583 | feed_updated: 'RSS-Informationen aktualisiert' |
584 | tagging_rules_updated: 'Tagging-Regeln aktualisiert' | 584 | tagging_rules_updated: 'Tagging-Regeln aktualisiert' |
585 | tagging_rules_deleted: 'Tagging-Regel gelöscht' | 585 | tagging_rules_deleted: 'Tagging-Regel gelöscht' |
586 | rss_token_updated: 'RSS-Token aktualisiert' | 586 | feed_token_updated: 'RSS-Token aktualisiert' |
587 | annotations_reset: 'Anmerkungen zurücksetzen' | 587 | annotations_reset: Anmerkungen zurücksetzen |
588 | tags_reset: 'Tags zurücksetzen' | 588 | tags_reset: Tags zurücksetzen |
589 | entries_reset: 'Einträge zurücksetzen' | 589 | entries_reset: Einträge zurücksetzen |
590 | archived_reset: 'Archiverte Einträge zurücksetzen' | 590 | archived_reset: Archiverte Einträge zurücksetzen |
591 | entry: | 591 | entry: |
592 | notice: | 592 | notice: |
593 | entry_already_saved: 'Eintrag bereits am %date% gespeichert' | 593 | entry_already_saved: 'Eintrag bereits am %date% gespeichert' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index 45145c80..5b875652 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Config' | 54 | page_title: 'Config' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Settings' | 56 | settings: 'Settings' |
57 | rss: 'RSS' | 57 | feed: 'Feeds' |
58 | user_info: 'User information' | 58 | user_info: 'User information' |
59 | password: 'Password' | 59 | password: 'Password' |
60 | rules: 'Tagging rules' | 60 | rules: 'Tagging rules' |
@@ -85,19 +85,19 @@ config: | |||
85 | 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." | 85 | 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." |
86 | help_language: "You can change the language of wallabag interface." | 86 | help_language: "You can change the language of wallabag interface." |
87 | help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | description: 'Atom feeds provided by wallabag allow you to read your saved articles with your favourite Atom reader. You need to generate a token first.' |
90 | token_label: 'RSS token' | 90 | token_label: 'Feed token' |
91 | no_token: 'No token' | 91 | no_token: 'No token' |
92 | token_create: 'Create your token' | 92 | token_create: 'Create your token' |
93 | token_reset: 'Regenerate your token' | 93 | token_reset: 'Regenerate your token' |
94 | rss_links: 'RSS links' | 94 | feed_links: 'Feed links' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Unread' | 96 | unread: 'Unread' |
97 | starred: 'Starred' | 97 | starred: 'Starred' |
98 | archive: 'Archived' | 98 | archive: 'Archived' |
99 | all: 'All' | 99 | all: 'All' |
100 | rss_limit: 'Number of items in the feed' | 100 | feed_limit: 'Number of items in the feed' |
101 | form_user: | 101 | form_user: |
102 | two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Name' | 103 | name_label: 'Name' |
@@ -372,7 +372,7 @@ quickstart: | |||
372 | title: 'Configure the application' | 372 | title: 'Configure the application' |
373 | description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' | 373 | description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' |
374 | language: 'Change language and design' | 374 | language: 'Change language and design' |
375 | rss: 'Enable RSS feeds' | 375 | feed: 'Enable feeds' |
376 | tagging_rules: 'Write rules to automatically tag your articles' | 376 | tagging_rules: 'Write rules to automatically tag your articles' |
377 | admin: | 377 | admin: |
378 | title: 'Administration' | 378 | title: 'Administration' |
@@ -589,10 +589,10 @@ flashes: | |||
589 | password_updated: 'Password updated' | 589 | password_updated: 'Password updated' |
590 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." | 590 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." |
591 | user_updated: 'Information updated' | 591 | user_updated: 'Information updated' |
592 | rss_updated: 'RSS information updated' | 592 | feed_updated: 'Feed information updated' |
593 | tagging_rules_updated: 'Tagging rules updated' | 593 | tagging_rules_updated: 'Tagging rules updated' |
594 | tagging_rules_deleted: 'Tagging rule deleted' | 594 | tagging_rules_deleted: 'Tagging rule deleted' |
595 | rss_token_updated: 'RSS token updated' | 595 | feed_token_updated: 'Feed token updated' |
596 | annotations_reset: Annotations reset | 596 | annotations_reset: Annotations reset |
597 | tags_reset: Tags reset | 597 | tags_reset: Tags reset |
598 | entries_reset: Entries reset | 598 | entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index c1047e55..562b4191 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Configuración' | 54 | page_title: 'Configuración' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Configuración' | 56 | settings: 'Configuración' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Información de usuario' | 58 | user_info: 'Información de usuario' |
59 | password: 'Contraseña' | 59 | password: 'Contraseña' |
60 | rules: 'Reglas de etiquetado automáticas' | 60 | rules: 'Reglas de etiquetado automáticas' |
@@ -85,19 +85,19 @@ config: | |||
85 | help_reading_speed: "wallabag calcula un tiempo de lectura para cada artículo. Puedes definir aquí, gracias a esta lista, si eres un lector rápido o lento. wallabag recalculará el tiempo de lectura para cada artículo." | 85 | help_reading_speed: "wallabag calcula un tiempo de lectura para cada artículo. Puedes definir aquí, gracias a esta lista, si eres un lector rápido o lento. wallabag recalculará el tiempo de lectura para cada artículo." |
86 | help_language: "Puedes cambiar el idioma de la interfaz de wallabag." | 86 | help_language: "Puedes cambiar el idioma de la interfaz de wallabag." |
87 | help_pocket_consumer_key: "Requerido para la importación desde Pocket. Puedes crearla en tu cuenta de Pocket." | 87 | help_pocket_consumer_key: "Requerido para la importación desde Pocket. Puedes crearla en tu cuenta de Pocket." |
88 | form_rss: | 88 | form_feed: |
89 | description: 'Los feeds RSS de wallabag permiten leer los artículos guardados con su lector RSS favorito. Primero necesitas generar un token.' | 89 | description: 'Los feeds RSS de wallabag permiten leer los artículos guardados con su lector RSS favorito. Primero necesitas generar un token.' |
90 | token_label: 'Token RSS' | 90 | token_label: 'Token RSS' |
91 | no_token: 'Sin token' | 91 | no_token: 'Sin token' |
92 | token_create: 'Crear token' | 92 | token_create: 'Crear token' |
93 | token_reset: 'Reiniciar token' | 93 | token_reset: 'Reiniciar token' |
94 | rss_links: 'URLs de feeds RSS' | 94 | feed_links: 'URLs de feeds RSS' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'sin leer' | 96 | unread: 'sin leer' |
97 | starred: 'favoritos' | 97 | starred: 'favoritos' |
98 | archive: 'archivados' | 98 | archive: 'archivados' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'Límite de artículos en feed RSS' | 100 | feed_limit: 'Límite de artículos en feed RSS' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nombre' | 103 | name_label: 'Nombre' |
@@ -372,7 +372,7 @@ quickstart: | |||
372 | title: 'Configure la aplicación' | 372 | title: 'Configure la aplicación' |
373 | description: 'Para que la aplicación se ajuste a tus necesidades, echa un vistazo a la configuración de wallabag.' | 373 | description: 'Para que la aplicación se ajuste a tus necesidades, echa un vistazo a la configuración de wallabag.' |
374 | language: 'Cambie el idioma y el diseño' | 374 | language: 'Cambie el idioma y el diseño' |
375 | rss: 'Activar los feeds RSS' | 375 | feed: 'Activar los feeds RSS' |
376 | tagging_rules: 'Escribe reglas para etiquetar automáticamente tus artículos' | 376 | tagging_rules: 'Escribe reglas para etiquetar automáticamente tus artículos' |
377 | admin: | 377 | admin: |
378 | title: 'Administración' | 378 | title: 'Administración' |
@@ -589,10 +589,10 @@ flashes: | |||
589 | password_updated: 'Contraseña actualizada' | 589 | password_updated: 'Contraseña actualizada' |
590 | password_not_updated_demo: "En el modo demo, no puede cambiar la contraseña del usuario." | 590 | password_not_updated_demo: "En el modo demo, no puede cambiar la contraseña del usuario." |
591 | user_updated: 'Información actualizada' | 591 | user_updated: 'Información actualizada' |
592 | rss_updated: 'Configuración RSS actualizada' | 592 | feed_updated: 'Configuración RSS actualizada' |
593 | tagging_rules_updated: 'Regla de etiquetado actualizada' | 593 | tagging_rules_updated: 'Regla de etiquetado actualizada' |
594 | tagging_rules_deleted: 'Regla de etiquetado eliminada' | 594 | tagging_rules_deleted: 'Regla de etiquetado eliminada' |
595 | rss_token_updated: 'Token RSS actualizado' | 595 | feed_token_updated: 'Token RSS actualizado' |
596 | annotations_reset: Anotaciones reiniciadas | 596 | annotations_reset: Anotaciones reiniciadas |
597 | tags_reset: Etiquetas reiniciadas | 597 | tags_reset: Etiquetas reiniciadas |
598 | entries_reset: Artículos reiniciados | 598 | entries_reset: Artículos reiniciados |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 3042de2e..f360e0d6 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'پیکربندی' | 54 | page_title: 'پیکربندی' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'تنظیمات' | 56 | settings: 'تنظیمات' |
57 | rss: 'آر-اس-اس' | 57 | feed: 'آر-اس-اس' |
58 | user_info: 'اطلاعات کاربر' | 58 | user_info: 'اطلاعات کاربر' |
59 | password: 'رمز' | 59 | password: 'رمز' |
60 | rules: 'برچسبگذاری خودکار' | 60 | rules: 'برچسبگذاری خودکار' |
@@ -85,19 +85,19 @@ config: | |||
85 | # 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." | 85 | # 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." |
86 | # help_language: "You can change the language of wallabag interface." | 86 | # help_language: "You can change the language of wallabag interface." |
87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | description: 'با خوراک آر-اس-اس که wallabag در اختیارتان میگذارد، میتوانید مقالههای ذخیرهشده را در نرمافزار آر-اس-اس دلخواه خود بخوانید. برای این کار نخست باید یک کد بسازید.' | 89 | description: 'با خوراک آر-اس-اس که wallabag در اختیارتان میگذارد، میتوانید مقالههای ذخیرهشده را در نرمافزار آر-اس-اس دلخواه خود بخوانید. برای این کار نخست باید یک کد بسازید.' |
90 | token_label: 'کد آر-اس-اس' | 90 | token_label: 'کد آر-اس-اس' |
91 | no_token: 'بدون کد' | 91 | no_token: 'بدون کد' |
92 | token_create: 'کد خود را بسازید' | 92 | token_create: 'کد خود را بسازید' |
93 | token_reset: 'بازنشانی کد' | 93 | token_reset: 'بازنشانی کد' |
94 | rss_links: 'پیوند آر-اس-اس' | 94 | feed_links: 'پیوند آر-اس-اس' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'خواندهنشده' | 96 | unread: 'خواندهنشده' |
97 | starred: 'برگزیده' | 97 | starred: 'برگزیده' |
98 | archive: 'بایگانی' | 98 | archive: 'بایگانی' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'محدودیت آر-اس-اس' | 100 | feed_limit: 'محدودیت آر-اس-اس' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'نام' | 103 | name_label: 'نام' |
@@ -372,7 +372,7 @@ quickstart: | |||
372 | title: 'برنامه را تنظیم کنید' | 372 | title: 'برنامه را تنظیم کنید' |
373 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' | 373 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' |
374 | language: 'زبان و نمای برنامه را تغییر دهید' | 374 | language: 'زبان و نمای برنامه را تغییر دهید' |
375 | rss: 'خوراک آر-اس-اس را فعال کنید' | 375 | feed: 'خوراک آر-اس-اس را فعال کنید' |
376 | tagging_rules: 'قانونهای برچسبگذاری خودکار مقالههایتان را تعریف کنید' | 376 | tagging_rules: 'قانونهای برچسبگذاری خودکار مقالههایتان را تعریف کنید' |
377 | admin: | 377 | admin: |
378 | title: 'مدیریت' | 378 | title: 'مدیریت' |
@@ -589,10 +589,10 @@ flashes: | |||
589 | password_updated: 'رمز بهروز شد' | 589 | password_updated: 'رمز بهروز شد' |
590 | password_not_updated_demo: "در حالت نمایشی نمیتوانید رمز کاربر را عوض کنید." | 590 | password_not_updated_demo: "در حالت نمایشی نمیتوانید رمز کاربر را عوض کنید." |
591 | user_updated: 'اطلاعات بهروز شد' | 591 | user_updated: 'اطلاعات بهروز شد' |
592 | rss_updated: 'اطلاعات آر-اس-اس بهروز شد' | 592 | feed_updated: 'اطلاعات آر-اس-اس بهروز شد' |
593 | tagging_rules_updated: 'برچسبگذاری خودکار بهروز شد' | 593 | tagging_rules_updated: 'برچسبگذاری خودکار بهروز شد' |
594 | tagging_rules_deleted: 'قانون برچسبگذاری پاک شد' | 594 | tagging_rules_deleted: 'قانون برچسبگذاری پاک شد' |
595 | rss_token_updated: 'کد آر-اس-اس بهروز شد' | 595 | feed_token_updated: 'کد آر-اس-اس بهروز شد' |
596 | # annotations_reset: Annotations reset | 596 | # annotations_reset: Annotations reset |
597 | # tags_reset: Tags reset | 597 | # tags_reset: Tags reset |
598 | # entries_reset: Entries reset | 598 | # entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 57740ba2..79f15154 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: "Configuration" | 54 | page_title: "Configuration" |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: "Paramètres" | 56 | settings: "Paramètres" |
57 | rss: "RSS" | 57 | feed: "Flux" |
58 | user_info: "Mon compte" | 58 | user_info: "Mon compte" |
59 | password: "Mot de passe" | 59 | password: "Mot de passe" |
60 | rules: "Règles de tag automatiques" | 60 | rules: "Règles de tag automatiques" |
@@ -85,19 +85,19 @@ config: | |||
85 | 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." | 85 | 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." |
86 | help_language: "Vous pouvez définir la langue de l’interface de wallabag." | 86 | help_language: "Vous pouvez définir la langue de l’interface de wallabag." |
87 | help_pocket_consumer_key: "Nécessaire pour l’import depuis Pocket. Vous pouvez le créer depuis votre compte Pocket." | 87 | help_pocket_consumer_key: "Nécessaire pour l’import depuis Pocket. Vous pouvez le créer depuis votre compte Pocket." |
88 | form_rss: | 88 | form_feed: |
89 | 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." | 89 | description: "Les flux Atom 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." |
90 | token_label: "Jeton RSS" | 90 | token_label: "Jeton de flux" |
91 | no_token: "Aucun jeton généré" | 91 | no_token: "Aucun jeton généré" |
92 | token_create: "Créez votre jeton" | 92 | token_create: "Créez votre jeton" |
93 | token_reset: "Réinitialisez votre jeton" | 93 | token_reset: "Réinitialisez votre jeton" |
94 | rss_links: "Adresses de vos flux RSS" | 94 | feed_links: "Adresses de vos flux" |
95 | rss_link: | 95 | feed_link: |
96 | unread: "Non lus" | 96 | unread: "Non lus" |
97 | starred: "Favoris" | 97 | starred: "Favoris" |
98 | archive: "Lus" | 98 | archive: "Lus" |
99 | all: "Tous" | 99 | all: "Tous" |
100 | rss_limit: "Nombre d’articles dans le flux" | 100 | feed_limit: "Nombre d’articles dans le flux" |
101 | form_user: | 101 | form_user: |
102 | two_factor_description: "Activer l’authentification double-facteur veut dire que vous allez recevoir un code par courriel OU que vous devriez utiliser une application de mot de passe à usage unique (comme Google Authenticator, Authy or FreeOTP) pour obtenir un code temporaire à chaque nouvelle connexion non approuvée. Vous ne pouvez pas choisir les deux options." | 102 | two_factor_description: "Activer l’authentification double-facteur veut dire que vous allez recevoir un code par courriel OU que vous devriez utiliser une application de mot de passe à usage unique (comme Google Authenticator, Authy or FreeOTP) pour obtenir un code temporaire à chaque nouvelle connexion non approuvée. Vous ne pouvez pas choisir les deux options." |
103 | name_label: "Nom" | 103 | name_label: "Nom" |
@@ -372,7 +372,7 @@ quickstart: | |||
372 | title: "Configurez l’application" | 372 | title: "Configurez l’application" |
373 | description: "Pour voir une application qui vous correspond, allez voir du côté de la configuration de wallabag." | 373 | description: "Pour voir une application qui vous correspond, allez voir du côté de la configuration de wallabag." |
374 | language: "Changez la langue et le design de l’application" | 374 | language: "Changez la langue et le design de l’application" |
375 | rss: "Activez les flux RSS" | 375 | feed: "Activez les flux Atom" |
376 | tagging_rules: "Écrivez des règles pour classer automatiquement vos articles" | 376 | tagging_rules: "Écrivez des règles pour classer automatiquement vos articles" |
377 | admin: | 377 | admin: |
378 | title: "Administration" | 378 | title: "Administration" |
@@ -590,10 +590,10 @@ flashes: | |||
590 | password_updated: "Votre mot de passe a bien été mis à jour" | 590 | password_updated: "Votre mot de passe a bien été mis à jour" |
591 | password_not_updated_demo: "En démo, vous ne pouvez pas changer le mot de passe de cet utilisateur." | 591 | password_not_updated_demo: "En démo, vous ne pouvez pas changer le mot de passe de cet utilisateur." |
592 | user_updated: "Vos informations personnelles ont bien été mises à jour" | 592 | user_updated: "Vos informations personnelles ont bien été mises à jour" |
593 | rss_updated: "La configuration des flux RSS a bien été mise à jour" | 593 | feed_updated: "La configuration des flux a bien été mise à jour" |
594 | tagging_rules_updated: "Règles mises à jour" | 594 | tagging_rules_updated: "Règles mises à jour" |
595 | tagging_rules_deleted: "Règle supprimée" | 595 | tagging_rules_deleted: "Règle supprimée" |
596 | rss_token_updated: "Jeton RSS mis à jour" | 596 | feed_token_updated: "Jeton des flux mis à jour" |
597 | annotations_reset: "Annotations supprimées" | 597 | annotations_reset: "Annotations supprimées" |
598 | tags_reset: "Tags supprimés" | 598 | tags_reset: "Tags supprimés" |
599 | entries_reset: "Articles supprimés" | 599 | entries_reset: "Articles supprimés" |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index 274e5338..daef359f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Configurazione' | 54 | page_title: 'Configurazione' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Impostazioni' | 56 | settings: 'Impostazioni' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Informazioni utente' | 58 | user_info: 'Informazioni utente' |
59 | password: 'Password' | 59 | password: 'Password' |
60 | rules: 'Regole di etichettatura' | 60 | rules: 'Regole di etichettatura' |
@@ -85,19 +85,19 @@ config: | |||
85 | help_reading_speed: "wallabag calcola un tempo di lettura per ogni articolo. Puoi definire qui, grazie a questa lista, se sei un lettore lento o veloce. wallabag ricalcolerà la velocità di lettura per ogni articolo." | 85 | help_reading_speed: "wallabag calcola un tempo di lettura per ogni articolo. Puoi definire qui, grazie a questa lista, se sei un lettore lento o veloce. wallabag ricalcolerà la velocità di lettura per ogni articolo." |
86 | help_language: "Puoi cambiare la lingua dell'interfaccia di wallabag." | 86 | help_language: "Puoi cambiare la lingua dell'interfaccia di wallabag." |
87 | help_pocket_consumer_key: "Richiesta per importare da Pocket. La puoi creare nel tuo account Pocket." | 87 | help_pocket_consumer_key: "Richiesta per importare da Pocket. La puoi creare nel tuo account Pocket." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | 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.' |
90 | token_label: 'Token RSS' | 90 | token_label: 'Token RSS' |
91 | no_token: 'Nessun token' | 91 | no_token: 'Nessun token' |
92 | token_create: 'Crea il tuo token' | 92 | token_create: 'Crea il tuo token' |
93 | token_reset: 'Rigenera il tuo token' | 93 | token_reset: 'Rigenera il tuo token' |
94 | rss_links: 'Collegamenti RSS' | 94 | feed_links: 'Collegamenti RSS' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Non letti' | 96 | unread: 'Non letti' |
97 | starred: 'Preferiti' | 97 | starred: 'Preferiti' |
98 | archive: 'Archiviati' | 98 | archive: 'Archiviati' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'Numero di elementi nel feed' | 100 | feed_limit: 'Numero di elementi nel feed' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nome' | 103 | name_label: 'Nome' |
@@ -371,7 +371,7 @@ quickstart: | |||
371 | title: "Configura l'applicazione" | 371 | title: "Configura l'applicazione" |
372 | description: "Per avere un'applicazione che ti soddisfi, dai un'occhiata alla configurazione di wallabag." | 372 | description: "Per avere un'applicazione che ti soddisfi, dai un'occhiata alla configurazione di wallabag." |
373 | language: 'Cambia lingua e design' | 373 | language: 'Cambia lingua e design' |
374 | rss: 'Abilita i feed RSS' | 374 | feed: 'Abilita i feed RSS' |
375 | tagging_rules: 'Scrivi delle regole per taggare automaticamente i contenuti' | 375 | tagging_rules: 'Scrivi delle regole per taggare automaticamente i contenuti' |
376 | admin: | 376 | admin: |
377 | title: 'Amministrazione' | 377 | title: 'Amministrazione' |
@@ -588,10 +588,10 @@ flashes: | |||
588 | password_updated: 'Password aggiornata' | 588 | password_updated: 'Password aggiornata' |
589 | password_not_updated_demo: "In modalità demo, non puoi cambiare la password dell'utente." | 589 | password_not_updated_demo: "In modalità demo, non puoi cambiare la password dell'utente." |
590 | user_updated: 'Informazioni aggiornate' | 590 | user_updated: 'Informazioni aggiornate' |
591 | rss_updated: 'Informazioni RSS aggiornate' | 591 | feed_updated: 'Informazioni RSS aggiornate' |
592 | tagging_rules_updated: 'Regole di etichettatura aggiornate' | 592 | tagging_rules_updated: 'Regole di etichettatura aggiornate' |
593 | tagging_rules_deleted: 'Regola di etichettatura eliminate' | 593 | tagging_rules_deleted: 'Regola di etichettatura eliminate' |
594 | rss_token_updated: 'RSS token aggiornato' | 594 | feed_token_updated: 'RSS token aggiornato' |
595 | annotations_reset: Reset annotazioni | 595 | annotations_reset: Reset annotazioni |
596 | tags_reset: Reset etichette | 596 | tags_reset: Reset etichette |
597 | entries_reset: Reset articoli | 597 | entries_reset: Reset articoli |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index 4e5370f9..980ddeb4 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Configuracion' | 54 | page_title: 'Configuracion' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Paramètres' | 56 | settings: 'Paramètres' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Mon compte' | 58 | user_info: 'Mon compte' |
59 | password: 'Senhal' | 59 | password: 'Senhal' |
60 | rules: "Règlas d'etiquetas automaticas" | 60 | rules: "Règlas d'etiquetas automaticas" |
@@ -85,19 +85,19 @@ config: | |||
85 | help_reading_speed: "wallabag calcula lo temps de lectura per cada article. Podètz lo definir aquí, gràcias a aquesta lista, se sètz un legeire rapid o lent. wallabag tornarà calcular lo temps de lectura per cada article." | 85 | help_reading_speed: "wallabag calcula lo temps de lectura per cada article. Podètz lo definir aquí, gràcias a aquesta lista, se sètz un legeire rapid o lent. wallabag tornarà calcular lo temps de lectura per cada article." |
86 | help_language: "Podètz cambiar la lenga de l'interfàcia de wallabag." | 86 | help_language: "Podètz cambiar la lenga de l'interfàcia de wallabag." |
87 | help_pocket_consumer_key: "Requesida per l'importacion de Pocket. Podètz la crear dins vòstre compte Pocket." | 87 | help_pocket_consumer_key: "Requesida per l'importacion de Pocket. Podètz la crear dins vòstre compte Pocket." |
88 | form_rss: | 88 | form_feed: |
89 | 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." | 89 | 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." |
90 | token_label: 'Geton RSS' | 90 | token_label: 'Geton RSS' |
91 | no_token: 'Pas cap de geton generat' | 91 | no_token: 'Pas cap de geton generat' |
92 | token_create: 'Creatz vòstre geton' | 92 | token_create: 'Creatz vòstre geton' |
93 | token_reset: 'Reïnicializatz vòstre geton' | 93 | token_reset: 'Reïnicializatz vòstre geton' |
94 | rss_links: 'URLs de vòstres fluxes RSS' | 94 | feed_links: 'URLs de vòstres fluxes RSS' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Pas legits' | 96 | unread: 'Pas legits' |
97 | starred: 'Favorits' | 97 | starred: 'Favorits' |
98 | archive: 'Legits' | 98 | archive: 'Legits' |
99 | all: 'Totes' | 99 | all: 'Totes' |
100 | rss_limit: "Nombre d'articles dins un flux RSS" | 100 | feed_limit: "Nombre d'articles dins un flux" |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nom' | 103 | name_label: 'Nom' |
@@ -371,7 +371,7 @@ quickstart: | |||
371 | title: "Configuratz l'aplicacion" | 371 | title: "Configuratz l'aplicacion" |
372 | description: "Per fin d'aver una aplicacion que vos va ben, anatz veire la configuracion de wallabag." | 372 | description: "Per fin d'aver una aplicacion que vos va ben, anatz veire la configuracion de wallabag." |
373 | language: "Cambiatz la lenga e l'estil de l'aplicacion" | 373 | language: "Cambiatz la lenga e l'estil de l'aplicacion" |
374 | rss: 'Activatz los fluxes RSS' | 374 | feed: 'Activatz los fluxes RSS' |
375 | tagging_rules: 'Escrivètz de règlas per classar automaticament vòstres articles' | 375 | tagging_rules: 'Escrivètz de règlas per classar automaticament vòstres articles' |
376 | admin: | 376 | admin: |
377 | title: 'Administracion' | 377 | title: 'Administracion' |
@@ -588,10 +588,10 @@ flashes: | |||
588 | password_updated: 'Vòstre senhal es ben estat mes a jorn' | 588 | password_updated: 'Vòstre senhal es ben estat mes a jorn' |
589 | password_not_updated_demo: "En demostracion, podètz pas cambiar lo senhal d'aqueste utilizaire." | 589 | password_not_updated_demo: "En demostracion, podètz pas cambiar lo senhal d'aqueste utilizaire." |
590 | user_updated: 'Vòstres informacions personnelas son ben estadas mesas a jorn' | 590 | user_updated: 'Vòstres informacions personnelas son ben estadas mesas a jorn' |
591 | rss_updated: 'La configuracion dels fluxes RSS es ben estada mesa a jorn' | 591 | feed_updated: 'La configuracion dels fluxes RSS es ben estada mesa a jorn' |
592 | tagging_rules_updated: 'Règlas misa a jorn' | 592 | tagging_rules_updated: 'Règlas misa a jorn' |
593 | tagging_rules_deleted: 'Règla suprimida' | 593 | tagging_rules_deleted: 'Règla suprimida' |
594 | rss_token_updated: 'Geton RSS mes a jorn' | 594 | feed_token_updated: 'Geton RSS mes a jorn' |
595 | annotations_reset: Anotacions levadas | 595 | annotations_reset: Anotacions levadas |
596 | tags_reset: Etiquetas levadas | 596 | tags_reset: Etiquetas levadas |
597 | entries_reset: Articles levats | 597 | entries_reset: Articles levats |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index a7a4d6c3..3813ac37 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Konfiguracja' | 54 | page_title: 'Konfiguracja' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Ustawienia' | 56 | settings: 'Ustawienia' |
57 | rss: 'Kanał RSS' | 57 | feed: 'Kanał RSS' |
58 | user_info: 'Informacje o użytkowniku' | 58 | user_info: 'Informacje o użytkowniku' |
59 | password: 'Hasło' | 59 | password: 'Hasło' |
60 | rules: 'Zasady tagowania' | 60 | rules: 'Zasady tagowania' |
@@ -85,19 +85,19 @@ config: | |||
85 | help_reading_speed: "wallabag oblicza czas czytania każdego artykułu. Dzięki tej liście możesz określić swoje tempo. Wallabag przeliczy ponownie czas potrzebny, na przeczytanie każdego z artykułów." | 85 | help_reading_speed: "wallabag oblicza czas czytania każdego artykułu. Dzięki tej liście możesz określić swoje tempo. Wallabag przeliczy ponownie czas potrzebny, na przeczytanie każdego z artykułów." |
86 | help_language: "Możesz zmienić język interfejsu wallabag." | 86 | help_language: "Możesz zmienić język interfejsu wallabag." |
87 | help_pocket_consumer_key: "Wymagane dla importu z Pocket. Możesz go stworzyć na swoim koncie Pocket." | 87 | help_pocket_consumer_key: "Wymagane dla importu z Pocket. Możesz go stworzyć na swoim koncie Pocket." |
88 | form_rss: | 88 | form_feed: |
89 | description: 'Kanały RSS prowadzone przez wallabag pozwalają Ci na czytanie twoich zapisanych artykułów w twoim ulubionym czytniku RSS. Musisz najpierw wynegenerować tokena.' | 89 | description: 'Kanały RSS prowadzone przez wallabag pozwalają Ci na czytanie twoich zapisanych artykułów w twoim ulubionym czytniku RSS. Musisz najpierw wynegenerować tokena.' |
90 | token_label: 'Token RSS' | 90 | token_label: 'Token RSS' |
91 | no_token: 'Brak tokena' | 91 | no_token: 'Brak tokena' |
92 | token_create: 'Stwórz tokena' | 92 | token_create: 'Stwórz tokena' |
93 | token_reset: 'Zresetuj swojego tokena' | 93 | token_reset: 'Zresetuj swojego tokena' |
94 | rss_links: 'RSS links' | 94 | feed_links: 'RSS links' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Nieprzeczytane' | 96 | unread: 'Nieprzeczytane' |
97 | starred: 'Oznaczone gwiazdką' | 97 | starred: 'Oznaczone gwiazdką' |
98 | archive: 'Archiwum' | 98 | archive: 'Archiwum' |
99 | all: 'Wszystkie' | 99 | all: 'Wszystkie' |
100 | rss_limit: 'Link do RSS' | 100 | feed_limit: 'Link do RSS' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nazwa' | 103 | name_label: 'Nazwa' |
@@ -371,7 +371,7 @@ quickstart: | |||
371 | title: 'Konfiguruj aplikację' | 371 | title: 'Konfiguruj aplikację' |
372 | description: 'W celu dopasowania aplikacji do swoich upodobań, zobacz konfigurację aplikacji' | 372 | description: 'W celu dopasowania aplikacji do swoich upodobań, zobacz konfigurację aplikacji' |
373 | language: 'Zmień język i wygląd' | 373 | language: 'Zmień język i wygląd' |
374 | rss: 'Włącz kanały RSS' | 374 | feed: 'Włącz kanały RSS' |
375 | tagging_rules: 'Napisz reguły pozwalające na automatyczne otagowanie twoich artykułów' | 375 | tagging_rules: 'Napisz reguły pozwalające na automatyczne otagowanie twoich artykułów' |
376 | admin: | 376 | admin: |
377 | title: 'Administracja' | 377 | title: 'Administracja' |
@@ -588,10 +588,10 @@ flashes: | |||
588 | password_updated: 'Hasło zaktualizowane' | 588 | password_updated: 'Hasło zaktualizowane' |
589 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." | 589 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." |
590 | user_updated: 'Informacje zaktualizowane' | 590 | user_updated: 'Informacje zaktualizowane' |
591 | rss_updated: 'Informacje RSS zaktualizowane' | 591 | feed_updated: 'Informacje RSS zaktualizowane' |
592 | tagging_rules_updated: 'Reguły tagowania zaktualizowane' | 592 | tagging_rules_updated: 'Reguły tagowania zaktualizowane' |
593 | tagging_rules_deleted: 'Reguła tagowania usunięta' | 593 | tagging_rules_deleted: 'Reguła tagowania usunięta' |
594 | rss_token_updated: 'Token kanału RSS zaktualizowany' | 594 | feed_token_updated: 'Token kanału RSS zaktualizowany' |
595 | annotations_reset: Zresetuj adnotacje | 595 | annotations_reset: Zresetuj adnotacje |
596 | tags_reset: Zresetuj tagi | 596 | tags_reset: Zresetuj tagi |
597 | entries_reset: Zresetuj wpisy | 597 | entries_reset: Zresetuj wpisy |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index a5483a6d..96943c05 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Config' | 54 | page_title: 'Config' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Configurações' | 56 | settings: 'Configurações' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Informação do Usuário' | 58 | user_info: 'Informação do Usuário' |
59 | password: 'Senha' | 59 | password: 'Senha' |
60 | rules: 'Regras de tags' | 60 | rules: 'Regras de tags' |
@@ -85,19 +85,19 @@ config: | |||
85 | # 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." | 85 | # 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." |
86 | # help_language: "You can change the language of wallabag interface." | 86 | # help_language: "You can change the language of wallabag interface." |
87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | 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.' |
90 | token_label: 'Token RSS' | 90 | token_label: 'Token RSS' |
91 | no_token: 'Nenhum Token' | 91 | no_token: 'Nenhum Token' |
92 | token_create: 'Criar seu token' | 92 | token_create: 'Criar seu token' |
93 | token_reset: 'Gerar novamente seu token' | 93 | token_reset: 'Gerar novamente seu token' |
94 | rss_links: 'Links RSS' | 94 | feed_links: 'Links RSS' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Não lido' | 96 | unread: 'Não lido' |
97 | starred: 'Destacado' | 97 | starred: 'Destacado' |
98 | archive: 'Arquivado' | 98 | archive: 'Arquivado' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'Número de itens no feed' | 100 | feed_limit: 'Número de itens no feed' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nome' | 103 | name_label: 'Nome' |
@@ -371,7 +371,7 @@ quickstart: | |||
371 | title: 'Configurar a aplicação' | 371 | title: 'Configurar a aplicação' |
372 | description: 'Para ter uma aplicação que atende você, dê uma olhada na configuração do wallabag.' | 372 | description: 'Para ter uma aplicação que atende você, dê uma olhada na configuração do wallabag.' |
373 | language: 'Alterar idioma e design' | 373 | language: 'Alterar idioma e design' |
374 | rss: 'Habilitar feeds RSS' | 374 | feed: 'Habilitar feeds RSS' |
375 | tagging_rules: 'Escrever regras para acrescentar tags automaticamente em seus artigos' | 375 | tagging_rules: 'Escrever regras para acrescentar tags automaticamente em seus artigos' |
376 | admin: | 376 | admin: |
377 | title: 'Administração' | 377 | title: 'Administração' |
@@ -588,10 +588,10 @@ flashes: | |||
588 | password_updated: 'Senha atualizada' | 588 | password_updated: 'Senha atualizada' |
589 | password_not_updated_demo: 'Em modo de demonstração, você não pode alterar a senha deste usuário.' | 589 | password_not_updated_demo: 'Em modo de demonstração, você não pode alterar a senha deste usuário.' |
590 | # user_updated: 'Information updated' | 590 | # user_updated: 'Information updated' |
591 | rss_updated: 'Informação de RSS atualizada' | 591 | feed_updated: 'Informação de RSS atualizada' |
592 | tagging_rules_updated: 'Regras de tags atualizadas' | 592 | tagging_rules_updated: 'Regras de tags atualizadas' |
593 | tagging_rules_deleted: 'Regra de tag apagada' | 593 | tagging_rules_deleted: 'Regra de tag apagada' |
594 | rss_token_updated: 'Token RSS atualizado' | 594 | feed_token_updated: 'Token RSS atualizado' |
595 | # annotations_reset: Annotations reset | 595 | # annotations_reset: Annotations reset |
596 | # tags_reset: Tags reset | 596 | # tags_reset: Tags reset |
597 | # entries_reset: Entries reset | 597 | # entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 3b7fbd69..0ce11e74 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Configurație' | 54 | page_title: 'Configurație' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Setări' | 56 | settings: 'Setări' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Informații despre utilizator' | 58 | user_info: 'Informații despre utilizator' |
59 | password: 'Parolă' | 59 | password: 'Parolă' |
60 | # rules: 'Tagging rules' | 60 | # rules: 'Tagging rules' |
@@ -85,19 +85,19 @@ config: | |||
85 | # 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." | 85 | # 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." |
86 | # help_language: "You can change the language of wallabag interface." | 86 | # help_language: "You can change the language of wallabag interface." |
87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | description: 'Feed-urile RSS oferite de wallabag îți permit să-ți citești articolele salvate în reader-ul tău preferat RSS.' | 89 | description: 'Feed-urile RSS oferite de wallabag îți permit să-ți citești articolele salvate în reader-ul tău preferat RSS.' |
90 | token_label: 'RSS-Token' | 90 | token_label: 'RSS-Token' |
91 | no_token: 'Fără token' | 91 | no_token: 'Fără token' |
92 | token_create: 'Crează-ți token' | 92 | token_create: 'Crează-ți token' |
93 | token_reset: 'Resetează-ți token-ul' | 93 | token_reset: 'Resetează-ți token-ul' |
94 | rss_links: 'Link-uri RSS' | 94 | feed_links: 'Link-uri RSS' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Unread' | 96 | unread: 'Unread' |
97 | starred: 'Starred' | 97 | starred: 'Starred' |
98 | archive: 'Archived' | 98 | archive: 'Archived' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'Limită RSS' | 100 | feed_limit: 'Limită RSS' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'Nume' | 103 | name_label: 'Nume' |
@@ -371,7 +371,7 @@ quickstart: | |||
371 | # title: 'Configure the application' | 371 | # title: 'Configure the application' |
372 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' | 372 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' |
373 | # language: 'Change language and design' | 373 | # language: 'Change language and design' |
374 | # rss: 'Enable RSS feeds' | 374 | # feed: 'Enable RSS feeds' |
375 | # tagging_rules: 'Write rules to automatically tag your articles' | 375 | # tagging_rules: 'Write rules to automatically tag your articles' |
376 | # admin: | 376 | # admin: |
377 | # title: 'Administration' | 377 | # title: 'Administration' |
@@ -588,10 +588,10 @@ flashes: | |||
588 | password_updated: 'Parolă actualizată' | 588 | password_updated: 'Parolă actualizată' |
589 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." | 589 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." |
590 | user_updated: 'Informație actualizată' | 590 | user_updated: 'Informație actualizată' |
591 | rss_updated: 'Informație RSS actualizată' | 591 | feed_updated: 'Informație RSS actualizată' |
592 | # tagging_rules_updated: 'Tagging rules updated' | 592 | # tagging_rules_updated: 'Tagging rules updated' |
593 | # tagging_rules_deleted: 'Tagging rule deleted' | 593 | # tagging_rules_deleted: 'Tagging rule deleted' |
594 | # rss_token_updated: 'RSS token updated' | 594 | # feed_token_updated: 'RSS token updated' |
595 | # annotations_reset: Annotations reset | 595 | # annotations_reset: Annotations reset |
596 | # tags_reset: Tags reset | 596 | # tags_reset: Tags reset |
597 | # entries_reset: Entries reset | 597 | # entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index 3b8a0d59..2f86f25d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml | |||
@@ -54,7 +54,7 @@ config: | |||
54 | page_title: 'Yapılandırma' | 54 | page_title: 'Yapılandırma' |
55 | tab_menu: | 55 | tab_menu: |
56 | settings: 'Ayarlar' | 56 | settings: 'Ayarlar' |
57 | rss: 'RSS' | 57 | feed: 'RSS' |
58 | user_info: 'Kullanıcı bilgileri' | 58 | user_info: 'Kullanıcı bilgileri' |
59 | password: 'Şifre' | 59 | password: 'Şifre' |
60 | rules: 'Etiketleme kuralları' | 60 | rules: 'Etiketleme kuralları' |
@@ -85,19 +85,19 @@ config: | |||
85 | # 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." | 85 | # 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." |
86 | # help_language: "You can change the language of wallabag interface." | 86 | # help_language: "You can change the language of wallabag interface." |
87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." | 87 | # help_pocket_consumer_key: "Required for Pocket import. You can create it in your Pocket account." |
88 | form_rss: | 88 | form_feed: |
89 | 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.' | 89 | 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.' |
90 | token_label: 'RSS belirteci (token)' | 90 | token_label: 'RSS belirteci (token)' |
91 | no_token: 'Belirteç (token) yok' | 91 | no_token: 'Belirteç (token) yok' |
92 | token_create: 'Yeni belirteç (token) oluştur' | 92 | token_create: 'Yeni belirteç (token) oluştur' |
93 | token_reset: 'Belirteci (token) sıfırla' | 93 | token_reset: 'Belirteci (token) sıfırla' |
94 | rss_links: 'RSS akış bağlantıları' | 94 | feed_links: 'RSS akış bağlantıları' |
95 | rss_link: | 95 | feed_link: |
96 | unread: 'Okunmayan' | 96 | unread: 'Okunmayan' |
97 | starred: 'Favoriler' | 97 | starred: 'Favoriler' |
98 | archive: 'Arşiv' | 98 | archive: 'Arşiv' |
99 | # all: 'All' | 99 | # all: 'All' |
100 | rss_limit: 'RSS içeriğinden talep edilecek makale limiti' | 100 | feed_limit: 'RSS içeriğinden talep edilecek makale limiti' |
101 | form_user: | 101 | form_user: |
102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." | 102 | # two_factor_description: "Enabling two factor authentication means you'll receive an email with a code OR need to use an OTP app (like Google Authenticator, Authy or FreeOTP) to get a one time code on every new untrusted connection. You can't choose both option." |
103 | name_label: 'İsim' | 103 | name_label: 'İsim' |
@@ -369,7 +369,7 @@ quickstart: | |||
369 | title: 'Uygulamayı Yapılandırma' | 369 | title: 'Uygulamayı Yapılandırma' |
370 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' | 370 | # description: 'In order to have an application which suits you, have a look into the configuration of wallabag.' |
371 | language: 'Dili ve tasarımı değiştirme' | 371 | language: 'Dili ve tasarımı değiştirme' |
372 | rss: 'RSS akışını aktifleştirme' | 372 | feed: 'RSS akışını aktifleştirme' |
373 | # tagging_rules: 'Write rules to automatically tag your articles' | 373 | # tagging_rules: 'Write rules to automatically tag your articles' |
374 | admin: | 374 | admin: |
375 | # title: 'Administration' | 375 | # title: 'Administration' |
@@ -566,10 +566,10 @@ flashes: | |||
566 | password_updated: 'Şifre güncellendi' | 566 | password_updated: 'Şifre güncellendi' |
567 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." | 567 | password_not_updated_demo: "In demonstration mode, you can't change password for this user." |
568 | user_updated: 'Bilgiler güncellendi' | 568 | user_updated: 'Bilgiler güncellendi' |
569 | rss_updated: 'RSS bilgiler güncellendi' | 569 | feed_updated: 'RSS bilgiler güncellendi' |
570 | tagging_rules_updated: 'Tagging rules updated' | 570 | tagging_rules_updated: 'Tagging rules updated' |
571 | tagging_rules_deleted: 'Tagging rule deleted' | 571 | tagging_rules_deleted: 'Tagging rule deleted' |
572 | rss_token_updated: 'RSS token updated' | 572 | feed_token_updated: 'RSS token updated' |
573 | # annotations_reset: Annotations reset | 573 | # annotations_reset: Annotations reset |
574 | # tags_reset: Tags reset | 574 | # tags_reset: Tags reset |
575 | # entries_reset: Entries reset | 575 | # entries_reset: Entries reset |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml index c6a84209..c0438978 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.da.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'Adgangskoden skal være mindst 8 tegn' | 3 | password_too_short: 'Adgangskoden skal være mindst 8 tegn' |
4 | # password_wrong_value: 'Wrong value for your current password' | 4 | # password_wrong_value: 'Wrong value for your current password' |
5 | # item_per_page_too_high: 'This will certainly kill the app' | 5 | # item_per_page_too_high: 'This will certainly kill the app' |
6 | # rss_limit_too_high: 'This will certainly kill the app' | 6 | # feed_limit_too_high: 'This will certainly kill the app' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml index 907b67a5..4c675ef4 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.de.yml | |||
@@ -3,6 +3,5 @@ validator: | |||
3 | password_too_short: 'Kennwort-Mindestlänge von acht Zeichen nicht erfüllt' | 3 | password_too_short: 'Kennwort-Mindestlänge von acht Zeichen nicht erfüllt' |
4 | password_wrong_value: 'Falscher Wert für dein aktuelles Kennwort' | 4 | password_wrong_value: 'Falscher Wert für dein aktuelles Kennwort' |
5 | item_per_page_too_high: 'Dies wird die Anwendung möglicherweise beenden' | 5 | item_per_page_too_high: 'Dies wird die Anwendung möglicherweise beenden' |
6 | rss_limit_too_high: 'Dies wird die Anwendung möglicherweise beenden' | 6 | feed_limit_too_high: 'Dies wird die Anwendung möglicherweise beenden' |
7 | quote_length_too_high: 'Das Zitat ist zu lang. Es sollte nicht mehr als {{ limit }} Zeichen enthalten.' | 7 | quote_length_too_high: 'Das Zitat ist zu lang. Es sollte nicht mehr als {{ limit }} Zeichen enthalten.' |
8 | |||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml index 8cc117fe..89d4c68a 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.en.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'Password should by at least 8 chars long' | 3 | password_too_short: 'Password should by at least 8 chars long' |
4 | password_wrong_value: 'Wrong value for your current password' | 4 | password_wrong_value: 'Wrong value for your current password' |
5 | item_per_page_too_high: 'This will certainly kill the app' | 5 | item_per_page_too_high: 'This will certainly kill the app' |
6 | rss_limit_too_high: 'This will certainly kill the app' | 6 | feed_limit_too_high: 'This will certainly kill the app' |
7 | quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml index 97a8edfa..ba34ee76 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.es.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'La contraseña debe tener al menos 8 carácteres' | 3 | password_too_short: 'La contraseña debe tener al menos 8 carácteres' |
4 | password_wrong_value: 'Entrada equivocada para su contraseña actual' | 4 | password_wrong_value: 'Entrada equivocada para su contraseña actual' |
5 | item_per_page_too_high: 'Esto matará la aplicación' | 5 | item_per_page_too_high: 'Esto matará la aplicación' |
6 | rss_limit_too_high: 'Esto matará la aplicación' | 6 | feed_limit_too_high: 'Esto matará la aplicación' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml index ef677525..9b1a4af2 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.fa.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'رمز شما باید ۸ حرف یا بیشتر باشد' | 3 | password_too_short: 'رمز شما باید ۸ حرف یا بیشتر باشد' |
4 | password_wrong_value: 'رمز فعلی را اشتباه وارد کردهاید' | 4 | password_wrong_value: 'رمز فعلی را اشتباه وارد کردهاید' |
5 | item_per_page_too_high: 'با این تعداد برنامه به فنا میرود' | 5 | item_per_page_too_high: 'با این تعداد برنامه به فنا میرود' |
6 | rss_limit_too_high: 'با این تعداد برنامه به فنا میرود' | 6 | feed_limit_too_high: 'با این تعداد برنامه به فنا میرود' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml index f31b4ed2..92f69aa0 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.fr.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: "Le mot de passe doit contenir au moins 8 caractères" | 3 | password_too_short: "Le mot de passe doit contenir au moins 8 caractères" |
4 | password_wrong_value: "Votre mot de passe actuel est faux" | 4 | password_wrong_value: "Votre mot de passe actuel est faux" |
5 | item_per_page_too_high: "Ça ne va pas plaire à l’application" | 5 | item_per_page_too_high: "Ça ne va pas plaire à l’application" |
6 | rss_limit_too_high: "Ça ne va pas plaire à l’application" | 6 | feed_limit_too_high: "Ça ne va pas plaire à l’application" |
7 | quote_length_too_high: "La citation est trop longue. Elle doit avoir au maximum {{ limit }} caractères." | 7 | quote_length_too_high: "La citation est trop longue. Elle doit avoir au maximum {{ limit }} caractères." |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml index d949cc3b..b20d6f51 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.it.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'La password deve essere lunga almeno 8 caratteri' | 3 | password_too_short: 'La password deve essere lunga almeno 8 caratteri' |
4 | password_wrong_value: 'Valore inserito per la password corrente errato' | 4 | password_wrong_value: 'Valore inserito per la password corrente errato' |
5 | item_per_page_too_high: 'Questo valore è troppo alto' | 5 | item_per_page_too_high: 'Questo valore è troppo alto' |
6 | rss_limit_too_high: 'Questo valore è troppo alto' | 6 | feed_limit_too_high: 'Questo valore è troppo alto' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml index 87f00f10..cb57844f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.oc.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'Lo senhal deu aver almens 8 caractèrs' | 3 | password_too_short: 'Lo senhal deu aver almens 8 caractèrs' |
4 | password_wrong_value: 'Vòstre senhal actual es pas bon' | 4 | password_wrong_value: 'Vòstre senhal actual es pas bon' |
5 | item_per_page_too_high: "Aquò li agradarà pas a l'aplicacion" | 5 | item_per_page_too_high: "Aquò li agradarà pas a l'aplicacion" |
6 | rss_limit_too_high: "Aquò li agradarà pas a l'aplicacion" | 6 | feed_limit_too_high: "Aquò li agradarà pas a l'aplicacion" |
7 | quote_length_too_high: 'Aquesta citacion es tròpa longa. Cal que faga {{ limit }} caractèrs o mens.' | 7 | quote_length_too_high: 'Aquesta citacion es tròpa longa. Cal que faga {{ limit }} caractèrs o mens.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml index e4165c14..94757cc5 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'Hasło powinno mieć minimum 8 znaków długości' | 3 | password_too_short: 'Hasło powinno mieć minimum 8 znaków długości' |
4 | password_wrong_value: 'Twoje obecne hasło jest błędne' | 4 | password_wrong_value: 'Twoje obecne hasło jest błędne' |
5 | item_per_page_too_high: 'To może spowodować problemy z aplikacją' | 5 | item_per_page_too_high: 'To może spowodować problemy z aplikacją' |
6 | rss_limit_too_high: 'To może spowodować problemy z aplikacją' | 6 | feed_limit_too_high: 'To może spowodować problemy z aplikacją' |
7 | quote_length_too_high: 'Cytat jest zbyt długi. powinien mieć {{ limit }} znaków lub mniej.' | 7 | quote_length_too_high: 'Cytat jest zbyt długi. powinien mieć {{ limit }} znaków lub mniej.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml index a8c1f9de..df2f3f35 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.pt.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'A senha deve ter pelo menos 8 caracteres' | 3 | password_too_short: 'A senha deve ter pelo menos 8 caracteres' |
4 | password_wrong_value: 'A senha atual informada está errada' | 4 | password_wrong_value: 'A senha atual informada está errada' |
5 | item_per_page_too_high: 'Certamente isso pode matar a aplicação' | 5 | item_per_page_too_high: 'Certamente isso pode matar a aplicação' |
6 | rss_limit_too_high: 'Certamente isso pode matar a aplicação' | 6 | feed_limit_too_high: 'Certamente isso pode matar a aplicação' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml index 6840cf11..e5c8a72f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | password_too_short: 'Parola ar trebui să conțină cel puțin 8 caractere' | 3 | password_too_short: 'Parola ar trebui să conțină cel puțin 8 caractere' |
4 | # password_wrong_value: 'Wrong value for your current password' | 4 | # password_wrong_value: 'Wrong value for your current password' |
5 | # item_per_page_too_high: 'This will certainly kill the app' | 5 | # item_per_page_too_high: 'This will certainly kill the app' |
6 | # rss_limit_too_high: 'This will certainly kill the app' | 6 | # feed_limit_too_high: 'This will certainly kill the app' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml index e1e7317f..881ffd3b 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.tr.yml | |||
@@ -3,5 +3,5 @@ validator: | |||
3 | # password_too_short: 'Password should by at least 8 chars long' | 3 | # password_too_short: 'Password should by at least 8 chars long' |
4 | # password_wrong_value: 'Wrong value for your current password' | 4 | # password_wrong_value: 'Wrong value for your current password' |
5 | # item_per_page_too_high: 'This will certainly kill the app' | 5 | # item_per_page_too_high: 'This will certainly kill the app' |
6 | # rss_limit_too_high: 'This will certainly kill the app' | 6 | # feed_limit_too_high: 'This will certainly kill the app' |
7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' | 7 | # quote_length_too_high: 'The quote is too long. It should have {{ limit }} characters or less.' |
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 93f8ddf8..4ef6ab3c 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 | |||
@@ -94,43 +94,43 @@ | |||
94 | {{ form_rest(form.config) }} | 94 | {{ form_rest(form.config) }} |
95 | </form> | 95 | </form> |
96 | 96 | ||
97 | <h2>{{ 'config.tab_menu.rss'|trans }}</h2> | 97 | <h2>{{ 'config.tab_menu.feed'|trans }}</h2> |
98 | 98 | ||
99 | {{ form_start(form.rss) }} | 99 | {{ form_start(form.feed) }} |
100 | {{ form_errors(form.rss) }} | 100 | {{ form_errors(form.feed) }} |
101 | 101 | ||
102 | <div class="row"> | 102 | <div class="row"> |
103 | {{ 'config.form_rss.description'|trans }} | 103 | {{ 'config.form_feed.description'|trans }} |
104 | </div> | 104 | </div> |
105 | 105 | ||
106 | <fieldset class="w500p inline"> | 106 | <fieldset class="w500p inline"> |
107 | <div class="row"> | 107 | <div class="row"> |
108 | <label>{{ 'config.form_rss.token_label'|trans }}</label> | 108 | <label>{{ 'config.form_feed.token_label'|trans }}</label> |
109 | {% if rss.token %} | 109 | {% if feed.token %} |
110 | {{ rss.token }} | 110 | {{ feed.token }} |
111 | {% else %} | 111 | {% else %} |
112 | <em>{{ 'config.form_rss.no_token'|trans }}</em> | 112 | <em>{{ 'config.form_feed.no_token'|trans }}</em> |
113 | {% endif %} | 113 | {% endif %} |
114 | – | 114 | – |
115 | <a href="{{ path('generate_token') }}"> | 115 | <a href="{{ path('generate_token') }}"> |
116 | {% if rss.token %} | 116 | {% if feed.token %} |
117 | {{ 'config.form_rss.token_reset'|trans }} | 117 | {{ 'config.form_feed.token_reset'|trans }} |
118 | {% else %} | 118 | {% else %} |
119 | {{ 'config.form_rss.token_create'|trans }} | 119 | {{ 'config.form_feed.token_create'|trans }} |
120 | {% endif %} | 120 | {% endif %} |
121 | </a> | 121 | </a> |
122 | </div> | 122 | </div> |
123 | </fieldset> | 123 | </fieldset> |
124 | 124 | ||
125 | {% if rss.token %} | 125 | {% if feed.token %} |
126 | <fieldset class="w500p inline"> | 126 | <fieldset class="w500p inline"> |
127 | <div class="row"> | 127 | <div class="row"> |
128 | <label>{{ 'config.form_rss.rss_links'|trans }}</label> | 128 | <label>{{ 'config.form_feed.feed_links'|trans }}</label> |
129 | <ul> | 129 | <ul> |
130 | <li><a href="{{ path('unread_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.unread'|trans }}</a></li> | 130 | <li><a href="{{ path('unread_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.unread'|trans }}</a></li> |
131 | <li><a href="{{ path('starred_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.starred'|trans }}</a></li> | 131 | <li><a href="{{ path('starred_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.starred'|trans }}</a></li> |
132 | <li><a href="{{ path('archive_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.archive'|trans }}</a></li> | 132 | <li><a href="{{ path('archive_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.archive'|trans }}</a></li> |
133 | <li><a href="{{ path('all_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.all'|trans }}</a></li> | 133 | <li><a href="{{ path('all_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.all'|trans }}</a></li> |
134 | </ul> | 134 | </ul> |
135 | </div> | 135 | </div> |
136 | </fieldset> | 136 | </fieldset> |
@@ -138,13 +138,13 @@ | |||
138 | 138 | ||
139 | <fieldset class="w500p inline"> | 139 | <fieldset class="w500p inline"> |
140 | <div class="row"> | 140 | <div class="row"> |
141 | {{ form_label(form.rss.rss_limit) }} | 141 | {{ form_label(form.feed.feed_limit) }} |
142 | {{ form_errors(form.rss.rss_limit) }} | 142 | {{ form_errors(form.feed.feed_limit) }} |
143 | {{ form_widget(form.rss.rss_limit) }} | 143 | {{ form_widget(form.feed.feed_limit) }} |
144 | </div> | 144 | </div> |
145 | </fieldset> | 145 | </fieldset> |
146 | 146 | ||
147 | {{ form_rest(form.rss) }} | 147 | {{ form_rest(form.feed) }} |
148 | </form> | 148 | </form> |
149 | 149 | ||
150 | <h2>{{ 'config.tab_menu.user_info'|trans }}</h2> | 150 | <h2>{{ 'config.tab_menu.user_info'|trans }}</h2> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index fb296c9d..6c5d2601 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | {% block head %} | 3 | {% block head %} |
4 | {{ parent() }} | 4 | {{ parent() }} |
5 | {% if tag is defined and app.user.config.rssToken %} | 5 | {% if tag is defined and app.user.config.feedToken %} |
6 | <link rel="alternate" type="application/rss+xml" href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" /> | 6 | <link rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" /> |
7 | {% endif %} | 7 | {% endif %} |
8 | {% endblock %} | 8 | {% endblock %} |
9 | 9 | ||
@@ -28,8 +28,8 @@ | |||
28 | <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div> | 28 | <div class="nb-results">{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}</div> |
29 | <div class="pagination"> | 29 | <div class="pagination"> |
30 | <a href="{{ path('switch_view_mode') }}"><i class="listMode-btn material-icons md-24">{% if listMode == 0 %}list{% else %}view_module{% endif %}</i></a> | 30 | <a href="{{ path('switch_view_mode') }}"><i class="listMode-btn material-icons md-24">{% if listMode == 0 %}list{% else %}view_module{% endif %}</i></a> |
31 | {% if app.user.config.rssToken %} | 31 | {% if app.user.config.feedToken %} |
32 | {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} | 32 | {% include "@WallabagCore/themes/common/Entry/_feed_link.html.twig" %} |
33 | {% endif %} | 33 | {% endif %} |
34 | {% if currentRoute in ['unread', 'starred', 'archive', 'untagged', 'all'] %} | 34 | {% if currentRoute in ['unread', 'starred', 'archive', 'untagged', 'all'] %} |
35 | <a href="{{ path('random_entry', { 'type': currentRoute }) }}"><i class="btn-clickable material-icons md-24 js-random-action">casino</i></a> | 35 | <a href="{{ path('random_entry', { 'type': currentRoute }) }}"><i class="btn-clickable material-icons md-24 js-random-action">casino</i></a> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig index 35351ab1..142668c0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig | |||
@@ -22,7 +22,7 @@ | |||
22 | </a> | 22 | </a> |
23 | {% endif %} | 23 | {% endif %} |
24 | {% if app.user.config.rssToken %} | 24 | {% if app.user.config.rssToken %} |
25 | <a rel="alternate" type="application/rss+xml" href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" class="right"> | 25 | <a rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" class="right"> |
26 | <i class="material-icons md-24">rss_feed</i> | 26 | <i class="material-icons md-24">rss_feed</i> |
27 | </a> | 27 | </a> |
28 | {% endif %} | 28 | {% endif %} |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig new file mode 100644 index 00000000..6df4c160 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_feed_link.html.twig | |||
@@ -0,0 +1,11 @@ | |||
1 | {% if tag is defined %} | ||
2 | <a rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" class="right"><i class="material-icons md-24">rss_feed</i></a> | ||
3 | {% elseif currentRoute in ['homepage', 'unread', 'starred', 'archive', 'all'] %} | ||
4 | {% set feedRoute = currentRoute %} | ||
5 | {% if currentRoute == 'homepage' %} | ||
6 | {% set feedRoute = 'unread' %} | ||
7 | {% endif %} | ||
8 | {% set feedRoute = feedRoute ~ '_feed' %} | ||
9 | |||
10 | <a rel="alternate" type="application/atom+xml" href="{{ path(feedRoute, {'username': app.user.username, 'token': app.user.config.feedToken}) }}" class="right"><i class="material-icons">rss_feed</i></a> | ||
11 | {% endif %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_rss_link.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_rss_link.html.twig deleted file mode 100644 index eb26054c..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_rss_link.html.twig +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | {% if tag is defined %} | ||
2 | <a rel="alternate" type="application/rss+xml" href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" class="right"><i class="material-icons md-24">rss_feed</i></a> | ||
3 | {% elseif currentRoute in ['homepage', 'unread', 'starred', 'archive', 'all'] %} | ||
4 | {% set rssRoute = currentRoute %} | ||
5 | {% if currentRoute == 'homepage' %} | ||
6 | {% set rssRoute = 'unread' %} | ||
7 | {% endif %} | ||
8 | {% set rssRoute = rssRoute ~ '_rss' %} | ||
9 | |||
10 | <a rel="alternate" type="application/rss+xml" href="{{ path(rssRoute, {'username': app.user.username, 'token': app.user.config.rssToken}) }}" class="right"><i class="material-icons">rss_feed</i></a> | ||
11 | {% endif %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig index 25d09ec3..cf6f6571 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig | |||
@@ -1,34 +1,53 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/"> | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | <channel> | 3 | {% if type != 'tag' %} |
4 | <title>wallabag - {{ type }} feed</title> | 4 | <title>wallabag — {{type}} feed</title> |
5 | <link>{{ url_html }}</link> | 5 | <subtitle type="html">Atom feed for {{ type }} entries</subtitle> |
6 | <link rel="self" href="{{ app.request.uri }}"/> | 6 | <id>wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:{{ type }}</id> |
7 | {% if entries.hasPreviousPage -%} | 7 | <link rel="alternate" type="text/html" href="{{ url(type) }}"/> |
8 | <link rel="previous" href="{{ url }}?page={{ entries.previousPage }}"/> | 8 | {% else %} |
9 | {% endif -%} | 9 | <id>wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:{{ type }}:{{ tag }}</id> |
10 | {% if entries.hasNextPage -%} | 10 | <link rel="alternate" type="text/html" href="{{ url('tag_entries', {'slug': tag}) }}"/> |
11 | <link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/> | 11 | <title>wallabag — {{type}} {{ tag }} feed</title> |
12 | {% endif -%} | 12 | <subtitle type="html">Atom feed for entries tagged with {{ tag }}</subtitle> |
13 | <link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/> | 13 | {% endif %} |
14 | <pubDate>{{ "now"|date(constant('DATE_RSS')) }}</pubDate> | 14 | {% if entries | length > 0 %} |
15 | <generator>wallabag</generator> | 15 | <updated>{{ (entries | first).createdAt | date('c') }}</updated> {# Indicates the last time the feed was modified in a significant way. #} |
16 | <description>wallabag {{ type }} elements</description> | 16 | {% endif %} |
17 | 17 | <link rel="self" type="application/atom+xml" href="{{ app.request.uri }}"/> | |
18 | {% for entry in entries %} | 18 | {% if entries.hasPreviousPage %} |
19 | 19 | <link rel="previous" href="{{ url }}/{{ entries.previousPage }}"/> | |
20 | <item> | 20 | {% endif -%} |
21 | <title><![CDATA[{{ entry.title|e }}]]></title> | 21 | {% if entries.hasNextPage %} |
22 | <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> | 22 | <link rel="next" href="{{ url }}/{{ entries.nextPage }}"/> |
23 | <link>{{ entry.url }}</link> | 23 | {% endif -%} |
24 | <guid>{{ entry.url }}</guid> | 24 | <link rel="last" href="{{ url }}/{{ entries.nbPages }}"/> |
25 | <pubDate>{{ entry.createdAt|date(constant('DATE_RSS')) }}</pubDate> | 25 | <generator uri="https://wallabag.org" version="{{ version }}">wallabag</generator> |
26 | <description> | 26 | <author> |
27 | <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> | 27 | <name>{{ user }}</name> |
28 | </description> | 28 | </author> |
29 | </item> | 29 | <icon>{{ asset('favicon.ico') }}</icon> |
30 | 30 | <logo>{{ asset('bundles/wallabagcore/themes/_global/img/logo-square.png') }}</logo> | |
31 | {% for entry in entries %} | ||
32 | <entry> | ||
33 | <title><![CDATA[{{ entry.title|e }}]]></title> | ||
34 | <link rel="alternate" type="text/html" | ||
35 | href="{{ url('view', {'id': entry.id}) }}"/> | ||
36 | <link rel="via">{{ entry.url }}</link> | ||
37 | <id>wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:entry:{{ entry.id }}</id> | ||
38 | <updated>{{ entry.updatedAt|date('c') }}</updated> | ||
39 | <published>{{ entry.createdAt|date('c') }}</published> | ||
40 | {% for tag in entry.tags %} | ||
41 | <category term="{{ tag.slug }}" label="{{ tag.label }}" /> | ||
31 | {% endfor %} | 42 | {% endfor %} |
32 | 43 | {% for author in entry.publishedBy %} | |
33 | </channel> | 44 | <author> |
34 | </rss> | 45 | <name>{{ author }}</name> |
46 | </author> | ||
47 | {% endfor %} | ||
48 | <content type="html" {% if entry.language %}xml:lang="{{ entry.language[:2] }}"{% endif %}> | ||
49 | <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> | ||
50 | </content> | ||
51 | </entry> | ||
52 | {% endfor %} | ||
53 | </feed> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig index 4580813c..521b3eea 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig | |||
@@ -21,7 +21,7 @@ | |||
21 | <div class="card-action"> | 21 | <div class="card-action"> |
22 | <ul> | 22 | <ul> |
23 | <li><a href="{{ path('config') }}">{{ 'quickstart.configure.language'|trans }}</a></li> | 23 | <li><a href="{{ path('config') }}">{{ 'quickstart.configure.language'|trans }}</a></li> |
24 | <li><a href="{{ path('config') }}#set2">{{ 'quickstart.configure.rss'|trans }}</a></li> | 24 | <li><a href="{{ path('config') }}#set2">{{ 'quickstart.configure.feed'|trans }}</a></li> |
25 | <li><a href="{{ path('config') }}#set5">{{ 'quickstart.more'|trans }}</a></li> | 25 | <li><a href="{{ path('config') }}#set5">{{ 'quickstart.more'|trans }}</a></li> |
26 | </ul> | 26 | </ul> |
27 | </div> | 27 | </div> |
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 412c18f4..818fc4e7 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 | |||
@@ -12,7 +12,7 @@ | |||
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 s12 m6 l3"><a class="active" href="#set1">{{ 'config.tab_menu.settings'|trans }}</a></li> | 14 | <li class="tab col s12 m6 l3"><a class="active" href="#set1">{{ 'config.tab_menu.settings'|trans }}</a></li> |
15 | <li class="tab col s12 m6 l3"><a href="#set2">{{ 'config.tab_menu.rss'|trans }}</a></li> | 15 | <li class="tab col s12 m6 l3"><a href="#set2">{{ 'config.tab_menu.feed'|trans }}</a></li> |
16 | <li class="tab col s12 m6 l3"><a href="#set3">{{ 'config.tab_menu.user_info'|trans }}</a></li> | 16 | <li class="tab col s12 m6 l3"><a href="#set3">{{ 'config.tab_menu.user_info'|trans }}</a></li> |
17 | <li class="tab col s12 m6 l3"><a href="#set4">{{ 'config.tab_menu.password'|trans }}</a></li> | 17 | <li class="tab col s12 m6 l3"><a href="#set4">{{ 'config.tab_menu.password'|trans }}</a></li> |
18 | <li class="tab col s12 m6 l3"><a href="#set5">{{ 'config.tab_menu.rules'|trans }}</a></li> | 18 | <li class="tab col s12 m6 l3"><a href="#set5">{{ 'config.tab_menu.rules'|trans }}</a></li> |
@@ -122,42 +122,42 @@ | |||
122 | </div> | 122 | </div> |
123 | 123 | ||
124 | <div id="set2" class="col s12"> | 124 | <div id="set2" class="col s12"> |
125 | {{ form_start(form.rss) }} | 125 | {{ form_start(form.feed) }} |
126 | {{ form_errors(form.rss) }} | 126 | {{ form_errors(form.feed) }} |
127 | 127 | ||
128 | <div class="row"> | 128 | <div class="row"> |
129 | <div class="input-field col s12"> | 129 | <div class="input-field col s12"> |
130 | {{ 'config.form_rss.description'|trans }} | 130 | {{ 'config.form_feed.description'|trans }} |
131 | </div> | 131 | </div> |
132 | </div> | 132 | </div> |
133 | 133 | ||
134 | <div class="row"> | 134 | <div class="row"> |
135 | <div class="col s12"> | 135 | <div class="col s12"> |
136 | <h6 class="grey-text">{{ 'config.form_rss.token_label'|trans }}</h6> | 136 | <h6 class="grey-text">{{ 'config.form_feed.token_label'|trans }}</h6> |
137 | <div> | 137 | <div> |
138 | {% if rss.token %} | 138 | {% if feed.token %} |
139 | {{ rss.token }} | 139 | {{ feed.token }} |
140 | {% else %} | 140 | {% else %} |
141 | <em>{{ 'config.form_rss.no_token'|trans }}</em> | 141 | <em>{{ 'config.form_feed.no_token'|trans }}</em> |
142 | {% endif %} | 142 | {% endif %} |
143 | – <a href="{{ path('generate_token') }}"> | 143 | – <a href="{{ path('generate_token') }}"> |
144 | {% if rss.token %} | 144 | {% if feed.token %} |
145 | {{ 'config.form_rss.token_reset'|trans }} | 145 | {{ 'config.form_feed.token_reset'|trans }} |
146 | {% else %} | 146 | {% else %} |
147 | {{ 'config.form_rss.token_create'|trans }} | 147 | {{ 'config.form_feed.token_create'|trans }} |
148 | {% endif %}</a> | 148 | {% endif %}</a> |
149 | </div> | 149 | </div> |
150 | </div> | 150 | </div> |
151 | </div> | 151 | </div> |
152 | {% if rss.token %} | 152 | {% if feed.token %} |
153 | <div class="row"> | 153 | <div class="row"> |
154 | <div class="col s12"> | 154 | <div class="col s12"> |
155 | <h6 class="grey-text">{{ 'config.form_rss.rss_links'|trans }}</h6> | 155 | <h6 class="grey-text">{{ 'config.form_feed.feed_links'|trans }}</h6> |
156 | <ul> | 156 | <ul> |
157 | <li><a href="{{ path('unread_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.unread'|trans }}</a></li> | 157 | <li><a href="{{ path('unread_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.unread'|trans }}</a></li> |
158 | <li><a href="{{ path('starred_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.starred'|trans }}</a></li> | 158 | <li><a href="{{ path('starred_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.starred'|trans }}</a></li> |
159 | <li><a href="{{ path('archive_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.archive'|trans }}</a></li> | 159 | <li><a href="{{ path('archive_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.archive'|trans }}</a></li> |
160 | <li><a href="{{ path('all_rss', {'username': rss.username, 'token': rss.token}) }}">{{ 'config.form_rss.rss_link.all'|trans }}</a></li> | 160 | <li><a href="{{ path('all_feed', {'username': feed.username, 'token': feed.token}) }}">{{ 'config.form_feed.feed_link.all'|trans }}</a></li> |
161 | </ul> | 161 | </ul> |
162 | </div> | 162 | </div> |
163 | </div> | 163 | </div> |
@@ -165,14 +165,14 @@ | |||
165 | 165 | ||
166 | <div class="row"> | 166 | <div class="row"> |
167 | <div class="input-field col s12"> | 167 | <div class="input-field col s12"> |
168 | {{ form_label(form.rss.rss_limit) }} | 168 | {{ form_label(form.feed.feed_limit) }} |
169 | {{ form_errors(form.rss.rss_limit) }} | 169 | {{ form_errors(form.feed.feed_limit) }} |
170 | {{ form_widget(form.rss.rss_limit) }} | 170 | {{ form_widget(form.feed.feed_limit) }} |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | 173 | ||
174 | {{ form_widget(form.rss.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} | 174 | {{ form_widget(form.feed.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} |
175 | {{ form_rest(form.rss) }} | 175 | {{ form_rest(form.feed) }} |
176 | </form> | 176 | </form> |
177 | </div> | 177 | </div> |
178 | 178 | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 067c8975..476d7403 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | {% block head %} | 3 | {% block head %} |
4 | {{ parent() }} | 4 | {{ parent() }} |
5 | {% if tag is defined and app.user.config.rssToken %} | 5 | {% if tag is defined and app.user.config.feedToken %} |
6 | <link rel="alternate" type="application/rss+xml" href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" /> | 6 | <link rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" /> |
7 | {% endif %} | 7 | {% endif %} |
8 | {% endblock %} | 8 | {% endblock %} |
9 | 9 | ||
@@ -28,8 +28,8 @@ | |||
28 | <div class="nb-results"> | 28 | <div class="nb-results"> |
29 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} | 29 | {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} |
30 | <a href="{{ path('switch_view_mode') }}"><i class="material-icons">{% if listMode == 0 %}view_list{% else %}view_module{% endif %}</i></a> | 30 | <a href="{{ path('switch_view_mode') }}"><i class="material-icons">{% if listMode == 0 %}view_list{% else %}view_module{% endif %}</i></a> |
31 | {% if app.user.config.rssToken %} | 31 | {% if app.user.config.feedToken %} |
32 | {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} | 32 | {% include "@WallabagCore/themes/common/Entry/_feed_link.html.twig" %} |
33 | {% endif %} | 33 | {% endif %} |
34 | </div> | 34 | </div> |
35 | {% if entries.getNbPages > 1 %} | 35 | {% if entries.getNbPages > 1 %} |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig index 21e88a9a..737ef5fe 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig | |||
@@ -26,7 +26,7 @@ | |||
26 | </a> | 26 | </a> |
27 | {% endif %} | 27 | {% endif %} |
28 | {% if app.user.config.rssToken %} | 28 | {% if app.user.config.rssToken %} |
29 | <a rel="alternate" type="application/rss+xml" href="{{ path('tag_rss', {'username': app.user.username, 'token': app.user.config.rssToken, 'slug': tag.slug}) }}" class="card-tag-rss"><i class="material-icons">rss_feed</i></a> | 29 | <a rel="alternate" type="application/atom+xml" href="{{ path('tag_feed', {'username': app.user.username, 'token': app.user.config.feedToken, 'slug': tag.slug}) }}" class="card-tag-rss"><i class="material-icons">rss_feed</i></a> |
30 | {% endif %} | 30 | {% endif %} |
31 | </li> | 31 | </li> |
32 | {% endfor %} | 32 | {% endfor %} |
diff --git a/src/Wallabag/CoreBundle/Tools/Utils.php b/src/Wallabag/CoreBundle/Tools/Utils.php index e56e251e..b7ad7966 100644 --- a/src/Wallabag/CoreBundle/Tools/Utils.php +++ b/src/Wallabag/CoreBundle/Tools/Utils.php | |||
@@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Tools; | |||
5 | class Utils | 5 | class Utils |
6 | { | 6 | { |
7 | /** | 7 | /** |
8 | * Generate a token used for RSS. | 8 | * Generate a token used for Feeds. |
9 | * | 9 | * |
10 | * @param int $length Length of the token | 10 | * @param int $length Length of the token |
11 | * | 11 | * |
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index 00b1e595..61107ce7 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -28,6 +28,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
28 | { | 28 | { |
29 | return [ | 29 | return [ |
30 | new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']), | 30 | new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']), |
31 | new \Twig_SimpleFilter('removeScheme', [$this, 'removeScheme']), | ||
31 | new \Twig_SimpleFilter('removeSchemeAndWww', [$this, 'removeSchemeAndWww']), | 32 | new \Twig_SimpleFilter('removeSchemeAndWww', [$this, 'removeSchemeAndWww']), |
32 | ]; | 33 | ]; |
33 | } | 34 | } |
@@ -46,11 +47,14 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
46 | return preg_replace('/^www\./i', '', $url); | 47 | return preg_replace('/^www\./i', '', $url); |
47 | } | 48 | } |
48 | 49 | ||
50 | public function removeScheme($url) | ||
51 | { | ||
52 | return preg_replace('#^https?://#i', '', $url); | ||
53 | } | ||
54 | |||
49 | public function removeSchemeAndWww($url) | 55 | public function removeSchemeAndWww($url) |
50 | { | 56 | { |
51 | return $this->removeWww( | 57 | return $this->removeWww($this->removeScheme($url) |
52 | preg_replace('@^https?://@i', '', $url) | ||
53 | ); | ||
54 | } | 58 | } |
55 | 59 | ||
56 | /** | 60 | /** |
diff --git a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php index 5cabfd35..81954213 100644 --- a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php +++ b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php | |||
@@ -18,19 +18,19 @@ class CreateConfigListener implements EventSubscriberInterface | |||
18 | private $em; | 18 | private $em; |
19 | private $theme; | 19 | private $theme; |
20 | private $itemsOnPage; | 20 | private $itemsOnPage; |
21 | private $rssLimit; | 21 | private $feedLimit; |
22 | private $language; | 22 | private $language; |
23 | private $readingSpeed; | 23 | private $readingSpeed; |
24 | private $actionMarkAsRead; | 24 | private $actionMarkAsRead; |
25 | private $listMode; | 25 | private $listMode; |
26 | private $session; | 26 | private $session; |
27 | 27 | ||
28 | public function __construct(EntityManager $em, $theme, $itemsOnPage, $rssLimit, $language, $readingSpeed, $actionMarkAsRead, $listMode, Session $session) | 28 | public function __construct(EntityManager $em, $theme, $itemsOnPage, $feedLimit, $language, $readingSpeed, $actionMarkAsRead, $listMode, Session $session) |
29 | { | 29 | { |
30 | $this->em = $em; | 30 | $this->em = $em; |
31 | $this->theme = $theme; | 31 | $this->theme = $theme; |
32 | $this->itemsOnPage = $itemsOnPage; | 32 | $this->itemsOnPage = $itemsOnPage; |
33 | $this->rssLimit = $rssLimit; | 33 | $this->feedLimit = $feedLimit; |
34 | $this->language = $language; | 34 | $this->language = $language; |
35 | $this->readingSpeed = $readingSpeed; | 35 | $this->readingSpeed = $readingSpeed; |
36 | $this->actionMarkAsRead = $actionMarkAsRead; | 36 | $this->actionMarkAsRead = $actionMarkAsRead; |
@@ -54,7 +54,7 @@ class CreateConfigListener implements EventSubscriberInterface | |||
54 | $config = new Config($event->getUser()); | 54 | $config = new Config($event->getUser()); |
55 | $config->setTheme($this->theme); | 55 | $config->setTheme($this->theme); |
56 | $config->setItemsPerPage($this->itemsOnPage); | 56 | $config->setItemsPerPage($this->itemsOnPage); |
57 | $config->setRssLimit($this->rssLimit); | 57 | $config->setFeedLimit($this->feedLimit); |
58 | $config->setLanguage($this->session->get('_locale', $this->language)); | 58 | $config->setLanguage($this->session->get('_locale', $this->language)); |
59 | $config->setReadingSpeed($this->readingSpeed); | 59 | $config->setReadingSpeed($this->readingSpeed); |
60 | $config->setActionMarkAsRead($this->actionMarkAsRead); | 60 | $config->setActionMarkAsRead($this->actionMarkAsRead); |
diff --git a/src/Wallabag/UserBundle/Repository/UserRepository.php b/src/Wallabag/UserBundle/Repository/UserRepository.php index be693d3b..80391109 100644 --- a/src/Wallabag/UserBundle/Repository/UserRepository.php +++ b/src/Wallabag/UserBundle/Repository/UserRepository.php | |||
@@ -9,18 +9,18 @@ use Wallabag\UserBundle\Entity\User; | |||
9 | class UserRepository extends EntityRepository | 9 | class UserRepository extends EntityRepository |
10 | { | 10 | { |
11 | /** | 11 | /** |
12 | * Find a user by its username and rss roken. | 12 | * Find a user by its username and Feed token. |
13 | * | 13 | * |
14 | * @param string $username | 14 | * @param string $username |
15 | * @param string $rssToken | 15 | * @param string $feedToken |
16 | * | 16 | * |
17 | * @return User|null | 17 | * @return null|User |
18 | */ | 18 | */ |
19 | public function findOneByUsernameAndRsstoken($username, $rssToken) | 19 | public function findOneByUsernameAndFeedtoken($username, $feedToken) |
20 | { | 20 | { |
21 | return $this->createQueryBuilder('u') | 21 | return $this->createQueryBuilder('u') |
22 | ->leftJoin('u.config', 'c') | 22 | ->leftJoin('u.config', 'c') |
23 | ->where('c.rssToken = :rss_token')->setParameter('rss_token', $rssToken) | 23 | ->where('c.feedToken = :feed_token')->setParameter('feed_token', $feedToken) |
24 | ->andWhere('u.username = :username')->setParameter('username', $username) | 24 | ->andWhere('u.username = :username')->setParameter('username', $username) |
25 | ->getQuery() | 25 | ->getQuery() |
26 | ->getOneOrNullResult(); | 26 | ->getOneOrNullResult(); |
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml index 72cda3f8..2dcf3011 100644 --- a/src/Wallabag/UserBundle/Resources/config/services.yml +++ b/src/Wallabag/UserBundle/Resources/config/services.yml | |||
@@ -28,7 +28,7 @@ services: | |||
28 | - "@doctrine.orm.entity_manager" | 28 | - "@doctrine.orm.entity_manager" |
29 | - "%wallabag_core.theme%" | 29 | - "%wallabag_core.theme%" |
30 | - "%wallabag_core.items_on_page%" | 30 | - "%wallabag_core.items_on_page%" |
31 | - "%wallabag_core.rss_limit%" | 31 | - "%wallabag_core.feed_limit%" |
32 | - "%wallabag_core.language%" | 32 | - "%wallabag_core.language%" |
33 | - "%wallabag_core.reading_speed%" | 33 | - "%wallabag_core.reading_speed%" |
34 | - "%wallabag_core.action_mark_as_read%" | 34 | - "%wallabag_core.action_mark_as_read%" |