aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/blog/posts_controller.rb4
-rw-r--r--config/locales/en.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/blog/posts_controller.rb b/app/controllers/blog/posts_controller.rb
index 8a10604..abb870d 100644
--- a/app/controllers/blog/posts_controller.rb
+++ b/app/controllers/blog/posts_controller.rb
@@ -14,10 +14,10 @@ class Blog::PostsController < BlogController
def comment
if (@blog_comment = @blog_post.comments.create(params[:blog_comment])).valid?
if BlogComment::Moderation.enabled?
- flash[:notice] = t('blog_posts.show.comments.thank_you_moderated')
+ flash[:notice] = t('blog.posts.comments.thank_you_moderated')
redirect_to blog_post_url(params[:id])
else
- flash[:notice] = t('blog_posts.show.comments.thank_you')
+ flash[:notice] = t('blog.posts.comments.thank_you')
redirect_to blog_post_url(params[:id],
:anchor => "comment-#{@blog_comment.to_param}")
end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 9d562d7..c3fd8a4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -85,7 +85,7 @@ en:
no_posts: There are no posts here yet.
posts:
comment: comment
- comment:
+ comments:
by: 'Posted by {{who}}'
time_ago: '{{time}} ago'
thank_you: 'Thank you for commenting.'