Use lazy lookups for translations in issues
[rails.git] / app / controllers / issue_comments_controller.rb
index 42ae850ba24a039594ee3a9cb9cc6bccea4c5270..52904d5b2b869550d6c0cc2c254c033b8277c573 100644 (file)
@@ -10,7 +10,7 @@ class IssueCommentsController < ApplicationController
     comment = @issue.comments.build(issue_comment_params)
     comment.user = current_user
     comment.save!
-    notice = t("issues.comment.comment_created")
+    notice = t(".comment_created")
     reassign_issue(@issue) if params[:reassign]
     redirect_to @issue, :notice => notice
   end