mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 20:18:22 +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
|
||||
.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
|
||||
= form_for @user, url: registrant_mid_path, auto_html5_validation: false,
|
||||
html: {class: 'form-signin'} do |f|
|
||||
= f.text_field :phone, class: 'form-control',
|
||||
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)
|
||||
%div.text-center
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
.row
|
||||
.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
|
||||
= form_for @user, url: registrar_mid_path, auto_html5_validation: false,
|
||||
html: {class: 'form-signin'} do |f|
|
||||
= f.text_field :phone, class: 'form-control',
|
||||
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)
|
||||
%div.text-center
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="row">
|
||||
<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>
|
||||
|
||||
|
|
|
@ -390,7 +390,6 @@ en:
|
|||
invoices: 'Invoices'
|
||||
no_such_user: 'No such user'
|
||||
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}.'
|
||||
user_signature_is_invalid: 'User signature is invalid'
|
||||
session_timeout: 'Session timeout'
|
||||
|
@ -422,7 +421,6 @@ en:
|
|||
blank: "Password can't be blank"
|
||||
|
||||
username: 'Username'
|
||||
log_in: 'Log in'
|
||||
domains: 'Domains'
|
||||
register: 'Register'
|
||||
contacts: 'Contacts'
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
et:
|
||||
username: 'Kasutajanimi'
|
||||
password: 'Parool'
|
||||
log_in: 'Logi sisse'
|
||||
|
||||
date:
|
||||
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
||||
|
|
|
@ -5,4 +5,8 @@ en:
|
|||
header: Log in
|
||||
hint: >-
|
||||
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:
|
||||
sessions:
|
||||
new:
|
||||
header_html: Eesti Interneti SA<br>Registrar Portal
|
||||
submit_btn: Login
|
||||
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