<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/views/users/_captcha.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,7 @@
 
 The popular rails-based Beast forum, rewritten from the ground up with the same database and views.
 
+* full i18n (with German and English support)
 * updated for Rails 2.3.3
 * using rspec/model_stubbing
 * added a state machine for user logins
@@ -17,11 +18,6 @@ Check out the code via git:
 
     git clone git://github.com/courtenay/altered_beast.git
 
-Looking for a fully internationalized forum? After checking out the code,
-switch to the 'i18n' branch like so
-
-    git branch --track i18n origin/i18n
-    git checkout i18n
 
 === INSTALLATION
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,6 @@ class SessionsController &lt; ApplicationController
     else
       cookies[:use_open_id] = {:value =&gt; '0', :expires =&gt; 1.year.ago.utc}
       password_authentication params[:login].downcase, params[:password]
-      flash[:error] = &quot;Invalid login&quot;
     end
   end
 
@@ -55,7 +54,7 @@ class SessionsController &lt; ApplicationController
         failed_login I18n.t('txt.invalid_openid', :default =&gt; &quot;Sorry, no user by the identity URL #{openid_url} exists&quot;)
       end
     else
-      failed_login result.message
+      failed_login result.message if openid_url
     end
   end
   end</diff>
      <filename>app/controllers/sessions_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,8 +4,8 @@ class UsersController &lt; ApplicationController
   before_filter :login_required, :only =&gt; [:settings, :update]
 
   # Brainbuster Captcha
-  before_filter :create_brain_buster, :only =&gt; [:new]
-  before_filter :validate_brain_buster, :only =&gt; [:create]
+  # before_filter :create_brain_buster, :only =&gt; [:new]
+  # before_filter :validate_brain_buster, :only =&gt; [:create]
 
   def index
     users_scope = admin? ? :all_users : :users</diff>
      <filename>app/controllers/users_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -58,9 +58,9 @@ protected
   end
   
   def normalize_login_and_email
-    login.downcase!
-    login.strip!
-    email.downcase!
+    login.downcase! if login
+    login.strip! if login
+    email.downcase! if email
     return true
   end
 end</diff>
      <filename>app/models/user/validation.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@
 &lt;% form_tag session_path do -%&gt;
 &lt;div id=&quot;openid_fields&quot; style=&quot;display:none&quot;&gt;
 &lt;p&gt;
-  &lt;label for=&quot;openid_url&quot;&gt;Login with OpenID&lt;/label&gt;
+  &lt;label for=&quot;openid_url&quot;&gt;&lt;%= I18n.t &quot;txt.views_users.login_with_openid&quot;, :default =&gt; &quot;Login with OpenID&quot; %&gt;&lt;/label&gt;
   &lt;br /&gt;
   &lt;%= text_field_tag 'openid_url', params[:openid_url], :class =&gt; &quot;openid_url&quot; %&gt;
 &lt;/p&gt;
@@ -21,24 +21,22 @@
 &lt;%= check_box_tag 'remember_me', '1', @remember_me %&gt;&lt;/p&gt;
 
 &lt;p&gt;&lt;%= submit_tag I18n.t('txt.log_in', :default =&gt; 'Log in') %&gt;
-   &lt;%= link_to_function(I18n.t('reset password', :default =&gt; &quot;reset password&quot;), &quot;$('reset-password').toggle();&quot;) %&gt;
+   &lt;%= link_to_function(I18n.t('txt.views_users.reset_password', :default =&gt; &quot;reset password&quot;), &quot;$('reset-password').toggle();&quot;) %&gt;
    &lt;a href=&quot;#&quot; onclick=&quot;LoginForm.setToOpenID()&quot;&gt;&lt;%= I18n.t('txt.or_login_with_openid', :default =&gt; 'or login with OpenID') %&gt;&lt;/a&gt;
 &lt;/p&gt;
 &lt;/div&gt;
 
-&lt;p&gt;&lt;%= submit_tag 'Log in' %&gt;&lt;/p&gt;
-
 &lt;% end -%&gt;
 
 &lt;% form_tag users_path, :id =&gt; 'reset-password', :style =&gt; 'display:none' do -%&gt;
 
   &lt;hr /&gt;
-  &lt;h5&gt;&lt;%= 'Reset Password'[] %&gt;&lt;/h5&gt;
+  &lt;h5&gt;&lt;%= I18n.t 'txt.views_users.reset_password', :default =&gt; &quot;Reset Password&quot; %&gt;&lt;/h5&gt;
 
-  &lt;p&gt;&lt;%= 'Enter your email, and a brand new login key will be sent to you.  Click the link in the email to log in, and then change your password.'[:email_directions] %&gt;&lt;/p&gt;
+  &lt;p&gt;&lt;%= I18n.t 'txt.views_users.email_directions' %&gt;&lt;/p&gt;
   &lt;p&gt;&lt;%= text_field_tag :email, &quot;&quot;, :size =&gt; 30 %&gt;&lt;/p&gt;
-  &lt;p&gt;&lt;%= submit_tag 'E-mail me the link'[:email_submit] %&gt;
-    or &lt;%= link_to_function('cancel'[], &quot;$('reset-password').hide()&quot;) %&gt;&lt;/p&gt;
+  &lt;p&gt;&lt;%= submit_tag I18n.t(&quot;txt.views_users.send_email&quot;, :default =&gt; &quot;E-mail me the link&quot;) %&gt;
+    or &lt;%= link_to_function(I18n.t(&quot;txt.cancel&quot;, :default =&gt; &quot;cancel&quot;), &quot;$('reset-password').hide()&quot;) %&gt;&lt;/p&gt;
 
 &lt;% end -%&gt;
 </diff>
      <filename>app/views/sessions/new.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -12,11 +12,11 @@
 &lt;p&gt;&lt;label for=&quot;password_confirmation&quot;&gt;&lt;%= I18n.t 'txt.password_confirm', :default =&gt; 'Confirm Password' %&gt;&lt;/label&gt;&lt;br/&gt;
 &lt;%= f.password_field :password_confirmation %&gt;&lt;/p&gt;
 
-&lt;p&gt;&lt;label for=&quot;user_openid_url&quot;&gt;&lt;%= I18n.t 'txt.openid_url', :default =&gt; &quot;OpenID URL&quot; %&gt;&lt;/label&gt;&lt;br /&gt;
+&lt;p&gt;&lt;label for=&quot;user_openid_url&quot;&gt;&lt;%= I18n.t 'txt.openid_url', :default =&gt; &quot;OpenID URL (optional)&quot; %&gt;&lt;/label&gt;&lt;br /&gt;
 &lt;%= f.text_field :openid_url %&gt;
 &lt;/p&gt;
 
-&lt;%= render :partial =&gt; '/captcha' %&gt;
+&lt;%#= render :partial =&gt; 'captcha' # enable for brainbuster %&gt;
 
 &lt;p&gt;&lt;%= submit_tag I18n.t('txt.sign_up', :default =&gt; 'Sign up') %&gt;&lt;/p&gt;
 </diff>
      <filename>app/views/users/new.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -132,3 +132,9 @@
       zero: &quot;no posts found&quot;
       one: &quot;1 post found&quot;
       other: &quot;{{count}} posts found&quot;
+
+    views_users:
+      email_directions: Enter your email, and a brand new login key will be sent to you.  Click the link in the email to log in, and then change your password.
+      reset_password: Reset password
+      
+      
\ No newline at end of file</diff>
      <filename>config/locales/en.yml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9828f9e51ff3d93cd85fa5a4163152496e658f81</id>
    </parent>
  </parents>
  <author>
    <name>c3</name>
    <email>courtenay@entp.com</email>
  </author>
  <url>http://github.com/courtenay/altered_beast/commit/901d87247143c6f840f1d2c6faa68fb953aa221e</url>
  <id>901d87247143c6f840f1d2c6faa68fb953aa221e</id>
  <committed-date>2009-08-06T13:56:14-07:00</committed-date>
  <authored-date>2009-08-06T13:56:14-07:00</authored-date>
  <message>Clean up some merge errors, stupid fails, and fix some missing i18n strings</message>
  <tree>7ad6ff7e1ee1c55e50a57481abe6c17bd45d247f</tree>
  <committer>
    <name>c3</name>
    <email>courtenay@entp.com</email>
  </committer>
</commit>
