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