diff --git a/config/application.rb b/config/application.rb index e0e049b9..67d20ec5 100644 --- a/config/application.rb +++ b/config/application.rb @@ -29,8 +29,6 @@ module AgendaDuLibreRails # config.i18n.default_locale = :de config.i18n.default_locale = :fr - I18n.config.enforce_available_locales = true - config.action_mailer.default_options = { from: 'moderateurs@agendadulibre.org', to: 'moderateurs@agendadulibre.org' diff --git a/config/locales/en.yml b/config/locales/en.yml index ea1bb787..bcbb381e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,10 +1,11 @@ en: date: formats: - month: "%B %Y" + month: '%B %Y' period: From %{start} to %{end}. same_day: On %{date} from %{start} to %{end}. + long: '%A %e %B %Y' time: formats: - at: "%A %d %B %Y at %Hh%M" - hours: "%Hh%M" + at: '%A %e %B %Y at %Hh%M' + hours: '%Hh%M' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 0cbed25b..80d4fa7b 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1,10 +1,11 @@ fr: date: formats: - month: "%B %Y" + month: '%B %Y' period: Du %{start} au %{end}. same_day: Le %{date} de %{start} à %{end}. + long: '%A %e %B %Y' time: formats: - at: "%A %d %B %Y à %Hh%M" - hours: "%Hh%M" + at: '%A %e %B %Y à %Hh%M' + hours: '%Hh%M'