summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-10-10 20:48:59 +0200
committerGravatar GitHub <noreply@github.com> 2017-10-10 20:48:59 +0200
commitd3c5758b678bde01f2f86ea9094b7629c5f4ae89 (patch)
tree393c1c16e2c536dad9a8225a3d7516093c12a6af
parent1eb19409b5435546774425c00523b9f88d4fccf9 (diff)
parente6fc86b4b110966bf11b1d5ac4755a3163f74945 (diff)
Merge pull request #1660 from aledeg/api-subscription-tool
Add an entry in the subscription tool page
-rw-r--r--app/i18n/cz/sub.php4
-rw-r--r--app/i18n/de/sub.php4
-rw-r--r--app/i18n/en/sub.php4
-rwxr-xr-xapp/i18n/es/sub.php4
-rw-r--r--app/i18n/fr/sub.php4
-rw-r--r--app/i18n/it/sub.php4
-rw-r--r--app/i18n/kr/sub.php4
-rw-r--r--app/i18n/nl/sub.php4
-rw-r--r--app/i18n/pt-br/sub.php9
-rw-r--r--app/i18n/ru/sub.php4
-rw-r--r--app/i18n/tr/sub.php4
-rw-r--r--app/i18n/zh-cn/sub.php4
-rw-r--r--app/views/subscription/bookmarklet.phtml4
13 files changed, 57 insertions, 0 deletions
diff --git a/app/i18n/cz/sub.php b/app/i18n/cz/sub.php
index 09b23d222..807c249d3 100644
--- a/app/i18n/cz/sub.php
+++ b/app/i18n/cz/sub.php
@@ -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
diff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.php
index c16d09db1..4ffef4302 100644
--- a/app/i18n/de/sub.php
+++ b/app/i18n/de/sub.php
@@ -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
diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.php
index ca696280a..47b15ae7a 100644
--- a/app/i18n/en/sub.php
+++ b/app/i18n/en/sub.php
@@ -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',
diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php
index c18f0b786..72eb06eb7 100755
--- a/app/i18n/es/sub.php
+++ b/app/i18n/es/sub.php
@@ -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',
diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.php
index 9135b2b7c..607863c8f 100644
--- a/app/i18n/fr/sub.php
+++ b/app/i18n/fr/sub.php
@@ -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',
diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.php
index e730e2bc8..fe18855fb 100644
--- a/app/i18n/it/sub.php
+++ b/app/i18n/it/sub.php
@@ -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
diff --git a/app/i18n/kr/sub.php b/app/i18n/kr/sub.php
index 8af29422d..b8f2385b3 100644
--- a/app/i18n/kr/sub.php
+++ b/app/i18n/kr/sub.php
@@ -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' => '구독하기',
diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php
index bfa0911b7..ae84c37eb 100644
--- a/app/i18n/nl/sub.php
+++ b/app/i18n/nl/sub.php
@@ -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
diff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-br/sub.php
index 61a80d41e..4249dcabf 100644
--- a/app/i18n/pt-br/sub.php
+++ b/app/i18n/pt-br/sub.php
@@ -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',
diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php
index fa28a3ec4..6a5530de0 100644
--- a/app/i18n/ru/sub.php
+++ b/app/i18n/ru/sub.php
@@ -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
diff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.php
index e928fae72..0bbaeec5b 100644
--- a/app/i18n/tr/sub.php
+++ b/app/i18n/tr/sub.php
@@ -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
diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php
index 159bcd919..48057e74c 100644
--- a/app/i18n/zh-cn/sub.php
+++ b/app/i18n/zh-cn/sub.php
@@ -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
diff --git a/app/views/subscription/bookmarklet.phtml b/app/views/subscription/bookmarklet.phtml
index 162501be6..76ac700e0 100644
--- a/app/views/subscription/bookmarklet.phtml
+++ b/app/views/subscription/bookmarklet.phtml
@@ -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> \ No newline at end of file