Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #312 from robsonfs/master
Browse files Browse the repository at this point in the history
Add support to pt-BR language
  • Loading branch information
bborn authored Aug 9, 2016
2 parents 40ce5a6 + 83428e7 commit 438659f
Show file tree
Hide file tree
Showing 3 changed files with 1,663 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/views/sessions/new.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-@page_title=:log_in_to_site.l(:site => configatron.community_name)
=render :partial => 'shared/login_sidebar'
-if configatron.auth_providers.to_hash.keys.any?
-if configatron.auth_providers.to_hash.keys.any?
-widget do
%ul.list-unstyled
%h4
Expand All @@ -11,8 +11,8 @@

%h3
= bootstrap_form_tag :url => sessions_path, :layout => :horizontal do |f|
= f.email_field :email, value: params[:email]
= f.password_field :password
= f.email_field :email, :label => :email.l, value: params[:email]
= f.password_field :password, :label => :password.l

= f.form_group :remember_group do
= f.check_box :check_box do
Expand Down
6 changes: 3 additions & 3 deletions app/views/users/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
= bootstrap_form_for @user, :layout => :horizontal do |f|
= f.text_field :login, :label => :username.l, :help => :required_your_username_must_not_contain_numerals_spaces_or_special_characters.l
= f.text_field :email, :label => :e_mail_address.l, :help => :required_we_will_send_a_confirmation_e_mail_to_the_address_you_enter.l
= f.date_select :birthday, {:start_year => (Time.now.year - configatron.max_age), :end_year => (Time.now.year - configatron.min_age)}, :help => :required_you_must_be_at_least_years_old_to_sign_up.l_with_args(:min_age => configatron.min_age)
= f.date_select :birthday, {:label => :birthday.l, :start_year => (Time.now.year - configatron.max_age), :end_year => (Time.now.year - configatron.min_age)}, :help => :required_you_must_be_at_least_years_old_to_sign_up.l_with_args(:min_age => configatron.min_age)

= f.password_field :password
= f.password_field :password_confirmation, :help => :re_type_your_password_to_confirm.l
= f.password_field :password, :label => :password.l
= f.password_field :password_confirmation, :label => :confirm_password.l, :help => :re_type_your_password_to_confirm.l
= hidden_field_tag :inviter_id, params[:inviter_id]
= hidden_field_tag :inviter_code, params[:inviter_code]

Expand Down
Loading

0 comments on commit 438659f

Please sign in to comment.