mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +02:00
Extract translations
This commit is contained in:
parent
db0ae116a0
commit
1ff200576e
7 changed files with 13 additions and 10 deletions
|
@ -1,12 +1,12 @@
|
||||||
.row
|
.row
|
||||||
.form-signin.col-md-4.center-block.text-center
|
.form-signin.col-md-4.center-block.text-center
|
||||||
%h2.form-signin-heading.text-center= t(:log_in_with_mid)
|
%h2.form-signin-heading.text-center= t '.header'
|
||||||
%hr
|
%hr
|
||||||
= form_for @user, url: registrant_mid_path, auto_html5_validation: false,
|
= form_for @user, url: registrant_mid_path, auto_html5_validation: false,
|
||||||
html: {class: 'form-signin'} do |f|
|
html: {class: 'form-signin'} do |f|
|
||||||
= f.text_field :phone, class: 'form-control',
|
= f.text_field :phone, class: 'form-control',
|
||||||
placeholder: t(:phone_no), autocomplete: 'off', required: true
|
placeholder: t(:phone_no), autocomplete: 'off', required: true
|
||||||
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t(:log_in)
|
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t '.submit_btn'
|
||||||
|
|
||||||
- if ['development', 'alpha'].include?(Rails.env)
|
- if ['development', 'alpha'].include?(Rails.env)
|
||||||
%div.text-center
|
%div.text-center
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
.row
|
.row
|
||||||
.form-signin.col-md-4.center-block.text-center
|
.form-signin.col-md-4.center-block.text-center
|
||||||
%h2.form-signin-heading.text-center= t(:log_in_with_mid)
|
%h2.form-signin-heading.text-center= t '.header'
|
||||||
%hr
|
%hr
|
||||||
= form_for @user, url: registrar_mid_path, auto_html5_validation: false,
|
= form_for @user, url: registrar_mid_path, auto_html5_validation: false,
|
||||||
html: {class: 'form-signin'} do |f|
|
html: {class: 'form-signin'} do |f|
|
||||||
= f.text_field :phone, class: 'form-control',
|
= f.text_field :phone, class: 'form-control',
|
||||||
placeholder: t(:phone_no), autocomplete: 'off', required: true
|
placeholder: t(:phone_no), autocomplete: 'off', required: true
|
||||||
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t('.login_btn')
|
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t '.submit_btn'
|
||||||
|
|
||||||
- if ['development', 'alpha'].include?(Rails.env)
|
- if ['development', 'alpha'].include?(Rails.env)
|
||||||
%div.text-center
|
%div.text-center
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-signin col-md-6 center-block text-center">
|
<div class="form-signin col-md-6 center-block text-center">
|
||||||
<h1 class="form-signin-heading text-center"><%= t(:log_in) %></h1>
|
<h1 class="form-signin-heading text-center"><%= t '.header_html' %></h1>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
|
@ -390,7 +390,6 @@ en:
|
||||||
invoices: 'Invoices'
|
invoices: 'Invoices'
|
||||||
no_such_user: 'No such user'
|
no_such_user: 'No such user'
|
||||||
phone_no: 'Phone number'
|
phone_no: 'Phone number'
|
||||||
log_in_with_mid: 'Log in with mobile-id'
|
|
||||||
confirmation_sms_was_sent_to_your_phone_verification_code_is: 'Confirmation sms was sent to your phone. Verification code is %{code}.'
|
confirmation_sms_was_sent_to_your_phone_verification_code_is: 'Confirmation sms was sent to your phone. Verification code is %{code}.'
|
||||||
user_signature_is_invalid: 'User signature is invalid'
|
user_signature_is_invalid: 'User signature is invalid'
|
||||||
session_timeout: 'Session timeout'
|
session_timeout: 'Session timeout'
|
||||||
|
@ -422,7 +421,6 @@ en:
|
||||||
blank: "Password can't be blank"
|
blank: "Password can't be blank"
|
||||||
|
|
||||||
username: 'Username'
|
username: 'Username'
|
||||||
log_in: 'Log in'
|
|
||||||
domains: 'Domains'
|
domains: 'Domains'
|
||||||
register: 'Register'
|
register: 'Register'
|
||||||
contacts: 'Contacts'
|
contacts: 'Contacts'
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
et:
|
et:
|
||||||
username: 'Kasutajanimi'
|
username: 'Kasutajanimi'
|
||||||
password: 'Parool'
|
password: 'Parool'
|
||||||
log_in: 'Logi sisse'
|
|
||||||
|
|
||||||
date:
|
date:
|
||||||
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
||||||
|
|
|
@ -6,3 +6,7 @@ en:
|
||||||
hint: >-
|
hint: >-
|
||||||
Access currently available only to Estonian citizens and e-residents with Estonian ID-card
|
Access currently available only to Estonian citizens and e-residents with Estonian ID-card
|
||||||
or Mobile-ID.
|
or Mobile-ID.
|
||||||
|
|
||||||
|
login_mid:
|
||||||
|
header: Log in with mobile-id
|
||||||
|
submit_btn: Login
|
|
@ -2,6 +2,8 @@ en:
|
||||||
registrar:
|
registrar:
|
||||||
sessions:
|
sessions:
|
||||||
new:
|
new:
|
||||||
|
header_html: Eesti Interneti SA<br>Registrar Portal
|
||||||
submit_btn: Login
|
submit_btn: Login
|
||||||
login_mid:
|
login_mid:
|
||||||
login_btn: Login
|
header: Log in with mobile-id
|
||||||
|
submit_btn: Login
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue