mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: closes #12126, fix language keys
This commit is contained in:
@@ -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]]',
|
||||
|
||||
Reference in New Issue
Block a user