constructor(
        private jhiLanguageService: JhiLanguageService,
        private modalService: NgbModal,
        private healthService: JhiHealthService
    ) {
        this.jhiLanguageService.setLocations(['health']);

    }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private salesOrderService: SalesOrderService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['salesOrder', 'paymentType', 'orderChannel', 'orderType', 'orderStatus']);
 }
 this.principal.identity(true).then(account => {
     // After the login the language will be changed to
     // the language selected by the user during his registration
     if (account !== null) {
         this.languageService.changeLanguage(account.langKey);
     }
     resolve(data);
 });
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private shoppingCartService: ShoppingCartService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['shoppingCart']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private postService: PostService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['post']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private salesOrderService: SalesOrderService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['salesOrder', 'paymentType', 'orderChannel', 'orderType', 'orderStatus']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private merchantLogService: MerchantLogService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['merchantLog']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private fileHistoryService: FileHistoryService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['fileHistory']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private systemNotificationService: SystemNotificationService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['systemNotification']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private customerService: CustomerService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['customer', 'customerGender']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private integrationModuleService: IntegrationModuleService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['integrationModule']);
 }
 constructor(
     private account: AccountService,
     private principal: Principal,
     private languageService: JhiLanguageService,
     private languageHelper: JhiLanguageHelper
 ) {
     this.languageService.setLocations(['settings']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private productService: ProductService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['product']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private transactionService: TransactionService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['transaction', 'transactionType', 'paymentType']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private orderProductAttributeService: OrderProductAttributeService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['orderProductAttribute']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private emailSettingService: EmailSettingService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['emailSetting', 'sMTPSecurityEnum']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private emailSettingService: EmailSettingService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['emailSetting', 'sMTPSecurityEnum']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private transactionService: TransactionService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['transaction', 'transactionType', 'paymentType']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private taxClassService: TaxClassService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['taxClass']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private productOptionValueDescriptionService: ProductOptionValueDescriptionService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['productOptionValueDescription']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private passwordResetInit: PasswordResetInit,
     private elementRef: ElementRef,
     private renderer: Renderer
 ) {
     this.jhiLanguageService.setLocations(['reset']);
 }
Example #22
0
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private activate: Activate,
     private loginModalService: LoginModalService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['activate']);
 }
 constructor(
     private eventManager: EventManager,
     private jhiLanguageService: JhiLanguageService,
     private taxClassService: TaxClassService,
     private route: ActivatedRoute
 ) {
     this.jhiLanguageService.setLocations(['taxClass']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private productAvailabilityService: ProductAvailabilityService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['productAvailability']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private shoppingCartService: ShoppingCartService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['shoppingCart']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private orderStatusHistoryService: OrderStatusHistoryService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['orderStatusHistory', 'orderStatus']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private categoryDescriptionService: CategoryDescriptionService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['categoryDescription']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private userService: UserService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['user-management']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private orderTotalService: OrderTotalService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['orderTotal', 'orderValueType', 'orderTotalType']);
 }
 constructor(
     private jhiLanguageService: JhiLanguageService,
     private currencyService: CurrencyService,
     public activeModal: NgbActiveModal,
     private eventManager: EventManager
 ) {
     this.jhiLanguageService.setLocations(['currency']);
 }