Localization des dates plus aboutie

This commit is contained in:
echarp 2014-10-13 21:53:51 +02:00
parent 2ab36e8575
commit 0cc1c4d0f6
3 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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