Skip to content

Commit

Permalink
Fixed indenting of german locale, also started working on dutch time/…
Browse files Browse the repository at this point in the history
…date locale and an error in displaying the time formats page from the date formats page: link label was incorrect
  • Loading branch information
prototype committed Sep 4, 2008
1 parent 91ab31a commit c000166
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/views/pages/date_formats.html.erb
Expand Up @@ -43,4 +43,4 @@
</table>
</div>

<p style="text-align:right;"><%= link_to "&raquo; #{I18n.t('txt.menu.date_formats')}" , :action => 'time_formats' %></p>
<p style="text-align:right;"><%= link_to "&raquo; #{I18n.t('txt.menu.time_formats')}" , :action => 'time_formats' %></p>
4 changes: 2 additions & 2 deletions config/locales/de-AT.yml
Expand Up @@ -20,8 +20,8 @@
long: "%A, %e. %B %Y, %H:%M Uhr"
only_second: "%S"

am: ''
pm: ''
am: 'am'
pm: 'pm'

datetime:
distance_in_words:
Expand Down
12 changes: 6 additions & 6 deletions config/locales/nl-NL.rb
Expand Up @@ -4,8 +4,8 @@
:formats => {
:default => "%d/%m/%Y",
:short => "%e %b",
:long => "%e %B, %Y",
:long_ordinal => lambda { |date| "#{date.day.ordinalize} %B, %Y" },
:long => "%e %B %Y",
:long_ordinal => lambda { |date| "#{date.day}e van %B %Y" },
:only_day => "%e"
},
:day_names => %w(Zondag Maandag Dinsdag Woensdag Donderdag Vrijdag Zaterdag),
Expand All @@ -19,8 +19,8 @@
:default => "%a %b %d %H:%M:%S %Z %Y",
:time => "%H:%M",
:short => "%d %b %H:%M",
:long => "%d %B, %Y %H:%M",
:long_ordinal => lambda { |time| "#{time.day.ordinalize} %B, %Y %H:%M" },
:long => "%d %B %Y %H:%M",
:long_ordinal => lambda { |time| "#{time.day}e van %B %Y %H:%M" },
:only_second => "%S"
},
:datetime => {
Expand All @@ -33,8 +33,8 @@
:default => lambda { |time| "%Y-%m-%d %H:%M:%S #{time.formatted_offset(false, 'UTC')}" }
}
},
:am => 'am',
:pm => 'pm'
:am => %q('s ochtends),
:pm => %q('s middags)
},
:datetime => {
:distance_in_words => {
Expand Down

0 comments on commit c000166

Please sign in to comment.