Skip to content

Commit 881aa78

Browse files
committed
Change heading
1 parent 604d805 commit 881aa78

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

public/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"addButton": "Add"
120120
},
121121
"ControlPlaneListView": {
122+
"header": "Your instances of <span>Managed Control Plane</span>",
122123
"projectHeader": "Project:"
123124
},
124125
"ProjectsListView": {

src/views/ControlPlanes/ControlPlaneListView.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useParams } from 'react-router-dom';
44
import ControlPlaneListAllWorkspaces from '../../components/ControlPlanes/List/ControlPlaneListAllWorkspaces.tsx';
55
import IntelligentBreadcrumbs from '../../components/Core/IntelligentBreadcrumbs.tsx';
66
import { ControlPlaneListToolbar } from '../../components/ControlPlanes/List/ControlPlaneListToolbar.tsx';
7-
import { useTranslation } from 'react-i18next';
7+
import { Trans, useTranslation } from 'react-i18next';
88

99
export default function ControlPlaneListView() {
1010
const { projectName } = useParams();
@@ -18,7 +18,10 @@ export default function ControlPlaneListView() {
1818
<ObjectPageTitle
1919
header={
2020
<Title>
21-
Your <span className="mono-font">ManagedControlPlanes</span>
21+
<Trans
22+
i18nKey="ControlPlaneListView.header"
23+
components={{ span: <span className="mono-font" /> }}
24+
/>
2225
</Title>
2326
}
2427
subHeader={

0 commit comments

Comments
 (0)