Skip to content

A free, self-hostable news aggregator…

Fix bug of i18n in JavaScript

Marien Fressinaud3831961b2e51
diff --git a/p/scripts/main.js b/p/scripts/main.js
index ad33f6c57..b01a3a34d 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -849,7 +849,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"
});