Skip to content

Commit

Permalink
Move config wished future state to translation
Browse files Browse the repository at this point in the history
This also removes the mention of AWS SSM Parameter Store since it
is now implemented
  • Loading branch information
in-op committed Mar 5, 2024
1 parent 87102c6 commit 7ebd981
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions public/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ export default {
},
opensearch: {
dql: 'OpenSearch Dashboards Query Language (DQL)'
},
wishedFutureState: {
configuration:
'This tab will provide an abstracted interface for editing the configuration in Consul, Vault, and K8s Configuration Maps.'
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/js/views/Project/Configuration/Configuration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import { Context } from '../../../state'
import PropTypes from 'prop-types'
import { SSMConfiguration } from './SSMConfiguration'
import { WishedFutureState } from '../../../components'
import { useTranslation } from 'react-i18next'

function Configuration({ urlPath, project }) {
const [globalState, dispatch] = useContext(Context)
const { t } = useTranslation()

useEffect(() => {
dispatch({
Expand All @@ -24,9 +26,7 @@ function Configuration({ urlPath, project }) {
return (
<div className="pt-20 flex items-center justify-center">
<WishedFutureState>
This tab will provide an abstracted interface for editing the
configuration in Consul, Vault, AWS SSM Parameter Store, and K8s
Configuration Maps.
{t('wishedFutureState.configuration')}
</WishedFutureState>
</div>
)
Expand Down

0 comments on commit 7ebd981

Please sign in to comment.