devrait fixer les traductions
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
@inject IViewLocalizer LocString
|
||||
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
||||
@addTagHelper "*, Yavsc"
|
||||
@inject IStringLocalizer<Yavsc.Resources.YavscLoc> SR
|
||||
@inject IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR
|
||||
@inject IAuthorizationService AuthorizationService
|
||||
@inject IOptions<GoogleAuthSettings> GoogleSettings
|
||||
@inject IOptions<SiteSettings> SiteSettings
|
||||
|
@ -15,7 +15,7 @@ namespace Yavsc.Models.Booking
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[Required(ErrorMessageResourceName="ChooseAnEventDate",
|
||||
ErrorMessageResourceType=typeof(Resources.YavscLoc)),Display(Name="EventDate")]
|
||||
ErrorMessageResourceType=typeof(Resources.YavscLocalisation)),Display(Name="EventDate")]
|
||||
public DateTime EventDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user