@user.locale = Language.find_by_code("en") if @user.locale.nil?
if @user.save
- flash[:notice] = I18n.t('user.new.create success message')
+ flash[:notice] = I18n.t('user.new.flash create success message')
Notifier.deliver_signup_confirm(@user, @user.tokens.create)
redirect_to :action => 'login'
else
Your email address will not be revealed by becoming public.<br />
This action cannot be reversed and all new users are now public by default.<br />
<br /><br />
- <%= button_to t('user.account.make all my edits public button', :action => :go_public %>
+ <%= button_to t('user.account.make all my edits public button'), :action => :go_public %>
<% end %>
<br/>
<br/>