aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-29 16:39:49 +0200
committerChocobozzz <me@florianbigard.com>2020-05-29 17:09:55 +0200
commit2a39506c7da9ef79671d4c21539313b6d49b1884 (patch)
tree61374b31491c8d05f788346efa573b4b66210246 /client/src/app/app.module.ts
parent696d83fd1377486dd03cc1bd02a21d9b6ddd9fcd (diff)
downloadPeerTube-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.ts6
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
2import { BrowserModule } from '@angular/platform-browser' 2import { BrowserModule } from '@angular/platform-browser'
3import { ServerService } from '@app/core' 3import { ServerService } from '@app/core'
4import { ResetPasswordModule } from '@app/reset-password' 4import { ResetPasswordModule } from '@app/reset-password'
5
6import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' 5import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core'
7import 'focus-visible' 6import 'focus-visible'
8 7
@@ -18,9 +17,12 @@ import { SearchModule } from '@app/search'
18import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' 17import { WelcomeModalComponent } from '@app/modal/welcome-modal.component'
19import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' 18import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component'
20import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models' 19import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models'
21import { APP_BASE_HREF } from '@angular/common' 20import { APP_BASE_HREF, registerLocaleData } from '@angular/common'
22import { QuickSettingsModalComponent } from '@app/modal/quick-settings-modal.component' 21import { QuickSettingsModalComponent } from '@app/modal/quick-settings-modal.component'
23import { CustomModalComponent } from '@app/modal/custom-modal.component' 22import { CustomModalComponent } from '@app/modal/custom-modal.component'
23import localeOc from '@app/shared/locale/oc'
24
25registerLocaleData(localeOc, 'oc')
24 26
25@NgModule({ 27@NgModule({
26 bootstrap: [ AppComponent ], 28 bootstrap: [ AppComponent ],