Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix

Andras Bacsai9e009bebaa5e
diff --git a/src/lib/common.ts b/src/lib/common.ts
index 78da1338f8..f9c77f3d31 100644
--- a/src/lib/common.ts
+++ b/src/lib/common.ts
@@ -193,8 +193,7 @@ export async function isDNSValid(event: any, domain: string): Promise<any> {
}
} catch (error) {
throw {
- message:
- "Could not resolve domain or it's not pointing to the server IP address. <br><br>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 f6c4ff1e61..c455523afd 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.<br><br>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 <a class=\"text-white font-bold\" href=\"{{link}}\" target=\"_blank\">stats</a> 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. <br>You need to have <span class='font-bold text-yellow-500'>both DNS entries</span> set in advance.<br><br>Service needs to be restarted.",
+ "generate_www_non_www_ssl": "It will generate certificates for both www and non-www. <br>You need to have <span class='font-bold text-yellow-500'>both DNS entries</span> set in advance.",
"is_dns_check_enabled": "DNS check enabled?",
"is_dns_check_enabled_explainer": "You can disable DNS check before creating SSL certificates.<br><br>Turning it off is useful when Coolify is behind a reverse proxy or tunnel."
},