diff --git a/src/lib/common.ts b/src/lib/common.ts index 78da1338f..f9c77f3d3 100644 --- a/src/lib/common.ts +++ b/src/lib/common.ts @@ -193,8 +193,7 @@ export async function isDNSValid(event: any, domain: string): Promise { } } catch (error) { throw { - message: - "Could not resolve domain or it's not pointing to the server IP address.

Please check your domain name and try again." + message: t.get('application.dns_not_set_error', { domain }) }; } @@ -230,7 +229,7 @@ export async function checkDomainsIsValidInDNS({ event, fqdn, dualCerts }): Prom } } catch (error) { throw { - message: t.get('application.dns_not_set_error', { domain: domain }) + message: t.get('application.dns_not_set_error', { domain }) }; } diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index f6c4ff1e6..c455523af 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -182,7 +182,7 @@ "domain_required": "Domain is required.", "settings_saved": "Settings saved.", "dns_not_set_partial_error": "DNS not set", - "domain_not_valid": "Domain is not valid.", + "domain_not_valid": "Could not resolve domain or it's not pointing to the server IP address.

Please check your DNS configuration and try again.", "git_source": "Git Source", "git_repository": "Git Repository", "build_pack": "Build Pack", @@ -314,7 +314,7 @@ "credential_stat_explainer": "Credentials for stats page.", "auto_update_enabled": "Auto update enabled?", "auto_update_enabled_explainer": "Enable automatic updates for Coolify. It will be done automatically behind the scenes, if there is no build process running.", - "generate_www_non_www_ssl": "It will generate certificates for both www and non-www.
You need to have both DNS entries set in advance.

Service needs to be restarted.", + "generate_www_non_www_ssl": "It will generate certificates for both www and non-www.
You need to have both DNS entries set in advance.", "is_dns_check_enabled": "DNS check enabled?", "is_dns_check_enabled_explainer": "You can disable DNS check before creating SSL certificates.

Turning it off is useful when Coolify is behind a reverse proxy or tunnel." },