From 0310b489542106e6bcb5d8db6327af86daeddb5b Mon Sep 17 00:00:00 2001 From: Guirec CORBEL Date: Sun, 29 May 2011 14:34:53 -0400 Subject: add some options for translation and translate in french --- app/views/blog/posts/_post.html.erb | 4 ++-- app/views/blog/posts/tagged.html.erb | 2 +- app/views/blog/shared/_post.html.erb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app') diff --git a/app/views/blog/posts/_post.html.erb b/app/views/blog/posts/_post.html.erb index f589a33..e5aabdb 100644 --- a/app/views/blog/posts/_post.html.erb +++ b/app/views/blog/posts/_post.html.erb @@ -8,8 +8,8 @@

<%= @blog_post.title %>

<%= " by #{@blog_post.author.username}" if @blog_post.author.present? %> + <%= t('blog.shared.posts.created_at', :when => l(@blog_post.published_at.to_date, :format => :short)) %> + <%= "#{t('blog.posts.show.by')} #{@blog_post.author.username}" if @blog_post.author.present? %>. <% if (categories = @blog_post.categories).any? %>