Permalink
Browse files

Do not forget on gettext

  • Loading branch information...
vmoravec committed Dec 20, 2012
1 parent 6d1fdf2 commit 5fbf10db3022afcb30912fa6aaa86ea1c38d866e
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/mailsetting/app/controllers/mailsetting_controller.rb
@@ -63,7 +63,7 @@ def update
if request.format.html?
if mail_params[:test_mail_address].to_s.match(/\A[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]+\z/)
Mailsetting.send_test_mail mail_params[:test_mail_address]
- flash[:notice] = "A test message has been sent to email address #{mail_params[:test_mail_address]}"
+ flash[:notice] = _("A test message has been sent to email address %s") % mail_params[:test_mail_address]
redirect_to :action => "show", :email => mail_params[:test_mail_address].to_s
return
else

0 comments on commit 5fbf10d

Please sign in to comment.