Skip to content

Commit 0b5c9f0

Browse files
Mattia Franchettomtfranchetto
Mattia Franchetto
authored andcommitted
Improve from cluster modal copy
1 parent 66dc83b commit 0b5c9f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/locales/en/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
},
340340
"fromClusterModal": {
341341
"title": "Start with an existing cluster",
342-
"description": "Choose an existing cluster to populate the wizard before you start. Only clusters whose version matches the version of AWS ParallelCluster can be selected.",
342+
"description": "Choose an existing cluster to populate the wizard before you start. You can only <strong>Create</strong> clusters with the same AWS ParallelCluster version that was used to create the AWS ParallelCluster UI.",
343343
"actions": {
344344
"cancel": "Cancel",
345345
"create": "Create"

frontend/src/old-pages/Clusters/FromClusterModal/FromClusterModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
NonCancelableEventHandler,
2424
} from '@cloudscape-design/components/internal/events'
2525
import React, {useCallback} from 'react'
26-
import {useTranslation} from 'react-i18next'
26+
import {Trans, useTranslation} from 'react-i18next'
2727
import {useClustersToCopyFrom} from './useClustersToCopyFrom'
2828

2929
interface Props {
@@ -81,7 +81,7 @@ export const FromClusterModal: React.FC<Props> = ({
8181
header={t('cluster.fromClusterModal.title')}
8282
>
8383
<SpaceBetween size="s">
84-
<Box>{t('cluster.fromClusterModal.description')}</Box>
84+
<Trans i18nKey="cluster.fromClusterModal.description" />
8585
<Select
8686
selectedOption={selectedCluster}
8787
options={clustersToDisplay}

0 commit comments

Comments
 (0)