Skip to content

Commit

Permalink
Add an entry in the subscription tool page
Browse files Browse the repository at this point in the history
I reworked @Alkarex idea proposed in FreshRSS#1292. I though it was a good idea to merge everything in the same location.
  • Loading branch information
aledeg committed Oct 10, 2017
1 parent bb206d6 commit a5d522d
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/i18n/cz/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/de/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/en/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',
'title' => 'API',
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',
'label' => 'Subscribe',
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/es/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'category' => array(
'_' => 'Categoría',
'add' => 'Añadir a la categoría',
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/fr/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copier l’URL suivante dans l’outil qui utilisera l’API.',
'title' => 'API',
),
'bookmarklet' => array(
'documentation' => 'Glisser ce bouton dans la barre des favoris ou cliquer droit dessus et choisir "Enregistrer ce lien". Ensuite, cliquer sur le bouton "S’abonner" sur les pages auxquelles vous voulez vous abonner.',
'label' => 'S’abonner',
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/it/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/kr/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => '이 버튼을 즐겨찾기 막대로 끌어다 놓거나 마우스 오른쪽 클릭으로 나타나는 메뉴에서 "이 링크를 즐겨찾기에 추가"를 선택하세요. 그리고 피드를 구독하길 원하는 페이지에서 "구독하기" 버튼을 클릭하세요.',
'label' => '구독하기',
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/nl/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php
/* Dutch translation by Wanabo. http://www.nieuwskop.be */
return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
9 changes: 9 additions & 0 deletions app/i18n/pt-br/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
'title' => 'Bookmarklet',// TODO
),
'category' => array(
'_' => 'Categoria',
'add' => 'Adicionar uma categoria',
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/ru/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/tr/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/i18n/zh-cn/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

return array(
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',// TODO
'title' => 'API',// TODO
),
'bookmarklet' => array(
'documentation' => 'Drag this button to your bookmarks toolbar or right-click it and choose "Bookmark This Link". Then click "Subscribe" button in any page you want to subscribe to.',// TODO
'label' => 'Subscribe',// TODO
Expand Down
4 changes: 4 additions & 0 deletions app/views/subscription/bookmarklet.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@
<legend><?php echo _t('sub.firefox.title'); ?></legend>
<p><?php echo _t('sub.firefox.documentation'); ?></p>
<pre>browser.contentHandlers.types.number.uri → <?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&amp;url_rss=%s</pre>

<legend><?php echo _t('sub.api.title'); ?></legend>
<p><?php echo _t('sub.api.documentation'); ?></p>
<pre><?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&amp;url_rss=%s</pre>
</div>

0 comments on commit a5d522d

Please sign in to comment.