fix: closes #12126, fix language keys

This commit is contained in:
Barış Soner Uşaklı
2023-10-25 19:06:29 -04:00
parent 23629e9025
commit 075cd598d1

View File

@@ -49,7 +49,7 @@ settingsController.user = async (req, res) => {
const notificationTypes = await notifications.getAllNotificationTypes(); const notificationTypes = await notifications.getAllNotificationTypes();
const notificationSettings = notificationTypes.map(type => ({ const notificationSettings = notificationTypes.map(type => ({
name: type, name: type,
label: `[[notifications:${type}]]`, label: `[[notifications:${type.replace(/_/g, '-')}]]`,
})); }));
res.render('admin/settings/user', { res.render('admin/settings/user', {
title: '[[admin/menu:settings/user]]', title: '[[admin/menu:settings/user]]',