Fixing all the TODO, FIXME & HACK comments so they all follow the same layout.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
d31e25281d
commit
193e24afd2
@@ -136,7 +136,7 @@ namespace Umbraco.Core.Models
|
||||
try
|
||||
{
|
||||
var culture = CultureInfo.GetCultureInfo(userLanguage.Replace("_", "-"));
|
||||
//TODO: This is a hack because we store the user language as 2 chars instead of the full culture
|
||||
// TODO: This is a hack because we store the user language as 2 chars instead of the full culture
|
||||
// which is actually stored in the language files (which are also named with 2 chars!) so we need to attempt
|
||||
// to convert to a supported full culture
|
||||
var result = textService.ConvertToSupportedCultureWithRegionCode(culture);
|
||||
|
||||
Reference in New Issue
Block a user