Simplify language Notifications

This commit is contained in:
the-djmaze 2024-03-01 01:39:00 +01:00
parent 5b3b362012
commit c1b7d37663
71 changed files with 1737 additions and 1740 deletions

View file

@ -22,7 +22,7 @@ const
getNotificationMessage = code => {
let key = getKeyByValue(Notifications, code);
return key ? I18N_DATA.NOTIFICATIONS[i18nKey(key).replace('_NOTIFICATION', '_ERROR')] : '';
return key ? I18N_DATA.NOTIFICATIONS[key] : '';
},
fromNow = date => relativeTime(Math.round((date.getTime() - Date.now()) / 1000));