Cleanup and deduplicate languages

This commit is contained in:
djmaze 2021-01-21 17:21:19 +01:00
parent 67db19ec80
commit a28b5c2b6c
52 changed files with 1124 additions and 2030 deletions

View file

@ -171,7 +171,7 @@ class AppUser extends AbstractApp {
MessageStore.messageList([]);
MessageStore.messageListLoading(false);
MessageStore.messageListError(
oData && oData.ErrorCode ? getNotification(oData.ErrorCode) : i18n('NOTIFICATIONS/CANT_GET_MESSAGE_LIST')
getNotification((oData && oData.ErrorCode) || Notification.CantGetMessageList)
);
}
},
@ -920,7 +920,7 @@ class AppUser extends AbstractApp {
this.bootend();
showScreenPopup(require('View/Popup/TwoFactorConfiguration'), [true]);
} else {
rl.setWindowTitle(i18n('TITLES/LOADING'));
rl.setWindowTitle(i18n('GLOBAL/LOADING'));
// require.ensure([], function() { // require code splitting