aboutsummaryrefslogtreecommitdiff
path: root/app/i18n
diff options
context:
space:
mode:
authorGravatar eta-orionis <3466670+eta-orionis@users.noreply.github.com> 2024-01-10 08:23:45 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-10 08:23:45 +0100
commit9c97d8ca729e3cfb067445c0d3c9ad8284132aeb (patch)
tree256588d7a65cc8658c808bc7852c816f6ccc1cd2 /app/i18n
parent9a80dde238caf1338b803f67003cd459393efdc3 (diff)
JSONFeeds, JSON scraping, and POST requests for feeds (#5662)
* allow POST requests for feeds * added json dotpath and jsonfeed subscriptions. No translation strings yet * debug and fix jsonfeed parser * bugfix params saved when editing feed * added translations for JSON features * Update docs for web scraping * make fix-all and revert unrelated changes, plus a few manual fixes, but there are still several type errors * Fix some i18n * refactor json parsing for both feed types * cleanup unnecessary comment * refactored generation of SimplePie for XPath and JSON feeds * Fix merge error * Update to newer FreshRSS code * A bit of refactoring * doc, whitespace * JSON Feed is in two words * Add support for array syntax * Whitespace * Add OPML export/import * Work on i18n * Accept application/feed+json * Rework POST * Fix update * OPML for cURL options * Fix types * Fix Typos --------- Co-authored-by: Erion Elmasllari <elmasllari@factorsixty.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/i18n')
-rw-r--r--app/i18n/cz/sub.php44
-rw-r--r--app/i18n/de/sub.php44
-rw-r--r--app/i18n/el/sub.php44
-rw-r--r--app/i18n/en-us/sub.php44
-rw-r--r--app/i18n/en/sub.php44
-rw-r--r--app/i18n/es/sub.php46
-rw-r--r--app/i18n/fa/sub.php44
-rw-r--r--app/i18n/fr/sub.php46
-rw-r--r--app/i18n/he/sub.php44
-rw-r--r--app/i18n/hu/sub.php44
-rw-r--r--app/i18n/id/sub.php44
-rw-r--r--app/i18n/it/sub.php44
-rw-r--r--app/i18n/ja/sub.php44
-rw-r--r--app/i18n/ko/sub.php44
-rw-r--r--app/i18n/lv/sub.php44
-rw-r--r--app/i18n/nl/sub.php44
-rw-r--r--app/i18n/oc/sub.php44
-rw-r--r--app/i18n/pl/sub.php44
-rw-r--r--app/i18n/pt-br/sub.php44
-rw-r--r--app/i18n/ru/sub.php44
-rw-r--r--app/i18n/sk/sub.php44
-rw-r--r--app/i18n/tr/sub.php44
-rw-r--r--app/i18n/zh-cn/sub.php44
-rw-r--r--app/i18n/zh-tw/sub.php44
24 files changed, 1058 insertions, 2 deletions
diff --git a/app/i18n/cz/sub.php b/app/i18n/cz/sub.php
index 199766ad9..db398a593 100644
--- a/app/i18n/cz/sub.php
+++ b/app/i18n/cz/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (vzhledem k položce) pro:',
'xpath' => 'XPath pro:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (výchozí)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Maximální počet přesměrování HTTP',
'max_http_redir_help' => 'Nastavte na 0 nebo nechte prázdné pro zakázání, -1 pro neomezené přesměrování.',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Když odstraníte kategorii, její kanály jsou automaticky přesunuty do <em>%s</em>.',
'mute' => 'ztlumit',
'no_selected' => 'Nejsou vybrány žádné kanály.',
diff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.php
index 51d9669f9..ba6309757 100644
--- a/app/i18n/de/sub.php
+++ b/app/i18n/de/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relativ zum Artikel) für:',
'xpath' => 'XPath für:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (Standard)',
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP Umleitungen',
'max_http_redir_help' => '0 oder leeres Feld = deaktiviert; -1 für unendlich viele Umleitungen',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Wenn Sie eine Kategorie entfernen, werden deren Feeds automatisch in die Kategorie <em>%s</em> eingefügt.',
'mute' => 'Stumm schalten',
'no_selected' => 'Kein Feed ausgewählt.',
diff --git a/app/i18n/el/sub.php b/app/i18n/el/sub.php
index c101600b4..8de9a77fd 100644
--- a/app/i18n/el/sub.php
+++ b/app/i18n/el/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relative to item) for:', // TODO
'xpath' => 'XPath for:', // TODO
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects', // TODO
'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.', // TODO
'mute' => 'mute', // TODO
'no_selected' => 'No feed selected.', // TODO
diff --git a/app/i18n/en-us/sub.php b/app/i18n/en-us/sub.php
index 591c52dec..e6eae591c 100644
--- a/app/i18n/en-us/sub.php
+++ b/app/i18n/en-us/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relative to item) for:', // IGNORE
'xpath' => 'XPath for:', // IGNORE
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // IGNORE
+ 'feed_title' => array(
+ '_' => 'feed title', // IGNORE
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // IGNORE
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // IGNORE
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // IGNORE
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // IGNORE
+ ),
+ 'item_author' => 'item author', // IGNORE
+ 'item_categories' => 'item tags', // IGNORE
+ 'item_content' => array(
+ '_' => 'item content', // IGNORE
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // IGNORE
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // IGNORE
+ 'help' => 'Example: <code>image</code>', // IGNORE
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // IGNORE
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // IGNORE
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // IGNORE
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // IGNORE
+ ),
+ 'item_title' => 'item title', // IGNORE
+ 'item_uid' => 'item unique ID', // IGNORE
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // IGNORE
+ 'help' => 'Example: <code>permalink</code>', // IGNORE
+ ),
+ 'json' => 'Dotted Path for:', // IGNORE
+ 'relative' => 'Dotted Path (relative to item) for:', // IGNORE
+ ),
+ 'jsonfeed' => 'JSON Feed', // IGNORE
'rss' => 'RSS / Atom (default)', // IGNORE
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects', // IGNORE
'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // IGNORE
+ 'method' => array(
+ '_' => 'HTTP Method', // IGNORE
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // IGNORE
+ 'method_postparams' => 'Payload for POST', // IGNORE
'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.', // IGNORE
'mute' => 'mute', // IGNORE
'no_selected' => 'No feed selected.', // IGNORE
diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.php
index f6aebca4b..e76051212 100644
--- a/app/i18n/en/sub.php
+++ b/app/i18n/en/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relative to item) for:',
'xpath' => 'XPath for:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)',
+ 'feed_title' => array(
+ '_' => 'feed title',
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>',
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)',
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>',
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>',
+ ),
+ 'item_author' => 'item author',
+ 'item_categories' => 'item tags',
+ 'item_content' => array(
+ '_' => 'item content',
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>',
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail',
+ 'help' => 'Example: <code>image</code>',
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format',
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>',
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date',
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>',
+ ),
+ 'item_title' => 'item title',
+ 'item_uid' => 'item unique ID',
+ 'item_uri' => array(
+ '_' => 'item link (URL)',
+ 'help' => 'Example: <code>permalink</code>',
+ ),
+ 'json' => 'Dotted Path for:',
+ 'relative' => 'Dotted Path (relative to item) for:',
+ ),
+ 'jsonfeed' => 'JSON Feed',
'rss' => 'RSS / Atom (default)',
'xml_xpath' => 'XML + XPath',
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects',
'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects',
+ 'method' => array(
+ '_' => 'HTTP Method',
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>',
+ 'method_postparams' => 'Payload for POST',
'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.',
'mute' => 'mute',
'no_selected' => 'No feed selected.',
diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php
index 6fc8031fb..e466472ca 100644
--- a/app/i18n/es/sub.php
+++ b/app/i18n/es/sub.php
@@ -26,7 +26,7 @@ return array(
'archiving' => 'Archivo',
'dynamic_opml' => array(
'_' => 'OPML dinámico',
- 'help' => 'Provee la URL a un <a href=http://opml.org/ target=_blank>archivo OPML</a> para llenar dinámicamente esta categoría con feeds',
+ 'help' => 'Provee la URL a un <a href=http://opml.org/ target="_blank">archivo OPML</a> para llenar dinámicamente esta categoría con feeds',
),
'empty' => 'Vaciar categoría',
'information' => 'Información',
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relativo al elemento) para:',
'xpath' => 'XPath para:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (por defecto)',
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Máximas redirecciones HTTP',
'max_http_redir_help' => 'Escribir 0 o dejarlo en blanco para deshabilitarlo, -1 para redirecciones ilimitadas',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Al borrar una categoría todas sus fuentes pasan automáticamente a la categoría <em>%s</em>.',
'mute' => 'silenciar',
'no_selected' => 'No hay funentes seleccionadas.',
diff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.php
index eb520f54f..d6f267e20 100644
--- a/app/i18n/fa/sub.php
+++ b/app/i18n/fa/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (نسبت به مورد) برای:',
'xpath' => ' XPath برای:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => ' RSS / Atom (پیش‌فرض)',
'xml_xpath' => ' XML + XPath',
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => ' حداکثر تغییر مسیر HTTP',
'max_http_redir_help' => ' روی 0 تنظیم کنید یا برای غیرفعال کردن آن را خالی بگذارید',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => ' هنگامی که یک دسته را حذف می کنید',
'mute' => ' بی صدا',
'no_selected' => ' هیچ خوراکی انتخاب نشده است.',
diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.php
index c2ecfc6a9..f9c78c583 100644
--- a/app/i18n/fr/sub.php
+++ b/app/i18n/fr/sub.php
@@ -82,7 +82,7 @@ return array(
),
'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> est un langage de requête pour les utilisateurs avancés, supporté par FreshRSS pour le moissonnage du Web (Web scraping).',
'item' => array(
- '_' => 'trouver les <strong>articles</strong>',
+ '_' => 'trouver les <strong>articles</strong><br /><small>(c’est le plus important)</small>',
'help' => 'Exemple : <code>//div[@class="article"]</code>',
),
'item_author' => array(
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relatif à l’article) pour :',
'xpath' => 'XPath pour :',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Chemin)',
+ 'feed_title' => array(
+ '_' => 'titre de flux',
+ 'help' => 'Exemple : <code>meta.title</code> ou un texte statique : <code>"Mon flux personnalisé"</code>',
+ ),
+ 'help' => 'Un chemin JSON utilise le point comme séparateur objet, et des crochets pour un tableau : (ex : <code>data.items[0].title</code>)',
+ 'item' => array(
+ '_' => 'trouver les <strong>articles</strong><br /><small>(c’est le plus important)</small>',
+ 'help' => 'Chemin vers le tableau contenant les articles, par exemple <code>newsItems</code>',
+ ),
+ 'item_author' => 'auteur de l’article',
+ 'item_categories' => 'catégories (tags) de l’article',
+ 'item_content' => array(
+ '_' => 'contenu de l’article',
+ 'help' => 'Chemin JSON pour le contenu, par exemple <code>content</code>',
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'miniature de l’article',
+ 'help' => 'Exemple : <code>image</code>',
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Format personnalisé pour interpréter la date',
+ 'help' => 'Optionnel. Un format supporté par <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> comme <code>d-m-Y H:i:s</code>',
+ ),
+ 'item_timestamp' => array(
+ '_' => 'date de l’article',
+ 'help' => 'Le résultat sera passé à la fonction <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>',
+ ),
+ 'item_title' => 'titre de l’article',
+ 'item_uid' => 'identifiant unique de l’article',
+ 'item_uri' => array(
+ '_' => 'lien (URL) de l’article',
+ 'help' => 'Exemple : <code>permalink</code>',
+ ),
+ 'json' => 'Chemin JSON pour :',
+ 'relative' => 'Chemin relatif à l’article pour :',
+ ),
+ 'jsonfeed' => 'JSON Feed', // IGNORE
'rss' => 'RSS / Atom (par défaut)',
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Maximum de redirections HTTP',
'max_http_redir_help' => 'Mettre à 0 ou vide pour désactiver, -1 pour un nombre illimité de redirections',
+ 'method' => array(
+ '_' => 'Méthode HTTP',
+ ),
+ 'method_help' => 'Les données POST supportent automatiquement <code>application/x-www-form-urlencoded</code> et <code>application/json</code>',
+ 'method_postparams' => 'Données pour POST',
'moved_category_deleted' => 'Lors de la suppression d’une catégorie, ses flux seront automatiquement classés dans <em>%s</em>.',
'mute' => 'désactivé',
'no_selected' => 'Aucun flux sélectionné.',
diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.php
index 70f34e3be..83e0f2e95 100644
--- a/app/i18n/he/sub.php
+++ b/app/i18n/he/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relative to item) for:', // TODO
'xpath' => 'XPath for:', // TODO
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects', // TODO
'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'כאשר הקטגוריה נמחקת ההזנות שבתוכה אוטומטית מקוטלגות תחת <em>%s</em>.',
'mute' => 'mute', // TODO
'no_selected' => 'אף הזנה לא נבחרה.',
diff --git a/app/i18n/hu/sub.php b/app/i18n/hu/sub.php
index d618b9346..1934b0f06 100644
--- a/app/i18n/hu/sub.php
+++ b/app/i18n/hu/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (az elemhez viszonyítva) ehhez:',
'xpath' => 'XPath ehhez:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (alapértelmezett)',
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP átirányítás',
'max_http_redir_help' => '0 vagy üresen hagyva kikapcsolt, -1 a végtelen átirányításhoz',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Ha kitörölsz egy kategóriát, az alá tartozó hírforrások automatikusan ide kerülnek <em>%s</em>.',
'mute' => 'némítás',
'no_selected' => 'Nincsen hírforrás kiválasztva.',
diff --git a/app/i18n/id/sub.php b/app/i18n/id/sub.php
index 51e6c5704..d08746ba1 100644
--- a/app/i18n/id/sub.php
+++ b/app/i18n/id/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relative to item) for:', // TODO
'xpath' => 'XPath for:', // TODO
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects', // TODO
'max_http_redir_help' => 'Set to 0 or leave blank to disable, -1 for unlimited redirects', // TODO
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'When you delete a category, its feeds are automatically classified under <em>%s</em>.', // TODO
'mute' => 'mute', // TODO
'no_selected' => 'No feed selected.', // TODO
diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.php
index 0e5a05e19..4b953903b 100644
--- a/app/i18n/it/sub.php
+++ b/app/i18n/it/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relativo all’oggetto) per:',
'xpath' => 'XPath per:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (predefinito)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Numero massimo di redirect HTTP',
'max_http_redir_help' => 'Imposta a 0 o lascia in bianco per disabilitare, -1 per impostare un numero illimitato di redirect',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Cancellando una categoria i feed al suo interno verranno classificati automaticamente come <em>%s</em>.',
'mute' => 'muta',
'no_selected' => 'Nessun feed selezionato.',
diff --git a/app/i18n/ja/sub.php b/app/i18n/ja/sub.php
index 2a8cfbc21..188f3f25a 100644
--- a/app/i18n/ja/sub.php
+++ b/app/i18n/ja/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (関連する項目):',
'xpath' => 'XPathは:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (標準)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'HTTPのリダイレクトの上限',
'max_http_redir_help' => '0を設定するか、空白のままにすると無効になり、-1を設定するとリダイレクト数が無制限になります。',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'カテゴリを削除したとき、フィードは自動的に<em>%s</em>下に分類されます。',
'mute' => 'ミュート',
'no_selected' => 'どのフィードも選択されていません',
diff --git a/app/i18n/ko/sub.php b/app/i18n/ko/sub.php
index 8509235fe..762922c80 100644
--- a/app/i18n/ko/sub.php
+++ b/app/i18n/ko/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => '다음의 (기사와 관련된) XPath:',
'xpath' => '다음의 XPath:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (기본값)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => '최대 HTTP 리다이렉션',
'max_http_redir_help' => '값을 비워두거나 0으로 설정하면 비활성화하며, -1으로 설정하면 무제한 리다이렉션합니다',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => '카테고리를 삭제하면, 해당 카테고리 아래에 있던 피드들은 자동적으로 <em>%s</em> 아래로 분류됩니다.',
'mute' => '무기한 새로고침 금지',
'no_selected' => '선택된 피드가 없습니다.',
diff --git a/app/i18n/lv/sub.php b/app/i18n/lv/sub.php
index e2079d2ce..c10ac166f 100644
--- a/app/i18n/lv/sub.php
+++ b/app/i18n/lv/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relatīvs rakstam) priekš:',
'xpath' => 'XPath priekš:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (noklusējums)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Maksimālais HTTP novirzījumu skaits',
'max_http_redir_help' => 'Iestatiet 0 vai atstājiet tukšu, lai atspējotu, -1 neierobežotai novirzīšanai',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Kad dzēšat kategoriju, tās plūsmas automātiski tiek automātiski klasificētas kategorijā <em>%s</em>.',
'mute' => 'klusināt',
'no_selected' => 'Barotne nav izvēlēta.',
diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php
index 78991614f..87c7b3e4b 100644
--- a/app/i18n/nl/sub.php
+++ b/app/i18n/nl/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relatief naar bericht) voor:',
'xpath' => 'XPath voor:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (standaard)',
'xml_xpath' => 'XML + XPath', // IGNORE
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redirects', // IGNORE
'max_http_redir_help' => 'Stel in op 0 of laat leeg om uit te schakelen, -1 voor ongelimiteerde redirects',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Als u een categorie verwijderd, worden de feeds automatisch geclassificeerd onder <em>%s</em>.',
'mute' => 'demp',
'no_selected' => 'Geen feed geselecteerd.',
diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.php
index 0845ef54c..9931519f8 100644
--- a/app/i18n/oc/sub.php
+++ b/app/i18n/oc/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relatiu a l’element) per :',
'xpath' => 'XPath per :',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (defaut)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP redireccions',
'max_http_redir_help' => 'Definir a 0 o daissar void per lo desactivar, -1 per de redireccions illimitadas',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Quand escafatz una categoria, sos fluxes son automaticament classats dins <em>%s</em>.',
'mute' => 'mut',
'no_selected' => 'Cap de flux pas seleccionat.',
diff --git a/app/i18n/pl/sub.php b/app/i18n/pl/sub.php
index b2928f2ed..01521fe5b 100644
--- a/app/i18n/pl/sub.php
+++ b/app/i18n/pl/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (względem wiadomości) dla:',
'xpath' => 'XPath dla:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (domyślne)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Limit przekierowań HTTP',
'max_http_redir_help' => 'Ustaw na 0, albo pozostaw puste, by zabronić przekierowywania. Wartość -1 wyłącza limit.',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Po usunięciu kategorii znajdujące się w niej kanały zostaną automatycznie przeniesione do <em>%s</em>.',
'mute' => 'wycisz',
'no_selected' => 'Brak kanałów.',
diff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-br/sub.php
index 202b559a7..2777ab2e4 100644
--- a/app/i18n/pt-br/sub.php
+++ b/app/i18n/pt-br/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relativo do item) para:',
'xpath' => 'XPath para:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (padrão)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Quantidade máxima de redirecionamentos HTTP',
'max_http_redir_help' => 'Defina como 0 ou deixe em branco para desabilitar, -1 para redirecionamentos ilimitados',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Quando você deleta uma categoria, seus feeds são automaticamente classificados como <em>%s</em>.',
'mute' => 'silenciar',
'no_selected' => 'Nenhum feed selecionado.',
diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php
index e3b98c536..e9090b997 100644
--- a/app/i18n/ru/sub.php
+++ b/app/i18n/ru/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (относительно элемента) для:',
'xpath' => 'XPath для:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (по умолчанию)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Максимум HTTP переводов',
'max_http_redir_help' => 'Установите 0 или оставьте пустым, чтобы отключить, -1 для бесконечных переводов',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Когда вы удаляете категорию, ленты категории автоматически попадают в категорию <em>%s</em>.',
'mute' => 'заглушить',
'no_selected' => 'Ленты не выбраны.',
diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.php
index 71d52995c..029ed4e75 100644
--- a/app/i18n/sk/sub.php
+++ b/app/i18n/sk/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (relatívne k položke) pre:',
'xpath' => 'XPath pre:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (prednastavené)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Max HTTP presmerovaní',
'max_http_redir_help' => 'Nastavte na 0 alebo nechajte prázdne na zakázanie, -1 pre neobmedzené množstvo presmerovaní',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Keď vymažete kategóriu, jej kanály sa automaticky zaradia pod <em>%s</em>.',
'mute' => 'stíšiť',
'no_selected' => 'Nevybrali ste kanál.',
diff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.php
index 538770d03..b461d83f4 100644
--- a/app/i18n/tr/sub.php
+++ b/app/i18n/tr/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath (nesneye ait):',
'xpath' => 'XPath:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (varsayılan)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => 'Maksimum HTTP yönlendirme sayısı',
'max_http_redir_help' => 'Devre dışı bırakmak için boş bırakın ya da 0 olarak bırakın. Sınırsız yönlendirme için -1 olarak tanımlayın',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => 'Bir kategoriyi silerseniz, içerisindeki akışlar <em>%s</em> içerisine yerleşir.',
'mute' => 'sessize al',
'no_selected' => 'Hiçbir akış seçilmedi.',
diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php
index 63de97950..cf6922f4c 100644
--- a/app/i18n/zh-cn/sub.php
+++ b/app/i18n/zh-cn/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath(文章):',
'xpath' => 'XPath 定位:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (默认)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => '最大 HTTP 重定向',
'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 <em>%s</em>',
'mute' => '暂停',
'no_selected' => '未选择订阅源',
diff --git a/app/i18n/zh-tw/sub.php b/app/i18n/zh-tw/sub.php
index 3e5e03823..2b5847343 100644
--- a/app/i18n/zh-tw/sub.php
+++ b/app/i18n/zh-tw/sub.php
@@ -121,6 +121,45 @@ return array(
'relative' => 'XPath(文章):',
'xpath' => 'XPath 定位:',
),
+ 'json_dotpath' => array(
+ '_' => 'JSON (Dotted paths)', // TODO
+ 'feed_title' => array(
+ '_' => 'feed title', // TODO
+ 'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
+ ),
+ 'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
+ 'item' => array(
+ '_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
+ 'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
+ ),
+ 'item_author' => 'item author', // TODO
+ 'item_categories' => 'item tags', // TODO
+ 'item_content' => array(
+ '_' => 'item content', // TODO
+ 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO
+ ),
+ 'item_thumbnail' => array(
+ '_' => 'item thumbnail', // TODO
+ 'help' => 'Example: <code>image</code>', // TODO
+ ),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
+ 'item_timestamp' => array(
+ '_' => 'item date', // TODO
+ 'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>', // TODO
+ ),
+ 'item_title' => 'item title', // TODO
+ 'item_uid' => 'item unique ID', // TODO
+ 'item_uri' => array(
+ '_' => 'item link (URL)', // TODO
+ 'help' => 'Example: <code>permalink</code>', // TODO
+ ),
+ 'json' => 'Dotted Path for:', // TODO
+ 'relative' => 'Dotted Path (relative to item) for:', // TODO
+ ),
+ 'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (默認)',
'xml_xpath' => 'XML + XPath', // TODO
),
@@ -133,6 +172,11 @@ return array(
),
'max_http_redir' => '最大 HTTP 重定向',
'max_http_redir_help' => '設置為 0 或留空以禁用,-1 表示無限重定向',
+ 'method' => array(
+ '_' => 'HTTP Method', // TODO
+ ),
+ 'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>', // TODO
+ 'method_postparams' => 'Payload for POST', // TODO
'moved_category_deleted' => '刪除分類時,其中的訂閱源會自動歸類到 <em>%s</em>',
'mute' => '暫停',
'no_selected' => '未選擇訂閱源',