devise-bootstrap-views 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -14
- data/app/views/devise/confirmations/new.html.erb +3 -3
- data/app/views/devise/passwords/edit.html.erb +9 -6
- data/app/views/devise/passwords/new.html.erb +3 -3
- data/app/views/devise/registrations/edit.html.erb +14 -10
- data/app/views/devise/registrations/new.html.erb +9 -5
- data/app/views/devise/sessions/new.html.erb +5 -5
- data/app/views/devise/shared/_links.html.erb +20 -20
- data/app/views/devise/unlocks/new.html.erb +3 -3
- data/lib/version.rb +1 -1
- data/locales/en.yml +28 -5
- metadata +1 -55
- data/locales/af.yml +0 -120
- data/locales/ar.yml +0 -124
- data/locales/az.yml +0 -118
- data/locales/bg.yml +0 -120
- data/locales/bn.yml +0 -120
- data/locales/bs.yml +0 -122
- data/locales/ca.yml +0 -120
- data/locales/cs.yml +0 -121
- data/locales/da.yml +0 -120
- data/locales/de-CH.yml +0 -122
- data/locales/de.yml +0 -120
- data/locales/el.yml +0 -120
- data/locales/en-GB.yml +0 -120
- data/locales/es-AR.yml +0 -51
- data/locales/es-ES.yml +0 -59
- data/locales/es-MX.yml +0 -120
- data/locales/es.yml +0 -120
- data/locales/et.yml +0 -120
- data/locales/fa.yml +0 -120
- data/locales/fi.yml +0 -120
- data/locales/fr-CA.yml +0 -120
- data/locales/fr.yml +0 -120
- data/locales/he.yml +0 -120
- data/locales/hr.yml +0 -122
- data/locales/hu.yml +0 -120
- data/locales/id.yml +0 -118
- data/locales/is.yml +0 -120
- data/locales/it.yml +0 -120
- data/locales/ja.yml +0 -120
- data/locales/ko.yml +0 -118
- data/locales/lt.yml +0 -121
- data/locales/lv.yml +0 -121
- data/locales/my.yml +0 -118
- data/locales/nb.yml +0 -120
- data/locales/nl.yml +0 -120
- data/locales/nn-NO.yml +0 -120
- data/locales/no.yml +0 -120
- data/locales/pl.yml +0 -122
- data/locales/pt-BR.yml +0 -120
- data/locales/pt.yml +0 -120
- data/locales/ro.yml +0 -121
- data/locales/ru.yml +0 -122
- data/locales/sk.yml +0 -121
- data/locales/sl.yml +0 -128
- data/locales/sr-RS.yml +0 -122
- data/locales/sr.yml +0 -122
- data/locales/sv.yml +0 -120
- data/locales/th.yml +0 -118
- data/locales/tr.yml +0 -118
- data/locales/uk.yml +0 -122
- data/locales/vi.yml +0 -120
- data/locales/zh-CN.yml +0 -120
- data/locales/zh-HK.yml +0 -118
- data/locales/zh-TW.yml +0 -120
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b47c89089de8e59d99b8b079b0940c36641302da08c864bdcf9238025fef8a30
|
|
4
|
+
data.tar.gz: 41ba8e295a54e00a0e5a715629b380e087b464c7e44d32c4dc53488910e1a7d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 786198669ebef0845476a19fd62d233f9bd06fe1f613ecbc28642d6bd5d32ab1e4881ba0f7a050043a3a221caf4db6eeaa39552ffa186dbcac7adad50ce26f3d
|
|
7
|
+
data.tar.gz: 2aebe43849243c8670c51a4c805cad7dd319adcda7c19f54516f6381b92618237598f5e7b4043906fb9c4d2918b5c9ebcc64d59b10e10ff2d88429b7712b2af2
|
data/README.md
CHANGED
|
@@ -3,14 +3,8 @@
|
|
|
3
3
|
Here are some of the highlights:
|
|
4
4
|
|
|
5
5
|
- Devise views with Bootstrap 4
|
|
6
|
-
-
|
|
7
|
-
- I18n
|
|
8
|
-
|
|
9
|
-
***WARNING***
|
|
10
|
-
|
|
11
|
-
This gem copies lots of its code from [devise-i18n-views](https://github.com/mcasimir/devise-i18n-views) gem.
|
|
12
|
-
|
|
13
|
-
## Screenshot
|
|
6
|
+
- Responsive layout
|
|
7
|
+
- I18n support
|
|
14
8
|
|
|
15
9
|

|
|
16
10
|
|
|
@@ -33,13 +27,9 @@ And then execute:
|
|
|
33
27
|
|
|
34
28
|
$ bundle install
|
|
35
29
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
``` sh
|
|
39
|
-
rails generate devise:views:locale de
|
|
40
|
-
```
|
|
30
|
+
## I18n
|
|
41
31
|
|
|
42
|
-
|
|
32
|
+
Install [devise-i18n](https://github.com/tigrish/devise-i18n) for other locales. Make sure to insert `gem 'devise-i18n'` before `gem 'devise-bootstrap-view'`, see [#55](https://github.com/hisea/devise-bootstrap-views/issues/55).
|
|
43
33
|
|
|
44
34
|
## Customizing Views
|
|
45
35
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<h1><%= t('.resend_confirmation_instructions'
|
|
1
|
+
<h1><%= t('.resend_confirmation_instructions') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
5
|
|
|
6
6
|
<div class="form-group">
|
|
7
7
|
<%= f.label :email %>
|
|
8
|
-
<%= f.email_field :email, autofocus: true, class:
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: 'form-control' %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="form-group">
|
|
12
|
-
<%= f.submit t('.resend_confirmation_instructions'
|
|
12
|
+
<%= f.submit t('.resend_confirmation_instructions'), class: 'btn btn-primary' %>
|
|
13
13
|
</div>
|
|
14
14
|
<% end %>
|
|
15
15
|
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
<h1><%= t('.change_your_password'
|
|
1
|
+
<h1><%= t('.change_your_password') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
|
-
|
|
6
5
|
<%= f.hidden_field :reset_password_token %>
|
|
7
6
|
|
|
8
7
|
<div class="form-group">
|
|
9
|
-
<%= f.label :password, t('.new_password'
|
|
8
|
+
<%= f.label :password, t('.new_password') %>
|
|
10
9
|
<%= f.password_field :password, autofocus: true, class: 'form-control' %>
|
|
10
|
+
|
|
11
|
+
<% if @minimum_password_length %>
|
|
12
|
+
<small class="form-text text-muted"><%= t('devise.shared.minimum_password_length', count: @minimum_password_length) %></small>
|
|
13
|
+
<% end %>
|
|
11
14
|
</div>
|
|
12
15
|
|
|
13
16
|
<div class="form-group">
|
|
14
|
-
<%= f.label :password_confirmation, t('.confirm_new_password'
|
|
15
|
-
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
|
17
|
+
<%= f.label :password_confirmation, t('.confirm_new_password') %>
|
|
18
|
+
<%= f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control' %>
|
|
16
19
|
</div>
|
|
17
20
|
|
|
18
21
|
<div class="form-group">
|
|
19
|
-
<%= f.submit t('.change_my_password'
|
|
22
|
+
<%= f.submit t('.change_my_password'), class: 'btn btn-primary' %>
|
|
20
23
|
</div>
|
|
21
24
|
<% end %>
|
|
22
25
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<h1><%= t('.forgot_your_password'
|
|
1
|
+
<h1><%= t('.forgot_your_password') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
5
|
|
|
6
6
|
<div class="form-group">
|
|
7
7
|
<%= f.label :email %>
|
|
8
|
-
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="form-group">
|
|
12
|
-
<%= f.submit t('.send_me_reset_password_instructions'
|
|
12
|
+
<%= f.submit t('.send_me_reset_password_instructions'), class: 'btn btn-primary' %>
|
|
13
13
|
</div>
|
|
14
14
|
<% end %>
|
|
15
15
|
|
|
@@ -1,33 +1,37 @@
|
|
|
1
|
-
<h1><%= t('.title', resource:
|
|
1
|
+
<h1><%= t('.title', resource: resource_name.to_s.humanize) %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
5
|
|
|
6
6
|
<div class="form-group">
|
|
7
7
|
<%= f.label :email %>
|
|
8
|
-
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="form-group">
|
|
12
|
-
<%= f.label :password %>
|
|
13
|
-
<%= f.password_field :password, autocomplete:
|
|
12
|
+
<%= f.label :password %>
|
|
13
|
+
<%= f.password_field :password, autocomplete: 'new-password', class: 'form-control' %>
|
|
14
|
+
|
|
15
|
+
<small class="form-text text-muted"><%= t('.leave_blank_if_you_don_t_want_to_change_it') %></small>
|
|
14
16
|
</div>
|
|
15
17
|
|
|
16
18
|
<div class="form-group">
|
|
17
19
|
<%= f.label :password_confirmation %>
|
|
18
|
-
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
|
20
|
+
<%= f.password_field :password_confirmation, autocomplete: 'new-password', class: 'form-control' %>
|
|
19
21
|
</div>
|
|
20
22
|
|
|
21
23
|
<div class="form-group">
|
|
22
|
-
<%= f.label :current_password %>
|
|
23
|
-
<%= f.password_field :current_password, class: 'form-control' %>
|
|
24
|
+
<%= f.label :current_password %>
|
|
25
|
+
<%= f.password_field :current_password, autocomplete: 'current-password', class: 'form-control' %>
|
|
26
|
+
|
|
27
|
+
<small class="form-text text-muted"><%= t('.we_need_your_current_password_to_confirm_your_changes') %></small>
|
|
24
28
|
</div>
|
|
25
29
|
|
|
26
30
|
<div class="form-group">
|
|
27
|
-
<%= f.submit t('.update'
|
|
31
|
+
<%= f.submit t('.update'), class: 'btn btn-primary' %>
|
|
28
32
|
</div>
|
|
29
33
|
<% end %>
|
|
30
34
|
|
|
31
|
-
<p><%= t('.unhappy'
|
|
35
|
+
<p><%= t('.unhappy') %>? <%= link_to t('.cancel_my_account'), registration_path(resource_name), data: { confirm: t('.are_you_sure') }, method: :delete %>.</p>
|
|
32
36
|
|
|
33
|
-
<%= link_to t('.back'
|
|
37
|
+
<%= link_to t('.back'), :back %>
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
<h1><%= t('.sign_up'
|
|
1
|
+
<h1><%= t('.sign_up') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
5
|
|
|
6
6
|
<div class="form-group">
|
|
7
7
|
<%= f.label :email %>
|
|
8
|
-
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="form-group">
|
|
12
12
|
<%= f.label :password %>
|
|
13
|
-
<%= f.password_field :password, class: 'form-control' %>
|
|
13
|
+
<%= f.password_field :password, autocomplete: 'current-password', class: 'form-control' %>
|
|
14
|
+
|
|
15
|
+
<% if @minimum_password_length %>
|
|
16
|
+
<small class="form-text text-muted"><%= t('devise.shared.minimum_password_length', count: @minimum_password_length) %></small>
|
|
17
|
+
<% end %>
|
|
14
18
|
</div>
|
|
15
19
|
|
|
16
20
|
<div class="form-group">
|
|
17
21
|
<%= f.label :password_confirmation %>
|
|
18
|
-
<%= f.password_field :password_confirmation, class: 'form-control' %>
|
|
22
|
+
<%= f.password_field :password_confirmation, autocomplete: 'current-password', class: 'form-control' %>
|
|
19
23
|
</div>
|
|
20
24
|
|
|
21
25
|
<div class="form-group">
|
|
22
|
-
<%= f.submit t('.sign_up'
|
|
26
|
+
<%= f.submit t('.sign_up'), class: 'btn btn-primary' %>
|
|
23
27
|
</div>
|
|
24
28
|
<% end %>
|
|
25
29
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<h1><%= t('.sign_in'
|
|
1
|
+
<h1><%= t('.sign_in') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
|
4
4
|
<div class="form-group">
|
|
5
5
|
<%= f.label :email %>
|
|
6
|
-
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
|
|
6
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
<div class="form-group">
|
|
10
10
|
<%= f.label :password %>
|
|
11
|
-
<%= f.password_field :password, autocomplete: '
|
|
11
|
+
<%= f.password_field :password, autocomplete: 'current-password', class: 'form-control' %>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<% if devise_mapping.rememberable? %>
|
|
15
15
|
<div class="form-group form-check">
|
|
16
16
|
<%= f.check_box :remember_me, class: 'form-check-input' %>
|
|
17
17
|
<%= f.label :remember_me, class: 'form-check-label' do %>
|
|
18
|
-
<%=
|
|
18
|
+
<%= resource.class.human_attribute_name('remember_me') %>
|
|
19
19
|
<% end %>
|
|
20
20
|
</div>
|
|
21
21
|
<% end %>
|
|
22
22
|
|
|
23
23
|
<div class="form-group">
|
|
24
|
-
<%= f.submit t('.sign_in'
|
|
24
|
+
<%= f.submit t('.sign_in'), class: 'btn btn-primary' %>
|
|
25
25
|
</div>
|
|
26
26
|
<% end %>
|
|
27
27
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
<div class="form-group">
|
|
2
|
-
|
|
3
|
-
<%= link_to t(
|
|
4
|
-
<% end
|
|
2
|
+
<%- if controller_name != 'sessions' %>
|
|
3
|
+
<%= link_to t(".sign_in"), new_session_path(resource_name) %><br />
|
|
4
|
+
<% end -%>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
<%= link_to t(
|
|
8
|
-
<% end
|
|
6
|
+
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
|
7
|
+
<%= link_to t(".sign_up"), new_registration_path(resource_name) %><br />
|
|
8
|
+
<% end -%>
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
<%= link_to t(
|
|
12
|
-
<% end
|
|
10
|
+
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
|
11
|
+
<%= link_to t(".forgot_your_password"), new_password_path(resource_name) %><br />
|
|
12
|
+
<% end -%>
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<%= link_to t('.didn_t_receive_confirmation_instructions'
|
|
16
|
-
<% end
|
|
14
|
+
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
|
15
|
+
<%= link_to t('.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %><br />
|
|
16
|
+
<% end -%>
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
<%= link_to t('.didn_t_receive_unlock_instructions'
|
|
20
|
-
<% end
|
|
18
|
+
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
|
19
|
+
<%= link_to t('.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name) %><br />
|
|
20
|
+
<% end -%>
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<%= link_to t('.sign_in_with_provider', provider:
|
|
25
|
-
<% end
|
|
26
|
-
<% end
|
|
22
|
+
<%- if devise_mapping.omniauthable? %>
|
|
23
|
+
<%- resource_class.omniauth_providers.each do |provider| %>
|
|
24
|
+
<%= link_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider) %><br />
|
|
25
|
+
<% end -%>
|
|
26
|
+
<% end -%>
|
|
27
27
|
</div>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<h1><%= t('.resend_unlock_instructions'
|
|
1
|
+
<h1><%= t('.resend_unlock_instructions') %></h1>
|
|
2
2
|
|
|
3
3
|
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
|
4
4
|
<%= bootstrap_devise_error_messages! %>
|
|
5
5
|
|
|
6
6
|
<div class="form-group">
|
|
7
7
|
<%= f.label :email %>
|
|
8
|
-
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
|
|
8
|
+
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="form-group">
|
|
12
|
-
<%= f.submit t('.resend_unlock_instructions'
|
|
12
|
+
<%= f.submit t('.resend_unlock_instructions'), class: 'btn btn-primary'%>
|
|
13
13
|
</div>
|
|
14
14
|
<% end %>
|
|
15
15
|
|
data/lib/version.rb
CHANGED
data/locales/en.yml
CHANGED
|
@@ -2,13 +2,29 @@ en:
|
|
|
2
2
|
activerecord:
|
|
3
3
|
attributes:
|
|
4
4
|
user:
|
|
5
|
+
confirmation_sent_at: Confirmation sent at
|
|
6
|
+
confirmation_token: Confirmation token
|
|
7
|
+
confirmed_at: Confirmed at
|
|
8
|
+
created_at: Created at
|
|
5
9
|
current_password: Current password
|
|
10
|
+
current_sign_in_at: Current sign in at
|
|
11
|
+
current_sign_in_ip: Current sign in IP
|
|
6
12
|
email: Email
|
|
13
|
+
encrypted_password: Encrypted password
|
|
14
|
+
failed_attempts: Failed attempts
|
|
15
|
+
last_sign_in_at: Last sign in at
|
|
16
|
+
last_sign_in_ip: Last sign in IP
|
|
17
|
+
locked_at: Locked at
|
|
7
18
|
password: Password
|
|
8
19
|
password_confirmation: Password confirmation
|
|
20
|
+
remember_created_at: Remember created at
|
|
9
21
|
remember_me: Remember me
|
|
22
|
+
reset_password_sent_at: Reset password sent at
|
|
10
23
|
reset_password_token: Reset password token
|
|
24
|
+
sign_in_count: Sign in count
|
|
25
|
+
unconfirmed_email: Unconfirmed email
|
|
11
26
|
unlock_token: Unlock token
|
|
27
|
+
updated_at: Updated at
|
|
12
28
|
models:
|
|
13
29
|
user: User
|
|
14
30
|
devise:
|
|
@@ -21,10 +37,10 @@ en:
|
|
|
21
37
|
failure:
|
|
22
38
|
already_authenticated: You are already signed in.
|
|
23
39
|
inactive: Your account is not activated yet.
|
|
24
|
-
invalid: Invalid
|
|
40
|
+
invalid: Invalid %{authentication_keys} or password.
|
|
25
41
|
last_attempt: You have one more attempt before your account is locked.
|
|
26
42
|
locked: Your account is locked.
|
|
27
|
-
not_found_in_database: Invalid
|
|
43
|
+
not_found_in_database: Invalid %{authentication_keys} or password.
|
|
28
44
|
timeout: Your session expired. Please sign in again to continue.
|
|
29
45
|
unauthenticated: You need to sign in or sign up before continuing.
|
|
30
46
|
unconfirmed: You have to confirm your email address before continuing.
|
|
@@ -34,6 +50,10 @@ en:
|
|
|
34
50
|
greeting: Welcome %{recipient}!
|
|
35
51
|
instruction: 'You can confirm your account email through the link below:'
|
|
36
52
|
subject: Confirmation instructions
|
|
53
|
+
email_changed:
|
|
54
|
+
greeting: Hello %{recipient}!
|
|
55
|
+
message: We're contacting you to notify you that your email is being changed to %{email}.
|
|
56
|
+
subject: Email Changed
|
|
37
57
|
password_change:
|
|
38
58
|
greeting: Hello %{recipient}!
|
|
39
59
|
message: We're contacting you to notify you that your password has been changed.
|
|
@@ -76,7 +96,7 @@ en:
|
|
|
76
96
|
currently_waiting_confirmation_for_email: 'Currently waiting confirmation for: %{email}'
|
|
77
97
|
leave_blank_if_you_don_t_want_to_change_it: leave blank if you don't want to change it
|
|
78
98
|
title: Edit %{resource}
|
|
79
|
-
unhappy: Unhappy
|
|
99
|
+
unhappy: Unhappy?
|
|
80
100
|
update: Update
|
|
81
101
|
we_need_your_current_password_to_confirm_your_changes: we need your current password to confirm your changes
|
|
82
102
|
new:
|
|
@@ -90,7 +110,7 @@ en:
|
|
|
90
110
|
sessions:
|
|
91
111
|
already_signed_out: Signed out successfully.
|
|
92
112
|
new:
|
|
93
|
-
sign_in:
|
|
113
|
+
sign_in: Log in
|
|
94
114
|
signed_in: Signed in successfully.
|
|
95
115
|
signed_out: Signed out successfully.
|
|
96
116
|
shared:
|
|
@@ -99,9 +119,12 @@ en:
|
|
|
99
119
|
didn_t_receive_confirmation_instructions: Didn't receive confirmation instructions?
|
|
100
120
|
didn_t_receive_unlock_instructions: Didn't receive unlock instructions?
|
|
101
121
|
forgot_your_password: Forgot your password?
|
|
102
|
-
sign_in:
|
|
122
|
+
sign_in: Log in
|
|
103
123
|
sign_in_with_provider: Sign in with %{provider}
|
|
104
124
|
sign_up: Sign up
|
|
125
|
+
minimum_password_length:
|
|
126
|
+
one: "(%{count} character minimum)"
|
|
127
|
+
other: "(%{count} characters minimum)"
|
|
105
128
|
unlocks:
|
|
106
129
|
new:
|
|
107
130
|
resend_unlock_instructions: Resend unlock instructions
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise-bootstrap-views
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yinghai Zhao
|
|
@@ -65,61 +65,7 @@ files:
|
|
|
65
65
|
- lib/generators/devise/views/bootstrap_templates/bootstrap_templates_generator.rb
|
|
66
66
|
- lib/generators/devise/views/locale/locale_generator.rb
|
|
67
67
|
- lib/version.rb
|
|
68
|
-
- locales/af.yml
|
|
69
|
-
- locales/ar.yml
|
|
70
|
-
- locales/az.yml
|
|
71
|
-
- locales/bg.yml
|
|
72
|
-
- locales/bn.yml
|
|
73
|
-
- locales/bs.yml
|
|
74
|
-
- locales/ca.yml
|
|
75
|
-
- locales/cs.yml
|
|
76
|
-
- locales/da.yml
|
|
77
|
-
- locales/de-CH.yml
|
|
78
|
-
- locales/de.yml
|
|
79
|
-
- locales/el.yml
|
|
80
|
-
- locales/en-GB.yml
|
|
81
68
|
- locales/en.yml
|
|
82
|
-
- locales/es-AR.yml
|
|
83
|
-
- locales/es-ES.yml
|
|
84
|
-
- locales/es-MX.yml
|
|
85
|
-
- locales/es.yml
|
|
86
|
-
- locales/et.yml
|
|
87
|
-
- locales/fa.yml
|
|
88
|
-
- locales/fi.yml
|
|
89
|
-
- locales/fr-CA.yml
|
|
90
|
-
- locales/fr.yml
|
|
91
|
-
- locales/he.yml
|
|
92
|
-
- locales/hr.yml
|
|
93
|
-
- locales/hu.yml
|
|
94
|
-
- locales/id.yml
|
|
95
|
-
- locales/is.yml
|
|
96
|
-
- locales/it.yml
|
|
97
|
-
- locales/ja.yml
|
|
98
|
-
- locales/ko.yml
|
|
99
|
-
- locales/lt.yml
|
|
100
|
-
- locales/lv.yml
|
|
101
|
-
- locales/my.yml
|
|
102
|
-
- locales/nb.yml
|
|
103
|
-
- locales/nl.yml
|
|
104
|
-
- locales/nn-NO.yml
|
|
105
|
-
- locales/no.yml
|
|
106
|
-
- locales/pl.yml
|
|
107
|
-
- locales/pt-BR.yml
|
|
108
|
-
- locales/pt.yml
|
|
109
|
-
- locales/ro.yml
|
|
110
|
-
- locales/ru.yml
|
|
111
|
-
- locales/sk.yml
|
|
112
|
-
- locales/sl.yml
|
|
113
|
-
- locales/sr-RS.yml
|
|
114
|
-
- locales/sr.yml
|
|
115
|
-
- locales/sv.yml
|
|
116
|
-
- locales/th.yml
|
|
117
|
-
- locales/tr.yml
|
|
118
|
-
- locales/uk.yml
|
|
119
|
-
- locales/vi.yml
|
|
120
|
-
- locales/zh-CN.yml
|
|
121
|
-
- locales/zh-HK.yml
|
|
122
|
-
- locales/zh-TW.yml
|
|
123
69
|
homepage: https://github.com/hisea/devise-bootstrap-views
|
|
124
70
|
licenses:
|
|
125
71
|
- MIT
|