X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.module.ts;h=e61346dac9addbbccb0d45f2b662ef1aa99ecdcf;hb=2a39506c7da9ef79671d4c21539313b6d49b1884;hp=6e74cd394298b48a4e8d71bb3b8e8aed64613857;hpb=696d83fd1377486dd03cc1bd02a21d9b6ddd9fcd;p=github%2FChocobozzz%2FPeerTube.git 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 import { BrowserModule } from '@angular/platform-browser' import { ServerService } from '@app/core' import { ResetPasswordModule } from '@app/reset-password' - import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' import 'focus-visible' @@ -18,9 +17,12 @@ import { SearchModule } from '@app/search' import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models' -import { APP_BASE_HREF } from '@angular/common' +import { APP_BASE_HREF, registerLocaleData } from '@angular/common' import { QuickSettingsModalComponent } from '@app/modal/quick-settings-modal.component' import { CustomModalComponent } from '@app/modal/custom-modal.component' +import localeOc from '@app/shared/locale/oc' + +registerLocaleData(localeOc, 'oc') @NgModule({ bootstrap: [ AppComponent ],