aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/blog_posts_helper.rb4
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|