localize even more final stuff
This commit is contained in:
parent
3afaf3222d
commit
a8fd3624b6
|
@ -1,18 +1,17 @@
|
||||||
- provide(:title, generate_title("Sign Up"))
|
- provide(:title, generate_title("Sign Up"))
|
||||||
.container
|
.container
|
||||||
%h1 Sign up
|
%h1= t('views.sessions.new')
|
||||||
|
|
||||||
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
|
||||||
= devise_error_messages!
|
= devise_error_messages!
|
||||||
|
|
||||||
= f.text_field :screen_name, autofocus: true, label: "User name"
|
= f.text_field :screen_name, autofocus: true, label: t('views.settings.account.username')
|
||||||
= f.email_field :email, autofocus: false, label: "Email address"
|
= f.email_field :email, autofocus: false, label: t('views.settings.account.email')
|
||||||
|
|
||||||
= f.password_field :password, autocomplete: "off", label: "Password"
|
= f.password_field :password, autocomplete: "off", label: t('views.settings.account.password')
|
||||||
= f.password_field :password_confirmation, autocomplete: "off", label: "Confirm password"
|
= f.password_field :password_confirmation, autocomplete: "off", label: t('views.settings.account.password_confirm')
|
||||||
|
|
||||||
%p
|
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
|
||||||
With signing up you accept our
|
|
||||||
= link_to "Terms of Service", terms_path
|
= link_to "Terms of Service", terms_path
|
||||||
= f.submit "Sign up"
|
= f.submit "Sign up"
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
- provide(:title, generate_title("Sign In"))
|
- provide(:title, generate_title("Sign In"))
|
||||||
.container
|
.container
|
||||||
%h1 Sign in
|
%h1= t('views.sessions.create')
|
||||||
= render 'layouts/messages'
|
= render 'layouts/messages'
|
||||||
|
|
||||||
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||||
|
|
||||||
= f.text_field :login, autofocus: true, label: "User name"
|
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
|
||||||
= f.password_field :password, autocomplete: "off", label: "Password"
|
= f.password_field :password, autocomplete: "off", label: t('views.settings.account.password')
|
||||||
|
|
||||||
- if devise_mapping.rememberable?
|
- if devise_mapping.rememberable?
|
||||||
= f.check_box :remember_me
|
= f.check_box :remember_me
|
||||||
|
|
||||||
= f.submit "Sign in"
|
= f.submit t('views.sessions.create')
|
||||||
|
|
||||||
= render "devise/shared/links"
|
= render "devise/shared/links"
|
||||||
= render "shared/links"
|
= render "shared/links"
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
= Date.today.year
|
= Date.today.year
|
||||||
= APP_CONFIG['site_name']
|
= APP_CONFIG['site_name']
|
||||||
·
|
·
|
||||||
= link_to "About", about_path
|
= link_to t('views.general.about'), about_path
|
||||||
·
|
·
|
||||||
= link_to "Github", 'https://github.com/retrospring/retrospring'
|
= link_to "Github", 'https://github.com/retrospring/retrospring'
|
||||||
·
|
·
|
||||||
= link_to "Terms of Service", terms_path
|
= link_to t('views.general.terms'), terms_path
|
||||||
·
|
·
|
||||||
= link_to "Privacy Policy", privacy_policy_path
|
= link_to t('views.general.privacy'), privacy_policy_path
|
||||||
|
|
|
@ -255,6 +255,9 @@ en:
|
||||||
timeline: "Timeline"
|
timeline: "Timeline"
|
||||||
public: "Public"
|
public: "Public"
|
||||||
user: "User"
|
user: "User"
|
||||||
|
terms: "Terms of Service"
|
||||||
|
privacy: "Privacy Policy"
|
||||||
|
about: "About"
|
||||||
group:
|
group:
|
||||||
title: "Group"
|
title: "Group"
|
||||||
members: "Members"
|
members: "Members"
|
||||||
|
@ -287,6 +290,7 @@ en:
|
||||||
destroy: "Logout"
|
destroy: "Logout"
|
||||||
create: "Sign in"
|
create: "Sign in"
|
||||||
new: "Sign up"
|
new: "Sign up"
|
||||||
|
info: "With signing up you accept our %{terms}"
|
||||||
moderation:
|
moderation:
|
||||||
tabs:
|
tabs:
|
||||||
all: "All reports"
|
all: "All reports"
|
||||||
|
|
Loading…
Reference in New Issue