devrait fixer les traductions

main
Paul Schneider 10 years ago
parent a197813318
commit dc67cd0492
2 changed files with 2 additions and 2 deletions

@ -16,7 +16,7 @@
@inject IViewLocalizer LocString @inject IViewLocalizer LocString
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers" @addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
@addTagHelper "*, Yavsc" @addTagHelper "*, Yavsc"
@inject IStringLocalizer<Yavsc.Resources.YavscLoc> SR @inject IStringLocalizer<Yavsc.Resources.YavscLocalisation> SR
@inject IAuthorizationService AuthorizationService @inject IAuthorizationService AuthorizationService
@inject IOptions<GoogleAuthSettings> GoogleSettings @inject IOptions<GoogleAuthSettings> GoogleSettings
@inject IOptions<SiteSettings> SiteSettings @inject IOptions<SiteSettings> SiteSettings

@ -15,7 +15,7 @@ namespace Yavsc.Models.Booking
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[Required(ErrorMessageResourceName="ChooseAnEventDate", [Required(ErrorMessageResourceName="ChooseAnEventDate",
ErrorMessageResourceType=typeof(Resources.YavscLoc)),Display(Name="EventDate")] ErrorMessageResourceType=typeof(Resources.YavscLocalisation)),Display(Name="EventDate")]
public DateTime EventDate { get; set; } public DateTime EventDate { get; set; }
/// <summary> /// <summary>

Loading…