Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
i18n for month names in helper. kudos to andrei erdoss
Browse files Browse the repository at this point in the history
  • Loading branch information
molpe committed Jun 14, 2009
1 parent 9daeab1 commit cec020c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/conversatio/blogs_helper.rb
Expand Up @@ -21,7 +21,7 @@ def archives_menu
if @year
html << "<ul>"
for m in 1..12
html << "<li>#{link_to(Date::ABBR_MONTHNAMES[m], monthly_archives_conversatio_blog_posts_path(@blog, year, m))}</li>"
html << "<li>#{link_to(I18n.t('date.abbr_month_names[3]'), monthly_archives_conversatio_blog_posts_path(@blog, year, m))}</li>"
end
html << "</ul>"
end
Expand Down

0 comments on commit cec020c

Please sign in to comment.