aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNic Haynes <nic@nicinabox.com>2012-03-22 08:41:38 -0500
committerNic Haynes <nic@nicinabox.com>2012-03-22 08:41:38 -0500
commit0c78cd138d06997116bc4d6c54f721a6d28d39b7 (patch)
tree96dffd647b9df8bb27d272199200b8f057e2826b
parent435763f307284af1e58937dca63b02c650895ae5 (diff)
downloadrefinerycms-blog-0c78cd138d06997116bc4d6c54f721a6d28d39b7.tar.gz
refinerycms-blog-0c78cd138d06997116bc4d6c54f721a6d28d39b7.tar.bz2
refinerycms-blog-0c78cd138d06997116bc4d6c54f721a6d28d39b7.zip
Fix draft translation
-rw-r--r--app/views/refinery/blog/admin/posts/_post.html.erb2
-rw-r--r--config/locales/en.yml1
2 files changed, 2 insertions, 1 deletions
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 @@
<span class="preview">
<%= " by #{post.author.username}" if post.author.present? %>
<% if post.draft? %>
- <span class="label notice">Draft</span>
+ <span class="label notice"><%= t('refinery.blog.admin.posts.post.draft') %></span>
<% 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 <br/><em>(opens in a new window)</em>'
edit: Edit this blog post
delete: Remove this blog post forever
+ draft: Draft
settings:
notification_recipients:
value: Send notifications to