devise-bootstrap-views 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -14
  3. data/app/views/devise/confirmations/new.html.erb +3 -3
  4. data/app/views/devise/passwords/edit.html.erb +9 -6
  5. data/app/views/devise/passwords/new.html.erb +3 -3
  6. data/app/views/devise/registrations/edit.html.erb +14 -10
  7. data/app/views/devise/registrations/new.html.erb +9 -5
  8. data/app/views/devise/sessions/new.html.erb +5 -5
  9. data/app/views/devise/shared/_links.html.erb +20 -20
  10. data/app/views/devise/unlocks/new.html.erb +3 -3
  11. data/lib/version.rb +1 -1
  12. data/locales/en.yml +28 -5
  13. metadata +1 -55
  14. data/locales/af.yml +0 -120
  15. data/locales/ar.yml +0 -124
  16. data/locales/az.yml +0 -118
  17. data/locales/bg.yml +0 -120
  18. data/locales/bn.yml +0 -120
  19. data/locales/bs.yml +0 -122
  20. data/locales/ca.yml +0 -120
  21. data/locales/cs.yml +0 -121
  22. data/locales/da.yml +0 -120
  23. data/locales/de-CH.yml +0 -122
  24. data/locales/de.yml +0 -120
  25. data/locales/el.yml +0 -120
  26. data/locales/en-GB.yml +0 -120
  27. data/locales/es-AR.yml +0 -51
  28. data/locales/es-ES.yml +0 -59
  29. data/locales/es-MX.yml +0 -120
  30. data/locales/es.yml +0 -120
  31. data/locales/et.yml +0 -120
  32. data/locales/fa.yml +0 -120
  33. data/locales/fi.yml +0 -120
  34. data/locales/fr-CA.yml +0 -120
  35. data/locales/fr.yml +0 -120
  36. data/locales/he.yml +0 -120
  37. data/locales/hr.yml +0 -122
  38. data/locales/hu.yml +0 -120
  39. data/locales/id.yml +0 -118
  40. data/locales/is.yml +0 -120
  41. data/locales/it.yml +0 -120
  42. data/locales/ja.yml +0 -120
  43. data/locales/ko.yml +0 -118
  44. data/locales/lt.yml +0 -121
  45. data/locales/lv.yml +0 -121
  46. data/locales/my.yml +0 -118
  47. data/locales/nb.yml +0 -120
  48. data/locales/nl.yml +0 -120
  49. data/locales/nn-NO.yml +0 -120
  50. data/locales/no.yml +0 -120
  51. data/locales/pl.yml +0 -122
  52. data/locales/pt-BR.yml +0 -120
  53. data/locales/pt.yml +0 -120
  54. data/locales/ro.yml +0 -121
  55. data/locales/ru.yml +0 -122
  56. data/locales/sk.yml +0 -121
  57. data/locales/sl.yml +0 -128
  58. data/locales/sr-RS.yml +0 -122
  59. data/locales/sr.yml +0 -122
  60. data/locales/sv.yml +0 -120
  61. data/locales/th.yml +0 -118
  62. data/locales/tr.yml +0 -118
  63. data/locales/uk.yml +0 -122
  64. data/locales/vi.yml +0 -120
  65. data/locales/zh-CN.yml +0 -120
  66. data/locales/zh-HK.yml +0 -118
  67. data/locales/zh-TW.yml +0 -120
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de9c03f83d78e026c4acf19cb4e83a4413d5ad5377697721eac149d792605305
4
- data.tar.gz: d0c235873bd5f6d7dda0bcc5e9cec00034c9add6a3847304b64c568fceaf5f14
3
+ metadata.gz: b47c89089de8e59d99b8b079b0940c36641302da08c864bdcf9238025fef8a30
4
+ data.tar.gz: 41ba8e295a54e00a0e5a715629b380e087b464c7e44d32c4dc53488910e1a7d2
5
5
  SHA512:
6
- metadata.gz: 4e2a60f25b81b1fc8eca3fdc8fd8e6621b3b655d8605fc76d3f6585d39e42fc0c51c9854084f69d99937fddb1dfbae4a4c44780eb00e750c507942c321c8f455
7
- data.tar.gz: 31fe3e80889eef3e54fba3ec43b6e40d9b6ca99cfec08e5ec587829557ec105b20cb0b90233d41e3c970cfc4c12c6c0c632b7c546abc5970107016153c4c6033
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
- - Used Bootstrap responsive columns
7
- - I18n Support
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
  ![Screenshot](https://raw.githubusercontent.com/hisea/devise-bootstrap-views/master/Screenshot.png)
16
10
 
@@ -33,13 +27,9 @@ And then execute:
33
27
 
34
28
  $ bundle install
35
29
 
36
- Then you can install the required translations in your `config/locales`. Use [devise-i18n](https://github.com/tigrish/devise-i18n) — the best source for updated Devise translations. You can manually generate locale files by executing `rails generate devise:views:locale <chosen_locale>`:
37
-
38
- ``` sh
39
- rails generate devise:views:locale de
40
- ```
30
+ ## I18n
41
31
 
42
- will generate `config/locales/devise.views.de.yml`.
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', default: 'Resend confirmation instructions') %></h1>
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: "form-control" %>
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', default: 'Resend confirmation instructions'), class: 'btn btn-primary' %>
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', default: 'Change your password') %></h1>
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', default: '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', default: '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', default: 'Change my password'), class: 'btn btn-primary' %>
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', default: 'Forgot your password?') %></h1>
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', default: 'Send me reset password instructions'), class: 'btn btn-primary' %>
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: resource_class.model_name.human , default: "Edit #{resource_name.to_s.humanize}") %></h1>
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 %> <i>(<%= t('.leave_blank_if_you_don_t_want_to_change_it', default: "leave blank if you don't want to change it") %>)</i>
13
- <%= f.password_field :password, autocomplete: "off", class: 'form-control' %>
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 %> <i>(<%= t('.we_need_your_current_password_to_confirm_your_changes', default: 'we need your current password to confirm your changes') %>)</i>
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', default: 'Update'), class: 'btn btn-primary' %>
31
+ <%= f.submit t('.update'), class: 'btn btn-primary' %>
28
32
  </div>
29
33
  <% end %>
30
34
 
31
- <p><%= t('.unhappy', default: 'Unhappy') %>? <%= link_to t('.cancel_my_account', default: 'Cancel my account'), registration_path(resource_name), data: { confirm: t('.are_you_sure', default: "Are you sure?") }, method: :delete %>.</p>
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', default: 'Back'), :back %>
37
+ <%= link_to t('.back'), :back %>
@@ -1,25 +1,29 @@
1
- <h1><%= t('.sign_up', default: 'Sign up') %></h1>
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', default: 'Sign up'), class: 'btn btn-primary' %>
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', default: 'Sign in') %></h1>
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: 'off', class: 'form-control' %>
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
- <%= t('activerecord.attributes.user.remember_me', default: 'Remember me') %>
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', default: 'Sign in'), class: 'btn btn-primary' %>
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
- <% if controller_name != 'sessions' %>
3
- <%= link_to t('.sign_in', default: 'Sign in'), new_session_path(resource_name) %><br />
4
- <% end %>
2
+ <%- if controller_name != 'sessions' %>
3
+ <%= link_to t(".sign_in"), new_session_path(resource_name) %><br />
4
+ <% end -%>
5
5
 
6
- <% if devise_mapping.registerable? && controller_name != 'registrations' %>
7
- <%= link_to t('.sign_up', default: 'Sign up'), new_registration_path(resource_name) %><br />
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
- <% if devise_mapping.recoverable? && controller_name != 'passwords' %>
11
- <%= link_to t('.forgot_your_password', default: 'Forgot your password?'), new_password_path(resource_name) %><br />
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
- <% if devise_mapping.confirmable? && controller_name != 'confirmations' %>
15
- <%= link_to t('.didn_t_receive_confirmation_instructions', default: "Didn't receive confirmation instructions?"), new_confirmation_path(resource_name) %><br />
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
- <% if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
19
- <%= link_to t('.didn_t_receive_unlock_instructions', default: "Didn't receive unlock instructions?"), new_unlock_path(resource_name) %><br />
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
- <% if devise_mapping.omniauthable? %>
23
- <% resource_class.omniauth_providers.each do |provider| %>
24
- <%= link_to t('.sign_in_with_provider', provider: provider.to_s.titleize, default: "Sign in with #{provider.to_s.titleize}"), omniauth_authorize_path(resource_name, provider) %><br />
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', default: 'Resend unlock instructions') %></h1>
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', default: 'Resend unlock instructions'), class: 'btn btn-primary'%>
12
+ <%= f.submit t('.resend_unlock_instructions'), class: 'btn btn-primary'%>
13
13
  </div>
14
14
  <% end %>
15
15
 
@@ -1,3 +1,3 @@
1
1
  module DeviseBootstrapViews
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -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 email or password.
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 email address or password.
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: 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: 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.0.0
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