diff --git a/frontend/e2e/pages/helm-page.ts b/frontend/e2e/pages/helm-page.ts index af3f992bdad..88467e17897 100644 --- a/frontend/e2e/pages/helm-page.ts +++ b/frontend/e2e/pages/helm-page.ts @@ -28,7 +28,7 @@ export class HelmPage extends BasePage { private readonly yamlViewRadio = this.page.locator('#form-radiobutton-editorType-yaml-field'); private readonly chartVersionDropdown = this.page.locator('#form-dropdown-chartVersion-field'); private readonly createDropdown = this.page.getByTestId('tab-list-page-create'); - private readonly helmReleasesTab = this.page.getByRole('tab', { name: 'Helm Releases' }); + private readonly helmReleasesTab = this.page.getByRole('tab', { name: 'Helm releases' }); private readonly repositoriesTab = this.page.getByRole('tab', { name: 'Repositories' }); async navigateToHelmReleases(namespace: string): Promise { diff --git a/frontend/packages/console-shared/locales/en/console-shared.json b/frontend/packages/console-shared/locales/en/console-shared.json index 9099c93c003..51d1aee5620 100644 --- a/frontend/packages/console-shared/locales/en/console-shared.json +++ b/frontend/packages/console-shared/locales/en/console-shared.json @@ -141,7 +141,7 @@ "Group by": "Group by", "Health checks": "Health checks", "Healthy": "Healthy", - "Helm Release": "Helm Release", + "Helm release": "Helm release", "Hide sidebar": "Hide sidebar", "Hide waiting pods with errors": "Hide waiting pods with errors", "How should the pods be replaced when a new revision is created?": "How should the pods be replaced when a new revision is created?", diff --git a/frontend/packages/console-shared/src/components/catalog/__tests__/CatalogController.spec.tsx b/frontend/packages/console-shared/src/components/catalog/__tests__/CatalogController.spec.tsx index 06a64a735a9..c193e1b5a62 100644 --- a/frontend/packages/console-shared/src/components/catalog/__tests__/CatalogController.spec.tsx +++ b/frontend/packages/console-shared/src/components/catalog/__tests__/CatalogController.spec.tsx @@ -59,7 +59,7 @@ describe('CatalogController', () => { pluginName: '@console/helm-plugin', properties: { catalogDescription: 'Helm Catalog description', - title: 'Helm Charts', + title: 'Helm charts', type: 'HelmChart', }, type: 'console.catalog/item-type', @@ -76,7 +76,7 @@ describe('CatalogController', () => { renderWithProviders(); await waitFor(() => { - expect(screen.getByRole('heading', { name: 'Helm Charts' })).toBeVisible(); + expect(screen.getByRole('heading', { name: 'Helm charts' })).toBeVisible(); }); expect(screen.getByText('Helm Catalog description')).toBeVisible(); }); @@ -116,7 +116,7 @@ describe('CatalogController', () => { }, { pluginName: '@console/test-plugin', - properties: { type: 'HelmChart', title: 'Helm Charts' }, + properties: { type: 'HelmChart', title: 'Helm charts' }, type: 'console.catalog/item-type', uid: 'helm', }, @@ -135,7 +135,7 @@ describe('CatalogController', () => { renderWithProviders(); const typeLinks = await screen.findAllByRole('link'); - expect(typeLinks.map((link) => link.textContent)).toEqual(['Helm Charts (1)', 'Operators (2)']); + expect(typeLinks.map((link) => link.textContent)).toEqual(['Helm charts (1)', 'Operators (2)']); }); it('should filter the shared operator catalog by lifecycle version', async () => { diff --git a/frontend/packages/console-shared/src/components/catalog/hooks/__tests__/useCatalogExtensions.spec.ts b/frontend/packages/console-shared/src/components/catalog/hooks/__tests__/useCatalogExtensions.spec.ts index 709aed8ebe2..fc2fcfd9463 100644 --- a/frontend/packages/console-shared/src/components/catalog/hooks/__tests__/useCatalogExtensions.spec.ts +++ b/frontend/packages/console-shared/src/components/catalog/hooks/__tests__/useCatalogExtensions.spec.ts @@ -269,7 +269,7 @@ describe('useCatalogExtensions item type metadata merging', () => { mockExtensions = [ { type: 'console.catalog/item-type', - properties: { type: 'HelmChart', title: 'Helm Charts' }, + properties: { type: 'HelmChart', title: 'Helm charts' }, }, { type: 'console.catalog/item-type-metadata', diff --git a/frontend/packages/console-shared/src/utils/utils.ts b/frontend/packages/console-shared/src/utils/utils.ts index 5657691f0c4..c705168b305 100644 --- a/frontend/packages/console-shared/src/utils/utils.ts +++ b/frontend/packages/console-shared/src/utils/utils.ts @@ -82,8 +82,8 @@ export const alphanumericCompare = (a: string, b: string): number => }); const translationForResourceKind = { - // t('console-shared~Helm Release') - HelmRelease: `console-shared~Helm Release`, + // t('console-shared~Helm release') + HelmRelease: `console-shared~Helm release`, }; export const labelForNodeKind = (kindString: string) => { diff --git a/frontend/packages/helm-plugin/console-extensions.json b/frontend/packages/helm-plugin/console-extensions.json index 6936205188b..6894ab6839d 100644 --- a/frontend/packages/helm-plugin/console-extensions.json +++ b/frontend/packages/helm-plugin/console-extensions.json @@ -166,7 +166,7 @@ "groupId": "developer-catalog", "href": "/catalog/ns/:namespace?catalogType=HelmChart", "label": "%helm-plugin~Helm Chart%", - "description": "%helm-plugin~Browse the catalog to discover and install Helm Charts%", + "description": "%helm-plugin~Browse the catalog to discover and install Helm charts%", "icon": { "$codeRef": "helmIcons.helmCatalogIconSVG" } }, "flags": { @@ -194,9 +194,9 @@ "type": "console.catalog/item-type", "properties": { "type": "HelmChart", - "title": "%helm-plugin~Helm Charts%", + "title": "%helm-plugin~Helm charts%", "catalogDescription": { "$codeRef": "getHelmCatalogTypeDescription" }, - "typeDescription": "%helm-plugin~**Helm Charts** are packages for deploying an Application or components of a larger Application.%", + "typeDescription": "%helm-plugin~**Helm charts** are packages for deploying an application or components of a larger application.%", "filters": [ { "label": "%helm-plugin~Chart Repositories%", @@ -217,7 +217,7 @@ "properties": { "catalogId": "dev-catalog", "type": "HelmChart", - "title": "%helm-plugin~Helm Charts%", + "title": "%helm-plugin~Helm charts%", "provider": { "$codeRef": "helmChartProvider" } }, "flags": { diff --git a/frontend/packages/helm-plugin/locales/en/helm-plugin.json b/frontend/packages/helm-plugin/locales/en/helm-plugin.json index 9206ba614c8..6143caaebd5 100644 --- a/frontend/packages/helm-plugin/locales/en/helm-plugin.json +++ b/frontend/packages/helm-plugin/locales/en/helm-plugin.json @@ -3,7 +3,7 @@ " / App Version {{appVersion}}": " / App Version {{appVersion}}", "{{chartVersion}} provided by {{provider}}": "{{chartVersion}} provided by {{provider}}", "{{hcr}} has been created": "{{hcr}} has been created", - "**Helm Charts** are packages for deploying an Application or components of a larger Application.": "**Helm Charts** are packages for deploying an Application or components of a larger Application.", + "**Helm charts** are packages for deploying an application or components of a larger application.": "**Helm charts** are packages for deploying an application or components of a larger application.", "A description for the Helm Chart repository.": "A description for the Helm Chart repository.", "A display name for the Helm Chart repository.": "A display name for the Helm Chart repository.", "A trusted partner provides this Helm Chart and has verified it for ease of integration.": "A trusted partner provides this Helm Chart and has verified it for ease of integration.", @@ -24,8 +24,8 @@ "Basic authentication": "Basic authentication", "Basic authentication requires HTTPS.": "Basic authentication requires HTTPS.", "Browse for charts that help manage complex installations and upgrades. Cluster administrators can customize the content made available in the catalog.<1>": "Browse for charts that help manage complex installations and upgrades. Cluster administrators can customize the content made available in the catalog.<1>", - "Browse the catalog to discover and install Helm Charts": "Browse the catalog to discover and install Helm Charts", - "Browse the catalog to discover available Helm Charts": "Browse the catalog to discover available Helm Charts", + "Browse the catalog to discover and install Helm charts": "Browse the catalog to discover and install Helm charts", + "Browse the catalog to discover available Helm charts": "Browse the catalog to discover available Helm charts", "CA certificate": "CA certificate", "Cancel": "Cancel", "Certified": "Certified", @@ -48,7 +48,7 @@ "Delete": "Delete", "Delete Helm release": "Delete Helm release", "Description": "Description", - "Disable usage of the repo in the Software Catalog.": "Disable usage of the repo in the Software Catalog.", + "Disable usage of the repo in the software catalog.": "Disable usage of the repo in the software catalog.", "Disabled": "Disabled", "Display name": "Display name", "Display Name": "Display Name", @@ -70,7 +70,7 @@ "Helm Chart repository error": "Helm Chart repository error", "Helm Chart repository URL.": "Helm Chart repository URL.", "Helm Chart URL": "Helm Chart URL", - "Helm Charts": "Helm Charts", + "Helm charts": "Helm charts", "Helm release": "Helm release", "Helm release details": "Helm release details", "Helm release history": "Helm release history", diff --git a/frontend/packages/helm-plugin/src/actions/add-resources.tsx b/frontend/packages/helm-plugin/src/actions/add-resources.tsx index 2943b65f098..2cde15b6673 100644 --- a/frontend/packages/helm-plugin/src/actions/add-resources.tsx +++ b/frontend/packages/helm-plugin/src/actions/add-resources.tsx @@ -8,7 +8,7 @@ export const AddHelmChartAction = ( accessReviewDisabled?: boolean, ): Action => ({ id: 'helm', - label: i18next.t('helm-plugin~Helm Charts'), + label: i18next.t('helm-plugin~Helm charts'), icon: helmCatalogIconSVG, cta: { href: `/catalog/ns/${namespace}?catalogType=HelmChart`, diff --git a/frontend/packages/helm-plugin/src/components/forms/HelmChartRepository/CreateHelmChartRepositoryFormEditor.tsx b/frontend/packages/helm-plugin/src/components/forms/HelmChartRepository/CreateHelmChartRepositoryFormEditor.tsx index 4f1818f356b..b8a214e5de3 100644 --- a/frontend/packages/helm-plugin/src/components/forms/HelmChartRepository/CreateHelmChartRepositoryFormEditor.tsx +++ b/frontend/packages/helm-plugin/src/components/forms/HelmChartRepository/CreateHelmChartRepositoryFormEditor.tsx @@ -136,7 +136,7 @@ const CreateHelmChartRepositoryFormEditor: FC = ({ mock }) => { {isHelmEnabled ? ( - {t('Browse the catalog to discover available Helm Charts')} + {t('Browse the catalog to discover available Helm charts')} ) : null} diff --git a/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmReleaseList.spec.tsx b/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmReleaseList.spec.tsx index c1197addcd7..88ddd6b16cf 100644 --- a/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmReleaseList.spec.tsx +++ b/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmReleaseList.spec.tsx @@ -108,7 +108,7 @@ describe('HelmReleaseList', () => { jest.restoreAllMocks(); }); - it('should render the document title and data view label as Helm Releases', () => { + it('should render the document title and data view label as Helm releases', () => { mockUseK8sWatchResource.mockReturnValue([[], false, null]); renderWithProviders(); @@ -142,7 +142,7 @@ describe('HelmReleaseList', () => { await waitFor(() => { expect( - screen.getByText('Browse the catalog to discover available Helm Charts'), + screen.getByText('Browse the catalog to discover available Helm charts'), ).toBeVisible(); }); }); diff --git a/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmTabbedPage.spec.tsx b/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmTabbedPage.spec.tsx index 5fcb0f4b47d..aab721c0445 100644 --- a/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmTabbedPage.spec.tsx +++ b/frontend/packages/helm-plugin/src/components/list-page/__tests__/HelmTabbedPage.spec.tsx @@ -135,7 +135,7 @@ describe('HelmTabbedPage', () => { expect(screen.queryByTestId('multi-tab-list-page')).not.toBeInTheDocument(); }); - it('should pass "Helm Releases" and "Repositories" pages to MultiTabListPage', () => { + it('should pass "Helm releases" and "Repositories" pages to MultiTabListPage', () => { setAllAccessReviews(true, false); renderWithProviders(); diff --git a/frontend/public/components/dashboard/project-dashboard/getting-started/__tests__/SampleGettingStartedCard.data.ts b/frontend/public/components/dashboard/project-dashboard/getting-started/__tests__/SampleGettingStartedCard.data.ts index 89567e953b0..714030cbe3a 100644 --- a/frontend/public/components/dashboard/project-dashboard/getting-started/__tests__/SampleGettingStartedCard.data.ts +++ b/frontend/public/components/dashboard/project-dashboard/getting-started/__tests__/SampleGettingStartedCard.data.ts @@ -76,11 +76,11 @@ export const loadingCatalogService: CatalogService = { type: 'console.catalog/item-type', properties: { type: 'HelmChart', - title: 'Helm Charts', + title: 'Helm charts', catalogDescription: 'Browse for charts that help manage complex installations and upgrades. Cluster administrators can customize the content made available in the catalog.', typeDescription: - '**Helm Charts** are packages for deploying an Application or components of a larger Application.', + '**Helm charts** are packages for deploying an application or components of a larger application.', filters: [ { label: 'Chart Repositories', @@ -679,11 +679,11 @@ export const loadedCatalogService: CatalogService = { type: 'console.catalog/item-type', properties: { type: 'HelmChart', - title: 'Helm Charts', + title: 'Helm charts', catalogDescription: 'Browse for charts that help manage complex installations and upgrades. Cluster administrators can customize the content made available in the catalog.', typeDescription: - '**Helm Charts** are packages for deploying an Application or components of a larger Application.', + '**Helm charts** are packages for deploying an application or components of a larger application.', filters: [ { label: 'Chart Repositories',