aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-01-28 13:36:47 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-28 13:36:47 +0100
commitd8744a9ec159a4b22274e18083004f060a2a1de9 (patch)
tree23e5be146f6a934b717163287339ebbf8545dc64 /p/scripts
parent07efaf71eac19934d858df678576823da131d1bb (diff)
Fix notif_body_new_articles (#5042)
#fix https://github.com/FreshRSS/FreshRSS/issues/5041
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
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',
});