diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2010-12-10 11:11:02 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2010-12-10 11:11:02 +0200 |
commit | 6b9b639fd47799535a57f42e48df51af09535cd4 (patch) | |
tree | ca2b14d4bb5c6c69d596afaed62a5007e53c627c /app | |
parent | 58da388652f82276d4a5e7d6c801c1fa91bf6695 (diff) | |
download | refinerycms-blog-6b9b639fd47799535a57f42e48df51af09535cd4.tar.gz refinerycms-blog-6b9b639fd47799535a57f42e48df51af09535cd4.tar.bz2 refinerycms-blog-6b9b639fd47799535a57f42e48df51af09535cd4.zip |
Move 'Archives' text to locale.
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/blog_posts_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/blog_posts_helper.rb b/app/helpers/blog_posts_helper.rb index 53bdb75..0f76f68 100644 --- a/app/helpers/blog_posts_helper.rb +++ b/app/helpers/blog_posts_helper.rb @@ -2,7 +2,9 @@ module BlogPostsHelper def blog_archive_list posts = BlogPost.select('published_at').all_previous return nil if posts.blank? - html = '<section id="blog_archive_list"><h2>Archives</h2><nav><ul>' + html = '<section id="blog_archive_list"><h2>' + html += t('blog.shared.archives') + html += '</h2><nav><ul>' links = [] posts.each do |e| |