diff --git a/packages/admin-ui/ui/public/locales/en/translation.json b/packages/admin-ui/ui/public/locales/en/translation.json index 12a132e071..39449177cf 100644 --- a/packages/admin-ui/ui/public/locales/en/translation.json +++ b/packages/admin-ui/ui/public/locales/en/translation.json @@ -43,14 +43,14 @@ "error-boundary-an-unknown-error-occured": "An unknown error occured", "error-boundary-bad-request": "Bad request", "error-boundary-you-are-not-logged-in": "You are not logged in", - "error-boundary-you-do-not-have-permission-perform-this-action": "You do not have permission perform this action", + "error-boundary-you-do-not-have-permission-perform-this-action": "You do not have permission to perform this action", "error-boundary-page-was-not-found": "Page was not found", "error-boundary-an-unknown-server-error-occured": "An unknown server error occured", "error-boundary-503": "Server is currently unavailable", "error-boundary-500": "An error occurred with unspecified causes, this is most likely due to a techinical issue on our end. Please try refreshing the page. If the issue keeps happening, contact your administrator.", "error-boundary-400": "The request was malformed, fix your request and please try again.", "error-boundary-401": "You are not logged in, please log in to proceed.", - "error-boundary-403": "You do not have permission perform this action, if you think this is a mistake, contact your administrator.", + "error-boundary-403": "You do not have permission to perform this action, if you think this is a mistake, contact your administrator.", "error-boundary-404": "The page you have requested was not found, please check the URL and try again.", "error-boundary-500-2": "The server was not able to handle your request, this is mostly likely due to a techinical issue on our end. Please try again. If the issue keeps happening, contact your administrator.", "error-boundary-503-2": "The server is temporarily unavailable, and your request could not be processed. Please try again later. If the issue keeps happening, contact your administrator.", diff --git a/packages/admin-ui/ui/src/components/organisms/error-boundary/index.tsx b/packages/admin-ui/ui/src/components/organisms/error-boundary/index.tsx index 3193615d2b..85deddb3ba 100644 --- a/packages/admin-ui/ui/src/components/organisms/error-boundary/index.tsx +++ b/packages/admin-ui/ui/src/components/organisms/error-boundary/index.tsx @@ -140,7 +140,7 @@ const errorMessage = (t: TFunction, status?: number) => { 401: t("error-boundary-you-are-not-logged-in", "You are not logged in"), 403: t( "error-boundary-you-do-not-have-permission-perform-this-action", - "You do not have permission perform this action" + "You do not have permission to perform this action" ), 404: t("error-boundary-page-was-not-found", "Page was not found"), 500: t( @@ -174,7 +174,7 @@ const errorDescription = (t: TFunction, status?: number) => { ), 403: t( "error-boundary-403", - "You do not have permission perform this action, if you think this is a mistake, contact your administrator." + "You do not have permission to perform this action, if you think this is a mistake, contact your administrator." ), 404: t( "error-boundary-404",