diff --git a/demo-shell/src/app/components/files/files.component.html b/demo-shell/src/app/components/files/files.component.html index fcf85d1c75..f3f7301218 100644 --- a/demo-shell/src/app/components/files/files.component.html +++ b/demo-shell/src/app/components/files/files.component.html @@ -247,12 +247,12 @@ @@ -344,7 +344,7 @@ - +
{{ link.model?.icon }} - {{link.title || link.model?.title}} + {{ (link.title || link.model?.title) | translate}} ` diff --git a/lib/core/context-menu/context-menu.module.ts b/lib/core/context-menu/context-menu.module.ts index 01118f4148..06bbbc88d0 100644 --- a/lib/core/context-menu/context-menu.module.ts +++ b/lib/core/context-menu/context-menu.module.ts @@ -18,6 +18,7 @@ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { MaterialModule } from '../material.module'; +import { TranslateModule } from '@ngx-translate/core'; import { ContextMenuHolderComponent } from './context-menu-holder.component'; import { ContextMenuDirective } from './context-menu.directive'; @@ -26,7 +27,8 @@ import { ContextMenuService } from './context-menu.service'; @NgModule({ imports: [ CommonModule, - MaterialModule + MaterialModule, + TranslateModule ], declarations: [ ContextMenuHolderComponent,