forked from lynndylanhurley/devise_token_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'lynn/master'
- Loading branch information
Showing
34 changed files
with
605 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: ruby | ||
cache: bundler | ||
sudo: false | ||
|
||
rvm: | ||
- 1.9.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<p>Welcome <%= @email %>!</p> | ||
<p><%= t(:welcome).capitalize + ' ' + @email %>!</p> | ||
|
||
<p>You can confirm your account email through the link below:</p> | ||
<p><%= t '.confirm_link_msg' %> </p> | ||
|
||
<p><%= link_to 'Confirm my account', confirmation_url(@resource, {confirmation_token: @token, config: message['client-config'].to_s, redirect_url: message['redirect-url']}).html_safe %></p> | ||
<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> |
10 changes: 5 additions & 5 deletions
10
app/views/devise/mailer/reset_password_instructions.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<p>Hello <%= @resource.email %>!</p> | ||
<p><%= t(:hello).capitalize %> <%= @resource.email %>!</p> | ||
|
||
<p>Someone has requested a link to change your password. You can do this through the link below.</p> | ||
<p><%= t '.request_reset_link_msg' %></p> | ||
|
||
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token, config: message['client-config'].to_s, redirect_url: message['redirect-url'].to_s).html_safe %></p> | ||
<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> | ||
|
||
<p>If you didn't request this, please ignore this email.</p> | ||
<p>Your password won't change until you access the link above and create a new one.</p> | ||
<p><%= t '.ignore_mail_msg' %></p> | ||
<p><%= t '.no_changes_msg' %></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<p>Hello <%= @resource.email %>!</p> | ||
<p><%= t :hello %> <%= @resource.email %>!</p> | ||
|
||
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p> | ||
<p><%= t '.account_lock_msg' %></p> | ||
|
||
<p>Click the link below to unlock your account:</p> | ||
<p><%= t '.unlock_link_msg' %></p> | ||
|
||
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token).html_safe %></p> | ||
<p><%= link_to t('.unlock_link'), unlock_url(@resource, unlock_token: @token) %></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,50 @@ | ||
de: | ||
devise_token_auth: | ||
sessions: | ||
not_confirmed: "Ein E-Mail zu Bestätigung wurde an Ihre Adresse %{email} gesendet. Sie müssen den Anleitungsschritten im E-Mail folgen, um Ihren Account zu aktivieren" | ||
not_confirmed: "Ein E-Mail zu Bestätigung wurde an Ihre Adresse '%{email}'' gesendet. Sie müssen den Anleitungsschritten im E-Mail folgen, um Ihren Account zu aktivieren" | ||
bad_credentials: "Ungültige Anmeldeinformationen. Bitte versuchen Sie es erneut." | ||
not_supported: "Verwenden Sie POST /sign_in zur Anmeldung. GET wird nicht unterstützt." | ||
user_not_found: "Benutzer wurde nicht gefunden oder konnte nicht angemeldet werden." | ||
token_validations: | ||
invalid: "Ungültige Anmeldeinformationen" | ||
registrations: | ||
missing_confirm_success_url: "Fehlender Paramter `confirm_success_url`." | ||
redirect_url_not_allowed: "Weiterleitung zu %{redirect_url} ist nicht gestattet." | ||
email_already_exists: "Es gibt bereits einen Account für %{email}." | ||
account_with_uid_destroyed: "Account mit der uid %{uid} wurde gelöscht." | ||
missing_confirm_success_url: "Fehlender Paramter 'confirm_success_url'." | ||
redirect_url_not_allowed: "Weiterleitung zu '%{redirect_url}' ist nicht gestattet." | ||
email_already_exists: "Es gibt bereits einen Account für '%{email}'." | ||
account_with_uid_destroyed: "Account mit der uid '%{uid}' wurde gelöscht." | ||
account_to_destroy_not_found: "Der Account, der gelöscht werden soll, kann nicht gefunden werden." | ||
user_not_found: "Benutzer kann nicht gefunden werden." | ||
passwords: | ||
missing_email: "Sie müssen eine E-Mail Adresse angeben." | ||
missing_redirect_url: "Es fehlt der URL zu Weiterleitung." | ||
not_allowed_redirect_url: "Weiterleitung zu %{redirect_url} ist nicht gestattet." | ||
sended: "Ein E-Mail mit Anleitung zum Rücksetzen Ihres Passwortes wurde an %{email} gesendet." | ||
not_allowed_redirect_url: "Weiterleitung zu '%{redirect_url}' ist nicht gestattet." | ||
sended: "Ein E-Mail mit Anleitung zum Rücksetzen Ihres Passwortes wurde an '%{email}' gesendet." | ||
user_not_found: "Der Benutzer mit E-Mail-Adresse '%{email}' kann nicht gefunden werden." | ||
password_not_required: "Dieser Account benötigt kein Passwort. Melden Sie Sich stattdessen über Ihren Account bei %{provider} an." | ||
missing_passwords: 'Sie müssen die Felder "Passwort" and "Passwortbestätigung" ausfüllen.' | ||
password_not_required: "Dieser Account benötigt kein Passwort. Melden Sie Sich stattdessen über Ihren Account bei '%{provider}' an." | ||
missing_passwords: "Sie müssen die Felder 'Passwort' and 'Passwortbestätigung' ausfüllen." | ||
successfully_updated: "Ihr Passwort wurde erfolgreich aktualisiert." | ||
|
||
errors: | ||
validate_sign_up_params: "Bitte übermitteln sie vollständige Anmeldeinformationen im Body des Requests." | ||
validate_account_update_params: "Bitte übermitteln sie vollständige Informationen zur Aktualisierung im Body des Requests." | ||
not_email: "ist keine E-Mail Adresse" | ||
messages: | ||
validate_sign_up_params: "Bitte übermitteln sie vollständige Anmeldeinformationen im Body des Requests." | ||
validate_account_update_params: "Bitte übermitteln sie vollständige Informationen zur Aktualisierung im Body des Requests." | ||
not_email: "ist keine E-Mail Adresse" | ||
already_in_use: "bereits in Verwendung" | ||
devise: | ||
mailer: | ||
confirmation_instructions: | ||
subject: "Bestätigungs-" | ||
confirm_link_msg: "Sie können Ihr Konto E-Mail über den untenstehenden Link bestätigen:" | ||
confirm_account_link: "Ihr Konto zu bestätigen" | ||
reset_password_instructions: | ||
subject: "Wiederherstellungskennwort Anweisungen" | ||
request_reset_link_msg: "Jemand hat einen Link auf Ihr Kennwort zu ändern angefordert. Sie können dies durch den folgenden Link tun:" | ||
password_change_link: "Kennwort ändern" | ||
ignore_mail_msg: "Wenn Sie nicht angefordert haben diese , ignorieren Sie bitte diese E-Mail:" | ||
no_changes_msg: "Ihr Passwort wird nicht geändert , bis Sie auf den obigen Link zugreifen und eine neue erstellen ." | ||
unlock_instructions: | ||
subject: "entsperren Anweisungen" | ||
account_lock_msg: "Ihr Konto wurde aufgrund einer übermäßigen Anzahl von erfolglosen Zeichen in Versuchen gesperrt." | ||
unlock_link_msg: "Klicken Sie auf den Link unten , um Ihr Konto zu entsperren :" | ||
unlock_link: "Entsperren Sie Ihr Konto " | ||
hello: "hallo" | ||
welcome: "willkommen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.