From 007739c356b6ab09d70e58faf0ae71fefb23912d Mon Sep 17 00:00:00 2001 From: sercan Date: Mon, 16 Dec 2019 08:21:37 +0300 Subject: [PATCH] (FuseNavigation) Fixed: Translations are not being applied --- .../horizontal/collapsable/collapsable.component.html | 6 +++--- .../navigation/horizontal/item/item.component.html | 6 +++--- .../vertical/collapsable/collapsable.component.html | 4 ++-- .../navigation/vertical/group/group.component.html | 4 ++-- .../components/navigation/vertical/item/item.component.html | 6 +++--- src/app/navigation/navigation.ts | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/@fuse/components/navigation/horizontal/collapsable/collapsable.component.html b/src/@fuse/components/navigation/horizontal/collapsable/collapsable.component.html index 0c25864a..1eb155e3 100644 --- a/src/@fuse/components/navigation/horizontal/collapsable/collapsable.component.html +++ b/src/@fuse/components/navigation/horizontal/collapsable/collapsable.component.html @@ -42,10 +42,10 @@ {{item.icon}} - {{item.title}} + {{(item.translate | translate) || item.title}} - {{item.badge.title}} + {{(item.badge.translate | translate) || item.badge.title}} keyboard_arrow_right @@ -66,4 +66,4 @@ - \ No newline at end of file + diff --git a/src/@fuse/components/navigation/horizontal/item/item.component.html b/src/@fuse/components/navigation/horizontal/item/item.component.html index d2636ab7..75101981 100644 --- a/src/@fuse/components/navigation/horizontal/item/item.component.html +++ b/src/@fuse/components/navigation/horizontal/item/item.component.html @@ -38,11 +38,11 @@ {{item.icon}} - {{item.title}} + {{(item.translate | translate) || item.title}} - {{item.badge.title}} + {{(item.badge.translate | translate) || item.badge.title}} - \ No newline at end of file + diff --git a/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html b/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html index cc8ab10f..cc0eefc9 100644 --- a/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html +++ b/src/@fuse/components/navigation/vertical/collapsable/collapsable.component.html @@ -45,10 +45,10 @@ {{item.icon}} - {{item.title}} + {{(item.translate | translate) || item.title}} - {{item.badge.title}} + {{(item.badge.translate | translate) || item.badge.title}} keyboard_arrow_right diff --git a/src/@fuse/components/navigation/vertical/group/group.component.html b/src/@fuse/components/navigation/vertical/group/group.component.html index 3285cfd3..e83d601a 100644 --- a/src/@fuse/components/navigation/vertical/group/group.component.html +++ b/src/@fuse/components/navigation/vertical/group/group.component.html @@ -1,7 +1,7 @@
- {{ item.title }} + {{(item.translate | translate) || item.title}}
@@ -13,4 +13,4 @@
-
\ No newline at end of file + diff --git a/src/@fuse/components/navigation/vertical/item/item.component.html b/src/@fuse/components/navigation/vertical/item/item.component.html index d2636ab7..75101981 100644 --- a/src/@fuse/components/navigation/vertical/item/item.component.html +++ b/src/@fuse/components/navigation/vertical/item/item.component.html @@ -38,11 +38,11 @@ {{item.icon}} - {{item.title}} + {{(item.translate | translate) || item.title}} - {{item.badge.title}} + {{(item.badge.translate | translate) || item.badge.title}} - \ No newline at end of file + diff --git a/src/app/navigation/navigation.ts b/src/app/navigation/navigation.ts index a2ec91bc..60e2c72e 100644 --- a/src/app/navigation/navigation.ts +++ b/src/app/navigation/navigation.ts @@ -49,14 +49,14 @@ export const navigation: FuseNavigation[] = [ title : 'Products', type : 'item', url : '/apps/e-commerce/products', - exactMatch: true + // exactMatch: true }, { id : 'productDetail', title : 'Product Detail', type : 'item', url : '/apps/e-commerce/products/1/printed-dress', - exactMatch: true + // exactMatch: true }, { id : 'orders',