From 0c78cd138d06997116bc4d6c54f721a6d28d39b7 Mon Sep 17 00:00:00 2001 From: Nic Haynes Date: Thu, 22 Mar 2012 08:41:38 -0500 Subject: [PATCH] Fix draft translation --- app/views/refinery/blog/admin/posts/_post.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/refinery/blog/admin/posts/_post.html.erb b/app/views/refinery/blog/admin/posts/_post.html.erb index e9c9e6c..fea3eb8 100644 --- a/app/views/refinery/blog/admin/posts/_post.html.erb +++ b/app/views/refinery/blog/admin/posts/_post.html.erb @@ -4,7 +4,7 @@ <%= " by #{post.author.username}" if post.author.present? %> <% if post.draft? %> - Draft + <%= t('refinery.blog.admin.posts.post.draft') %> <% else %> <%= post.published_at.strftime('%b %d, %Y') %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a3268c1..1d40e6d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -57,6 +57,7 @@ en: view_live_html: 'View this blog post live
(opens in a new window)' edit: Edit this blog post delete: Remove this blog post forever + draft: Draft settings: notification_recipients: value: Send notifications to