From 8b230221e7fd4311e9222af3b76caa3c76244beb Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Wed, 24 Aug 2022 20:32:21 +0200 Subject: [PATCH] Add locale --- .../portfolio/allocations/allocations-page.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts index d230331e9..b1f600575 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts +++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts @@ -85,7 +85,6 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { public user: User; - private readonly SEARCH_PLACEHOLDER = 'Filter by account or tag...'; private unsubscribeSubject = new Subject(); public constructor( @@ -133,7 +132,9 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { this.isLoading = true; this.activeFilters = filters; this.placeholder = - this.activeFilters.length <= 0 ? this.SEARCH_PLACEHOLDER : ''; + this.activeFilters.length <= 0 + ? $localize`Filter by account or tag...` + : ''; return this.dataService.fetchPortfolioDetails({ filters: this.activeFilters