Localization des dates plus aboutie
This commit is contained in:
parent
2ab36e8575
commit
0cc1c4d0f6
|
@ -29,8 +29,6 @@ module AgendaDuLibreRails
|
||||||
# config.i18n.default_locale = :de
|
# config.i18n.default_locale = :de
|
||||||
config.i18n.default_locale = :fr
|
config.i18n.default_locale = :fr
|
||||||
|
|
||||||
I18n.config.enforce_available_locales = true
|
|
||||||
|
|
||||||
config.action_mailer.default_options = {
|
config.action_mailer.default_options = {
|
||||||
from: 'moderateurs@agendadulibre.org',
|
from: 'moderateurs@agendadulibre.org',
|
||||||
to: 'moderateurs@agendadulibre.org'
|
to: 'moderateurs@agendadulibre.org'
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
en:
|
en:
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
month: "%B %Y"
|
month: '%B %Y'
|
||||||
period: From %{start} to %{end}.
|
period: From %{start} to %{end}.
|
||||||
same_day: On %{date} from %{start} to %{end}.
|
same_day: On %{date} from %{start} to %{end}.
|
||||||
|
long: '%A %e %B %Y'
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
at: "%A %d %B %Y at %Hh%M"
|
at: '%A %e %B %Y at %Hh%M'
|
||||||
hours: "%Hh%M"
|
hours: '%Hh%M'
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
fr:
|
fr:
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
month: "%B %Y"
|
month: '%B %Y'
|
||||||
period: Du %{start} au %{end}.
|
period: Du %{start} au %{end}.
|
||||||
same_day: Le %{date} de %{start} à %{end}.
|
same_day: Le %{date} de %{start} à %{end}.
|
||||||
|
long: '%A %e %B %Y'
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
at: "%A %d %B %Y à %Hh%M"
|
at: '%A %e %B %Y à %Hh%M'
|
||||||
hours: "%Hh%M"
|
hours: '%Hh%M'
|
||||||
|
|
Loading…
Reference in New Issue