From 1072b38b8375add42e64b868a9fc4b1e8c2f1d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 5 Oct 2023 12:53:00 -0400 Subject: [PATCH] fix: lang key, type has _, lang keys changed to use - --- src/controllers/accounts/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/accounts/settings.js b/src/controllers/accounts/settings.js index 0e727621cb..2f5259822a 100644 --- a/src/controllers/accounts/settings.js +++ b/src/controllers/accounts/settings.js @@ -178,7 +178,7 @@ async function getNotificationSettings(userData) { const setting = userData.settings[type]; return { name: type, - label: `[[notifications:${type}]]`, + label: `[[notifications:${type.replace(/_/g, '-')}]]`, none: setting === 'none', notification: setting === 'notification', email: setting === 'email',