From 668a355afe163c64aff61351ad7995187ff341b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 25 Oct 2023 19:06:29 -0400 Subject: [PATCH] fix: closes #12126, fix language keys --- src/controllers/admin/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/admin/settings.js b/src/controllers/admin/settings.js index 9ecf08548d..61ccd6a091 100644 --- a/src/controllers/admin/settings.js +++ b/src/controllers/admin/settings.js @@ -49,7 +49,7 @@ settingsController.user = async (req, res) => { const notificationTypes = await notifications.getAllNotificationTypes(); const notificationSettings = notificationTypes.map(type => ({ name: type, - label: `[[notifications:${type}]]`, + label: `[[notifications:${type.replace(/_/g, '-')}]]`, })); res.render('admin/settings/user', { title: '[[admin/menu:settings/user]]',