aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-02-04 15:54:31 +0100
committerGravatar GitHub <noreply@github.com> 2022-02-04 15:54:31 +0100
commit827cec6d13bd5a6068da0892c7709032e1f6314d (patch)
tree941c5a0163c6df7b1b0fa31db7704c96d174fbd5 /app
parentb127777887969617ed8358912876af962edde139 (diff)
Improved: Browser notification: unread message (#4193)
* notification * i18n (english string) * i18n: en-us + de * Update gen.php * i18n: PL + RU * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app')
-rw-r--r--app/i18n/cz/gen.php1
-rw-r--r--app/i18n/de/gen.php1
-rw-r--r--app/i18n/en-us/gen.php1
-rw-r--r--app/i18n/en/gen.php1
-rwxr-xr-xapp/i18n/es/gen.php1
-rw-r--r--app/i18n/fr/gen.php1
-rw-r--r--app/i18n/he/gen.php1
-rw-r--r--app/i18n/it/gen.php1
-rw-r--r--app/i18n/ja/gen.php1
-rw-r--r--app/i18n/ko/gen.php1
-rw-r--r--app/i18n/nl/gen.php1
-rw-r--r--app/i18n/oc/gen.php1
-rw-r--r--app/i18n/pl/gen.php1
-rw-r--r--app/i18n/pt-br/gen.php1
-rw-r--r--app/i18n/ru/gen.php1
-rw-r--r--app/i18n/sk/gen.php1
-rw-r--r--app/i18n/tr/gen.php1
-rw-r--r--app/i18n/zh-cn/gen.php1
-rw-r--r--app/views/helpers/javascript_vars.phtml3
19 files changed, 20 insertions, 1 deletions
diff --git a/app/i18n/cz/gen.php b/app/i18n/cz/gen.php
index 0aaef5d08..c4b9a22a4 100644
--- a/app/i18n/cz/gen.php
+++ b/app/i18n/cz/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Opravdu chcete provést tuto akci? Přijdete o související oblíbené položky a uživatelské dotazy. Toto nelze zrušit!',
'feedback' => array(
'body_new_articles' => 'Ve FreshRSS je %%d nových článků k přečtení.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Požadavek selhal, to může být způsobeno problémy s připojení k internetu.',
'title_new_articles' => 'FreshRSS: nové články!',
),
diff --git a/app/i18n/de/gen.php b/app/i18n/de/gen.php
index ce97d15f7..2023ce93d 100644
--- a/app/i18n/de/gen.php
+++ b/app/i18n/de/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Sind Sie sicher, dass Sie diese Aktion durchführen wollen? Sie werden zugehörige Favoriten und Benutzerabfragen verlieren. Dies kann nicht abgebrochen werden!',
'feedback' => array(
'body_new_articles' => 'Es gibt %%d neue Artikel zum Lesen auf FreshRSS.',
+ 'body_unread_articles' => '(Ungelesen: %%d)',
'request_failed' => 'Eine Anfrage ist fehlgeschlagen, dies könnte durch Probleme mit der Internetverbindung verursacht worden sein.',
'title_new_articles' => 'FreshRSS: neue Artikel!',
),
diff --git a/app/i18n/en-us/gen.php b/app/i18n/en-us/gen.php
index c767f94c6..6a7a26e81 100644
--- a/app/i18n/en-us/gen.php
+++ b/app/i18n/en-us/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favorites and user queries. It cannot be canceled!',
'feedback' => array(
'body_new_articles' => 'There are %%d new articles to read on FreshRSS.', // IGNORE
+ 'body_unread_articles' => '(unread: %%d)', // IGNORE
'request_failed' => 'A request has failed, it may have been caused by internet connection problems.', // IGNORE
'title_new_articles' => 'FreshRSS: new articles!', // IGNORE
),
diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.php
index 6d5fd58a8..4343f1485 100644
--- a/app/i18n/en/gen.php
+++ b/app/i18n/en/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favourites and user queries. It cannot be cancelled!',
'feedback' => array(
'body_new_articles' => 'There are %%d new articles to read on FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'A request has failed, it may have been caused by internet connection problems.',
'title_new_articles' => 'FreshRSS: new articles!',
),
diff --git a/app/i18n/es/gen.php b/app/i18n/es/gen.php
index 7d2df254a..2f2adad49 100755
--- a/app/i18n/es/gen.php
+++ b/app/i18n/es/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => '¿Seguro que quieres hacerlo? Perderás todos los favoritos relacionados y las peticiones de usuario. ¡Y no hay marcha atrás!',
'feedback' => array(
'body_new_articles' => 'Hay %%d nuevos artículos para leer en FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'La petición ha fallado. Puede ser debido a problemas de conexión a internet.',
'title_new_articles' => 'FreshRSS: ¡Nuevos artículos!',
),
diff --git a/app/i18n/fr/gen.php b/app/i18n/fr/gen.php
index cf11cba84..04c5b0a76 100644
--- a/app/i18n/fr/gen.php
+++ b/app/i18n/fr/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Êtes-vous sûr(e) de vouloir continuer ? Vous perdrez les favoris et les filtres associés. Cette action ne peut être annulée !',
'feedback' => array(
'body_new_articles' => 'Il y a %%d nouveaux articles à lire sur FreshRSS.',
+ 'body_unread_articles' => '(non lus : %%d)',
'request_failed' => 'Une requête a échoué, cela peut être dû à des problèmes de connexion à Internet.',
'title_new_articles' => 'FreshRSS : nouveaux articles !',
),
diff --git a/app/i18n/he/gen.php b/app/i18n/he/gen.php
index 9aa22a48f..f24c51f00 100644
--- a/app/i18n/he/gen.php
+++ b/app/i18n/he/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'האם אתם בטוחים שברצוניכם לבצע פעולה זו? מועדפים ושאילתות עשויות לאבוד. אין אפשרות לבטל אותה!',
'feedback' => array(
'body_new_articles' => 'ישנם \\d מאמרים חדשים לקרוא ב FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'A request has failed, it may have been caused by internet connection problems.', // TODO
'title_new_articles' => 'FreshRSS: מאמרים חדשים!',
),
diff --git a/app/i18n/it/gen.php b/app/i18n/it/gen.php
index 53620d207..d6361c45d 100644
--- a/app/i18n/it/gen.php
+++ b/app/i18n/it/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Sei sicuro di voler continuare? Verranno persi i preferiti e le ricerche utente correlate!',
'feedback' => array(
'body_new_articles' => 'Ci sono %%d nuovi articoli da leggere.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Richiesta fallita, probabilmente a causa di problemi di connessione',
'title_new_articles' => 'Feed RSS Reader: nuovi articoli!',
),
diff --git a/app/i18n/ja/gen.php b/app/i18n/ja/gen.php
index 8dd82d59a..fac7c3ad2 100644
--- a/app/i18n/ja/gen.php
+++ b/app/i18n/ja/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => '本当に実行してもいいですか? あなたは関連するお気に入りとユーザークエリを失います。キャンセルできません!',
'feedback' => array(
'body_new_articles' => '%%d の新規記事がFreshRSSにはあります。',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'おそらくインターネット接続に問題があるため、リクエストは失敗しました。',
'title_new_articles' => 'FreshRSS: 新規記事!',
),
diff --git a/app/i18n/ko/gen.php b/app/i18n/ko/gen.php
index c3f0c5fa1..1599f602d 100644
--- a/app/i18n/ko/gen.php
+++ b/app/i18n/ko/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => '정말 이 작업을 수행하시겠습니까? 관련된 즐겨찾기와 사용자 쿼리가 삭제됩니다. 이 작업은 되돌릴 수 없습니다!!',
'feedback' => array(
'body_new_articles' => '%%d 개의 새 글이 FreshRSS에 있습니다.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => '요청한 작업을 수행할 수 없습니다. 인터넷 연결에 문제가 발생한 것 같습니다.',
'title_new_articles' => 'FreshRSS: 새 글이 있습니다!',
),
diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.php
index d535a8ffe..2f20a0cd0 100644
--- a/app/i18n/nl/gen.php
+++ b/app/i18n/nl/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Weet u zeker dat u dit wilt doen? U verliest alle gereleteerde favorieten en gebruikers informatie. Het kan niet ongedaan worden gemaakt!',
'feedback' => array(
'body_new_articles' => 'Er zijn %%d nieuwe artikelen om te lezen op FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Een opdracht is mislukt, mogelijk door Internet verbindings problemen.',
'title_new_articles' => 'FreshRSS: nieuwe artikelen!',
),
diff --git a/app/i18n/oc/gen.php b/app/i18n/oc/gen.php
index 19ffffd49..edd7b3850 100644
--- a/app/i18n/oc/gen.php
+++ b/app/i18n/oc/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Volètz vertadièrament contunhar ? Perdretz los favorits e filtres ligats. Aquesta accion se pòt pas anullar !',
'feedback' => array(
'body_new_articles' => 'I a %%d nòus articles per legir sus FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Una requèsta a fach meuca, aquò pòt venir d’un problèma de connexion Internet.',
'title_new_articles' => 'FreshRSS : nòus articles !',
),
diff --git a/app/i18n/pl/gen.php b/app/i18n/pl/gen.php
index ef6c772ea..e6dd0cbaa 100644
--- a/app/i18n/pl/gen.php
+++ b/app/i18n/pl/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'czy jesteś pewien, że chcesz przeprowadzić daną operację? Stracisz powiązane zapytania i ulubione wiadomości. Tych zmian nie można wycofać!',
'feedback' => array(
'body_new_articles' => 'Na FreshRSS znajduje się %%d wiadomości do przeczytania.',
+ 'body_unread_articles' => '(Nieprzeczytane: %%d)',
'request_failed' => 'Zapytanie nie powiodło się. Może to być spowodowane problemami z łącznością z internetem.',
'title_new_articles' => 'FreshRSS: nowe wiadomości!',
),
diff --git a/app/i18n/pt-br/gen.php b/app/i18n/pt-br/gen.php
index c48e6dc3e..cc3b6df0f 100644
--- a/app/i18n/pt-br/gen.php
+++ b/app/i18n/pt-br/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Você tem certeza que deseja efetuar esta ação ? Você irá perder favoritos e queries de usuários. Não poderá ser cancelado!',
'feedback' => array(
'body_new_articles' => 'Há %%d novos artigos para ler no FreshRSS.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Uma solicitação falhou, isto pode ter sido causado por problemas de conexão com a internet.',
'title_new_articles' => 'FreshRSS: novos artigos!',
),
diff --git a/app/i18n/ru/gen.php b/app/i18n/ru/gen.php
index b477f3d4f..fdf430ac1 100644
--- a/app/i18n/ru/gen.php
+++ b/app/i18n/ru/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Вы уверены, что хотите выполнить это действие? Вы потеряете связанные избранные статьи и пользовательские запросы. Это нельзя отменить!',
'feedback' => array(
'body_new_articles' => '%%d новых статей в FreshRSS.',
+ 'body_unread_articles' => '(Непрочитанные: %%d)',
'request_failed' => 'Запрос не удался. Возможно, это вызвано проблемами с подключением к Интернет.',
'title_new_articles' => 'FreshRSS: новые статьи!',
),
diff --git a/app/i18n/sk/gen.php b/app/i18n/sk/gen.php
index d12b59786..6ffda2251 100644
--- a/app/i18n/sk/gen.php
+++ b/app/i18n/sk/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Určite chcete vykonať túto akciu? Prídete o súvisiace obľúbené a používateľské dopyty. Zmeny budú nezvratné!',
'feedback' => array(
'body_new_articles' => 'Počet nových článkov v čítačke FreshRSS: %%d',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Nepodarilo sa spracovať váš dopyt, pravdepodobne kvôli problému s pripojením do internetu.',
'title_new_articles' => 'FreshRSS: nové články!',
),
diff --git a/app/i18n/tr/gen.php b/app/i18n/tr/gen.php
index abf66f076..b920c84fb 100644
--- a/app/i18n/tr/gen.php
+++ b/app/i18n/tr/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => 'Bunu yapmak istediğinize emin misiniz ? Favorileriniz ve sorgularınız silinecek. Daha sonra iptal edilemez!',
'feedback' => array(
'body_new_articles' => 'FreshRSS de okunmaz üzere %%d yeni makale mevcut.',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => 'Hata. İnternet bağlantınızı kontrol edin.',
'title_new_articles' => 'FreshRSS: yeni makaleler!',
),
diff --git a/app/i18n/zh-cn/gen.php b/app/i18n/zh-cn/gen.php
index 445e0aa94..ae4f330fd 100644
--- a/app/i18n/zh-cn/gen.php
+++ b/app/i18n/zh-cn/gen.php
@@ -127,6 +127,7 @@ return array(
'confirm_action_feed_cat' => '你确定要执行此操作吗?你将丢失相关的收藏和自定义查询。这将不可撤销!',
'feedback' => array(
'body_new_articles' => 'FreshRSS 中有 %%d 篇文章等待阅读。',
+ 'body_unread_articles' => '(unread: %%d)', // TODO
'request_failed' => '请求失败,这可能是因为网络连接问题。',
'title_new_articles' => 'FreshRSS: 新文章!',
),
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 3860c6204..5d78890f3 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -57,7 +57,8 @@ echo htmlspecialchars(json_encode(array(
'i18n' => array(
'confirmation_default' => _t('gen.js.confirm_action'),
'notif_title_articles' => _t('gen.js.feedback.title_new_articles'),
- 'notif_body_articles' => _t('gen.js.feedback.body_new_articles'),
+ 'notif_body_new_articles' => _t('gen.js.feedback.body_new_articles'),
+ 'notif_body_unread_articles' => _t('gen.js.feedback.body_unread_articles'),
'notif_request_failed' => _t('gen.js.feedback.request_failed'),
'category_empty' => _t('gen.js.category_empty'),
'language' => FreshRSS_Context::$user_conf->language,