diff --git a/packages/app/src/library/PageWithTitle/index.tsx b/packages/app/src/library/PageWithTitle/index.tsx index d565d0f98f..a07638430d 100644 --- a/packages/app/src/library/PageWithTitle/index.tsx +++ b/packages/app/src/library/PageWithTitle/index.tsx @@ -2,21 +2,18 @@ // SPDX-License-Identifier: GPL-3.0-only import type { PageItem } from 'common-types' -import { useNetwork } from 'contexts/Network' import { Helmet } from 'react-helmet' import { useTranslation } from 'react-i18next' import { Page } from 'ui-structure' export const PageWithTitle = ({ page }: { page: PageItem }) => { const { t } = useTranslation() - const { network } = useNetwork() const { Entry, key } = page return ( {`${t('title', { - context: `${network}`, ns: 'base', })} : ${t(key, { ns: 'base' })}`} diff --git a/packages/locales/src/resources/cn/base.json b/packages/locales/src/resources/cn/base.json index b6322ecb06..09cbeabcb9 100644 --- a/packages/locales/src/resources/cn/base.json +++ b/packages/locales/src/resources/cn/base.json @@ -43,9 +43,7 @@ "minute": "分钟", "second": "秒" }, - "title_kusama": "Kusama抵押平台", - "title_polkadot": "Polkadot抵押平台", - "title_westend": "Westend抵押平台", + "title": "Polkadot抵押平台", "validators": "验证人" } } diff --git a/packages/locales/src/resources/en/base.json b/packages/locales/src/resources/en/base.json index bb0ee06c03..a8fa9f4743 100644 --- a/packages/locales/src/resources/en/base.json +++ b/packages/locales/src/resources/en/base.json @@ -49,9 +49,7 @@ "second_one": "second", "second_other": "seconds" }, - "title_kusama": "Kusama Staking Dashboard", - "title_polkadot": "Polkadot Staking Dashboard", - "title_westend": "Westend Staking Dashboard", + "title": "Polkadot Staking Dashboard", "validators": "Validators" } }