mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Improved js minification
This commit is contained in:
parent
8884adcb72
commit
b31bf3d7f5
16 changed files with 99 additions and 150 deletions
|
|
@ -89,22 +89,22 @@ class FolderSystemPopupView extends AbstractViewPopup {
|
|||
* @param {number=} notificationType = SetSystemFoldersNotification.None
|
||||
*/
|
||||
onShow(notificationType = SetSystemFoldersNotification.None) {
|
||||
let notification = '';
|
||||
let notification = '', prefix = 'POPUPS_SYSTEM_FOLDERS/NOTIFICATION_';
|
||||
switch (notificationType) {
|
||||
case SetSystemFoldersNotification.Sent:
|
||||
notification = i18n('POPUPS_SYSTEM_FOLDERS/NOTIFICATION_SENT');
|
||||
notification = i18n(prefix + 'SENT');
|
||||
break;
|
||||
case SetSystemFoldersNotification.Draft:
|
||||
notification = i18n('POPUPS_SYSTEM_FOLDERS/NOTIFICATION_DRAFTS');
|
||||
notification = i18n(prefix + 'DRAFTS');
|
||||
break;
|
||||
case SetSystemFoldersNotification.Spam:
|
||||
notification = i18n('POPUPS_SYSTEM_FOLDERS/NOTIFICATION_SPAM');
|
||||
notification = i18n(prefix + 'SPAM');
|
||||
break;
|
||||
case SetSystemFoldersNotification.Trash:
|
||||
notification = i18n('POPUPS_SYSTEM_FOLDERS/NOTIFICATION_TRASH');
|
||||
notification = i18n(prefix + 'TRASH');
|
||||
break;
|
||||
case SetSystemFoldersNotification.Archive:
|
||||
notification = i18n('POPUPS_SYSTEM_FOLDERS/NOTIFICATION_ARCHIVE');
|
||||
notification = i18n(prefix + 'ARCHIVE');
|
||||
break;
|
||||
// no default
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue