Changed property name based on feedback
This commit is contained in:
parent
1c5362bccb
commit
2e8ae969b7
|
|
@ -78,7 +78,7 @@ namespace Microsoft.AspNet.Localization
|
|||
cultureInfo = GetCultureInfo(
|
||||
cultures,
|
||||
_options.SupportedCultures,
|
||||
_options.FallbackToAncestorCulture,
|
||||
_options.FallBackToParentCultures,
|
||||
currentDepth: 0);
|
||||
}
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ namespace Microsoft.AspNet.Localization
|
|||
uiCultureInfo = GetCultureInfo(
|
||||
uiCultures,
|
||||
_options.SupportedUICultures,
|
||||
_options.FallbackToAncestorUICulture,
|
||||
_options.FallBackToParentUICultures,
|
||||
currentDepth: 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ namespace Microsoft.AspNet.Localization
|
|||
/// culture "fr-FR", and a configured <see cref="IRequestCultureProvider"/> determines a request's culture is
|
||||
/// "fr-FR", then the request's culture will be set to the culture "fr", as it is an ancestor of "fr-FR".
|
||||
/// </example>
|
||||
public bool FallbackToAncestorCulture { get; set; } = true;
|
||||
public bool FallBackToParentCultures { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to set a request UI culture to an ancestor culture in the case the
|
||||
|
|
@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Localization
|
|||
/// culture is "fr-FR", then the request's UI culture will be set to the culture "fr", as it is an ancestor of
|
||||
/// "fr-FR".
|
||||
/// </example>
|
||||
public bool FallbackToAncestorUICulture { get; set; } = true;
|
||||
public bool FallBackToParentUICultures { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// The cultures supported by the application. The <see cref="RequestLocalizationMiddleware"/> will only set
|
||||
|
|
|
|||
Loading…
Reference in New Issue