diff --git a/Yavsc/Resources/YavscWeb.Resources.YavscLoc.en.resx b/Yavsc/Resources/Yavsc.Resources.YavscLoc.en.resx similarity index 100% rename from Yavsc/Resources/YavscWeb.Resources.YavscLoc.en.resx rename to Yavsc/Resources/Yavsc.Resources.YavscLoc.en.resx diff --git a/Yavsc/Resources/YavscWeb.Resources.YavscLoc.fr.resx b/Yavsc/Resources/Yavsc.Resources.YavscLoc.fr.resx similarity index 100% rename from Yavsc/Resources/YavscWeb.Resources.YavscLoc.fr.resx rename to Yavsc/Resources/Yavsc.Resources.YavscLoc.fr.resx diff --git a/Yavsc/Resources/YavscLoc.cs b/Yavsc/Resources/YavscLocalisation.cs similarity index 88% rename from Yavsc/Resources/YavscLoc.cs rename to Yavsc/Resources/YavscLocalisation.cs index 48f2c448..1577cc33 100644 --- a/Yavsc/Resources/YavscLoc.cs +++ b/Yavsc/Resources/YavscLocalisation.cs @@ -4,7 +4,7 @@ namespace Yavsc.Resources /// /// Makes possible the code injection /// - public class YavscLoc + public class YavscLocalisation { public static string ChooseAnEventDate { get { diff --git a/Yavsc/src/Controllers/CommandController.cs b/Yavsc/src/Controllers/CommandController.cs index 30184f6b..a6e7d32e 100644 --- a/Yavsc/src/Controllers/CommandController.cs +++ b/Yavsc/src/Controllers/CommandController.cs @@ -33,7 +33,7 @@ namespace Yavsc.Controllers public CommandController(ApplicationDbContext context,IOptions googleSettings, IGoogleCloudMessageSender GCMSender, UserManager userManager, - IStringLocalizer localizer, + IStringLocalizer localizer, IEmailSender emailSender, IOptions smtpSettings, IOptions siteSettings, diff --git a/Yavsc/src/Controllers/ManageController.cs b/Yavsc/src/Controllers/ManageController.cs index 491935c1..2a6b3b57 100644 --- a/Yavsc/src/Controllers/ManageController.cs +++ b/Yavsc/src/Controllers/ManageController.cs @@ -51,7 +51,7 @@ namespace Yavsc.Controllers IOptions googleSettings, IOptions paypalSettings, IOptions cinfoSettings, - IStringLocalizer SR, + IStringLocalizer SR, ILoggerFactory loggerFactory) { _dbContext = context; diff --git a/Yavsc/src/Controllers/OAuthController.cs b/Yavsc/src/Controllers/OAuthController.cs index dd4f81a7..c9aa47a3 100644 --- a/Yavsc/src/Controllers/OAuthController.cs +++ b/Yavsc/src/Controllers/OAuthController.cs @@ -323,6 +323,7 @@ ILogger _logger; protected virtual Task 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);