From e6412f25d5f15c3471c11b873768b849c55aa74b Mon Sep 17 00:00:00 2001 From: Deepu k Sasidharan Date: Tue, 11 Oct 2016 21:27:04 +0530 Subject: [PATCH] feat: i18n polish --- .../src/main/webapp/app/shared/_shared-common.ng2module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generators/client-2/templates/src/main/webapp/app/shared/_shared-common.ng2module.ts b/generators/client-2/templates/src/main/webapp/app/shared/_shared-common.ng2module.ts index 6d98d92faf6b..ca0df2c1589c 100644 --- a/generators/client-2/templates/src/main/webapp/app/shared/_shared-common.ng2module.ts +++ b/generators/client-2/templates/src/main/webapp/app/shared/_shared-common.ng2module.ts @@ -1,4 +1,5 @@ import { NgModule } from '@angular/core'; +import { MissingTranslationHandler } from 'ng2-translate/ng2-translate'; import { <%=angular2AppName%>SharedLibsModule, @@ -48,7 +49,7 @@ import { providers: [ <%_ if (enableTranslation){ _%> <%=jhiPrefixCapitalized%>LanguageService, - { provide: MissingTranslationHandler, useClass: <%=jhiPrefixCapitalized%>MissingTranslationHandler } + { provide: MissingTranslationHandler, useClass: <%=jhiPrefixCapitalized%>MissingTranslationHandler }, <%_ } _%> alertServiceProvider() ],