Skip to content

Commit

Permalink
SHIBUI-814 Removed LOCALE_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 24, 2018
1 parent 0d10c77 commit cfe5669
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4,409 deletions.
3 changes: 0 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json",
"start:en": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=en --aot",
"start:es": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/es.xlf --i18nFormat=xlf --locale=es --aot",
"start:prod": "ng serve --proxy-config proxy.conf.json --i18nFile=./src/locale/en.xlf --i18nFormat=xlf --locale=en --aot --environment=prod",
"build": "ng build",
"test": "ng test --code-coverage",
"lint": "ng lint",
Expand Down
3 changes: 1 addition & 2 deletions ui/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, LOCALE_ID } from '@angular/core';
import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
Expand Down Expand Up @@ -58,7 +58,6 @@ import { I18nModule } from './i18n/i18n.module';
AppRoutingModule
],
providers: [
{ provide: LOCALE_ID, useValue: getCurrentLocale(null) },
NavigatorService,
{ provide: RouterStateSerializer, useClass: CustomRouterStateSerializer },
{
Expand Down
Loading

0 comments on commit cfe5669

Please sign in to comment.