spree_auth_devise 3.2.0.beta → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spree_auth_devise might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.gitignore +17 -6
- data/.travis.yml +19 -7
- data/Appraisals +13 -0
- data/CHANGELOG.md +11 -3
- data/Gemfile +1 -0
- data/README.md +30 -27
- data/Rakefile +1 -1
- data/app/mailers/spree/user_mailer.rb +6 -6
- data/app/models/spree/auth_configuration.rb +3 -3
- data/app/models/spree/user.rb +17 -16
- data/app/overrides/auth_shared_login_bar.rb +6 -7
- data/config.ru +1 -1
- data/config/initializers/devise.rb +1 -1
- data/config/initializers/warden.rb +2 -2
- data/config/locales/bg.yml +54 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/en.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/it.yml +2 -2
- data/config/locales/nl.yml +1 -1
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/pt.yml +1 -1
- data/config/locales/tr.yml +1 -1
- data/config/routes.rb +17 -18
- data/db/default/users.rb +6 -6
- data/db/migrate/20101026184949_create_users.rb +14 -9
- data/db/migrate/20101026184950_rename_columns_for_devise.rb +6 -1
- data/db/migrate/20101214150824_convert_user_remember_field.rb +6 -1
- data/db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb +6 -1
- data/db/migrate/20120605211305_make_users_email_index_unique.rb +8 -3
- data/db/migrate/20140904000425_add_deleted_at_to_users.rb +6 -1
- data/db/migrate/20141002154641_add_confirmable_to_users.rb +6 -1
- data/db/migrate/20150416152553_add_missing_indices_on_user.rb +6 -1
- data/gemfiles/spree_3_1.gemfile +7 -0
- data/gemfiles/spree_3_2.gemfile +8 -0
- data/gemfiles/spree_master.gemfile +8 -0
- data/lib/controllers/backend/spree/admin/admin_controller_decorator.rb +6 -8
- data/lib/controllers/backend/spree/admin/admin_orders_controller_decorator.rb +15 -14
- data/lib/controllers/backend/spree/admin/admin_resource_controller_decorator.rb +1 -1
- data/lib/controllers/backend/spree/admin/orders/customer_details_controller_decorator.rb +9 -8
- data/lib/controllers/backend/spree/admin/user_passwords_controller.rb +6 -1
- data/lib/controllers/backend/spree/admin/user_sessions_controller.rb +22 -16
- data/lib/controllers/frontend/spree/checkout_controller_decorator.rb +17 -16
- data/lib/controllers/frontend/spree/user_confirmations_controller.rb +4 -0
- data/lib/controllers/frontend/spree/user_passwords_controller.rb +5 -1
- data/lib/controllers/frontend/spree/user_registrations_controller.rb +4 -0
- data/lib/controllers/frontend/spree/user_sessions_controller.rb +18 -11
- data/lib/controllers/frontend/spree/users_controller.rb +16 -15
- data/lib/generators/spree/auth/install/install_generator.rb +8 -2
- data/lib/spree/auth/devise.rb +1 -1
- data/lib/spree/auth/engine.rb +9 -9
- data/lib/tasks/auth.rake +1 -1
- data/lib/views/frontend/spree/users/show.html.erb +1 -1
- data/spec/controllers/spree/checkout_controller_spec.rb +1 -2
- data/spec/controllers/spree/products_controller_spec.rb +0 -1
- data/spec/controllers/spree/user_passwords_controller_spec.rb +3 -4
- data/spec/controllers/spree/user_registrations_controller_spec.rb +0 -1
- data/spec/controllers/spree/user_sessions_controller_spec.rb +0 -1
- data/spec/controllers/spree/users_controller_spec.rb +0 -1
- data/spec/factories/confirmed_user.rb +1 -1
- data/spec/features/account_spec.rb +0 -1
- data/spec/features/admin/orders_spec.rb +0 -1
- data/spec/features/admin/password_reset_spec.rb +0 -1
- data/spec/features/admin/products_spec.rb +0 -1
- data/spec/features/admin/sign_in_spec.rb +0 -1
- data/spec/features/admin/sign_out_spec.rb +0 -1
- data/spec/features/admin_permissions_spec.rb +0 -1
- data/spec/features/change_email_spec.rb +0 -1
- data/spec/features/checkout_spec.rb +8 -8
- data/spec/features/confirmation_spec.rb +1 -1
- data/spec/features/order_spec.rb +0 -1
- data/spec/features/password_reset_spec.rb +0 -1
- data/spec/features/sign_in_spec.rb +1 -2
- data/spec/features/sign_out_spec.rb +0 -1
- data/spec/features/sign_up_spec.rb +0 -1
- data/spec/mailers/user_mailer_spec.rb +0 -1
- data/spec/models/order_spec.rb +0 -1
- data/spec/models/user_spec.rb +3 -1
- data/spec/spec_helper.rb +0 -7
- data/spec/support/ability.rb +1 -1
- data/spec/support/authentication_helpers.rb +2 -2
- data/spec/support/capybara.rb +1 -1
- data/spec/support/confirm_helpers.rb +1 -1
- data/spec/support/database_cleaner.rb +2 -3
- data/spec/support/spree.rb +0 -16
- data/spree_auth_devise.gemspec +6 -6
- metadata +16 -13
- data/Versionfile +0 -5
- data/circle.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c416bde8da0e837612d21c9c997eb656de79a87c
|
4
|
+
data.tar.gz: a23838fbc1f0174e88a8d122fe6c6f60d371b026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d9c6d3684f8f057a2437e9ae81ef2dd0706c07eaf9c38cd0f6518755516612c298fcb700562804cd44777459ec136dc72f507cca8df3e3eaece28035889d2eb
|
7
|
+
data.tar.gz: 51aeb6dc11bb728e0bae88f3f11ee7723a44998932e7a7bda84da8c1586e81582c49cd6e4567c70a51e03e1dd06987ce139f74eb615ecbf86c5ae5d95017a01e
|
data/.gitignore
CHANGED
@@ -1,10 +1,21 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
\#*
|
2
|
+
*~
|
3
|
+
.#*
|
4
|
+
.DS_Store
|
5
|
+
.idea
|
6
|
+
.localeapp/locales
|
7
|
+
.project
|
3
8
|
coverage
|
9
|
+
default
|
4
10
|
Gemfile.lock
|
5
|
-
|
11
|
+
tmp
|
12
|
+
nbproject
|
13
|
+
pkg
|
14
|
+
*.sw?
|
15
|
+
spec/dummy
|
6
16
|
.rvmrc
|
7
|
-
.
|
17
|
+
.sass-cache
|
18
|
+
public/spree
|
8
19
|
.ruby-version
|
9
|
-
.
|
10
|
-
.
|
20
|
+
.ruby-gemset
|
21
|
+
gemfiles/*.gemfile.lock
|
data/.travis.yml
CHANGED
@@ -1,16 +1,28 @@
|
|
1
|
-
|
1
|
+
sudo: required
|
2
|
+
dist: trusty
|
3
|
+
|
4
|
+
script:
|
2
5
|
- bundle exec rake test_app
|
3
|
-
-
|
4
|
-
- sh -e /etc/init.d/xvfb start
|
5
|
-
cache:
|
6
|
-
bundler: true
|
6
|
+
- bundle exec rake spec
|
7
7
|
|
8
8
|
env:
|
9
9
|
- DB=mysql
|
10
10
|
- DB=postgres
|
11
|
+
|
11
12
|
language: ruby
|
13
|
+
|
12
14
|
rvm:
|
13
15
|
- 2.3.1
|
14
|
-
- 2.2.
|
16
|
+
- 2.2.7
|
17
|
+
|
18
|
+
gemfile:
|
19
|
+
- gemfiles/spree_3_1.gemfile
|
20
|
+
- gemfiles/spree_3_2.gemfile
|
21
|
+
- gemfiles/spree_master.gemfile
|
15
22
|
|
16
|
-
|
23
|
+
addons:
|
24
|
+
apt:
|
25
|
+
packages:
|
26
|
+
- mysql-server-5.6
|
27
|
+
- mysql-client-core-5.6
|
28
|
+
- mysql-client-5.6
|
data/Appraisals
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
appraise 'spree-3-1' do
|
2
|
+
gem 'spree', '~> 3.1.0'
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise 'spree-3-2' do
|
6
|
+
gem 'spree', '~> 3.2.0'
|
7
|
+
gem 'rails-controller-testing'
|
8
|
+
end
|
9
|
+
|
10
|
+
appraise 'spree-master' do
|
11
|
+
gem 'spree', github: 'spree/spree', branch: 'master'
|
12
|
+
gem 'rails-controller-testing'
|
13
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,17 @@
|
|
1
|
-
## Spree Auth Devise v3.2.0 (
|
1
|
+
## Spree Auth Devise v3.2.0 (2017-06-15)
|
2
2
|
|
3
|
-
*
|
4
|
-
* `
|
3
|
+
* `Rails 5` support
|
4
|
+
* Supports `Spree 3.1` `Spree 3.2` and any other newer version lesser than `4.0` (https://github.com/spree/spree_auth_devise/pull/353, https://github.com/spree/spree_auth_devise/pull/386)
|
5
|
+
* `devise` updated to `4.3` (https://github.com/spree/spree_auth_devise/pull/382)
|
6
|
+
* `devise-encryptable` updated to `0.2.0` (https://github.com/spree/spree_auth_devise/commit/5f51e6e4e81dbf99fe95848dbd4fa9cba03b6910)
|
5
7
|
* updated development dependencies (https://github.com/spree/spree_auth_devise/pull/351)
|
6
8
|
* include `Spree::UserMethods` in `Spree::User` (https://github.com/spree/spree_auth_devise/pull/343)
|
9
|
+
* fixed: Unnecessary breaking changes of I18n key (https://github.com/spree/spree_auth_devise/pull/387)
|
10
|
+
* fixed: use proper scoping to find translations related to order states (https://github.com/spree/spree_auth_devise/pull/384)
|
11
|
+
* fixed: spree_api is not required anymore (https://github.com/spree/spree_auth_devise/pull/380)
|
12
|
+
* Install generator: Add option to skip migrations (https://github.com/spree/spree_auth_devise/pull/378)
|
13
|
+
* Added Portuguese translation (https://github.com/spree/spree_auth_devise/pull/365)
|
14
|
+
* Replaced registration_error flash with standard error (https://github.com/spree/spree_auth_devise/pull/361)
|
7
15
|
|
8
16
|
## Spree Auth Devise v3.1.0 (2016-04-05)
|
9
17
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,42 +1,47 @@
|
|
1
1
|
# Spree Auth (Devise)
|
2
2
|
|
3
|
-
[![Build Status](https://
|
4
|
-
[![Code Climate](https://codeclimate.com/github/spree/spree_auth_devise.
|
3
|
+
[![Build Status](https://travis-ci.org/spree/spree_auth_devise.svg?branch=master)](https://travis-ci.org/spree/spree_auth_devise)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/spree/spree_auth_devise/badges/gpa.svg)](https://codeclimate.com/github/spree/spree_auth_devise)
|
5
5
|
|
6
6
|
Provides authentication services for Spree, using the Devise gem.
|
7
7
|
|
8
|
+
|
8
9
|
## Installation
|
9
10
|
|
10
|
-
|
11
|
+
1. Add this extension to your Gemfile with this line:
|
11
12
|
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'master'
|
15
|
-
```
|
13
|
+
#### Spree >= 3.1
|
16
14
|
|
17
|
-
|
15
|
+
```ruby
|
16
|
+
gem 'spree_auth_devise', github: 'spree/spree_auth_devise'
|
17
|
+
```
|
18
18
|
|
19
|
-
Spree
|
20
|
-
```ruby
|
21
|
-
gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable'
|
22
|
-
```
|
19
|
+
#### Spree 3.0 and Spree 2.x
|
23
20
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
```
|
21
|
+
```ruby
|
22
|
+
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: 'X-X-stable'
|
23
|
+
```
|
28
24
|
|
29
|
-
|
25
|
+
The `branch` option is important: it must match the version of Spree you're using.
|
26
|
+
For example, use `3-0-stable` if you're using Spree `3-0-stable` or any `3.0.x` version.
|
30
27
|
|
31
|
-
|
28
|
+
2. Install the gem using Bundler:
|
29
|
+
```ruby
|
30
|
+
bundle install
|
31
|
+
```
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
3. Copy & run migrations
|
34
|
+
```ruby
|
35
|
+
bundle exec rails g spree:auth:install
|
36
|
+
```
|
36
37
|
|
37
|
-
|
38
|
+
## Upgrading from Spree 3.0 to 3.1
|
38
39
|
|
39
|
-
|
40
|
+
If you're upgrading from 3.0 to 3.1 you need to rerun the installer to copy new asset files (javascripts)
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
bundle exec rails g spree:auth:install
|
44
|
+
```
|
40
45
|
|
41
46
|
## Configuration
|
42
47
|
|
@@ -93,7 +98,7 @@ Spree::Ability.register_ability(YourAbilityClass)
|
|
93
98
|
|
94
99
|
Inside of your host application you can then use CanCan like you normally would.
|
95
100
|
```ruby
|
96
|
-
<% if can? :show SomeRailsObject %>
|
101
|
+
<% if can? :show, SomeRailsObject %>
|
97
102
|
|
98
103
|
<% end %>
|
99
104
|
```
|
@@ -110,6 +115,4 @@ You need to do a quick one-time creation of a test application and then you can
|
|
110
115
|
|
111
116
|
Then run the rspec tests.
|
112
117
|
|
113
|
-
bundle exec
|
114
|
-
|
115
|
-
If everything doesn't pass on your machine (using Ruby (1.9.3 or 2.0.0) and (MySQL or PostgreSQL or SQLite3)) then we would consider that a bug. Please file a bug report on the issues page for this project with your test output and we will investigate it.
|
118
|
+
bundle exec rspec
|
data/Rakefile
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
module Spree
|
2
2
|
class UserMailer < BaseMailer
|
3
|
-
def reset_password_instructions(user, token, *
|
4
|
-
@edit_password_reset_url = spree.edit_spree_user_password_url(:
|
3
|
+
def reset_password_instructions(user, token, *_args)
|
4
|
+
@edit_password_reset_url = spree.edit_spree_user_password_url(reset_password_token: token, host: Spree::Store.current.url)
|
5
5
|
|
6
|
-
mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :
|
6
|
+
mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, scope: [:devise, :mailer, :reset_password_instructions])
|
7
7
|
end
|
8
8
|
|
9
|
-
def confirmation_instructions(user, token,
|
10
|
-
@confirmation_url = spree.spree_user_confirmation_url(:
|
9
|
+
def confirmation_instructions(user, token, _opts = {})
|
10
|
+
@confirmation_url = spree.spree_user_confirmation_url(confirmation_token: token, host: Spree::Store.current.url)
|
11
11
|
@email = user.email
|
12
12
|
|
13
|
-
mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, :
|
13
|
+
mail to: user.email, from: from_address, subject: Spree::Store.current.name + ' ' + I18n.t(:subject, scope: [:devise, :mailer, :confirmation_instructions])
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Spree
|
2
2
|
class AuthConfiguration < Preferences::Configuration
|
3
|
-
preference :registration_step, :boolean, :
|
4
|
-
preference :signout_after_password_change, :boolean, :
|
5
|
-
preference :confirmable, :boolean, :
|
3
|
+
preference :registration_step, :boolean, default: true
|
4
|
+
preference :signout_after_password_change, :boolean, default: true
|
5
|
+
preference :confirmable, :boolean, default: false
|
6
6
|
end
|
7
7
|
end
|
data/app/models/spree/user.rb
CHANGED
@@ -5,7 +5,7 @@ module Spree
|
|
5
5
|
include UserPaymentSource
|
6
6
|
|
7
7
|
devise :database_authenticatable, :registerable, :recoverable,
|
8
|
-
:rememberable, :trackable, :validatable, :encryptable, :
|
8
|
+
:rememberable, :trackable, :validatable, :encryptable, encryptor: 'authlogic_sha512'
|
9
9
|
devise :confirmable if Spree::Auth::Config[:confirmable]
|
10
10
|
|
11
11
|
acts_as_paranoid
|
@@ -27,23 +27,24 @@ module Spree
|
|
27
27
|
end
|
28
28
|
|
29
29
|
protected
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
|
31
|
+
def password_required?
|
32
|
+
!persisted? || password.present? || password_confirmation.present?
|
33
|
+
end
|
33
34
|
|
34
35
|
private
|
35
36
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
37
|
+
def set_login
|
38
|
+
# for now force login to be same as email, eventually we will make this configurable, etc.
|
39
|
+
self.login ||= email if email
|
40
|
+
end
|
41
|
+
|
42
|
+
def scramble_email_and_password
|
43
|
+
self.email = SecureRandom.uuid + "@example.net"
|
44
|
+
self.login = email
|
45
|
+
self.password = SecureRandom.hex(8)
|
46
|
+
self.password_confirmation = password
|
47
|
+
save
|
48
|
+
end
|
48
49
|
end
|
49
50
|
end
|
@@ -1,7 +1,6 @@
|
|
1
|
-
Deface::Override.new(:
|
2
|
-
:
|
3
|
-
:
|
4
|
-
:
|
5
|
-
:
|
6
|
-
:
|
7
|
-
|
1
|
+
Deface::Override.new(virtual_path: "spree/shared/_nav_bar",
|
2
|
+
name: "auth_shared_login_bar",
|
3
|
+
insert_before: "li#search-bar",
|
4
|
+
partial: "spree/shared/login_bar",
|
5
|
+
disabled: false,
|
6
|
+
original: 'c00d67dfc0496d21a351b48c41a728412cb5ed2c')
|
data/config.ru
CHANGED
@@ -29,7 +29,7 @@ Devise.setup do |config|
|
|
29
29
|
config.http_authenticatable = true
|
30
30
|
|
31
31
|
# Set this to true to use Basic Auth for AJAX requests. True by default.
|
32
|
-
#config.http_authenticatable_on_xhr = false
|
32
|
+
# config.http_authenticatable_on_xhr = false
|
33
33
|
|
34
34
|
# The realm used in Http Basic Authentication
|
35
35
|
config.http_authentication_realm = 'Spree Application'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Merges users orders to their account after sign in and sign up.
|
2
|
-
Warden::Manager.after_set_user except: :fetch do |user, auth,
|
2
|
+
Warden::Manager.after_set_user except: :fetch do |user, auth, _opts|
|
3
3
|
if auth.cookies.signed[:guest_token].present?
|
4
4
|
if user.is_a?(Spree::User)
|
5
5
|
Spree::Order.incomplete.where(guest_token: auth.cookies.signed[:guest_token], user_id: nil).each do |order|
|
@@ -9,6 +9,6 @@ Warden::Manager.after_set_user except: :fetch do |user, auth, opts|
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
Warden::Manager.before_logout do |
|
12
|
+
Warden::Manager.before_logout do |_user, auth, _opts|
|
13
13
|
auth.cookies.delete :guest_token
|
14
14
|
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
bg:
|
2
|
+
spree:
|
3
|
+
admin_login: "Админ вход"
|
4
|
+
change_your_password: "Промени своята парола"
|
5
|
+
devise:
|
6
|
+
confirmations:
|
7
|
+
confirmed: Вашият акаунт е потвърден. Вече сте вписан.
|
8
|
+
send_instructions: До няколко минути ще получите съобщение с обяснение как да потвърдите своя акаунт.
|
9
|
+
failure:
|
10
|
+
inactive: Вашият акаунт все още не е активен.
|
11
|
+
invalid: Грешен имейл или парола.
|
12
|
+
invalid_token: Невалиден token.
|
13
|
+
locked: Вашият акаунт е заключен.
|
14
|
+
timeout: 'Вашата сесия е изтекла, моля влезте отново.'
|
15
|
+
unauthenticated: За да продължите трябва да влезете в профила си.
|
16
|
+
unconfirmed: Трябва да потвърдите акаунта си преди да продължите.
|
17
|
+
mailer:
|
18
|
+
confirmation_instructions:
|
19
|
+
subject: Инструкции за потвърждаване
|
20
|
+
reset_password_instructions:
|
21
|
+
subject: Инструкции за смяна на паролата
|
22
|
+
unlock_instructions:
|
23
|
+
subject: Инструкции за отключване
|
24
|
+
oauth_callbacks:
|
25
|
+
failure: "Не можете да бъдете оторизиран от %{kind}, поради %{reason}."
|
26
|
+
success: "Влязохте успешно с вашият %{kind} профил."
|
27
|
+
unlocks:
|
28
|
+
send_instructions: До няколко минути ще получите имейл с инструкции как да отключите своя акаунт.
|
29
|
+
unlocked: Вашият акаунт бе отключен успешно. Вече сте вписани.
|
30
|
+
user_passwords:
|
31
|
+
spree_user:
|
32
|
+
cannot_be_blank: Вашата парола не може бъде празна.
|
33
|
+
no_token: Не можете да достъпите тази страница ако не влезете през мейла за забравена парола.
|
34
|
+
send_instructions: До няколко минути ще получите имейл с инструкции как да промените паролата си.
|
35
|
+
updated: Вашата парола бе променена успешко. Вече сте вписани.
|
36
|
+
user_registrations:
|
37
|
+
destroyed: Вашият акаунт бе отменен успешно. Надяваме се да Ви видим скоро.
|
38
|
+
inactive_signed_up: 'Вие се регистрирахте успешно, въпреки това не можете да се логнете в системата, поради %{reason}.'
|
39
|
+
signed_up: Вие се регистрирахте успешно.
|
40
|
+
updated: Успешно обновихте своя акаунт.
|
41
|
+
user_sessions:
|
42
|
+
signed_in: Успешно влизане
|
43
|
+
signed_out: Успешно излизане
|
44
|
+
already_signed_in: Вече сте влезли
|
45
|
+
already_signed_out: Вече сте излезли
|
46
|
+
errors:
|
47
|
+
messages:
|
48
|
+
already_confirmed: Вече бе потвърден
|
49
|
+
email_is_invalid: Email не може да бъде празен
|
50
|
+
not_found: Не е намерен
|
51
|
+
not_locked: Не е заключен
|
52
|
+
not_saved:
|
53
|
+
one: '1 грешка предотврати запазването на %{resource}:'
|
54
|
+
other: '%{count} грешки предотвратиха запазването на %{resource}:'
|
data/config/locales/de.yml
CHANGED
@@ -25,7 +25,7 @@ de:
|
|
25
25
|
unlocks:
|
26
26
|
send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Konto freizuschalten.
|
27
27
|
unlocked: Ihr Konto wurde erfolgreich freigeschaltet.
|
28
|
-
|
28
|
+
user_passwords:
|
29
29
|
spree_user:
|
30
30
|
cannot_be_blank: Ihr Passwort darf nicht leer sein.
|
31
31
|
send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Passwort zurücksetzen.
|
data/config/locales/en.yml
CHANGED
@@ -30,7 +30,7 @@ en:
|
|
30
30
|
unlocks:
|
31
31
|
send_instructions: You will receive an email with instructions about how to unlock your account in a few minutes.
|
32
32
|
unlocked: Your account was successfully unlocked. You are now signed in.
|
33
|
-
|
33
|
+
user_passwords:
|
34
34
|
spree_user:
|
35
35
|
cannot_be_blank: Your password cannot be blank.
|
36
36
|
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
data/config/locales/es.yml
CHANGED
@@ -25,7 +25,7 @@ es:
|
|
25
25
|
unlocks:
|
26
26
|
send_instructions: Recibirá un email con instrucciones acerca de cómo desbloquear su cuenta en pocos minutos.
|
27
27
|
unlocked: Su cuenta ha sido desbloqueada correctamente. Ahora está conectado.
|
28
|
-
|
28
|
+
user_passwords:
|
29
29
|
spree_user:
|
30
30
|
cannot_be_blank: La contraseña no puede estar en blanco.
|
31
31
|
send_instructions: Recibirá un email con instrucciones acerca de como restaurar su contraseña en pocos minutos.
|
data/config/locales/fr.yml
CHANGED
@@ -25,7 +25,7 @@ fr:
|
|
25
25
|
unlocks:
|
26
26
|
send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de déverrouiller votre compte.
|
27
27
|
unlocked: Votre compte a été déverrouillé. Vous êtes maintenant connecté(e).
|
28
|
-
|
28
|
+
user_passwords:
|
29
29
|
spree_user:
|
30
30
|
cannot_be_blank: Votre mot de passe ne peut pas être vide.
|
31
31
|
send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de réinitialiser votre mot de passe.
|