Browse Source

Day names are back, they were probably "shadowed" by a dependency...

remotes/origin/master
echarp 2 years ago
parent
commit
7a48b537c8
  1. 2
      app/helpers/events_helper.rb
  2. 1
      config/locales/de.yml
  3. 1
      config/locales/en.yml
  4. 1
      config/locales/fr.yml
  5. 1
      config/locales/nl.yml
  6. 1
      config/locales/pt-BR.yml

2
app/helpers/events_helper.rb

@ -33,7 +33,7 @@ module EventsHelper
def display_sameday(event)
t 'date.formats.same_day',
date: l(event.start_time.to_date, format: :long),
date: l(event.start_time.to_date, format: :at),
start: l(event.start_time, format: :hours),
end: l(event.end_time, format: :hours)
end

1
config/locales/de.yml

@ -5,6 +5,7 @@ de:
period: Vom %{start} bis zum %{end}.
same_day: Am %{date} von %{start} bis %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y um %H:%M Uhr'

1
config/locales/en.yml

@ -5,6 +5,7 @@ en:
period: From %{start} to %{end}.
same_day: On %{date} from %{start} to %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y at %Hh%M'

1
config/locales/fr.yml

@ -5,6 +5,7 @@ fr:
period: Du %{start} au %{end}.
same_day: Le %{date} de %{start} à %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y à %Hh%M'

1
config/locales/nl.yml

@ -5,6 +5,7 @@ nl:
period: Vanaf %{start} tot %{end}.
same_day: De %{date} vanaf %{start} tot %{end}.
long: '%A %e %B %Y'
at: '%A %e %B %Y'
time:
formats:
at: '%A %e %B %Y om %Hu%M'

1
config/locales/pt-BR.yml

@ -5,6 +5,7 @@ pt-BR:
period: De %{start} até %{end}.
same_day: Em %{date} - %{start} às %{end}.
long: '%A, %e de %B de %Y'
at: '%A, %e de %B de %Y'
time:
formats:
at: '%A, %e de %B de %Y às %Hh%M'

Loading…
Cancel
Save