File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 129129 "title" : " Projects"
130130 },
131131 "ControlPlaneView" : {
132- "accessError" : " Managed Control Plane does not have access information yet"
132+ "accessError" : " Managed Control Plane does not have access information yet" ,
133+ "componentsTitle" : " Components" ,
134+ "managedResourcesTitle" : " Managed Resources" ,
135+ "gitOpsTitle" : " GitOps"
133136 },
134137 "ToastContext" : {
135138 "errorMessage" : " useToast must be used within a ToastProvider"
Original file line number Diff line number Diff line change @@ -88,14 +88,18 @@ export default function ControlPlaneView() {
8888 < ObjectPageSection
8989 className = "cp-page-section-components"
9090 id = "components"
91- titleText = "Components"
91+ titleText = { t ( 'ControlPlaneView.componentsTitle' ) }
9292 hideTitleText
9393 >
9494 < Panel
9595 className = "cp-panel"
9696 headerLevel = "H2"
9797 headerText = "Panel"
98- header = { < Title level = "H3" > Components</ Title > }
98+ header = {
99+ < Title level = "H3" >
100+ { t ( 'ControlPlaneView.componentsTitle' ) }
101+ </ Title >
102+ }
99103 noAnimation
100104 >
101105 < ComponentList mcp = { mcp } />
@@ -104,14 +108,18 @@ export default function ControlPlaneView() {
104108 < ObjectPageSection
105109 className = "cp-page-section-crossplane"
106110 id = "crossplane"
107- titleText = "Managed Resources"
111+ titleText = { t ( 'ControlPlaneView.managedResourcesTitle' ) }
108112 hideTitleText
109113 >
110114 < Panel
111115 className = "cp-panel cp-panel-crossplane"
112116 headerLevel = "H3"
113117 headerText = "Panel"
114- header = { < Title level = "H3" > Managed Resources</ Title > }
118+ header = {
119+ < Title level = "H3" >
120+ { t ( 'ControlPlaneView.managedResourcesTitle' ) }
121+ </ Title >
122+ }
115123 noAnimation
116124 >
117125 < ProvidersList />
@@ -120,14 +128,16 @@ export default function ControlPlaneView() {
120128 < ObjectPageSection
121129 className = "cp-page-section-gitops"
122130 id = "gitops"
123- titleText = "GitOps"
131+ titleText = { t ( 'ControlPlaneView.gitOpsTitle' ) }
124132 hideTitleText
125133 >
126134 < Panel
127135 className = "cp-panel cp-panel-gitops"
128136 headerLevel = "H3"
129137 headerText = "Panel"
130- header = { < Title level = "H3" > GitOps</ Title > }
138+ header = {
139+ < Title level = "H3" > { t ( 'ControlPlaneView.gitOpsTitle' ) } </ Title >
140+ }
131141 noAnimation
132142 >
133143 < FluxList />
You can’t perform that action at this time.
0 commit comments