diff options
-rw-r--r-- | app/helpers/blog_posts_helper.rb | 4 | ||||
-rw-r--r-- | config/locales/en.yml | 1 |
2 files changed, 4 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| diff --git a/config/locales/en.yml b/config/locales/en.yml index 14f148f..7a6e49a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -96,6 +96,7 @@ en: comments: singular: comment none: no comments + archives: Archives categories: show: no_posts: There are no posts here yet. |