devrait fixer les traductions
This commit is contained in:
parent
b422ff7f5b
commit
a197813318
6 changed files with 4 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ namespace Yavsc.Resources
|
|||
///<summary>
|
||||
/// Makes possible the code injection
|
||||
///</summary>
|
||||
public class YavscLoc
|
||||
public class YavscLocalisation
|
||||
{
|
||||
public static string ChooseAnEventDate {
|
||||
get {
|
||||
|
|
@ -33,7 +33,7 @@ namespace Yavsc.Controllers
|
|||
public CommandController(ApplicationDbContext context,IOptions<GoogleAuthSettings> googleSettings,
|
||||
IGoogleCloudMessageSender GCMSender,
|
||||
UserManager<ApplicationUser> userManager,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLoc> localizer,
|
||||
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer,
|
||||
IEmailSender emailSender,
|
||||
IOptions<SmtpSettings> smtpSettings,
|
||||
IOptions<SiteSettings> siteSettings,
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ namespace Yavsc.Controllers
|
|||
IOptions<GoogleAuthSettings> googleSettings,
|
||||
IOptions<PayPalSettings> paypalSettings,
|
||||
IOptions<CompanyInfoSettings> cinfoSettings,
|
||||
IStringLocalizer <Yavsc.Resources.YavscLoc>SR,
|
||||
IStringLocalizer <Yavsc.Resources.YavscLocalisation>SR,
|
||||
ILoggerFactory loggerFactory)
|
||||
{
|
||||
_dbContext = context;
|
||||
|
|
|
|||
|
|
@ -323,6 +323,7 @@ ILogger _logger;
|
|||
protected virtual Task<Application> GetApplicationAsync(string identifier, CancellationToken cancellationToken)
|
||||
{
|
||||
// Retrieve the application details corresponding to the requested client_id.
|
||||
_logger.LogWarning($"Ap count : {_context.Applications.Count()}");
|
||||
return (from application in _context.Applications
|
||||
where application.ApplicationID == identifier
|
||||
select application).SingleOrDefaultAsync(cancellationToken);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue