sidecar_token_auth 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +13 -0
- data/README.md +12 -0
- data/Rakefile +42 -0
- data/app/controllers/devise_token_auth/application_controller.rb +79 -0
- data/app/controllers/devise_token_auth/concerns/resource_finder.rb +44 -0
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +162 -0
- data/app/controllers/devise_token_auth/confirmations_controller.rb +90 -0
- data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +287 -0
- data/app/controllers/devise_token_auth/passwords_controller.rb +206 -0
- data/app/controllers/devise_token_auth/registrations_controller.rb +283 -0
- data/app/controllers/devise_token_auth/sessions_controller.rb +245 -0
- data/app/controllers/devise_token_auth/token_validations_controller.rb +31 -0
- data/app/controllers/devise_token_auth/unlocks_controller.rb +89 -0
- data/app/models/devise_token_auth/concerns/active_record_support.rb +16 -0
- data/app/models/devise_token_auth/concerns/confirmable_support.rb +28 -0
- data/app/models/devise_token_auth/concerns/mongoid_support.rb +19 -0
- data/app/models/devise_token_auth/concerns/tokens_serialization.rb +19 -0
- data/app/models/devise_token_auth/concerns/user.rb +257 -0
- data/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +31 -0
- data/app/validators/devise_token_auth_email_validator.rb +23 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise_token_auth/omniauth_external_window.html.erb +38 -0
- data/config/locales/da-DK.yml +52 -0
- data/config/locales/de.yml +51 -0
- data/config/locales/en.yml +60 -0
- data/config/locales/es.yml +51 -0
- data/config/locales/fr.yml +51 -0
- data/config/locales/he.yml +52 -0
- data/config/locales/it.yml +48 -0
- data/config/locales/ja.yml +48 -0
- data/config/locales/ko.yml +51 -0
- data/config/locales/nl.yml +32 -0
- data/config/locales/pl.yml +51 -0
- data/config/locales/pt-BR.yml +48 -0
- data/config/locales/pt.yml +51 -0
- data/config/locales/ro.yml +48 -0
- data/config/locales/ru.yml +52 -0
- data/config/locales/sq.yml +48 -0
- data/config/locales/sv.yml +52 -0
- data/config/locales/uk.yml +61 -0
- data/config/locales/vi.yml +52 -0
- data/config/locales/zh-CN.yml +48 -0
- data/config/locales/zh-HK.yml +50 -0
- data/config/locales/zh-TW.yml +50 -0
- data/lib/devise_token_auth.rb +14 -0
- data/lib/devise_token_auth/blacklist.rb +2 -0
- data/lib/devise_token_auth/controllers/helpers.rb +157 -0
- data/lib/devise_token_auth/controllers/url_helpers.rb +10 -0
- data/lib/devise_token_auth/engine.rb +96 -0
- data/lib/devise_token_auth/errors.rb +8 -0
- data/lib/devise_token_auth/rails/routes.rb +116 -0
- data/lib/devise_token_auth/token_factory.rb +126 -0
- data/lib/devise_token_auth/url.rb +44 -0
- data/lib/devise_token_auth/version.rb +5 -0
- data/lib/generators/devise_token_auth/USAGE +31 -0
- data/lib/generators/devise_token_auth/install_generator.rb +91 -0
- data/lib/generators/devise_token_auth/install_generator_helpers.rb +98 -0
- data/lib/generators/devise_token_auth/install_mongoid_generator.rb +46 -0
- data/lib/generators/devise_token_auth/install_views_generator.rb +18 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth.rb +60 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +49 -0
- data/lib/generators/devise_token_auth/templates/user.rb.erb +9 -0
- data/lib/generators/devise_token_auth/templates/user_mongoid.rb.erb +56 -0
- data/lib/tasks/devise_token_auth_tasks.rake +6 -0
- data/test/controllers/custom/custom_confirmations_controller_test.rb +25 -0
- data/test/controllers/custom/custom_omniauth_callbacks_controller_test.rb +33 -0
- data/test/controllers/custom/custom_passwords_controller_test.rb +79 -0
- data/test/controllers/custom/custom_registrations_controller_test.rb +63 -0
- data/test/controllers/custom/custom_sessions_controller_test.rb +39 -0
- data/test/controllers/custom/custom_token_validations_controller_test.rb +42 -0
- data/test/controllers/demo_group_controller_test.rb +151 -0
- data/test/controllers/demo_mang_controller_test.rb +284 -0
- data/test/controllers/demo_user_controller_test.rb +629 -0
- data/test/controllers/devise_token_auth/confirmations_controller_test.rb +191 -0
- data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +441 -0
- data/test/controllers/devise_token_auth/passwords_controller_test.rb +780 -0
- data/test/controllers/devise_token_auth/registrations_controller_test.rb +907 -0
- data/test/controllers/devise_token_auth/sessions_controller_test.rb +503 -0
- data/test/controllers/devise_token_auth/token_validations_controller_test.rb +102 -0
- data/test/controllers/devise_token_auth/unlocks_controller_test.rb +196 -0
- data/test/controllers/overrides/confirmations_controller_test.rb +47 -0
- data/test/controllers/overrides/omniauth_callbacks_controller_test.rb +53 -0
- data/test/controllers/overrides/passwords_controller_test.rb +64 -0
- data/test/controllers/overrides/registrations_controller_test.rb +46 -0
- data/test/controllers/overrides/sessions_controller_test.rb +35 -0
- data/test/controllers/overrides/token_validations_controller_test.rb +43 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/app/active_record/confirmable_user.rb +11 -0
- data/test/dummy/app/active_record/lockable_user.rb +7 -0
- data/test/dummy/app/active_record/mang.rb +5 -0
- data/test/dummy/app/active_record/only_email_user.rb +7 -0
- data/test/dummy/app/active_record/scoped_user.rb +9 -0
- data/test/dummy/app/active_record/unconfirmable_user.rb +9 -0
- data/test/dummy/app/active_record/unregisterable_user.rb +9 -0
- data/test/dummy/app/active_record/user.rb +6 -0
- data/test/dummy/app/controllers/application_controller.rb +18 -0
- data/test/dummy/app/controllers/auth_origin_controller.rb +7 -0
- data/test/dummy/app/controllers/custom/confirmations_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/passwords_controller.rb +39 -0
- data/test/dummy/app/controllers/custom/registrations_controller.rb +39 -0
- data/test/dummy/app/controllers/custom/sessions_controller.rb +29 -0
- data/test/dummy/app/controllers/custom/token_validations_controller.rb +19 -0
- data/test/dummy/app/controllers/demo_group_controller.rb +15 -0
- data/test/dummy/app/controllers/demo_mang_controller.rb +14 -0
- data/test/dummy/app/controllers/demo_user_controller.rb +27 -0
- data/test/dummy/app/controllers/overrides/confirmations_controller.rb +28 -0
- data/test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb +16 -0
- data/test/dummy/app/controllers/overrides/passwords_controller.rb +35 -0
- data/test/dummy/app/controllers/overrides/registrations_controller.rb +29 -0
- data/test/dummy/app/controllers/overrides/sessions_controller.rb +36 -0
- data/test/dummy/app/controllers/overrides/token_validations_controller.rb +23 -0
- data/test/dummy/app/helpers/application_helper.rb +1058 -0
- data/test/dummy/app/models/concerns/favorite_color.rb +19 -0
- data/test/dummy/app/mongoid/confirmable_user.rb +52 -0
- data/test/dummy/app/mongoid/lockable_user.rb +38 -0
- data/test/dummy/app/mongoid/mang.rb +46 -0
- data/test/dummy/app/mongoid/only_email_user.rb +33 -0
- data/test/dummy/app/mongoid/scoped_user.rb +50 -0
- data/test/dummy/app/mongoid/unconfirmable_user.rb +44 -0
- data/test/dummy/app/mongoid/unregisterable_user.rb +47 -0
- data/test/dummy/app/mongoid/user.rb +49 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +18 -0
- data/test/dummy/config/application.rb +48 -0
- data/test/dummy/config/application.yml.bk +0 -0
- data/test/dummy/config/boot.rb +11 -0
- data/test/dummy/config/environment.rb +7 -0
- data/test/dummy/config/environments/development.rb +46 -0
- data/test/dummy/config/environments/production.rb +84 -0
- data/test/dummy/config/environments/test.rb +50 -0
- data/test/dummy/config/initializers/assets.rb +10 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +9 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/devise.rb +290 -0
- data/test/dummy/config/initializers/devise_token_auth.rb +55 -0
- data/test/dummy/config/initializers/figaro.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/test/dummy/config/initializers/inflections.rb +18 -0
- data/test/dummy/config/initializers/mime_types.rb +6 -0
- data/test/dummy/config/initializers/omniauth.rb +11 -0
- data/test/dummy/config/initializers/session_store.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +16 -0
- data/test/dummy/config/routes.rb +57 -0
- data/test/dummy/config/spring.rb +3 -0
- data/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb +58 -0
- data/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb +57 -0
- data/test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb +8 -0
- data/test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb +7 -0
- data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +55 -0
- data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +56 -0
- data/test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb +56 -0
- data/test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb +56 -0
- data/test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb +56 -0
- data/test/dummy/db/migrate/20190924101113_devise_token_auth_create_confirmable_users.rb +49 -0
- data/test/dummy/db/schema.rb +198 -0
- data/test/dummy/lib/migration_database_helper.rb +43 -0
- data/test/factories/users.rb +41 -0
- data/test/lib/devise_token_auth/blacklist_test.rb +11 -0
- data/test/lib/devise_token_auth/token_factory_test.rb +191 -0
- data/test/lib/devise_token_auth/url_test.rb +26 -0
- data/test/lib/generators/devise_token_auth/install_generator_test.rb +217 -0
- data/test/lib/generators/devise_token_auth/install_generator_with_namespace_test.rb +222 -0
- data/test/lib/generators/devise_token_auth/install_views_generator_test.rb +25 -0
- data/test/models/concerns/mongoid_support_test.rb +31 -0
- data/test/models/concerns/tokens_serialization_test.rb +70 -0
- data/test/models/confirmable_user_test.rb +35 -0
- data/test/models/only_email_user_test.rb +29 -0
- data/test/models/user_test.rb +108 -0
- data/test/support/controllers/routes.rb +43 -0
- data/test/test_helper.rb +103 -0
- metadata +481 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DeviseTokenAuth::Concerns::UserOmniauthCallbacks
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
included do
|
7
|
+
validates :email, presence: true,if: :email_provider?
|
8
|
+
validates :email, :devise_token_auth_email => true, allow_nil: true, allow_blank: true, if: :email_provider?
|
9
|
+
validates_presence_of :uid, unless: :email_provider?
|
10
|
+
|
11
|
+
# only validate unique emails among email registration users
|
12
|
+
validates :email, uniqueness: { case_sensitive: false, scope: :provider }, on: :create, if: :email_provider?
|
13
|
+
|
14
|
+
# keep uid in sync with email
|
15
|
+
before_save :sync_uid
|
16
|
+
before_create :sync_uid
|
17
|
+
end
|
18
|
+
|
19
|
+
protected
|
20
|
+
|
21
|
+
def email_provider?
|
22
|
+
provider == 'email'
|
23
|
+
end
|
24
|
+
|
25
|
+
def sync_uid
|
26
|
+
if devise_modules.include?(:confirmable) && !@bypass_confirmation_postpone
|
27
|
+
return if postpone_email_change?
|
28
|
+
end
|
29
|
+
self.uid = email if email_provider?
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class DeviseTokenAuthEmailValidator < 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,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_token_auth:
|
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_token_auth:
|
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,60 @@
|
|
1
|
+
en:
|
2
|
+
devise_token_auth:
|
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
|
+
inactive_account: "Your account has been deleted or blocked by administrator. Thanks!"
|
9
|
+
invalid_subscription: "There is a problem with your subscription."
|
10
|
+
token_validations:
|
11
|
+
invalid: "Invalid login credentials"
|
12
|
+
registrations:
|
13
|
+
subscription_does_not_exist: "You need to have active subscription before signup"
|
14
|
+
missing_confirm_success_url: "Missing 'confirm_success_url' parameter."
|
15
|
+
redirect_url_not_allowed: "Redirect to '%{redirect_url}' not allowed."
|
16
|
+
email_already_exists: "An account already exists for '%{email}'"
|
17
|
+
account_with_uid_destroyed: "Account with UID '%{uid}' has been destroyed."
|
18
|
+
account_to_destroy_not_found: "Unable to locate account for destruction."
|
19
|
+
user_not_found: "User not found."
|
20
|
+
omniauth:
|
21
|
+
not_allowed_redirect_url: "Redirect to '%{redirect_url}' not allowed."
|
22
|
+
passwords:
|
23
|
+
missing_email: "You must provide an email address."
|
24
|
+
missing_redirect_url: "Missing redirect URL."
|
25
|
+
not_allowed_redirect_url: "Redirect to '%{redirect_url}' not allowed."
|
26
|
+
sended: "An email has been sent to '%{email}' containing instructions for resetting your password."
|
27
|
+
user_not_found: "Unable to find user with email '%{email}'."
|
28
|
+
password_not_required: "This account does not require a password. Sign in using your '%{provider}' account instead."
|
29
|
+
missing_passwords: "You must fill out the fields labeled 'Password' and 'Password confirmation'."
|
30
|
+
successfully_updated: "Your password has been successfully updated."
|
31
|
+
unlocks:
|
32
|
+
missing_email: "You must provide an email address."
|
33
|
+
sended: "An email has been sent to '%{email}' containing instructions for unlocking your account."
|
34
|
+
user_not_found: "Unable to find user with email '%{email}'."
|
35
|
+
confirmations:
|
36
|
+
sended: "An email has been sent to '%{email}' containing instructions for confirming your account."
|
37
|
+
user_not_found: "Unable to find user with email '%{email}'."
|
38
|
+
missing_email: "You must provide an email address."
|
39
|
+
|
40
|
+
errors:
|
41
|
+
messages:
|
42
|
+
validate_sign_up_params: "Please submit proper sign up data in request body."
|
43
|
+
validate_account_update_params: "Please submit proper account update data in request body."
|
44
|
+
not_email: "is not an email"
|
45
|
+
devise:
|
46
|
+
mailer:
|
47
|
+
confirmation_instructions:
|
48
|
+
confirm_link_msg: "You can confirm your account email through the link below:"
|
49
|
+
confirm_account_link: "Confirm my account"
|
50
|
+
reset_password_instructions:
|
51
|
+
request_reset_link_msg: "Someone has requested a link to change your password. You can do this through the link below."
|
52
|
+
password_change_link: "Change my password"
|
53
|
+
ignore_mail_msg: "If you didn't request this, please ignore this email."
|
54
|
+
no_changes_msg: "Your password won't change until you access the link above and create a new one."
|
55
|
+
unlock_instructions:
|
56
|
+
account_lock_msg: "Your account has been locked due to an excessive number of unsuccessful sign in attempts."
|
57
|
+
unlock_link_msg: "Click the link below to unlock your account:"
|
58
|
+
unlock_link: "Unlock my account"
|
59
|
+
hello: "hello"
|
60
|
+
welcome: "welcome"
|
@@ -0,0 +1,51 @@
|
|
1
|
+
es:
|
2
|
+
devise_token_auth:
|
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_token_auth:
|
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_token_auth:
|
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_token_auth:
|
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"
|