From d8744a9ec159a4b22274e18083004f060a2a1de9 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 28 Jan 2023 13:36:47 +0100 Subject: Fix notif_body_new_articles (#5042) #fix https://github.com/FreshRSS/FreshRSS/issues/5041 --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/scripts') diff --git a/p/scripts/main.js b/p/scripts/main.js index bf2c56f56..15db36cbe 100644 --- a/p/scripts/main.js +++ b/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', }); -- cgit v1.2.3