diff --git a/backend/src/exceptions/text/messages.ts b/backend/src/exceptions/text/messages.ts index d47adc5d6..3d25d1479 100644 --- a/backend/src/exceptions/text/messages.ts +++ b/backend/src/exceptions/text/messages.ts @@ -1,5 +1,3 @@ -import { ConnectionTypesEnum } from '@rocketadmin/shared-code/dist/src/data-access-layer/shared/enums/connection-types-enum.js'; -import { UserRoleEnum } from '../../entities/user/enums/user-role.enum.js'; import { EncryptionAlgorithmEnum, LogOperationTypeEnum, @@ -8,8 +6,11 @@ import { UserActionEnum, WidgetTypeEnum, } from '../../enums/index.js'; + +import { ConnectionTypesEnum } from '@rocketadmin/shared-code/dist/src/data-access-layer/shared/enums/connection-types-enum.js'; import { TableActionEventEnum } from '../../enums/table-action-event-enum.js'; import { TableActionMethodEnum } from '../../enums/table-action-method-enum.js'; +import { UserRoleEnum } from '../../entities/user/enums/user-role.enum.js'; import { enumToString } from '../../helpers/enum-to-string.js'; import { toPrettyErrorsMsg } from '../../helpers/index.js'; export const Messages = { @@ -161,7 +162,7 @@ export const Messages = { GOOGLE_LOGIN_FAILED: 'Google account login failed. If the problem persists, please contact our support team.', GITHUB_AUTHENTICATION_FAILED: `GitHub authentication failed. If the problem persists, please contact our support team`, GITHUB_REGISTRATION_FAILED: `GitHub registration failed. If the problem persists, please contact our support team`, - HOST_MISSING: 'Host is missing', + HOST_MISSING: 'Hostname is missing', HOST_NAME_INVALID: 'Hostname is invalid', ID_MISSING: 'Id is missing', INCORRECT_DATE_FORMAT: `Date format is incorrect.`, diff --git a/backend/src/exceptions/utils/processing-messages-replace.ts b/backend/src/exceptions/utils/processing-messages-replace.ts index fd3fd70dc..96ef7e0c1 100644 --- a/backend/src/exceptions/utils/processing-messages-replace.ts +++ b/backend/src/exceptions/utils/processing-messages-replace.ts @@ -1,6 +1,6 @@ export const PROCESSING_MESSAGES_REPLACE = { getaddrinfo_ENOTFOUND: - 'Client was not able to connect to given address. Please check the hostname and port, ' + + 'Client was not able to connect to this address. Please check the hostname and port, ' + 'and make sure our servers are able to access your database. We use IP address 18.221.81.73 for all outbound requests.', ORA_02292: 'You tried to change a record in a table that is referenced by a record in a child table ', ALLOW_CONNECTIONS: diff --git a/frontend/src/app/components/connect-db/connect-db.component.html b/frontend/src/app/components/connect-db/connect-db.component.html index bdb25484b..fb130d244 100644 --- a/frontend/src/app/components/connect-db/connect-db.component.html +++ b/frontend/src/app/components/connect-db/connect-db.component.html @@ -5,11 +5,11 @@