devise-tokens 1.0.0 → 1.0.1

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.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/devise_tokens/application_controller.rb +77 -0
  3. data/app/controllers/devise_tokens/concerns/resource_finder.rb +42 -0
  4. data/app/controllers/devise_tokens/concerns/set_user_by_token.rb +160 -0
  5. data/app/controllers/devise_tokens/confirmations_controller.rb +79 -0
  6. data/app/controllers/devise_tokens/omniauth_callbacks_controller.rb +284 -0
  7. data/app/controllers/devise_tokens/passwords_controller.rb +204 -0
  8. data/app/controllers/devise_tokens/registrations_controller.rb +203 -0
  9. data/app/controllers/devise_tokens/sessions_controller.rb +128 -0
  10. data/app/controllers/devise_tokens/token_validations_controller.rb +29 -0
  11. data/app/controllers/devise_tokens/unlocks_controller.rb +87 -0
  12. data/app/models/devise_token_auth/concerns/active_record_support.rb +16 -0
  13. data/app/models/devise_token_auth/concerns/mongoid_support.rb +19 -0
  14. data/app/models/devise_token_auth/concerns/tokens_serialization.rb +19 -0
  15. data/app/models/devise_token_auth/concerns/user.rb +253 -0
  16. data/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +28 -0
  17. data/app/validators/devise_token_auth_email_validator.rb +23 -0
  18. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  19. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  20. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  21. data/app/views/devise_token_auth/omniauth_external_window.html.erb +38 -0
  22. data/config/locales/da-DK.yml +52 -0
  23. data/config/locales/de.yml +51 -0
  24. data/config/locales/en.yml +57 -0
  25. data/config/locales/es.yml +51 -0
  26. data/config/locales/fr.yml +51 -0
  27. data/config/locales/he.yml +52 -0
  28. data/config/locales/it.yml +48 -0
  29. data/config/locales/ja.yml +48 -0
  30. data/config/locales/nl.yml +32 -0
  31. data/config/locales/pl.yml +50 -0
  32. data/config/locales/pt-BR.yml +48 -0
  33. data/config/locales/pt.yml +50 -0
  34. data/config/locales/ro.yml +48 -0
  35. data/config/locales/ru.yml +52 -0
  36. data/config/locales/sq.yml +48 -0
  37. data/config/locales/sv.yml +52 -0
  38. data/config/locales/uk.yml +61 -0
  39. data/config/locales/vi.yml +52 -0
  40. data/config/locales/zh-CN.yml +48 -0
  41. data/config/locales/zh-HK.yml +50 -0
  42. data/config/locales/zh-TW.yml +50 -0
  43. data/lib/devise_tokens.rb +14 -0
  44. data/lib/devise_tokens/blacklist.rb +2 -0
  45. data/lib/devise_tokens/controllers/helpers.rb +161 -0
  46. data/lib/devise_tokens/controllers/url_helpers.rb +10 -0
  47. data/lib/devise_tokens/engine.rb +92 -0
  48. data/lib/devise_tokens/errors.rb +6 -0
  49. data/lib/devise_tokens/rails/routes.rb +116 -0
  50. data/lib/devise_tokens/token_factory.rb +126 -0
  51. data/lib/devise_tokens/url.rb +39 -0
  52. data/lib/devise_tokens/version.rb +3 -0
  53. data/lib/generators/devise_tokens/USAGE +31 -0
  54. data/lib/generators/devise_tokens/install_generator.rb +91 -0
  55. data/lib/generators/devise_tokens/install_generator_helpers.rb +98 -0
  56. data/lib/generators/devise_tokens/install_mongoid_generator.rb +46 -0
  57. data/lib/generators/devise_tokens/install_views_generator.rb +18 -0
  58. data/lib/generators/devise_tokens/templates/devise_tokens.rb +55 -0
  59. data/lib/generators/devise_tokens/templates/devise_tokens_create_users.rb.erb +49 -0
  60. data/lib/generators/devise_tokens/templates/user.rb.erb +9 -0
  61. data/lib/generators/devise_tokens/templates/user_mongoid.rb.erb +56 -0
  62. data/lib/tasks/devise_tokens_tasks.rake +6 -0
  63. metadata +208 -4
  64. data/lib/devise-tokens.rb +0 -5
@@ -0,0 +1,23 @@
1
+
2
+
3
+ class DeviseTokensEmailValidator < ActiveModel::EachValidator
4
+ def validate_each(record, attribute, value)
5
+ unless value =~ /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
6
+ record.errors[attribute] << email_invalid_message
7
+ end
8
+ end
9
+
10
+ private
11
+
12
+ def email_invalid_message
13
+ # Try strictly set message:
14
+ message = options[:message]
15
+
16
+ if message.nil?
17
+ # Try DeviceTokenAuth translations or fallback to ActiveModel translations
18
+ message = I18n.t(:'errors.messages.not_email', default: :'errors.messages.invalid')
19
+ end
20
+
21
+ message
22
+ end
23
+ end
@@ -0,0 +1,5 @@
1
+ <p><%= t(:welcome).capitalize + ' ' + @email %>!</p>
2
+
3
+ <p><%= t '.confirm_link_msg' %> </p>
4
+
5
+ <p><%= link_to t('.confirm_account_link'), confirmation_url(@resource, {confirmation_token: @token, config: message['client-config'].to_s, redirect_url: message['redirect-url']}).html_safe %></p>
@@ -0,0 +1,8 @@
1
+ <p><%= t(:hello).capitalize %> <%= @resource.email %>!</p>
2
+
3
+ <p><%= t '.request_reset_link_msg' %></p>
4
+
5
+ <p><%= link_to t('.password_change_link'), edit_password_url(@resource, reset_password_token: @token, config: message['client-config'].to_s, redirect_url: message['redirect-url'].to_s).html_safe %></p>
6
+
7
+ <p><%= t '.ignore_mail_msg' %></p>
8
+ <p><%= t '.no_changes_msg' %></p>
@@ -0,0 +1,7 @@
1
+ <p><%= t :hello %> <%= @resource.email %>!</p>
2
+
3
+ <p><%= t '.account_lock_msg' %></p>
4
+
5
+ <p><%= t '.unlock_link_msg' %></p>
6
+
7
+ <p><%= link_to t('.unlock_link'), unlock_url(@resource, unlock_token: @token, config: message['client-config'].to_s) %></p>
@@ -0,0 +1,38 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <script>
5
+ /*
6
+ The data is accessible in two ways:
7
+
8
+ 1. Using the postMessage api, this window will respond to a
9
+ 'message' event with a post of all the data. (This can
10
+ be used by browsers other than IE if this window was
11
+ opened with window.open())
12
+ 2. This window has a function called requestCredentials which,
13
+ when called, will return the data. (This can be
14
+ used if this window was opened in an inAppBrowser using
15
+ Cordova / PhoneGap)
16
+ */
17
+
18
+ var data = JSON.parse(decodeURIComponent('<%= URI::escape( @data.to_json ) %>'));
19
+
20
+ window.addEventListener("message", function(ev) {
21
+ if (ev.data === "requestCredentials") {
22
+ ev.source.postMessage(data, '*');
23
+ window.close();
24
+ }
25
+ });
26
+ function requestCredentials() {
27
+ return data;
28
+ }
29
+ setTimeout(function() {
30
+ document.getElementById('text').innerHTML = (data && data.error) || 'Redirecting...';
31
+ }, 1000);
32
+ </script>
33
+ </head>
34
+ <body>
35
+ <pre id="text">
36
+ </pre>
37
+ </body>
38
+ </html>
@@ -0,0 +1,52 @@
1
+ da-DK:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "Der er sendt en bekræftelsesemail til din konto på '%{email}'. Følg venligst instruktionerne i emailen for at aktivere din konto."
5
+ bad_credentials: "Ugyldig kombination af brugernavn og kodeord. Prøv venligst igen."
6
+ not_supported: "Brug POST /sign_in for at logge ind. GET er ikke supporteret."
7
+ user_not_found: "Brugeren er ikke fundet eller er ikke logget ind."
8
+ token_validations:
9
+ invalid: "Ugyldige legitimationsoplysninger."
10
+ registrations:
11
+ missing_confirm_success_url: "Der mangler et 'confirm_success_url' parameter."
12
+ redirect_url_not_allowed: "Omdirigering til '%{redirect_url}' er ikke tilladt."
13
+ email_already_exists: "Der eksisterer allerede en konto med '%{email}'"
14
+ account_with_uid_destroyed: "Kontoen med UID '%{uid}' er slettet."
15
+ account_to_destroy_not_found: "Kan ikke finde kontoen som skal slettes."
16
+ user_not_found: "Brugeren ikke fundet."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Omdirigering til '%{redirect_url}' er ikke tilladt."
19
+ passwords:
20
+ missing_email: "Du skal udfylde email feltet."
21
+ missing_redirect_url: "Der er ingen omdirigeringsadresse."
22
+ redirect_url_not_allowed: "Omdirigering til '%{redirect_url}' er ikke tilladt."
23
+ sended: "En email er blevet sendt til '%{email}' med instruktioner for at nulstille dit kodeord."
24
+ user_not_found: "Kan ikke finde en bruger med '%{email}'."
25
+ password_not_required: "Denne bruger kræver ikke et kodeord. Log ind med '%{provider}' konto i stedet."
26
+ missing_passwords: "Du skal udfylde både kodeord og bekræftelse af kodeord."
27
+ successfully_updated: "Dit kodeord er opdateret."
28
+ unlocks:
29
+ missing_email: "Du skal udfylde en email."
30
+ sended: "En email er blevet sendt til '%{email}', som indeholder instruktioner for at låse kontoen op."
31
+ user_not_found: "Kan ikke finde en bruger med email '%{email}'."
32
+ errors:
33
+ messages:
34
+ validate_sign_up_params: "Angiv venligst passende registeringsdata i request body."
35
+ validate_account_update_params: "Angiv venligst en passende konto opdatering i request body."
36
+ not_email: "er ikke en email"
37
+ devise:
38
+ mailer:
39
+ confirmation_instructions:
40
+ confirm_link_msg: "Du kan bekræfte din kontos email gennem linket herunder:"
41
+ confirm_account_link: "Bekræft min konto"
42
+ reset_password_instructions:
43
+ request_reset_link_msg: "Nogen har anmodet om et link til at ændre dit kodeord. Det kan du gøre via linket nedenfor."
44
+ password_change_link: "Skift mit kodeord."
45
+ ignore_mail_msg: "Hvis du ikke anmodede om dette, ignorer venligst denne email."
46
+ no_changes_msg: "Dit kodeord ændres først når du følger linket ovenfor og skaber et nyt."
47
+ unlock_instructions:
48
+ account_lock_msg: "Din konto er blevet låst fordi der har været for mange ugyldige log ind-forsøg."
49
+ unlock_link_msg: "Klik linket nedenfor, for at låse din konto op:"
50
+ unlock_link: "Lås min konto op"
51
+ hello: "hej"
52
+ welcome: "velkommen"
@@ -0,0 +1,51 @@
1
+ de:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "Eine Bestätigungs-E-Mail wurde an Ihre Adresse '%{email}' gesendet. Sie müssen der Anleitung in der E-Mail folgen, um Ihren Account zu aktivieren."
5
+ bad_credentials: "Ungültige Anmeldeinformationen. Bitte versuchen Sie es erneut."
6
+ not_supported: "Verwenden Sie POST /sign_in zur Anmeldung. GET wird nicht unterstützt."
7
+ user_not_found: "Benutzer wurde nicht gefunden oder konnte nicht angemeldet werden."
8
+ token_validations:
9
+ invalid: "Ungültige Anmeldeinformationen"
10
+ registrations:
11
+ missing_confirm_success_url: "Fehlender Paramter 'confirm_success_url'."
12
+ redirect_url_not_allowed: "Weiterleitung zu '%{redirect_url}' ist nicht gestattet."
13
+ email_already_exists: "Es gibt bereits einen Account für '%{email}'."
14
+ account_with_uid_destroyed: "Account mit der uid '%{uid}' wurde gelöscht."
15
+ account_to_destroy_not_found: "Der zu löschende Account kann nicht gefunden werden."
16
+ user_not_found: "Benutzer kann nicht gefunden werden."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Weiterleitung zu '%{redirect_url}' ist nicht gestattet."
19
+ passwords:
20
+ missing_email: "Sie müssen eine E-Mail-Adresse angeben."
21
+ missing_redirect_url: "Es fehlt die URL zu Weiterleitung."
22
+ not_allowed_redirect_url: "Weiterleitung zu '%{redirect_url}' ist nicht gestattet."
23
+ sended: "Ein E-Mail mit der Anleitung zum Zurücksetzen Ihres Passwortes wurde an '%{email}' gesendet."
24
+ user_not_found: "Der Benutzer mit der E-Mail-Adresse '%{email}' kann nicht gefunden werden."
25
+ password_not_required: "Dieser Account benötigt kein Passwort. Melden Sie sich stattdessen über Ihren Account bei '%{provider}' an."
26
+ missing_passwords: "Sie müssen die Felder 'Passwort' und 'Passwortbestätigung' ausfüllen."
27
+ successfully_updated: "Ihr Passwort wurde erfolgreich aktualisiert."
28
+ errors:
29
+ messages:
30
+ validate_sign_up_params: "Bitte übermitteln sie vollständige Anmeldeinformationen im Body des Requests."
31
+ validate_account_update_params: "Bitte übermitteln sie vollständige Informationen zur Aktualisierung im Body des Requests."
32
+ not_email: "ist keine E-Mail-Adresse"
33
+ devise:
34
+ mailer:
35
+ confirmation_instructions:
36
+ subject: "Bestätigung Ihres Kontos"
37
+ confirm_link_msg: "Sie können Ihr Konto über den untenstehenden Link bestätigen:"
38
+ confirm_account_link: "Konto bestätigen"
39
+ reset_password_instructions:
40
+ subject: "Passwort zurücksetzen"
41
+ request_reset_link_msg: "Jemand hat einen Link zur Änderungen Ihres Passwortes angefordert. Sie können dies durch den folgenden Link tun:"
42
+ password_change_link: "Passwort ändern"
43
+ ignore_mail_msg: "Wenn Sie keine Änderung Ihres Passwortes angefordert haben, ignorieren Sie bitte diese E-Mail:"
44
+ no_changes_msg: "Ihr Passwort wird nicht geändert, bis Sie auf den obigen Link zugreifen und eine neues Passwort erstellen."
45
+ unlock_instructions:
46
+ subject: "Anweisungen zum Entsperren Ihres Kontos"
47
+ account_lock_msg: "Ihr Konto wurde aufgrund einer übermäßigen Anzahl von erfolglosen Anmeldeversuchen gesperrt."
48
+ unlock_link_msg: "Klicken Sie auf den Link unten, um Ihr Konto zu entsperren:"
49
+ unlock_link: "Entsperren Sie Ihr Konto"
50
+ hello: "hallo"
51
+ welcome: "willkommen"
@@ -0,0 +1,57 @@
1
+ en:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "A confirmation email was sent to your account at '%{email}'. You must follow the instructions in the email before your account can be activated"
5
+ bad_credentials: "Invalid login credentials. Please try again."
6
+ not_supported: "Use POST /sign_in to sign in. GET is not supported."
7
+ user_not_found: "User was not found or was not logged in."
8
+ token_validations:
9
+ invalid: "Invalid login credentials"
10
+ registrations:
11
+ missing_confirm_success_url: "Missing 'confirm_success_url' parameter."
12
+ redirect_url_not_allowed: "Redirect to '%{redirect_url}' not allowed."
13
+ email_already_exists: "An account already exists for '%{email}'"
14
+ account_with_uid_destroyed: "Account with UID '%{uid}' has been destroyed."
15
+ account_to_destroy_not_found: "Unable to locate account for destruction."
16
+ user_not_found: "User not found."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Redirect to '%{redirect_url}' not allowed."
19
+ passwords:
20
+ missing_email: "You must provide an email address."
21
+ missing_redirect_url: "Missing redirect URL."
22
+ not_allowed_redirect_url: "Redirect to '%{redirect_url}' not allowed."
23
+ sended: "An email has been sent to '%{email}' containing instructions for resetting your password."
24
+ user_not_found: "Unable to find user with email '%{email}'."
25
+ password_not_required: "This account does not require a password. Sign in using your '%{provider}' account instead."
26
+ missing_passwords: "You must fill out the fields labeled 'Password' and 'Password confirmation'."
27
+ successfully_updated: "Your password has been successfully updated."
28
+ unlocks:
29
+ missing_email: "You must provide an email address."
30
+ sended: "An email has been sent to '%{email}' containing instructions for unlocking your account."
31
+ user_not_found: "Unable to find user with email '%{email}'."
32
+ confirmations:
33
+ sended: "An email has been sent to '%{email}' containing instructions for confirming your account."
34
+ user_not_found: "Unable to find user with email '%{email}'."
35
+ missing_email: "You must provide an email address."
36
+
37
+ errors:
38
+ messages:
39
+ validate_sign_up_params: "Please submit proper sign up data in request body."
40
+ validate_account_update_params: "Please submit proper account update data in request body."
41
+ not_email: "is not an email"
42
+ devise:
43
+ mailer:
44
+ confirmation_instructions:
45
+ confirm_link_msg: "You can confirm your account email through the link below:"
46
+ confirm_account_link: "Confirm my account"
47
+ reset_password_instructions:
48
+ request_reset_link_msg: "Someone has requested a link to change your password. You can do this through the link below."
49
+ password_change_link: "Change my password"
50
+ ignore_mail_msg: "If you didn't request this, please ignore this email."
51
+ no_changes_msg: "Your password won't change until you access the link above and create a new one."
52
+ unlock_instructions:
53
+ account_lock_msg: "Your account has been locked due to an excessive number of unsuccessful sign in attempts."
54
+ unlock_link_msg: "Click the link below to unlock your account:"
55
+ unlock_link: "Unlock my account"
56
+ hello: "hello"
57
+ welcome: "welcome"
@@ -0,0 +1,51 @@
1
+ es:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "Un correo electrónico de confirmación de su cuenta ha sido enviado a '%{email}'. Por favor, siga las instrucciones para validar su cuenta"
5
+ bad_credentials: "Identidad o contraseña no válida."
6
+ not_supported: "Use POST /sign_in para la conexión. GET no esta disponible."
7
+ user_not_found: "Usuario desconocido o no está conectado."
8
+ token_validations:
9
+ invalid: "Identidad o contraseña no válida."
10
+ registrations:
11
+ missing_confirm_success_url: "El parámetro 'confirm_success_url' no esta presente."
12
+ redirect_url_not_allowed: "Redirección hacia '%{redirect_url}' no esta permitida."
13
+ email_already_exists: "Una cuenta ya existe con este correo electrónico '%{email}'"
14
+ account_with_uid_destroyed: "La cuenta con el identificador '%{uid}' se ha eliminado."
15
+ account_to_destroy_not_found: "No se puede encontrar la cuenta a borrar."
16
+ user_not_found: "Usuario no encontrado."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Redirección hacia '%{redirect_url}' no esta permitida."
19
+ passwords:
20
+ missing_email: "Debe incluir un correo electrónico."
21
+ missing_redirect_url: "Falta el Url de redirección."
22
+ not_allowed_redirect_url: "Redirección hacia '%{redirect_url}' no esta permitida."
23
+ sended: "Un correo electrónico ha sido enviado a '%{email}' con las instrucciones para restablecer su contraseña."
24
+ user_not_found: "No se pudo encontrar un usuario con este correo electrónico '%{email}'."
25
+ password_not_required: "Esta cuenta no requiere contraseña. Iniciar sesión utilizando '%{provider}'."
26
+ missing_passwords: "Debe llenar los campos 'Contraseña' y 'Confirmación de contraseña'."
27
+ successfully_updated: "Su contraseña ha sido actualizada con éxito."
28
+ errors:
29
+ messages:
30
+ validate_sign_up_params: "Los datos introducidos en la solicitud de acceso no son válidos."
31
+ validate_account_update_params: "Los datos introducidos en la solicitud de actualización no son válidos."
32
+ not_email: "no es un correo electrónico"
33
+ devise:
34
+ mailer:
35
+ confirmation_instructions:
36
+ subject: "Instrucciones de confirmación"
37
+ confirm_link_msg: "Para confirmar su cuenta ingrese en el siguiente link:"
38
+ confirm_account_link: "Confirmar cuenta"
39
+ reset_password_instructions:
40
+ subject: "Instrucciones para restablecer su contraseña"
41
+ request_reset_link_msg: "Ha solicitado un cambio de contraseña. Para continuar ingrese en el siguiente link:"
42
+ password_change_link: "Cambiar contraseña"
43
+ ignore_mail_msg: "Por favor ignore este mensaje si no ha solicitado esta acción."
44
+ no_changes_msg: "Importante: Su contraseña no será actualizada a menos que ingrese en el link."
45
+ unlock_instructions:
46
+ subject: "Instrucciones de desbloqueo"
47
+ account_lock_msg: "Su cuenta ha sido bloqueada debido a sucesivos intentos de ingresos fallidos"
48
+ unlock_link_msg: "Para desbloquear su cuenta ingrese en el siguiente link:"
49
+ unlock_link: "Desbloquear cuenta"
50
+ hello: "hola"
51
+ welcome: "bienvenido"
@@ -0,0 +1,51 @@
1
+ fr:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "Un e-mail de confirmation de votre compte a été envoyé à '%{email}'. Merci de suivre les instructions afin de valider votre compte"
5
+ bad_credentials: "Mot de passe ou identifiant invalide."
6
+ not_supported: "Utilisez POST /sign_in pour la connexion. GET n'est pas supporté."
7
+ user_not_found: "L'utilisateur est inconnu ou n'est pas connecté."
8
+ token_validations:
9
+ invalid: "Mot de passe ou identifiant invalide."
10
+ registrations:
11
+ missing_confirm_success_url: "Le paramètre 'confirm_success_url' est manquant."
12
+ redirect_url_not_allowed: "Redirection vers '%{redirect_url}' n'est pas autorisée."
13
+ email_already_exists: "Un compte existe déjà avec l'adresse e-mail suivante '%{email}'"
14
+ account_with_uid_destroyed: "Le compte avec l'identifiant '%{uid}' a été supprimé."
15
+ account_to_destroy_not_found: "Le compte à supprimer est introuvable."
16
+ user_not_found: "Utilisateur introuvable."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Redirection vers '%{redirect_url}' n'est pas autorisée."
19
+ passwords:
20
+ missing_email: "Vous devez soumettre un e-mail."
21
+ missing_redirect_url: "URL de redirection manquante."
22
+ not_allowed_redirect_url: "Redirection vers '%{redirect_url}' n'est pas autorisée."
23
+ sended: "Un e-mail a été envoyé à '%{email}' avec les instructions de réinitialisation du mot de passe."
24
+ user_not_found: "Impossible de trouver l'utilisateur avec l'adresse e-mail suivante '%{email}'."
25
+ password_not_required: "Ce compte ne demande pas de mot de passe. Connectez vous en utilisant '%{provider}'."
26
+ missing_passwords: "Vous devez remplir les champs 'Mot de passe' et 'Confirmation de mot de passe'."
27
+ successfully_updated: "Votre mot de passe a été correctement mis à jour."
28
+ errors:
29
+ messages:
30
+ validate_sign_up_params: "Les données d'inscription dans le corps de la requête ne sont pas valides."
31
+ validate_account_update_params: "Les données de mise à jour dans le corps de la requête ne sont pas valides."
32
+ not_email: "n'est pas une adresse e-mail"
33
+ devise:
34
+ mailer:
35
+ confirmation_instructions:
36
+ subject: "Instructions de confirmation"
37
+ confirm_link_msg: "Vous pouvez confirmer votre compte e-mail via le lien ci-dessous :"
38
+ confirm_account_link: "Confirmer mon compte"
39
+ reset_password_instructions:
40
+ subject: "Instructions de récupération de mot de passe"
41
+ request_reset_link_msg: "Quelqu'un a demandé un lien pour changer votre mot de passe. Pour procéder ainsi, suivez le lien ci-dessous."
42
+ password_change_link: "Changer mon mot de passe"
43
+ ignore_mail_msg: "Si vous n'avez pas demandé cela, veuillez ignorer cet e-mail."
44
+ no_changes_msg: "Votre mot de passe ne changera pas tant que vous n'accédez pas au lien ci-dessus pour en créer un nouveau."
45
+ unlock_instructions:
46
+ subject: "Instructions de déblocage"
47
+ account_lock_msg: "Votre compte a été bloqué en raison de nombreuses tentatives de connexion erronées."
48
+ unlock_link_msg: "Cliquez sur le lien ci-dessous pour déverrouiller votre compte:"
49
+ unlock_link: "Déverrouiller mon compte"
50
+ hello: "bonjour"
51
+ welcome: "bienvenue"
@@ -0,0 +1,52 @@
1
+ he:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "הודעת אישור נשלחה לחשבון שלך בכתובת '%{email}'. עליך לפעול לפי ההנחיות שבדוא\"ל לפני הפעלת החשבון שלך"
5
+ bad_credentials: "נתוני כניסה שגויים. בבקשה נסה שוב."
6
+ not_supported: "השתמש ב- POST / sign_in כדי להיכנס. GET אינו נתמך."
7
+ user_not_found: "המשתמש לא נמצא או לא היה מחובר."
8
+ token_validations:
9
+ invalid: "נתוני כניסה שגויים"
10
+ registrations:
11
+ missing_confirm_success_url: "חסר פרמטר 'confirm_success_url'."
12
+ redirect_url_not_allowed: "הפניה אל '%{redirect_url}' אינה מותרת."
13
+ email_already_exists: "כבר קיים חשבון עבור '%{email}'"
14
+ account_with_uid_destroyed: "חשבון עם UID '%{uid}' הושמד."
15
+ account_to_destroy_not_found: "לא ניתן לאתר חשבון להשמדה."
16
+ user_not_found: "המשתמש לא נמצא."
17
+ omniauth:
18
+ not_allowed_redirect_url: "הפניה אל '%{redirect_url}' אינה מותרת."
19
+ passwords:
20
+ missing_email: "עליך לספק כתובת דוא\"ל."
21
+ missing_redirect_url: "כתובת אתר להפניה מחדש חסרה."
22
+ not_allowed_redirect_url: "הפניה אל '%{redirect_url}' אינה מותרת."
23
+ sended: "אימייל נשלח ל '%{email}' המכיל הוראות לאיפוס הסיסמה שלך."
24
+ user_not_found: "לא ניתן למצוא משתמש עם הדוא\"ל '%{email}'."
25
+ password_not_required: "חשבון זה אינו דורש סיסמה. במקום זאת, השתמש בחשבון '%{provider}' שלך."
26
+ missing_passwords: "עליך למלא את השדות 'סיסמה' ו'אישור סיסמה'."
27
+ successfully_updated: "הסיסמה שלך עודכנה בהצלחה."
28
+ unlocks:
29
+ missing_email: "עליך לספק כתובת דוא\"ל."
30
+ sended: "הודעת אימייל נשלחה אל '%{email}' המכילה הוראות לביטול הנעילה של חשבונך."
31
+ user_not_found: "ניתן למצוא את המשתמש עם הדוא\"ל '%{email}'"
32
+ errors:
33
+ messages:
34
+ validate_sign_up_params: "שלח נתוני רישום תקינים בגוף הבקשה."
35
+ validate_account_update_params: "שלחו בבקשה נתוני עדכון חשבון תקינים בגוף הבקשה."
36
+ not_email: "אינו דוא\"ל"
37
+ devise:
38
+ mailer:
39
+ confirmation_instructions:
40
+ confirm_link_msg: "תוכל לאשר את כתובת הדוא\"ל של החשבון שלך באמצעות הקישור הבא:"
41
+ confirm_account_link: "אשר את החשבון שלי"
42
+ reset_password_instructions:
43
+ request_reset_link_msg: "מישהו ביקש קישור לשינוי הסיסמה שלך. תוכל לעשות זאת באמצעות הקישור הבא."
44
+ password_change_link: "שנה את הסיסמה שלי"
45
+ ignore_mail_msg: "אם לא ביקשת זאת, התעלם מדוא\"ל זה."
46
+ no_changes_msg: "הסיסמה שלך לא תשתנה עד שתגיע לקישור שלמעלה ותיצור סיסמה חדשה."
47
+ unlock_instructions:
48
+ account_lock_msg: "החשבון שלך ננעל עקב מספר מופרז של ניסיונות כניסה לא מוצלחים."
49
+ unlock_link_msg: "לחץ על הקישור למטה כדי לבטל את נעילת החשבון שלך:"
50
+ unlock_link: "בטל את הנעילה של החשבון שלי"
51
+ hello: "שלום"
52
+ welcome: "ברוך הבא"
@@ -0,0 +1,48 @@
1
+ it:
2
+ devise_tokens:
3
+ sessions:
4
+ not_confirmed: "Un'email di conferma è stata mandata al tuo account '%{email}'. Segui le istruzioni nell'email per attivare il tuo account."
5
+ bad_credentials: "Credenziali di login non valide. Riprova."
6
+ not_supported: "Usa POST /sign_in per eseguire il login. GET non è supportato."
7
+ user_not_found: "Utente non trovato o non autenticato."
8
+ token_validations:
9
+ invalid: "Credenziali di login non valide"
10
+ registrations:
11
+ missing_confirm_success_url: "Parametro 'confirm_success_url' mancante."
12
+ redirect_url_not_allowed: "Redirezione a '%{redirect_url}' non consentita."
13
+ email_already_exists: "Esiste già un account per '%{email}'"
14
+ account_with_uid_destroyed: "L'account con UID '%{uid}' è stato eliminato."
15
+ account_to_destroy_not_found: "Impossibile trovare l'account da eliminare."
16
+ user_not_found: "Utente non trovato."
17
+ omniauth:
18
+ not_allowed_redirect_url: "Redirezione a '%{redirect_url}' non consentita."
19
+ passwords:
20
+ missing_email: "Devi fornire un indirizzo email."
21
+ missing_redirect_url: "Redirect URL mancante."
22
+ not_allowed_redirect_url: "Redirezione a '%{redirect_url}' non consentita."
23
+ sended: "E' stata inviata un'email a '%{email}' contenente le istruzioni per reimpostare la password."
24
+ user_not_found: "Impossibile trovare un utente con email '%{email}'."
25
+ password_not_required: "Questo account non richiede una password. Accedi utilizzando l'account di '%{provider}'."
26
+ missing_passwords: "Devi riempire i campi 'Password' e 'Password confirmation'."
27
+ successfully_updated: "La tua password è stata aggiornata correttamente."
28
+ errors:
29
+ messages:
30
+ validate_sign_up_params: "Dati di registrazione non validi."
31
+ validate_account_update_params: "Dati di aggiornamento dell'account non validi."
32
+ not_email: "non è un'email"
33
+ devise:
34
+ mailer:
35
+ confirmation_instructions:
36
+ confirm_link_msg: "Puoi confermare il tuo account email cliccando sul seguente link:"
37
+ confirm_account_link: "Conferma il mio account"
38
+ reset_password_instructions:
39
+ request_reset_link_msg: "Qualcuno ha richiesto un link per cambiare la tua password. Puoi farlo cliccando sul seguente link."
40
+ password_change_link: "Cambia la mia password"
41
+ ignore_mail_msg: "Se non hai richiesto questa operazione, puoi ignorare l'email."
42
+ no_changes_msg: "La tua password non cambierà finchè non cliccherai sul link sopra per crearne una nuova."
43
+ unlock_instructions:
44
+ account_lock_msg: "Il tuo account è stato bloccato a causa di un numero eccessivo di tentativi di accesso non validi."
45
+ unlock_link_msg: "Clicca sul seguente link per sbloccare il tuo account:"
46
+ unlock_link: "Sblocca il mio account"
47
+ hello: "ciao"
48
+ welcome: "benvenuto"