Browse Source

Fix notif_body_new_articles (#5042)

#fix https://github.com/FreshRSS/FreshRSS/issues/5041
Alexandre Alapetite 3 years ago
parent
commit
d8744a9ec1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      p/scripts/main.js

+ 1 - 1
p/scripts/main.js

@@ -1569,7 +1569,7 @@ function notifs_html5_show(nb, nb_new) {
 
 	const notification = new window.Notification(context.i18n.notif_title_articles, {
 		icon: '../themes/icons/favicon-256-padding.png',
-		body: context.i18n.notif_body_new_articles.replace('%d', nb_new) + ' ' + context.i18n.notif_body_unread_articles.replace('%d', nb),
+		body: context.i18n.notif_body_new_articles.replace('%%d', nb_new) + ' ' + context.i18n.notif_body_unread_articles.replace('%%d', nb),
 		tag: 'freshRssNewArticles',
 	});