solidus_auth_devise 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_auth_devise might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +9 -0
- data/LICENSE.md +26 -0
- data/README.md +88 -0
- data/Rakefile +21 -0
- data/app/controllers/metal_decorator.rb +6 -0
- data/app/mailers/spree/user_mailer.rb +15 -0
- data/app/models/spree/auth_configuration.rb +7 -0
- data/app/models/spree/user.rb +50 -0
- data/app/overrides/auth_shared_login_bar.rb +7 -0
- data/app/overrides/spree/admin/shared/_header/auth_admin_login_navigation_bar.html.erb.deface +4 -0
- data/bin/rails +7 -0
- data/config/initializers/devise.rb +137 -0
- data/config/initializers/warden.rb +14 -0
- data/config/locales/de.yml +49 -0
- data/config/locales/en.yml +55 -0
- data/config/locales/es.yml +49 -0
- data/config/locales/fr.yml +49 -0
- data/config/locales/it.yml +76 -0
- data/config/locales/nl.yml +49 -0
- data/config/locales/pt-BR.yml +51 -0
- data/config/locales/tr.yml +49 -0
- data/config/routes.rb +48 -0
- data/db/default/users.rb +83 -0
- data/db/migrate/20101026184949_create_users.rb +29 -0
- data/db/migrate/20101026184950_rename_columns_for_devise.rb +37 -0
- data/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
- data/db/migrate/20120203010234_add_reset_password_sent_at_to_spree_users.rb +8 -0
- data/db/migrate/20120605211305_make_users_email_index_unique.rb +9 -0
- data/db/migrate/20140904000425_add_deleted_at_to_users.rb +6 -0
- data/db/migrate/20141002154641_add_confirmable_to_users.rb +7 -0
- data/db/seeds.rb +5 -0
- data/lib/assets/javascripts/spree/backend/solidus_auth.js +1 -0
- data/lib/assets/javascripts/spree/frontend/solidus_auth.js +1 -0
- data/lib/assets/stylesheets/spree/backend/solidus_auth.css +3 -0
- data/lib/assets/stylesheets/spree/frontend/solidus_auth.css +3 -0
- data/lib/controllers/backend/spree/admin/admin_controller_decorator.rb +26 -0
- data/lib/controllers/backend/spree/admin/admin_orders_controller_decorator.rb +20 -0
- data/lib/controllers/backend/spree/admin/admin_resource_controller_decorator.rb +3 -0
- data/lib/controllers/backend/spree/admin/orders/customer_details_controller_decorator.rb +15 -0
- data/lib/controllers/backend/spree/admin/user_passwords_controller.rb +45 -0
- data/lib/controllers/backend/spree/admin/user_sessions_controller.rb +47 -0
- data/lib/controllers/frontend/spree/checkout_controller_decorator.rb +47 -0
- data/lib/controllers/frontend/spree/user_confirmations_controller.rb +21 -0
- data/lib/controllers/frontend/spree/user_passwords_controller.rb +53 -0
- data/lib/controllers/frontend/spree/user_registrations_controller.rb +72 -0
- data/lib/controllers/frontend/spree/user_sessions_controller.rb +53 -0
- data/lib/controllers/frontend/spree/users_controller.rb +57 -0
- data/lib/generators/spree/auth/install/install_generator.rb +26 -0
- data/lib/generators/spree/auth/install/templates/config/initializers/devise.rb +1 -0
- data/lib/solidus/auth.rb +2 -0
- data/lib/solidus_auth_devise.rb +5 -0
- data/lib/spree/auth/devise.rb +20 -0
- data/lib/spree/auth/engine.rb +77 -0
- data/lib/spree/authentication_helpers.rb +26 -0
- data/lib/tasks/auth.rake +9 -0
- data/lib/views/backend/spree/admin/user_passwords/edit.html.erb +15 -0
- data/lib/views/backend/spree/admin/user_passwords/new.html.erb +17 -0
- data/lib/views/backend/spree/admin/user_sessions/authorization_failure.html.erb +4 -0
- data/lib/views/backend/spree/admin/user_sessions/new.html.erb +31 -0
- data/lib/views/backend/spree/layouts/admin/_login_nav.html.erb +13 -0
- data/lib/views/frontend/spree/checkout/registration.html.erb +22 -0
- data/lib/views/frontend/spree/shared/_flashes.html.erb +9 -0
- data/lib/views/frontend/spree/shared/_login.html.erb +18 -0
- data/lib/views/frontend/spree/shared/_login_bar.html.erb +6 -0
- data/lib/views/frontend/spree/shared/_user_form.html.erb +17 -0
- data/lib/views/frontend/spree/user_mailer/confirmation_instructions.text.erb +5 -0
- data/lib/views/frontend/spree/user_mailer/reset_password_instructions.text.erb +10 -0
- data/lib/views/frontend/spree/user_passwords/edit.html.erb +17 -0
- data/lib/views/frontend/spree/user_passwords/new.html.erb +17 -0
- data/lib/views/frontend/spree/user_registrations/new.html.erb +21 -0
- data/lib/views/frontend/spree/user_sessions/authorization_failure.html.erb +4 -0
- data/lib/views/frontend/spree/user_sessions/new.html.erb +13 -0
- data/lib/views/frontend/spree/users/edit.html.erb +14 -0
- data/lib/views/frontend/spree/users/show.html.erb +43 -0
- data/solidus_auth_devise.gemspec +42 -0
- data/spec/controllers/spree/admin/orders_controller_spec.rb +14 -0
- data/spec/controllers/spree/checkout_controller_spec.rb +141 -0
- data/spec/controllers/spree/products_controller_spec.rb +21 -0
- data/spec/controllers/spree/user_passwords_controller_spec.rb +44 -0
- data/spec/controllers/spree/user_registrations_controller_spec.rb +13 -0
- data/spec/controllers/spree/user_sessions_controller_spec.rb +56 -0
- data/spec/controllers/spree/users_controller_spec.rb +38 -0
- data/spec/factories/confirmed_user.rb +7 -0
- data/spec/features/account_spec.rb +58 -0
- data/spec/features/admin/orders_spec.rb +29 -0
- data/spec/features/admin/password_reset_spec.rb +24 -0
- data/spec/features/admin/payment_methods_spec.rb +16 -0
- data/spec/features/admin/products_spec.rb +9 -0
- data/spec/features/admin/sign_in_spec.rb +44 -0
- data/spec/features/admin/sign_out_spec.rb +22 -0
- data/spec/features/admin_permissions_spec.rb +46 -0
- data/spec/features/change_email_spec.rb +24 -0
- data/spec/features/checkout_spec.rb +165 -0
- data/spec/features/confirmation_spec.rb +28 -0
- data/spec/features/order_spec.rb +62 -0
- data/spec/features/password_reset_spec.rb +24 -0
- data/spec/features/sign_in_spec.rb +52 -0
- data/spec/features/sign_out_spec.rb +25 -0
- data/spec/features/sign_up_spec.rb +30 -0
- data/spec/mailers/user_mailer_spec.rb +46 -0
- data/spec/models/order_spec.rb +26 -0
- data/spec/models/user_spec.rb +58 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/support/ability.rb +15 -0
- data/spec/support/authentication_helpers.rb +14 -0
- data/spec/support/capybara.rb +7 -0
- data/spec/support/confirm_helpers.rb +11 -0
- data/spec/support/database_cleaner.rb +18 -0
- data/spec/support/email.rb +5 -0
- data/spec/support/factory_girl.rb +5 -0
- data/spec/support/spree.rb +26 -0
- metadata +452 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
de:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Ihr Konto wurde erfolgreich aktiviert.
|
6
|
+
send_instructions: 'In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen, um Ihr Konto zu aktivieren.'
|
7
|
+
failure:
|
8
|
+
inactive: Ihr Konto wurde noch nicht aktiviert.
|
9
|
+
invalid: Ungültige E-Mail-Adresse oder Passwort.
|
10
|
+
invalid_token: Ungültiger Authentifizierungsschlüssel.
|
11
|
+
locked: Ihr Konto ist gesperrt.
|
12
|
+
timeout: 'Ihre Sitzung ist abgelaufen. Bitte melden Sie sich erneut an, um fortzufahren.'
|
13
|
+
unauthenticated: 'Sie müssen sich anmelden oder registrieren, bevor Sie fortfahren.'
|
14
|
+
unconfirmed: 'Sie müssen Ihre Registrierung bestätigen, bevor Sie fortfahren.'
|
15
|
+
mailer:
|
16
|
+
confirmation_instructions:
|
17
|
+
subject: Bestätigen Sie Ihre Registrierung
|
18
|
+
reset_password_instructions:
|
19
|
+
subject: Passwort zurücksetzen
|
20
|
+
unlock_instructions:
|
21
|
+
subject: Konto freischalten
|
22
|
+
oauth_callbacks:
|
23
|
+
failure: 'Autorisierung durch %{kind} fehlgeschlagen aufgrund von %{reason}.'
|
24
|
+
success: 'Erfolgreich autorisiert durch %{kind} Konto.'
|
25
|
+
unlocks:
|
26
|
+
send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Konto freizuschalten.
|
27
|
+
unlocked: Ihr Konto wurde erfolgreich freigeschaltet.
|
28
|
+
user_passwords:
|
29
|
+
spree_user:
|
30
|
+
cannot_be_blank: Ihr Passwort darf nicht leer sein.
|
31
|
+
send_instructions: In ein paar Minuten erhalten Sie eine E-Mail mit Anweisungen um Ihr Passwort zurücksetzen.
|
32
|
+
updated: Ihr Passwort wurde erfolgreich geändert.
|
33
|
+
user_registrations:
|
34
|
+
destroyed: Ihr Konto wurde erfolgreich gelöscht. Auf Wiedersehen!
|
35
|
+
inactive_signed_up: 'Sie haben sich erfolgreich registriert. Wir konnten Sie jedoch nicht anmelden, da Ihr Konto %{reason} ist.'
|
36
|
+
signed_up: Herzlich Willkommen! Sie haben sich erfolgreich registriert.
|
37
|
+
updated: Sie haben Ihr Konto erfolgreich aktualisiert.
|
38
|
+
user_sessions:
|
39
|
+
signed_in: Erfolgreich angemeldet.
|
40
|
+
signed_out: Erfolgreich abgemeldet.
|
41
|
+
errors:
|
42
|
+
messages:
|
43
|
+
already_confirmed: wurde berreits bestätigt
|
44
|
+
email_is_invalid: E-Mail-Adresse darf nicht leer sein
|
45
|
+
not_found: nicht gefunden
|
46
|
+
not_locked: war nicht gesperrt
|
47
|
+
not_saved:
|
48
|
+
one: '1 Fehler verhindert das Speichern von %{resource}:'
|
49
|
+
other: '%{count} Fehler verhindern das Speichern von %{resource}:'
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
en:
|
3
|
+
spree:
|
4
|
+
admin_login: "Admin Login"
|
5
|
+
devise:
|
6
|
+
confirmations:
|
7
|
+
confirmed: Your account was successfully confirmed. You are now signed in.
|
8
|
+
send_instructions: You will receive an email with instructions about how to confirm your account in a few minutes.
|
9
|
+
failure:
|
10
|
+
inactive: Your account was not activated yet.
|
11
|
+
invalid: Invalid email or password.
|
12
|
+
invalid_token: Invalid authentication token.
|
13
|
+
locked: Your account is locked.
|
14
|
+
timeout: 'Your session expired, please sign in again to continue.'
|
15
|
+
unauthenticated: You need to sign in or sign up before continuing.
|
16
|
+
unconfirmed: You have to confirm your account before continuing.
|
17
|
+
mailer:
|
18
|
+
confirmation_instructions:
|
19
|
+
subject: Confirmation instructions
|
20
|
+
reset_password_instructions:
|
21
|
+
subject: Reset password instructions
|
22
|
+
unlock_instructions:
|
23
|
+
subject: Unlock Instructions
|
24
|
+
confirmation_instructions:
|
25
|
+
subject: Confirmation instructions
|
26
|
+
oauth_callbacks:
|
27
|
+
failure: 'Could not authorize you from %{kind} because %{reason}.'
|
28
|
+
success: 'Successfully authorized from %{kind} account.'
|
29
|
+
unlocks:
|
30
|
+
send_instructions: You will receive an email with instructions about how to unlock your account in a few minutes.
|
31
|
+
unlocked: Your account was successfully unlocked. You are now signed in.
|
32
|
+
user_passwords:
|
33
|
+
spree_user:
|
34
|
+
cannot_be_blank: Your password cannot be blank.
|
35
|
+
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."
|
36
|
+
send_instructions: You will receive an email with instructions about how to reset your password in a few minutes.
|
37
|
+
updated: Your password was changed successfully. You are now signed in.
|
38
|
+
user_registrations:
|
39
|
+
destroyed: Bye! Your account was successfully cancelled. We hope to see you again soon.
|
40
|
+
inactive_signed_up: 'You have signed up successfully. However, we could not sign you in because your account is %{reason}.'
|
41
|
+
signed_up: Welcome! You have signed up successfully.
|
42
|
+
updated: You updated your account successfully.
|
43
|
+
user_sessions:
|
44
|
+
signed_in: Signed in successfully.
|
45
|
+
signed_out: Signed out successfully.
|
46
|
+
already_signed_in: Already signed in.
|
47
|
+
errors:
|
48
|
+
messages:
|
49
|
+
already_confirmed: was already confirmed
|
50
|
+
email_is_invalid: Email address cannot be blank
|
51
|
+
not_found: not found
|
52
|
+
not_locked: was not locked
|
53
|
+
not_saved:
|
54
|
+
one: '1 error prohibited this %{resource} from being saved:'
|
55
|
+
other: '%{count} errors prohibited this %{resource} from being saved:'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
es:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Su cuenta ha sido confirmada. Ahora está conectado.
|
6
|
+
send_instructions: Recibirá un email con instrucciones acerca de como confirmar su cuenta en pocos minutos.
|
7
|
+
failure:
|
8
|
+
inactive: Su cuenta no ha sido activada aún.
|
9
|
+
invalid: Dirección de correo o contraseña no válidos.
|
10
|
+
invalid_token: Token de autenticación no válido.
|
11
|
+
locked: Su cuenta está bloqueada.
|
12
|
+
timeout: 'Su sesión ha expirado, por favor conéctese de nuevo para continuar.'
|
13
|
+
unauthenticated: Necesita conectarse o registrarse para continuar.
|
14
|
+
unconfirmed: Necesita confirmar su cuenta para continuar.
|
15
|
+
mailer:
|
16
|
+
confirmation_instructions:
|
17
|
+
subject: Instrucciones de confirmación
|
18
|
+
reset_password_instructions:
|
19
|
+
subject: Instrucciones para restablecer la contraseña
|
20
|
+
unlock_instructions:
|
21
|
+
subject: Instrucciones de desbloqueo
|
22
|
+
oauth_callbacks:
|
23
|
+
failure: 'No es posible autorizarle desde %{kind} porque %{reason}.'
|
24
|
+
success: 'Cuenta autorizada correctamente desde %{kind}.'
|
25
|
+
unlocks:
|
26
|
+
send_instructions: Recibirá un email con instrucciones acerca de cómo desbloquear su cuenta en pocos minutos.
|
27
|
+
unlocked: Su cuenta ha sido desbloqueada correctamente. Ahora está conectado.
|
28
|
+
user_passwords:
|
29
|
+
spree_user:
|
30
|
+
cannot_be_blank: La contraseña no puede estar en blanco.
|
31
|
+
send_instructions: Recibirá un email con instrucciones acerca de como restaurar su contraseña en pocos minutos.
|
32
|
+
updated: Su contraseña ha sido cambiada correctamente. Ahora está conectado.
|
33
|
+
user_registrations:
|
34
|
+
destroyed: Hasta luego! Su cuenta ha sido cancelada correctamente. Esperamos volver a verle pronto.
|
35
|
+
inactive_signed_up: 'Ha sido registrado correctamente. Sin embargo, no se puede acceder porque su cuenta está %{reason}.'
|
36
|
+
signed_up: Bienvenido! Ha sido registrado correctamente.
|
37
|
+
updated: Su cuenta ha sido actualizada correctamente .
|
38
|
+
user_sessions:
|
39
|
+
signed_in: Conectado correctamente.
|
40
|
+
signed_out: Desconectado correctamente.
|
41
|
+
errors:
|
42
|
+
messages:
|
43
|
+
already_confirmed: ya estaba confirmado
|
44
|
+
email_is_invalid: dirección de correo electrónico no puede estar en blanco
|
45
|
+
not_found: no encontrado
|
46
|
+
not_locked: no estaba bloqueado
|
47
|
+
not_saved:
|
48
|
+
one: '1 error impidió guardar este %{resource}:'
|
49
|
+
other: '%{count} errores impidieron guardar este %{resource}:'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
fr:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Votre compte a été confirmé. Vous êtes maintenant connecté(e).
|
6
|
+
send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de confirmer votre compte.
|
7
|
+
failure:
|
8
|
+
inactive: Votre compte n'a pas encore été activé.
|
9
|
+
invalid: Courriel ou mot de passe non valide.
|
10
|
+
invalid_token: Jeton d'authentification non valide.
|
11
|
+
locked: Votre compte est bloqué.
|
12
|
+
timeout: 'Votre session a expiré, merci de bien vouloir vous connecter à nouveau pour continuer.'
|
13
|
+
unauthenticated: Vous devez vous identifier ou vous inscrire avant de poursuivre.
|
14
|
+
unconfirmed: Vous devez confirmer votre compte avant de continuer.
|
15
|
+
mailer:
|
16
|
+
confirmation_instructions:
|
17
|
+
subject: Instructions de confirmation d'inscription
|
18
|
+
reset_password_instructions:
|
19
|
+
subject: Instructions pour réinitialiser votre mot de passe
|
20
|
+
unlock_instructions:
|
21
|
+
subject: Instructions pour déverrouiller votre compte
|
22
|
+
oauth_callbacks:
|
23
|
+
failure: 'Connexion impossible pour le compte %{kind} car %{reason}.'
|
24
|
+
success: 'Connexion avec succès pour le compte %{kind}.'
|
25
|
+
unlocks:
|
26
|
+
send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de déverrouiller votre compte.
|
27
|
+
unlocked: Votre compte a été déverrouillé. Vous êtes maintenant connecté(e).
|
28
|
+
user_passwords:
|
29
|
+
spree_user:
|
30
|
+
cannot_be_blank: Votre mot de passe ne peut pas être vide.
|
31
|
+
send_instructions: Vous recevrez dans quelques minutes un courriel avec les instructions sur la façon de réinitialiser votre mot de passe.
|
32
|
+
updated: Votre mot de passe a été changé avec succès. Vous êtes maintenant connecté(e).
|
33
|
+
user_registrations:
|
34
|
+
destroyed: Au revoir! Votre compte a été annulé. Nous espérons vous revoir bientôt.
|
35
|
+
inactive_signed_up: "Vous vous êtes inscrit(e) avec succès. Cependant, nous n'avons pu vous connecter car votre compte est %{reason}."
|
36
|
+
signed_up: Bienvenue! Vous vous êtes inscrit(e) avec succès.
|
37
|
+
updated: Vous avez mis à jour votre compte avec succès.
|
38
|
+
user_sessions:
|
39
|
+
signed_in: Connexion avec succès.
|
40
|
+
signed_out: Déconnexion avec succès.
|
41
|
+
errors:
|
42
|
+
messages:
|
43
|
+
already_confirmed: a déjà été confirmé
|
44
|
+
email_is_invalid: adresse e-mail ne peut pas être vide
|
45
|
+
not_found: "n'a pas été trouvé"
|
46
|
+
not_locked: "n'a pas été bloqué"
|
47
|
+
not_saved:
|
48
|
+
one: "1 erreur interdit cette %{ressource} d'être enregistrée :"
|
49
|
+
other: "%{count} erreurs interdisent cette %{resource} d'être enregistrée :"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
it:
|
2
|
+
spree:
|
3
|
+
admin:
|
4
|
+
tab:
|
5
|
+
users: Utenti
|
6
|
+
devise:
|
7
|
+
confirmations:
|
8
|
+
confirmed: Il tuo account è stato correttamente confermato. Ora sei collegato.
|
9
|
+
send_instructions: Riceverai un messaggio email con le istruzioni per confermare il tuo account entro qualche minuto.
|
10
|
+
send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email con le istruzioni per confermare il tuo account entro qualche minuto.
|
11
|
+
failure:
|
12
|
+
already_authenticated: Hai già effettuato l'accesso.
|
13
|
+
inactive: Il tuo account non è stato ancora attivato.
|
14
|
+
invalid: Indirizzo email o password non validi.
|
15
|
+
invalid_token: Token di autenticazione non valido.
|
16
|
+
last_attempt: Hai ancora un tentativo prima che l'account venga bloccato.
|
17
|
+
locked: Il tuo account è bloccato.
|
18
|
+
not_found_in_database: Email o password non validi.
|
19
|
+
timeout: Sessione scaduta, accedere nuovamente per continuare.
|
20
|
+
unauthenticated: Devi accedere o registrarti per continuare.
|
21
|
+
unconfirmed: Devi confermare il tuo account per continuare.
|
22
|
+
mailer:
|
23
|
+
confirmation_instructions:
|
24
|
+
subject: Istruzioni per la conferma
|
25
|
+
reset_password_instructions:
|
26
|
+
subject: Istruzioni per reimpostare la password
|
27
|
+
unlock_instructions:
|
28
|
+
subject: Istruzioni per sbloccare l'account
|
29
|
+
omniauth_callbacks:
|
30
|
+
failure: Non è stato possibile autorizzarti da %{kind} perché "%{reason}".
|
31
|
+
success: Autorizzato con successo dall'account %{kind}.
|
32
|
+
passwords:
|
33
|
+
no_token: Puoi accedere a questa pagina solamente dalla email di reset della password. Se vieni dalla email controlla di aver inserito l'url completo riportato nella email.
|
34
|
+
send_instructions: Riceverai un messaggio email con le istruzioni per reimpostare la tua password entro qualche minuto.
|
35
|
+
send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email contentente un link per il ripristino della password
|
36
|
+
updated: La tua password è stata cambiata. Ora sei collegato.
|
37
|
+
updated_not_active: La tua password è stata cambiata.
|
38
|
+
registrations:
|
39
|
+
destroyed: Arrivederci! L'account è stato cancellato. Speriamo di rivederci presto.
|
40
|
+
signed_up: Iscrizione eseguita correttamente. Se abilitata, una conferma è stata inviata al tuo indirizzo email.
|
41
|
+
signed_up_but_inactive: Iscrizione eseguita correttamente. Però non puoi accedere in quanto il tuo account non è ancora attivo.
|
42
|
+
signed_up_but_locked: Iscrizione eseguita correttamente. Però non puoi accedere in quanto il tuo account è bloccato.
|
43
|
+
signed_up_but_unconfirmed: Ti è stato inviato un messaggio con un link di conferma. Ti invitiamo a visitare il link per attivare il tuo account.
|
44
|
+
update_needs_confirmation: Il tuo account è stato aggiornato, ma dobbiamo verificare la tua email. Ti invitiamo a consultare la tua email e cliccare sul link di conferma.
|
45
|
+
updated: Il tuo account è stato aggiornato.
|
46
|
+
sessions:
|
47
|
+
signed_in: Accesso effettuato con successo.
|
48
|
+
signed_out: Sei uscito correttamente.
|
49
|
+
unlocks:
|
50
|
+
send_instructions: Riceverai un messaggio email con le istruzioni per sbloccare il tuo account entro qualche minuto.
|
51
|
+
send_paranoid_instructions: Se la tua e-mail esiste nel nostro database, riceverai un messaggio email con le istruzioni per sbloccare il tuo account entro qualche minuto.
|
52
|
+
unlocked: Il tuo account è stato correttamente sbloccato. Ora sei collegato.
|
53
|
+
user_passwords:
|
54
|
+
spree_user:
|
55
|
+
cannot_be_blank: La tua password non può essere vuota.
|
56
|
+
send_instructions: Riceverai un'email con le istruzioni per resettare la tua password entro qualche minuto.
|
57
|
+
updated: La tua password è stata cambiata con successo. Ora sei collegato.
|
58
|
+
user_registrations:
|
59
|
+
destroyed: Addio! Il tuo account è stato correttamente cancellato. Speriamo di rivederti presto.
|
60
|
+
inactive_signed_up: Ti sei collegato con successo. Tuttavia non possiamo collegarti perché il tuo account è %{reason}.
|
61
|
+
signed_up: Benvenuto! Ti sei collegato con successo.
|
62
|
+
updated: Hai aggiornato correttamente il tuo account.
|
63
|
+
user_sessions:
|
64
|
+
signed_in: Collegato con successo.
|
65
|
+
signed_out: Uscito correttamente.
|
66
|
+
errors:
|
67
|
+
messages:
|
68
|
+
email_is_invalid: L'indirizzo email non può essere vuoto
|
69
|
+
already_confirmed: è stato già confermato
|
70
|
+
confirmation_period_expired: deve essere confermato entro %{period}, richiedi una nuova conferma
|
71
|
+
expired: è scaduto, si prega di richiederne uno nuovo
|
72
|
+
not_found: non trovato
|
73
|
+
not_locked: non era bloccato
|
74
|
+
not_saved:
|
75
|
+
one: ! 'Non posso salvare questo %{resource}: 1 errore'
|
76
|
+
other: ! 'Non posso salvare questo %{resource}: %{count} errori.'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
nl:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Je account is succesvol bevestigd. Je bent nu ingelogd.
|
6
|
+
send_instructions: Binnen enkele minuten ontvang je een e-mail om je account te bevestigen.
|
7
|
+
failure:
|
8
|
+
inactive: Je account is nog niet geactiveerd.
|
9
|
+
invalid: E-mailadres of wachtwoord is onjuist.
|
10
|
+
invalid_token: Verkeerde authenticatie token.
|
11
|
+
locked: Je account is vergrendeld.
|
12
|
+
timeout: 'Je sessie is verlopen, log opnieuw in om verder te gaan.'
|
13
|
+
unauthenticated: Je moet een account aanmaken voordat je kan verder gaan.
|
14
|
+
unconfirmed: Je moet je account bevestigen voordat je kan verder gaan.
|
15
|
+
mailer:
|
16
|
+
confirmation_instructions:
|
17
|
+
subject: Bevestig je account
|
18
|
+
reset_password_instructions:
|
19
|
+
subject: Wijzig je wachtwoord
|
20
|
+
unlock_instructions:
|
21
|
+
subject: Ontgrendel je account
|
22
|
+
oauth_callbacks:
|
23
|
+
failure: 'We konden je niet autoriseren van %{kind} omdat %{reason}.'
|
24
|
+
success: 'Succesvol geautoriseerd van %{kind} account.'
|
25
|
+
unlocks:
|
26
|
+
send_instructions: Binnen enkele minuten ontvang je een e-mail om je account te ontgrendelen.
|
27
|
+
unlocked: Je account is succesvol ontgrendeld. Je bent nu ingelogd.
|
28
|
+
user_passwords:
|
29
|
+
spree_user:
|
30
|
+
cannot_be_blank: Je wachtwoord kan niet leeg zijn.
|
31
|
+
send_instructions: Binnen enkele minuten ontvang je een e-mail met instructies om je wachtwoord te resetten.
|
32
|
+
updated: Je wachtwoord is succesvol gewijzigd. Je bent nu ingelogd.
|
33
|
+
user_registrations:
|
34
|
+
destroyed: Tot ziens! Je account is succesvol opgezegd. We hopen je snel terug te zien.
|
35
|
+
inactive_signed_up: 'Je bent succesvol aangemeld. Maar we kunnen je niet inloggen omdat je account is %{reason}.'
|
36
|
+
signed_up: Welkom! Je bent succesvol aangemeld.
|
37
|
+
updated: Je account is succesvol aangepast.
|
38
|
+
user_sessions:
|
39
|
+
signed_in: Succesvol ingelogd.
|
40
|
+
signed_out: Succesvol uitgelogd.
|
41
|
+
errors:
|
42
|
+
messages:
|
43
|
+
already_confirmed: is al bevestigd
|
44
|
+
email_is_invalid: e-mail adres mag niet leeg zijn
|
45
|
+
not_found: niet gevonden
|
46
|
+
not_locked: is niet vergrendeld
|
47
|
+
not_saved:
|
48
|
+
one: '1 fout tijdens het opslaan van %{resource}'
|
49
|
+
other: '%{count} fouten tijdens het opslaan van %{resource}'
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
pt-BR:
|
3
|
+
spree:
|
4
|
+
admin_login: "Entrada do Administrador"
|
5
|
+
devise:
|
6
|
+
confirmations:
|
7
|
+
confirmed: Sua conta foi confirmada com sucesso. Agora você está conectado.
|
8
|
+
send_instructions: Você receberá um e-mail com instruções sobre como confirmar sua conta em poucos minutos.
|
9
|
+
failure:
|
10
|
+
inactive: Sua conta não foi ativada ainda.
|
11
|
+
invalid: Email ou senha inválida.
|
12
|
+
invalid_token: Token de autenticação inválido.
|
13
|
+
locked: Sua conta está bloqueada.
|
14
|
+
timeout: 'Sua sessão expirou, por favor entre novamente para continuar.'
|
15
|
+
unauthenticated: Você precisa conectar ou cadastrar-se antes de continuar.
|
16
|
+
unconfirmed: Voce tem que confirmar sua conta antes de continuar.
|
17
|
+
mailer:
|
18
|
+
confirmation_instructions:
|
19
|
+
subject: Instruções de confirmação
|
20
|
+
reset_password_instructions:
|
21
|
+
subject: Instruções de redefinição de senha
|
22
|
+
unlock_instructions:
|
23
|
+
subject: Instruções de desbloqueio
|
24
|
+
oauth_callbacks:
|
25
|
+
failure: '%{kind} não foi autorizada porque %{reason}.'
|
26
|
+
success: 'Conta %{kind} foi autorizada com sucesso.'
|
27
|
+
unlocks:
|
28
|
+
send_instructions: Você receberá um e-mail com instruções sobre como desbloquear sua conta em poucos minutos.
|
29
|
+
unlocked: Sua conta foi desbloqueada com sucesso. Agora você está conectado.
|
30
|
+
user_passwords:
|
31
|
+
spree_user:
|
32
|
+
cannot_be_blank: Sua senha não pode estar em branco.
|
33
|
+
send_instructions: Você receberá um e-mail com instruções sobre como redefinir sua senha em poucos minutos.
|
34
|
+
updated: Sua senha foi alterada com sucesso. Agora você está conectado.
|
35
|
+
user_registrations:
|
36
|
+
destroyed: Até logo! Sua conta foi cancelada com sucesso. Esperamos ver você em breve.
|
37
|
+
inactive_signed_up: 'Seu cadastro foi feito com sucesso. No entanto, não o conectamos porque sua conta está %{reason}.'
|
38
|
+
signed_up: Bem vindo! Seu cadastro foi feito com sucesso.
|
39
|
+
updated: Sua conta foi atualizada com sucesso.
|
40
|
+
user_sessions:
|
41
|
+
signed_in: Entrou com sucesso.
|
42
|
+
signed_out: Saiu com sucesso.
|
43
|
+
errors:
|
44
|
+
messages:
|
45
|
+
already_confirmed: já foi confirmado
|
46
|
+
email_is_invalid: E-mail não pode estar em branco
|
47
|
+
not_found: não encontrado
|
48
|
+
not_locked: não bloqueado
|
49
|
+
not_saved:
|
50
|
+
one: '1 erro não permitiu este %{resource} ser salvo:'
|
51
|
+
other: '%{count} erros não permitiram %{resource} ser salvo:'
|
@@ -0,0 +1,49 @@
|
|
1
|
+
---
|
2
|
+
tr:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Hesabınız başarıyla doğrulandı. Oturumunuz açıldı.
|
6
|
+
send_instructions: Birkaç dakika içinde hesabınızı nasıl doğrulayacağınızı anlatan bir e-posta alacaksınız.
|
7
|
+
failure:
|
8
|
+
inactive: Hesabınız henüz faal değil.
|
9
|
+
invalid: Geçersiz e-posta ya da şifre.
|
10
|
+
invalid_token: Geçersiz anahtar.
|
11
|
+
locked: Hesabınız kilitlendi.
|
12
|
+
timeout: 'Oturumunuzun süresi doldu, devam etmek için lütfen giriş yapın.'
|
13
|
+
unauthenticated: Devam etmek için üye olmalı ya da giriş yapmalısınız.
|
14
|
+
unconfirmed: Devam etmek için hesabınızı doğrulamalısınız.
|
15
|
+
mailer:
|
16
|
+
confirmation_instructions:
|
17
|
+
subject: Doğrulama Talimatları
|
18
|
+
reset_password_instructions:
|
19
|
+
subject: Şifre Sıfırlama Talimatları
|
20
|
+
unlock_instructions:
|
21
|
+
subject: Kilit Açma Talimatları
|
22
|
+
oauth_callbacks:
|
23
|
+
failure: 'Sizi %{kind} üzerinden %{reason} sebebiyle yetkilendiremedik.'
|
24
|
+
success: '%{kind} hesabından başarıyla yetkilendirildiniz.'
|
25
|
+
unlocks:
|
26
|
+
send_instructions: Birkaç dakika içinde hesabınızın kilidini nasıl açacağınızı anlatan bir e-posta alacaksınız.
|
27
|
+
unlocked: Hesabınızın kilidi başarıyla açıldı. Oturumunuz açıldı.
|
28
|
+
user_passwords:
|
29
|
+
spree_user:
|
30
|
+
cannot_be_blank: Boş parola giremezsiniz.
|
31
|
+
send_instructions: Birkaç dakika içinde şifrenizi nasıl yeniden ayarlayacağınızı anlatan bir e-posta alacaksınız.
|
32
|
+
updated: Şifreniz başarıyla değiştirildi. Oturumunuz açıldı.
|
33
|
+
user_registrations:
|
34
|
+
destroyed: Güle Güle! Hesabınız başarıyla iptal edildi. Sizi tekrar aramızda görmeyi umuyoruz.
|
35
|
+
inactive_signed_up: 'Başarıyla kayıt oldunuz. Ancak oturumunuzu %{reason} sebebiyle açamadık.'
|
36
|
+
signed_up: 'Hoşgeldiniz! Başarıyla kayıt oldunuz.'
|
37
|
+
updated: Hesabınız başarıyla güncellendi.
|
38
|
+
user_sessions:
|
39
|
+
signed_in: Giriş başarılı oldu.
|
40
|
+
signed_out: Çıkış başarılı oldu.
|
41
|
+
errors:
|
42
|
+
messages:
|
43
|
+
already_confirmed: zaten doğrulanmış
|
44
|
+
email_is_invalid: e-posta adresi boş olamaz
|
45
|
+
not_found: kayıt yok
|
46
|
+
not_locked: kilitli değil
|
47
|
+
not_saved:
|
48
|
+
one: '1 hata yüzünden %{resource} kaynağı kaydedilemedi:'
|
49
|
+
other: '%{count} sayıda hata yüzünden %{resource} kaynağı kaydedilemedi:'
|
data/config/routes.rb
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Spree::Core::Engine.add_routes do
|
2
|
+
devise_for :spree_user,
|
3
|
+
:class_name => 'Spree::User',
|
4
|
+
:controllers => { :sessions => 'spree/user_sessions',
|
5
|
+
:registrations => 'spree/user_registrations',
|
6
|
+
:passwords => 'spree/user_passwords',
|
7
|
+
:confirmations => 'spree/user_confirmations' },
|
8
|
+
:skip => [:unlocks, :omniauth_callbacks],
|
9
|
+
:path_names => { :sign_out => 'logout' },
|
10
|
+
:path_prefix => :user
|
11
|
+
|
12
|
+
resources :users, :only => [:edit, :update]
|
13
|
+
|
14
|
+
devise_scope :spree_user do
|
15
|
+
get '/login' => 'user_sessions#new', :as => :login
|
16
|
+
post '/login' => 'user_sessions#create', :as => :create_new_session
|
17
|
+
get '/logout' => 'user_sessions#destroy', :as => :logout
|
18
|
+
get '/signup' => 'user_registrations#new', :as => :signup
|
19
|
+
post '/signup' => 'user_registrations#create', :as => :registration
|
20
|
+
get '/password/recover' => 'user_passwords#new', :as => :recover_password
|
21
|
+
post '/password/recover' => 'user_passwords#create', :as => :reset_password
|
22
|
+
get '/password/change' => 'user_passwords#edit', :as => :edit_password
|
23
|
+
put '/password/change' => 'user_passwords#update', :as => :update_password
|
24
|
+
get '/confirm' => 'user_confirmations#show', :as => :confirmation if Spree::Auth::Config[:confirmable]
|
25
|
+
end
|
26
|
+
|
27
|
+
get '/checkout/registration' => 'checkout#registration', :as => :checkout_registration
|
28
|
+
put '/checkout/registration' => 'checkout#update_registration', :as => :update_checkout_registration
|
29
|
+
|
30
|
+
resource :account, :controller => 'users'
|
31
|
+
|
32
|
+
namespace :admin do
|
33
|
+
devise_for :spree_user,
|
34
|
+
:class_name => 'Spree::User',
|
35
|
+
:controllers => { :sessions => 'spree/admin/user_sessions',
|
36
|
+
:passwords => 'spree/admin/user_passwords' },
|
37
|
+
:skip => [:unlocks, :omniauth_callbacks, :registrations],
|
38
|
+
:path_names => { :sign_out => 'logout' },
|
39
|
+
:path_prefix => :user
|
40
|
+
devise_scope :spree_user do
|
41
|
+
get '/authorization_failure', :to => 'user_sessions#authorization_failure', :as => :unauthorized
|
42
|
+
get '/login' => 'user_sessions#new', :as => :login
|
43
|
+
post '/login' => 'user_sessions#create', :as => :create_new_session
|
44
|
+
get '/logout' => 'user_sessions#destroy', :as => :logout
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|