diff --git a/cypress/e2e/po/pages/chart-repositories.po.ts b/cypress/e2e/po/pages/chart-repositories.po.ts index 95514e0e5fe..7dbc399f693 100644 --- a/cypress/e2e/po/pages/chart-repositories.po.ts +++ b/cypress/e2e/po/pages/chart-repositories.po.ts @@ -56,7 +56,7 @@ export default class ChartRepositoriesPagePo extends PagePo { } create() { - return this.list().masthead().actions().contains('Create') + return this.list().masthead().actions().contains('Add Repository') .click(); } diff --git a/shell/assets/translations/en-us.yaml b/shell/assets/translations/en-us.yaml index 0c544f0a6e7..45d3600fc91 100644 --- a/shell/assets/translations/en-us.yaml +++ b/shell/assets/translations/en-us.yaml @@ -1379,6 +1379,7 @@ catalog: releaseName: Release Name releaseNamespace: Release Namespace repo: + add: Add Repository action: refresh: Refresh all: All diff --git a/shell/config/product/apps.js b/shell/config/product/apps.js index cd37affb07d..b771aa62d04 100644 --- a/shell/config/product/apps.js +++ b/shell/config/product/apps.js @@ -53,6 +53,7 @@ export function init(store) { configureType(CATALOG.APP, { isCreatable: false, isEditable: false }); configureType(CATALOG.OPERATION, { isCreatable: false, isEditable: false }); + configureType(CATALOG.CLUSTER_REPO, { listCreateButtonLabelKey: 'catalog.repo.add' }); const repoType = { name: 'type', diff --git a/shell/edit/catalog.cattle.io.clusterrepo.vue b/shell/edit/catalog.cattle.io.clusterrepo.vue index d7cade41e0c..e5b3d23f1b5 100644 --- a/shell/edit/catalog.cattle.io.clusterrepo.vue +++ b/shell/edit/catalog.cattle.io.clusterrepo.vue @@ -1,5 +1,6 @@