Skip to content

Commit e8a6a92

Browse files
nul800sebastiaannathanwoulfe
authored andcommitted
Further clarification around where configuration goes
1 parent 02481f8 commit e8a6a92

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/Umbraco.Web.UI/umbraco/config/lang/en.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@
813813
</area>
814814
<area alias="installer">
815815
<key alias="databaseErrorCannotConnect">The installer cannot connect to the database.</key>
816-
<key alias="databaseErrorWebConfig">Could not save the appsettings.json file. Please modify the connection string manually.</key>
816+
<key alias="databaseErrorWebConfig"><![CDATA[Could not save to your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>). Please modify the connection string manually.]]></key>
817817
<key alias="databaseFound">Your database has been found and is identified as</key>
818818
<key alias="databaseHeader">Database configuration</key>
819819
<key alias="databaseInstall">
@@ -822,12 +822,12 @@
822822
]]>
823823
</key>
824824
<key alias="databaseInstallDone"><![CDATA[Umbraco %0% has now been copied to your database. Press <strong>Next</strong> to proceed.]]></key>
825-
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property of the "appsettings.json" file is correct.</p>
826-
<p>To proceed, please edit the "appsettings.json" file (using Visual Studio or your favourite text editor), add the connection string for your database in the key named "umbracoDbDSN" and save the file. </p>
825+
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property in your configuration source is correct, for example, in appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>).</p>
826+
<p>To proceed, please edit your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), add the connection string for your database in the key named "umbracoDbDSN".</p>
827827
<p>
828828
Click the <strong>retry</strong> button when
829-
done.<br /><a href="https://our.umbraco.com/documentation/Reference/V9-Config/ConnectionStringsSettings/" target="_blank" rel="noopener">
830-
More information on editing appsettings.json here</a>.</p>]]></key>
829+
done.<br /><a href="https://umbra.co/configdocs" target="_blank" rel="noopener">
830+
More information on editing your configurations here (choose "Connection string settings")</a>.</p>]]></key>
831831
<key alias="databaseText"><![CDATA[To complete this step, you must know some information regarding your database server ("connection string").<br />
832832
Please contact your ISP if necessary.
833833
If you're installing on a local machine or server you might need information from your system administrator.]]></key>
@@ -2048,8 +2048,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
20482048
<key alias="httpsCheckExpiringCertificate">Your website's SSL certificate is expiring in %0% days.</key>
20492049
<key alias="healthCheckInvalidUrl">Error pinging the URL %0% - '%1%'</key>
20502050
<key alias="httpsCheckIsCurrentSchemeHttps">You are currently %0% viewing the site using the HTTPS scheme.</key>
2051-
<key alias="httpsCheckConfigurationRectifyNotPossible">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your appsettings.json file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2052-
<key alias="httpsCheckConfigurationCheckResult">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your appsettings.json file, your cookies are %1% marked as secure.</key>
2051+
<key alias="httpsCheckConfigurationRectifyNotPossible"><![CDATA[The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>). Once you access this site using the HTTPS scheme, that should be set to 'true'.]]></key>
2052+
<key alias="httpsCheckConfigurationCheckResult"><![CDATA[The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), your cookies are %1% marked as secure.]]></key>
20532053
<!-- The following keys don't get tokens passed in -->
20542054
<key alias="compilationDebugCheckSuccessMessage">Debug compilation mode is disabled.</key>
20552055
<key alias="compilationDebugCheckErrorMessage">Debug compilation mode is currently enabled. It is recommended to disable this setting before go live.</key>
@@ -2075,10 +2075,10 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
20752075
-->
20762076
<key alias="excessiveHeadersFound"><![CDATA[The following headers revealing information about the website technology were found: <strong>%0%</strong>.]]></key>
20772077
<key alias="excessiveHeadersNotFound">No headers revealing information about the website technology were found.</key>
2078-
<key alias="smtpMailSettingsNotFound">In the appsettings.json file, Umbraco:CMS:Global:Smtp could not be found.</key>
2079-
<key alias="smtpMailSettingsHostNotConfigured">In the appsettings.json file Umbraco:CMS:Global:Smtp section, the host is not configured.</key>
2078+
<key alias="smtpMailSettingsNotFound"><![CDATA[In your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), Umbraco:CMS:Global:Smtp could not be found.]]></key>
2079+
<key alias="smtpMailSettingsHostNotConfigured"><![CDATA[In your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>) Umbraco:CMS:Global:Smtp section, the host is not configured.]]></key>
20802080
<key alias="smtpMailSettingsConnectionSuccess">SMTP settings are configured correctly and the service is operating as expected.</key>
2081-
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the appsettings.json file Umbraco:CMS:Global:Smtp are correct.</key>
2081+
<key alias="smtpMailSettingsConnectionFail"><![CDATA[The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>) is correct in the Umbraco:CMS:Global:Smtp section.]]></key>
20822082
<key alias="notificationEmailsCheckSuccessMessage"><![CDATA[Notification email has been set to <strong>%0%</strong>.]]></key>
20832083
<key alias="notificationEmailsCheckErrorMessage"><![CDATA[Notification email is still set to the default value of <strong>%0%</strong>.]]></key>
20842084
<key alias="scheduledHealthCheckEmailBody"><![CDATA[<html><body><p>Results of the scheduled Umbraco Health Checks run on %0% at %1% are as follows:</p>%2%</body></html>]]></key>

src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -832,19 +832,19 @@
832832
</area>
833833
<area alias="installer">
834834
<key alias="databaseErrorCannotConnect">The installer cannot connect to the database.</key>
835-
<key alias="databaseErrorWebConfig">Could not save the appsettings.json file. Please modify the connection string manually.</key>
835+
<key alias="databaseErrorWebConfig"><![CDATA[Could not save to your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>). Please modify the connection string manually.]]></key>
836836
<key alias="databaseFound">Your database has been found and is identified as</key>
837837
<key alias="databaseHeader">Database configuration</key>
838838
<key alias="databaseInstall"><![CDATA[
839839
Press the <strong>install</strong> button to install the Umbraco %0% database
840840
]]></key>
841841
<key alias="databaseInstallDone"><![CDATA[Umbraco %0% has now been copied to your database. Press <strong>Next</strong> to proceed.]]></key>
842-
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property of the "appsettings.json" file is correct.</p>
843-
<p>To proceed, please edit the "appsettings.json" file (using Visual Studio or your favourite text editor), add the connection string for your database in the key named "umbracoDbDSN" and save the file. </p>
842+
<key alias="databaseNotFound"><![CDATA[<p>Database not found! Please check that the information in the "ConnectionStrings" property in your configuration source is correct, for example, in appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>).</p>
843+
<p>To proceed, please edit your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), add the connection string for your database in the key named "umbracoDbDSN".</p>
844844
<p>
845845
Click the <strong>retry</strong> button when
846-
done.<br /><a href="https://our.umbraco.com/documentation/Reference/V9-Config/ConnectionStringsSettings/" target="_blank" rel="noopener">
847-
More information on editing appsettings.json here</a>.</p>]]></key>
846+
done.<br /><a href="https://umbra.co/configdocs" target="_blank" rel="noopener">
847+
More information on editing your configurations here (choose "Connection string settings")</a>.</p>]]></key>
848848
<key alias="databaseText"><![CDATA[To complete this step, you must know some information regarding your database server ("connection string").<br />
849849
Please contact your ISP if necessary.
850850
If you're installing on a local machine or server you might need information from your system administrator.]]></key>
@@ -2105,8 +2105,8 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
21052105
<key alias="httpsCheckExpiringCertificate">Your website's SSL certificate is expiring in %0% days.</key>
21062106
<key alias="healthCheckInvalidUrl">Error pinging the URL %0% - '%1%'</key>
21072107
<key alias="httpsCheckIsCurrentSchemeHttps">You are currently %0% viewing the site using the HTTPS scheme.</key>
2108-
<key alias="httpsCheckConfigurationRectifyNotPossible">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your appsettings.json file. Once you access this site using the HTTPS scheme, that should be set to 'true'.</key>
2109-
<key alias="httpsCheckConfigurationCheckResult">The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your appsettings.json file, your cookies are %1% marked as secure.</key>
2108+
<key alias="httpsCheckConfigurationRectifyNotPossible"><![CDATA[The appSetting 'Umbraco:CMS:Global:UseHttps' is set to 'false' in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>). Once you access this site using the HTTPS scheme, that should be set to 'true'.]]></key>
2109+
<key alias="httpsCheckConfigurationCheckResult"><![CDATA[The appSetting 'Umbraco:CMS:Global:UseHttps' is set to '%0%' in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), your cookies are %1% marked as secure.]]></key>
21102110
<!-- The following keys don't get tokens passed in -->
21112111
<key alias="compilationDebugCheckSuccessMessage">Debug compilation mode is disabled.</key>
21122112
<key alias="compilationDebugCheckErrorMessage">Debug compilation mode is currently enabled. It is recommended to disable this setting before go live.</key>
@@ -2132,10 +2132,10 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
21322132
-->
21332133
<key alias="excessiveHeadersFound"><![CDATA[The following headers revealing information about the website technology were found: <strong>%0%</strong>.]]></key>
21342134
<key alias="excessiveHeadersNotFound">No headers revealing information about the website technology were found.</key>
2135-
<key alias="smtpMailSettingsNotFound">In the appsettings.json file, Umbraco:CMS:Global:Smtp could not be found.</key>
2136-
<key alias="smtpMailSettingsHostNotConfigured">In the appsettings.json file Umbraco:CMS:Global:Smtp section, the host is not configured.</key>
2135+
<key alias="smtpMailSettingsNotFound"><![CDATA[In your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>), Umbraco:CMS:Global:Smtp could not be found.]]></key>
2136+
<key alias="smtpMailSettingsHostNotConfigured"><![CDATA[In your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>) Umbraco:CMS:Global:Smtp section, the host is not configured.]]></key>
21372137
<key alias="smtpMailSettingsConnectionSuccess">SMTP settings are configured correctly and the service is operating as expected.</key>
2138-
<key alias="smtpMailSettingsConnectionFail">The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in the appsettings.json file Umbraco:CMS:Global:Smtp are correct.</key>
2138+
<key alias="smtpMailSettingsConnectionFail"><![CDATA[The SMTP server configured with host '%0%' and port '%1%' could not be reached. Please check to ensure the SMTP settings in your configuration source, for example, appsettings.json (see <a href="https://umbra.co/configdocs" target="_blank" rel="noopener">the documentation</a>) is correct in the Umbraco:CMS:Global:Smtp section.]]></key>
21392139
<key alias="notificationEmailsCheckSuccessMessage"><![CDATA[Notification email has been set to <strong>%0%</strong>.]]></key>
21402140
<key alias="notificationEmailsCheckErrorMessage"><![CDATA[Notification email is still set to the default value of <strong>%0%</strong>.]]></key>
21412141
<key alias="scheduledHealthCheckEmailBody"><![CDATA[<html><body><p>Results of the scheduled Umbraco Health Checks run on %0% at %1% are as follows:</p>%2%</body></html>]]></key>
@@ -2384,7 +2384,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
23842384
<key alias="reminderDescription">
23852385
<![CDATA[
23862386
<p>
2387-
You should never let a production site run in debug mode. Debug mode is turned off by setting <b>Umbraco:CMS:Hosting:Debug</b> to <b>false</b> in appsettings.json, appsettings.{Environment}.json or via an environment variable.
2387+
You should never let a production site run in debug mode. Debug mode is turned off by setting <b>Umbraco:CMS:Hosting:Debug</b> to <b>false</b> in appsettings.json, appsettings.{Environment}.json or via an environment variable.
23882388
</p>
23892389
]]>
23902390
</key>

0 commit comments

Comments
 (0)