A free, self-hostable news aggregator…
JavaScript popup number bug
Alexandre Alapetitecc1390fe9454
diff --git a/app/i18n/cz/gen.php b/app/i18n/cz/gen.phpindex ca90cff0c..c30310bf3 100644--- a/app/i18n/cz/gen.php+++ b/app/i18n/cz/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Jste si jist, že chcete provést tuto akci? Změny nelze vrátit zpět!','confirm_action_feed_cat' => 'Jste si jist, že chcete provést tuto akci? Přijdete o související oblíbené položky a uživatelské dotazy. Změny nelze vrátit zpět!','feedback' => array(- 'body_new_articles' => 'Je \\d nových článků k přečtení v FreshRSS.',+ 'body_new_articles' => 'Je %d nových článků k přečtení v FreshRSS.','request_failed' => 'Požadavek selhal, což 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.phpindex fb09e8598..47bdee4ee 100644--- a/app/i18n/de/gen.php+++ b/app/i18n/de/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Sind Sie sicher, dass Sie diese Aktion durchführen wollen? Diese Aktion kann nicht abgebrochen werden!','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_new_articles' => 'Es gibt %d neue Artikel zum Lesen auf FreshRSS.','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/gen.php b/app/i18n/en/gen.phpindex f71684688..3af7850b8 100644--- a/app/i18n/en/gen.php+++ b/app/i18n/en/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Are you sure you want to perform this action? It cannot be cancelled!','confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favorites and user queries. It cannot be cancelled!','feedback' => array(- 'body_new_articles' => 'There are \\d new articles to read on FreshRSS.',+ 'body_new_articles' => 'There are %d new articles to read on FreshRSS.','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/fr/gen.php b/app/i18n/fr/gen.phpindex f8e4ac7ee..4cda84c8d 100644--- a/app/i18n/fr/gen.php+++ b/app/i18n/fr/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Êtes-vous sûr(e) de vouloir continuer ? Cette action ne peut être annulée !','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_new_articles' => 'Il y a %d nouveaux articles à lire sur FreshRSS.','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/it/gen.php b/app/i18n/it/gen.phpindex bd311aa12..8598ec8a7 100644--- a/app/i18n/it/gen.php+++ b/app/i18n/it/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Sei sicuro di voler continuare?','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_new_articles' => 'Ci sono %d nuovi articoli da leggere.','request_failed' => 'Richiesta fallita, probabilmente a causa di problemi di connessione','title_new_articles' => 'Feed RSS Reader: nuovi articoli!',),diff --git a/app/i18n/nl/gen.php b/app/i18n/nl/gen.phpindex bc4fd9201..56f8424d1 100644--- a/app/i18n/nl/gen.php+++ b/app/i18n/nl/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Weet u zeker dat u dit wilt doen? Het kan niet ongedaan worden gemaakt!','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_new_articles' => 'Er zijn %d nieuwe artikelen om te lezen op FreshRSS.','request_failed' => 'Een opdracht is mislukt, mogelijk door Internet verbindings problemen.','title_new_articles' => 'FreshRSS: nieuwe artikelen!',),diff --git a/app/i18n/tr/gen.php b/app/i18n/tr/gen.phpindex 7284f132b..65a20ed7a 100644--- a/app/i18n/tr/gen.php+++ b/app/i18n/tr/gen.php@@ -108,7 +108,7 @@ return array('confirm_action' => 'Bunu yapmak istediğinize emin misiniz ? Daha sonra iptal edilemez!','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 var.',+ 'body_new_articles' => 'FreshRSS de okunmaz üzere %d yeni makale var.','request_failed' => 'Hata. İnternet bağlantınızı kontrol edin.','title_new_articles' => 'FreshRSS: yeni makaleler!',),diff --git a/p/scripts/main.js b/p/scripts/main.jsindex 32a2ca913..b7522df6a 100644--- a/p/scripts/main.js+++ b/p/scripts/main.js@@ -863,7 +863,7 @@ function notifs_html5_show(nb) {var notification = new window.Notification(i18n['notif_title_articles'], {icon: "../themes/icons/favicon-256.png",- body: i18n['notif_body_articles'].replace("\d", nb),+ body: i18n['notif_body_articles'].replace('%d', nb),tag: "freshRssNewArticles"});