From f2e0a71b01af598c317cc1c47c4df9fff1ceb01d Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 13 Jul 2021 12:00:05 +0300 Subject: [PATCH] Only display Trade Mark sign on english language. (#608) --- frontend/src/app/components/about/about.component.html | 2 +- frontend/src/app/components/about/about.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/about/about.component.html b/frontend/src/app/components/about/about.component.html index 3ddff0926..997bd5448 100644 --- a/frontend/src/app/components/about/about.component.html +++ b/frontend/src/app/components/about/about.component.html @@ -9,7 +9,7 @@
-
The Mempool Open Source Project
+
The Mempool Open Source Project

Building a mempool and blockchain explorer for the Bitcoin community, focusing on the transaction fee market and multi-layer ecosystem, without any advertising, altcoins, or third-party trackers.

diff --git a/frontend/src/app/components/about/about.component.ts b/frontend/src/app/components/about/about.component.ts index 2ea120601..2fa20716f 100644 --- a/frontend/src/app/components/about/about.component.ts +++ b/frontend/src/app/components/about/about.component.ts @@ -1,4 +1,4 @@ -import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Inject, LOCALE_ID, OnInit } from '@angular/core'; import { WebsocketService } from '../../services/websocket.service'; import { SeoService } from 'src/app/services/seo.service'; import { StateService } from 'src/app/services/state.service'; @@ -28,6 +28,7 @@ export class AboutComponent implements OnInit { private stateService: StateService, private apiService: ApiService, private router: Router, + @Inject(LOCALE_ID) public locale: string, ) { } ngOnInit() {