localize even more final stuff

This commit is contained in:
pixeldesu 2015-06-08 21:11:35 +02:00
parent 3afaf3222d
commit a8fd3624b6
4 changed files with 17 additions and 14 deletions

View file

@ -1,18 +1,17 @@
- provide(:title, generate_title("Sign Up"))
.container
%h1 Sign up
%h1= t('views.sessions.new')
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= devise_error_messages!
= f.text_field :screen_name, autofocus: true, label: "User name"
= f.email_field :email, autofocus: false, label: "Email address"
= f.text_field :screen_name, autofocus: true, label: t('views.settings.account.username')
= f.email_field :email, autofocus: false, label: t('views.settings.account.email')
= f.password_field :password, autocomplete: "off", label: "Password"
= f.password_field :password_confirmation, autocomplete: "off", label: "Confirm password"
= f.password_field :password, autocomplete: "off", label: t('views.settings.account.password')
= f.password_field :password_confirmation, autocomplete: "off", label: t('views.settings.account.password_confirm')
%p
With signing up you accept our
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
= link_to "Terms of Service", terms_path
= f.submit "Sign up"

View file

@ -1,17 +1,17 @@
- provide(:title, generate_title("Sign In"))
.container
%h1 Sign in
%h1= t('views.sessions.create')
= render 'layouts/messages'
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
= f.text_field :login, autofocus: true, label: "User name"
= f.password_field :password, autocomplete: "off", label: "Password"
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
= f.password_field :password, autocomplete: "off", label: t('views.settings.account.password')
- if devise_mapping.rememberable?
= f.check_box :remember_me
= f.submit "Sign in"
= f.submit t('views.sessions.create')
= render "devise/shared/links"
= render "shared/links"

View file

@ -3,10 +3,10 @@
= Date.today.year
= 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 "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

View file

@ -255,6 +255,9 @@ en:
timeline: "Timeline"
public: "Public"
user: "User"
terms: "Terms of Service"
privacy: "Privacy Policy"
about: "About"
group:
title: "Group"
members: "Members"
@ -287,6 +290,7 @@ en:
destroy: "Logout"
create: "Sign in"
new: "Sign up"
info: "With signing up you accept our %{terms}"
moderation:
tabs:
all: "All reports"