-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from edg3r/add_locales
Add ru locales and locales for max_limit_reached view
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
app/views/devise/two_factor_authentication/max_login_attempts_reached.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,3 +1,3 @@ | ||
<h2>Access completely denied as you have reached your attempts limit = <%= @limit %>.</h2> | ||
<p>Please contact your system administrator.</p> | ||
<h2><%= I18n.t("devise.two_factor_authentication.max_login_attempts_reached") %> = <%= @limit %>.</h2> | ||
<p><%= I18n.t("devise.two_factor_authentication.contact_administrator") %></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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ru: | ||
devise: | ||
two_factor_authentication: | ||
attempt_failed: "Неверный код." | ||
max_login_attempts_reached: "Доступ заблокирован. Превышено число попыток авторизации" | ||
contact_administrator: "Пожалуйста, свяжитесь с системным администратором." |