From 0d5ec295c32513069f609080d3170ad56a0aa367 Mon Sep 17 00:00:00 2001 From: Celia Amador Date: Tue, 16 Jun 2026 09:35:39 +0200 Subject: [PATCH] EDM-4146: Rename accessible to available in UI Made-with: Cursor --- libs/i18n/locales/en/translation.json | 15 +++++++-------- .../src/components/Events/useEvents.ts | 8 ++++---- .../ImageBuilds/SourceImageValidation.tsx | 6 +++--- .../CreateRepository/CreateRepositoryForm.tsx | 2 +- .../src/components/form/RepositorySelect.tsx | 4 ++-- libs/ui-components/src/utils/status/repository.ts | 4 ++-- 6 files changed, 19 insertions(+), 20 deletions(-) diff --git a/libs/i18n/locales/en/translation.json b/libs/i18n/locales/en/translation.json index b95ceaac7..ea9db401b 100644 --- a/libs/i18n/locales/en/translation.json +++ b/libs/i18n/locales/en/translation.json @@ -953,8 +953,8 @@ "Enrollment request approval failed": "Enrollment request approval failed", "Internal task failed": "Internal task failed", "Internal task permanently failed": "Internal task permanently failed", - "Repository is accessible": "Repository is accessible", - "Repository is inaccessible": "Repository is inaccessible", + "Repository is available": "Repository is available", + "Repository is not available": "Repository is not available", "Referenced repository was updated": "Referenced repository was updated", "Fleet specification is valid": "Fleet specification is valid", "Fleet specification is invalid": "Fleet specification is invalid", @@ -969,8 +969,8 @@ "Resourcesync synchronization failed": "Resourcesync synchronization failed", "Resourcesync parsed successfully": "Resourcesync parsed successfully", "Resourcesync parsing failed": "Resourcesync parsing failed", - "Resourcesync is accessible": "Resourcesync is accessible", - "Resourcesync is not accessible": "Resourcesync is not accessible", + "Resourcesync is available": "Resourcesync is available", + "Resourcesync is not available": "Resourcesync is not available", "Resourcesync new commit detected": "Resourcesync new commit detected", "Dependency sync probe failed": "Dependency sync probe failed", "Dependency change detected": "Dependency change detected", @@ -1076,8 +1076,7 @@ "File must be an image under 256 KB.": "File must be an image under 256 KB.", "Resolved": "Resolved", "Name must be unique": "Name must be unique", - "Accessible": "Accessible", - "Not accessible": "Not accessible", + "Available": "Available", "Missing repository": "Missing repository", "Repository": "Repository", "Select a repository": "Select a repository", @@ -1337,7 +1336,7 @@ "The image build \"{{buildName}}\" was created successfully, however the following export(s) failed:": "The image build \"{{buildName}}\" was created successfully, however the following export(s) failed:", "Promotion name": "Promotion name", "Catalog item": "Catalog item", - "Checking image accessibility": "Checking image accessibility", + "Checking image availability": "Checking image availability", "Delete image promotion?": "Delete image promotion?", "<0>{promotion.metadata.name} will be deleted permanently.": "<0>{promotion.metadata.name} will be deleted permanently.", "The existing catalog item will be unaffected.": "The existing catalog item will be unaffected.", @@ -1525,7 +1524,7 @@ "HTTP": "HTTP", "SSH": "SSH", "Validation suffix": "Validation suffix", - "Suffix to the repository's base URL used to validate if the HTTP service is accessible.": "Suffix to the repository's base URL used to validate if the HTTP service is accessible.", + "Suffix to the repository's base URL used to validate if the HTTP service is available.": "Suffix to the repository's base URL used to validate if the HTTP service is available.", "Full validation URL: <1>{`${values.url}${values.validationSuffix || ''}`}": "Full validation URL: <1>{`${values.url}${values.validationSuffix || ''}`}", "mTLS authentication": "mTLS authentication", "Client TLS certificate": "Client TLS certificate", diff --git a/libs/ui-components/src/components/Events/useEvents.ts b/libs/ui-components/src/components/Events/useEvents.ts index c79223629..354c2df2f 100644 --- a/libs/ui-components/src/components/Events/useEvents.ts +++ b/libs/ui-components/src/components/Events/useEvents.ts @@ -91,8 +91,8 @@ const getEventReasonTitles = (t: TFunction, kindType: string): Record; + return ; } return response?.accessible ? ( - + ) : ( { ({ 'Not synced': t('Not synced'), [ConditionType.ResourceSyncResourceParsed]: t('Parsed'), 'Not parsed': t('Not parsed'), - [ConditionType.RepositoryAccessible]: t('Accessible'), - 'Not accessible': t('Not accessible'), + [ConditionType.RepositoryAccessible]: t('Available'), + 'Not accessible': t('Not available'), 'Sync pending': t('Sync pending'), });