Aligned property names in code with those in configuration.

This commit is contained in:
Andy Butland
2020-08-25 10:45:54 +02:00
parent 2c05718689
commit 967f0be705
32 changed files with 73 additions and 81 deletions

View File

@@ -35,9 +35,11 @@ namespace Umbraco.Core.Configuration.Models
public bool AddTrailingSlash { get; set; } = true;
public bool ConvertUrlsToAscii { get; set; } = true;
public string ConvertUrlsToAscii { get; set; } = "try";
public bool TryConvertUrlsToAscii { get; set; } = false;
public bool ShouldConvertUrlsToAscii => ConvertUrlsToAscii.InvariantEquals("true");
public bool ShouldTryConvertUrlsToAscii => ConvertUrlsToAscii.InvariantEquals("try");
//We need to special handle ":", as this character is special in keys