devrait fixer les traductions

This commit is contained in:
2016-05-20 12:45:39 +02:00
parent a197813318
commit dc67cd0492
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>