mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup and simplify i18n code
There's no need for I18N_NOTIFICATION_DATA and I18N_NOTIFICATION_MAP Also bugfix: NEW_PASSWORD_FORBIDDENT => NEW_PASSWORD_FORBIDDEN
This commit is contained in:
parent
950579c7f5
commit
0d13484cdc
20 changed files with 45 additions and 142 deletions
|
|
@ -8,7 +8,7 @@ import {
|
|||
|
||||
import { KeyState } from 'Common/Enums';
|
||||
import { rootAdmin, rootUser } from 'Common/Links';
|
||||
import { initOnStartOrLangChange, initNotificationLanguage } from 'Common/Translator';
|
||||
import { initOnStartOrLangChange } from 'Common/Translator';
|
||||
|
||||
import LanguageStore from 'Stores/Language';
|
||||
import ThemeStore from 'Stores/Theme';
|
||||
|
|
@ -94,7 +94,7 @@ class AbstractApp {
|
|||
ko.components.register('CheckboxSimple', require('Component/Checkbox').default);
|
||||
}
|
||||
|
||||
initOnStartOrLangChange(initNotificationLanguage);
|
||||
initOnStartOrLangChange();
|
||||
|
||||
if (!mobile) {
|
||||
// mobile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue