Skip to content

Commit 81db99b

Browse files
authored
fix: Translation error in helm releases list (#4361)
* fix: translation error in helm releases list * refactor: use const translation key instead of string * test: fix clicking error in dns providers test * test: fix dns providers test error * test: fix dns providers test click error * test: fix dns providers test click error * fix: dns providers test error * test: bring back initial dns providers test flow
1 parent 2ea4142 commit 81db99b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/HelmReleases/HelmReleasesList.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import { decodeHelmRelease } from './decodeHelmRelease';
66
import { findRecentRelease } from './findRecentRelease';
77
import { activeNamespaceIdAtom } from 'state/activeNamespaceIdAtom';
88
import { useUrl } from 'hooks/useUrl';
9-
import { ResourceDescription, docsURL } from 'components/HelmReleases';
9+
import {
10+
ResourceDescription,
11+
docsURL,
12+
i18nDescriptionKey,
13+
} from 'components/HelmReleases';
1014
import { ResourcesList } from 'shared/components/ResourcesList/ResourcesList';
1115
import { HelmReleaseStatus } from './HelmReleaseStatus';
1216

@@ -93,7 +97,7 @@ function HelmReleasesList() {
9397
],
9498
}}
9599
emptyListProps={{
96-
subtitleText: ResourceDescription,
100+
subtitleText: t(i18nDescriptionKey),
97101
url: docsURL,
98102
showButton: false,
99103
}}

0 commit comments

Comments
 (0)