diff options
| author | 2021-03-09 14:51:09 -0500 | |
|---|---|---|
| committer | 2021-03-09 20:51:09 +0100 | |
| commit | 800a42172db1775aaa76f50446ed914ee0b5a80b (patch) | |
| tree | 630a0cd33480909ce6f3954a24a2c18c6f343238 /app/i18n | |
| parent | 09b7e87532d030f6a1203a4f0fe5a9746bae694c (diff) | |
Add an option to set a custom user agent to retrieve individual feeds (#3494)
* Add an option to set a custom user agent to retrieve individual feeds
This allows retrieving the original RSS feed when websites use services like FeedBurner.
* Use !== instead of != in subscriptionController.php
* Add proxy and user-agent to subscription/add
Co-authored-by: Georgelemental <georgelemental@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/i18n')
| -rw-r--r-- | app/i18n/cz/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/de/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/en-us/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/en/sub.php | 2 | ||||
| -rwxr-xr-x | app/i18n/es/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/fr/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/he/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/it/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/kr/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/nl/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/oc/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/pl/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/pt-br/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/ru/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/sk/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/tr/sub.php | 2 | ||||
| -rw-r--r-- | app/i18n/zh-cn/sub.php | 2 |
17 files changed, 34 insertions, 0 deletions
diff --git a/app/i18n/cz/sub.php b/app/i18n/cz/sub.php index 9e933f60d..19c0bf2a7 100644 --- a/app/i18n/cz/sub.php +++ b/app/i18n/cz/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Přidat RSS kanál', 'ttl' => 'Neobnovovat častěji než', 'url' => 'URL kanálu', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Zkontrolovat platnost kanálu', 'website' => 'URL webové stránky', 'websub' => 'Okamžité oznámení s WebSub', diff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.php index 0b74e29d0..8698268f3 100644 --- a/app/i18n/de/sub.php +++ b/app/i18n/de/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Einen RSS-Feed hinzufügen', 'ttl' => 'Aktualisiere automatisch nicht öfter als', 'url' => 'Feed-URL', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Überprüfen Sie die Gültigkeit des Feeds', 'website' => 'Webseiten-URL', 'websub' => 'Sofortbenachrichtigung mit WebSub', diff --git a/app/i18n/en-us/sub.php b/app/i18n/en-us/sub.php index 0aa3f7f4c..ee8ece901 100644 --- a/app/i18n/en-us/sub.php +++ b/app/i18n/en-us/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Add an RSS feed', 'ttl' => 'Do not automatically refresh more often than', 'url' => 'Feed URL', + 'useragent' => 'Set the user agent for fetching this feed', + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', 'validator' => 'Check the validity of the feed', 'website' => 'Website URL', 'websub' => 'Instant notification with WebSub', diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.php index 2335addf6..dd230ba1b 100644 --- a/app/i18n/en/sub.php +++ b/app/i18n/en/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Add an RSS feed', 'ttl' => 'Do not automatically refresh more often than', 'url' => 'Feed URL', + 'useragent' => 'Set the user agent for fetching this feed', + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', 'validator' => 'Check the validity of the feed', 'website' => 'Website URL', 'websub' => 'Instant notification with WebSub', diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php index 32376be75..856b4556e 100755 --- a/app/i18n/es/sub.php +++ b/app/i18n/es/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Añadir fuente RSS', 'ttl' => 'No actualizar de forma automática con una frecuencia mayor a', 'url' => 'URL de la fuente', + 'useragent' => 'Selecciona el agente de usario por recuperar la fuente', + 'useragent_help' => 'Ejemplo: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', 'validator' => 'Verifica la validez de la fuente', 'website' => 'Web de la URL', 'websub' => 'Notificación inmedaiata con WebSub', diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.php index 495c4c086..a2a3d4bc2 100644 --- a/app/i18n/fr/sub.php +++ b/app/i18n/fr/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Ajouter un flux RSS', 'ttl' => 'Ne pas automatiquement rafraîchir plus souvent que', 'url' => 'URL du flux', + 'useragent' => 'Sélectionner l’agent utilisateur pour télécharger ce flux', + 'useragent_help' => 'Exemple: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', 'validator' => 'Vérifier la validité du flux', 'website' => 'URL du site', 'websub' => 'Notification instantanée par WebSub', diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.php index 3bb576952..5984d5f6c 100644 --- a/app/i18n/he/sub.php +++ b/app/i18n/he/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'הוספת הזנה', 'ttl' => 'אין לרענן אוטומטית יותר מ', 'url' => 'הזנה URL', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'בדיקות תקינות ההזנה', 'website' => 'אתר URL', 'websub' => 'Instant notification with WebSub', // TODO - Translation diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.php index 9c2fd1b08..3cb71c485 100644 --- a/app/i18n/it/sub.php +++ b/app/i18n/it/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Aggiungi RSS feed', 'ttl' => 'Non aggiornare automaticamente piu di', 'url' => 'Feed URL', // TODO - Translation + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Controlla la validita del feed ', 'website' => 'URL del sito', 'websub' => 'Notifica istantanea con WebSub', diff --git a/app/i18n/kr/sub.php b/app/i18n/kr/sub.php index a953808d7..1c04e9fb9 100644 --- a/app/i18n/kr/sub.php +++ b/app/i18n/kr/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'RSS 피드 추가', 'ttl' => '다음 시간이 지나기 전에 새로고침 금지', 'url' => '피드 URL', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => '피드 유효성 검사', 'website' => '웹사이트 URL', 'websub' => 'WebSub을 사용한 즉시 알림', diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php index e6adcb564..9656529b1 100644 --- a/app/i18n/nl/sub.php +++ b/app/i18n/nl/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Voeg een RSS-feed toe', 'ttl' => 'Vernieuw automatisch niet vaker dan', 'url' => 'Feed-url', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Controleer de geldigheid van de feed', 'website' => 'Website-url', 'websub' => 'Directe notificaties met WebSub', diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.php index 9b70bdac2..7461facfc 100644 --- a/app/i18n/oc/sub.php +++ b/app/i18n/oc/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Ajustar un flux RSS', 'ttl' => 'Actualizar pas automaticament mai sovent que', 'url' => 'Flux URL', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Verificar la validitat del flux', 'website' => 'URL del site', 'websub' => 'Notificaciones instantáneas amb WebSub', diff --git a/app/i18n/pl/sub.php b/app/i18n/pl/sub.php index b1e93f1e8..bea398af5 100644 --- a/app/i18n/pl/sub.php +++ b/app/i18n/pl/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Dodaj kanał', 'ttl' => 'Nie odświeżaj automatycznie częściej niż', 'url' => 'Adres kanału', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Sprawdź poprawność kanału', 'website' => 'Adres strony', 'websub' => 'Instant notification with WebSub', // TODO - Translation diff --git a/app/i18n/pt-br/sub.php b/app/i18n/pt-br/sub.php index 2fd0138ed..286c1c5bd 100644 --- a/app/i18n/pt-br/sub.php +++ b/app/i18n/pt-br/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Adicionar o RSS feed', 'ttl' => 'Não atualize automaticamente mais que', 'url' => 'URL do Feed', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Verifique a validade do feed', 'website' => 'URL do site', 'websub' => 'Notificação instantânea com WebSub', diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php index cd18f56de..05a8024f5 100644 --- a/app/i18n/ru/sub.php +++ b/app/i18n/ru/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Add an RSS feed', // TODO - Translation 'ttl' => 'Do not automatically refresh more often than', // TODO - Translation 'url' => 'Feed URL', // TODO - Translation + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Check the validity of the feed', // TODO - Translation 'website' => 'Website URL', // TODO - Translation 'websub' => 'Instant notification with WebSub', // TODO - Translation diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.php index b60d16400..98a436f02 100644 --- a/app/i18n/sk/sub.php +++ b/app/i18n/sk/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Pridať kanál RSS', 'ttl' => 'Automaticky neaktualizovať častejšie ako', 'url' => 'Odkaz kanála', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Skontrolovať platnosť kanála', 'website' => 'Odkaz webovej stránky', 'websub' => 'Okamžité oznámenia cez WebSub', diff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.php index 83ea31fb2..e9f895dcf 100644 --- a/app/i18n/tr/sub.php +++ b/app/i18n/tr/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'RSS akışı ekle', 'ttl' => 'Şu kadar süreden fazla otomatik yenileme yapma', 'url' => 'Akış URL', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => 'Akış geçerliliğini kontrol edin', 'website' => 'Site URL', 'websub' => 'WebSub ile anlık bildirim', diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php index 248b5b188..bb3a05b59 100644 --- a/app/i18n/zh-cn/sub.php +++ b/app/i18n/zh-cn/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => '添加订阅源', 'ttl' => '最小自动更新间隔', 'url' => '源地址', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: <kbd>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)</kbd>', // TODO - Translation 'validator' => '检查订阅源有效性', 'website' => '网站地址', 'websub' => 'WebSub 即时通知', |
