Add translations for sign in
This commit is contained in:
parent
44580e7166
commit
9943e6c207
|
@ -1,20 +1,20 @@
|
|||
- provide(:title, generate_title('Sign In'))
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
.container
|
||||
.row
|
||||
.col-sm-4.offset-sm-4
|
||||
= render 'layouts/messages'
|
||||
= render "layouts/messages"
|
||||
.card.mt-3
|
||||
.card-body
|
||||
%h1.mb-3.mt-0= t('views.sessions.create')
|
||||
%h1.mb-3.mt-0= t(".title")
|
||||
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
|
||||
= f.text_field :login, autofocus: true, label: t('views.settings.account.username')
|
||||
= f.password_field :password, autocomplete: :off, label: t('views.settings.account.password')
|
||||
= f.text_field :login, autofocus: true
|
||||
= f.password_field :password, autocomplete: :off
|
||||
|
||||
- if devise_mapping.rememberable?
|
||||
= f.check_box :remember_me
|
||||
|
||||
= f.submit t('views.sessions.create'), class: 'btn btn-primary mt-3 mb-3'
|
||||
= f.primary t("voc.login")
|
||||
|
||||
= render 'devise/shared/links'
|
||||
= render 'shared/links'
|
||||
= render "devise/shared/links"
|
||||
= render "shared/links"
|
||||
|
|
|
@ -444,7 +444,28 @@ en:
|
|||
destroy:
|
||||
success: "Announcement has been deleted successfully."
|
||||
error: "Unable to delete announcement."
|
||||
devise:
|
||||
registrations:
|
||||
edit:
|
||||
title: "Account Settings"
|
||||
new:
|
||||
title: "Sign up"
|
||||
info: "With signing up you accept our %{terms}"
|
||||
sessions:
|
||||
new:
|
||||
title: "Sign in"
|
||||
modal:
|
||||
password:
|
||||
title: "Save account changes"
|
||||
settings:
|
||||
account:
|
||||
email_confirm: "Currently awaiting confirmation for %{resource}"
|
||||
help:
|
||||
password: "Leave this blank if you don't want to change it"
|
||||
delete:
|
||||
action: "Delete my account"
|
||||
confirm: "Are you sure?"
|
||||
heading: "Unsatisfied?"
|
||||
profile:
|
||||
adjust:
|
||||
profile_picture: "Adjust your new profile picture"
|
||||
|
@ -484,9 +505,14 @@ en:
|
|||
success: :user.update.success
|
||||
error: :user.update.error
|
||||
voc:
|
||||
cancel: "Cancel"
|
||||
close: "Close"
|
||||
delete: "Delete"
|
||||
edit: "Edit"
|
||||
login: "Sign in"
|
||||
save: "Save changes"
|
||||
register: "Sign up"
|
||||
terms: "Terms of Service"
|
||||
update: "Update"
|
||||
errors:
|
||||
base: "An error occurred"
|
||||
|
|
Loading…
Reference in New Issue