diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-29 16:39:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-29 17:09:55 +0200 |
commit | 2a39506c7da9ef79671d4c21539313b6d49b1884 (patch) | |
tree | 61374b31491c8d05f788346efa573b4b66210246 /client/src/app/app.module.ts | |
parent | 696d83fd1377486dd03cc1bd02a21d9b6ddd9fcd (diff) | |
download | PeerTube-2a39506c7da9ef79671d4c21539313b6d49b1884.tar.gz PeerTube-2a39506c7da9ef79671d4c21539313b6d49b1884.tar.zst PeerTube-2a39506c7da9ef79671d4c21539313b6d49b1884.zip |
Revert "Remove oc locale support"
This reverts commit 8323c435c19ac6ed1656ee8436b175bce7bd2c82.
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r-- | client/src/app/app.module.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 6e74cd394..e61346dac 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -2,7 +2,6 @@ import { LOCALE_ID, NgModule, TRANSLATIONS, TRANSLATIONS_FORMAT } from '@angular | |||
2 | import { BrowserModule } from '@angular/platform-browser' | 2 | import { BrowserModule } from '@angular/platform-browser' |
3 | import { ServerService } from '@app/core' | 3 | import { ServerService } from '@app/core' |
4 | import { ResetPasswordModule } from '@app/reset-password' | 4 | import { ResetPasswordModule } from '@app/reset-password' |
5 | |||
6 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' | 5 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' |
7 | import 'focus-visible' | 6 | import 'focus-visible' |
8 | 7 | ||
@@ -18,9 +17,12 @@ import { SearchModule } from '@app/search' | |||
18 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' | 17 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' |
19 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' | 18 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' |
20 | import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models' | 19 | import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models' |
21 | import { APP_BASE_HREF } from '@angular/common' | 20 | import { APP_BASE_HREF, registerLocaleData } from '@angular/common' |
22 | import { QuickSettingsModalComponent } from '@app/modal/quick-settings-modal.component' | 21 | import { QuickSettingsModalComponent } from '@app/modal/quick-settings-modal.component' |
23 | import { CustomModalComponent } from '@app/modal/custom-modal.component' | 22 | import { CustomModalComponent } from '@app/modal/custom-modal.component' |
23 | import localeOc from '@app/shared/locale/oc' | ||
24 | |||
25 | registerLocaleData(localeOc, 'oc') | ||
24 | 26 | ||
25 | @NgModule({ | 27 | @NgModule({ |
26 | bootstrap: [ AppComponent ], | 28 | bootstrap: [ AppComponent ], |