Skip to content

Commit

Permalink
change translation
Browse files Browse the repository at this point in the history
  • Loading branch information
OliwiaGowor committed Aug 28, 2024
1 parent 839cfad commit b651f1c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions public/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ common:
age: Age
annotations: Annotations
created: Created
configuration: Configuration
last-update: Last Update
description: Description
discard-changes: Discard Changes
Expand Down
2 changes: 1 addition & 1 deletion src/components/Clusters/components/AddClusterWizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function AddClusterWizard({ kubeconfig, setKubeconfig, config }) {
return (
<Wizard contentLayout="SingleStep" onStepChange={handleStepChange}>
<WizardStep
titleText={t('configuration.title')}
titleText={t('common.headers.configuration')}
branching={!kubeconfig}
selected={selected === 1}
data-step={'1'}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Clusters/components/ClusterPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function ClusterPreview({ kubeconfig, storage, setSelected, hasAuth }) {
level="H5"
className="cluster-preview__subtitle"
style={spacing.sapUiSmallMarginTopBottom}
>{`1. ${t('configuration.title')}`}</Title>
>{`1. ${t('common.headers.configuration')}`}</Title>
<p
className="cluster-preview__data-header"
style={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function ClusterValidationConfigurationDialog({
<Dialog
onAfterClose={onCancel}
open={show}
headerText={t('cluster-validation.scan.configuration.title')}
headerText={t('cluster-validation.scan.common.headers.configuration')}
footer={
<Bar
design="Footer"
Expand Down
4 changes: 2 additions & 2 deletions src/resources/Secrets/SecretDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export function SecretDetails(props) {
const Configuration = secret => (
<UI5Panel
fixed
keyComponent={'storageclass-configuration'}
title={t('storage-classes.headers.configuration')}
keyComponent={'secret-configuration'}
title={t('common.headers.configuration')}
>
<LayoutPanelRow name={t('secrets.headers.type')} value={secret.type} />
</UI5Panel>
Expand Down
2 changes: 1 addition & 1 deletion src/resources/ServiceAccounts/ServiceAccountDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function ServiceAccountDetails(props) {
<UI5Panel
fixed
keyComponent={'serviceaccount-configuration'}
title={t('configuration.title')}
title={t('common.headers.configuration')}
>
<LayoutPanelRow
name={t('service-accounts.headers.auto-mount-token')}
Expand Down

0 comments on commit b651f1c

Please sign in to comment.