]> git.openstreetmap.org Git - rails.git/commitdiff
Fix a few typos
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 30 May 2009 15:57:49 +0000 (15:57 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 30 May 2009 15:57:49 +0000 (15:57 +0000)
app/controllers/user_controller.rb
app/views/user/account.rhtml

index 0b2ec168a061e2cb97de9cb08e8798442b9f6352..d83cac0da8790343dcaa11d8718f84da8739746c 100644 (file)
@@ -27,7 +27,7 @@ class UserController < ApplicationController
       @user.locale = Language.find_by_code("en") if @user.locale.nil?
 
       if @user.save
       @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
         Notifier.deliver_signup_confirm(@user, @user.tokens.create)
         redirect_to :action => 'login'
       else
index 40e8fe01a913a4d929fb0f79129628113208f4ba..4552c22a13fa5fddb67dd4bfc39703562b054741 100644 (file)
@@ -42,7 +42,7 @@
   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 />
   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/>
 <% end %>
 <br/>
 <br/>