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(
|
cultureInfo = GetCultureInfo(
|
||||||
cultures,
|
cultures,
|
||||||
_options.SupportedCultures,
|
_options.SupportedCultures,
|
||||||
_options.FallbackToAncestorCulture,
|
_options.FallBackToParentCultures,
|
||||||
currentDepth: 0);
|
currentDepth: 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -87,7 +87,7 @@ namespace Microsoft.AspNet.Localization
|
||||||
uiCultureInfo = GetCultureInfo(
|
uiCultureInfo = GetCultureInfo(
|
||||||
uiCultures,
|
uiCultures,
|
||||||
_options.SupportedUICultures,
|
_options.SupportedUICultures,
|
||||||
_options.FallbackToAncestorUICulture,
|
_options.FallBackToParentUICultures,
|
||||||
currentDepth: 0);
|
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
|
/// 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".
|
/// "fr-FR", then the request's culture will be set to the culture "fr", as it is an ancestor of "fr-FR".
|
||||||
/// </example>
|
/// </example>
|
||||||
public bool FallbackToAncestorCulture { get; set; } = true;
|
public bool FallBackToParentCultures { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether to set a request UI culture to an ancestor culture in the case the
|
/// 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
|
/// 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".
|
/// "fr-FR".
|
||||||
/// </example>
|
/// </example>
|
||||||
public bool FallbackToAncestorUICulture { get; set; } = true;
|
public bool FallBackToParentUICultures { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The cultures supported by the application. The <see cref="RequestLocalizationMiddleware"/> will only set
|
/// The cultures supported by the application. The <see cref="RequestLocalizationMiddleware"/> will only set
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue