From 52eeecd46003ba347916a7f5b496b96a8a5fb6c2 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 29 May 2013 16:27:46 -0700 Subject: [PATCH] add strong warnings on force_hostname and port --- config/locales/server.da.yml | 4 ++-- config/locales/server.en.yml | 4 ++-- config/locales/server.es.yml | 4 ++-- config/locales/server.id.yml | 4 ++-- config/locales/server.sv.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/locales/server.da.yml b/config/locales/server.da.yml index 1c8a8ca8ea8..0a4e6e965cd 100644 --- a/config/locales/server.da.yml +++ b/config/locales/server.da.yml @@ -361,8 +361,8 @@ da: email_domains_blacklist: "A pipe-delimited list of email domains that are not allowed. Example: mailinator.com|trashmail.net" version_checks: "Ping the Discourse Hub for version updates and show version messages on the /admin dashboard" - port: "Use this HTTP port rather than the default of port 80. Leave blank for none, mainly useful for development" - force_hostname: "Specify a hostname in the URL. Leave blank for none, mainly useful for development" + port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." + force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default." invite_expiry_days: "How long user invitation keys are valid, in days" diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index ca87c29a7b2..c73a721f5c6 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -491,8 +491,8 @@ en: email_domains_whitelist: "A pipe-delimited list of email domains that users may register with. WARNING: Users with email domains other than those listed will not be allowed." version_checks: "Ping the Discourse Hub for version updates and show version messages on the /admin dashboard" - port: "Use this HTTP port rather than the default of port 80. Leave blank for none, mainly useful for development" - force_hostname: "Specify a hostname in the URL. Leave blank for none, mainly useful for development" + port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." + force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default." invite_expiry_days: "How long user invitation keys are valid, in days" diff --git a/config/locales/server.es.yml b/config/locales/server.es.yml index be883eb7135..ca3984f9de2 100644 --- a/config/locales/server.es.yml +++ b/config/locales/server.es.yml @@ -349,8 +349,8 @@ es: email_domains_blacklist: "A pipe-delimited list of email domains that are not allowed. Example: mailinator.com|trashmail.net" version_checks: "Ping the Discourse Hub for version updates and show version messages on the /admin dashboard" - port: "Use this HTTP port rather than the default of port 80. Leave blank for none, mainly useful for development" - force_hostname: "Specify a hostname in the URL. Leave blank for none, mainly useful for development" + port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." + force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default." invite_expiry_days: "How long user invitation keys are valid, in days" diff --git a/config/locales/server.id.yml b/config/locales/server.id.yml index 2dc03c92c8c..be1ac6958d4 100644 --- a/config/locales/server.id.yml +++ b/config/locales/server.id.yml @@ -365,8 +365,8 @@ id: email_domains_blacklist: "A pipe-delimited list of email domains that are not allowed. Example: mailinator.com|trashmail.net" version_checks: "Ping the Discourse Hub for version updates and show version messages on the /admin dashboard" - port: "Use this HTTP port rather than the default of port 80. Leave blank for none, mainly useful for development" - force_hostname: "Specify a hostname in the URL. Leave blank for none, mainly useful for development" + port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." + force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default." invite_expiry_days: "How long user invitation keys are valid, in days" diff --git a/config/locales/server.sv.yml b/config/locales/server.sv.yml index d7780b07be9..34c40872e17 100644 --- a/config/locales/server.sv.yml +++ b/config/locales/server.sv.yml @@ -406,8 +406,8 @@ sv: email_domains_whitelist: "A pipe-delimited list of email domains that users may register with. WARNING: Users with email domains other than those listed will not be allowed." version_checks: "Ping the Discourse Hub for version updates and show version messages on the /admin dashboard" - port: "Use this HTTP port rather than the default of port 80. Leave blank for none, mainly useful for development" - force_hostname: "Specify a hostname in the URL. Leave blank for none, mainly useful for development" + port: "DEVELOPER ONLY! WARNING! Use this HTTP port rather than the default of port 80. Leave blank for default of 80." + force_hostname: "DEVELOPER ONLY! WARNING! Specify a hostname in the URL. Leave blank for default." invite_expiry_days: "How long user invitation keys are valid, in days"