Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ru locales and locales for max_limit_reached view #13

Merged
merged 2 commits into from
Apr 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>

2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ en:
devise:
two_factor_authentication:
attempt_failed: "Attempt failed."
max_login_attempts_reached: "Access completely denied as you have reached your attempts limit"
contact_administrator: "Please contact your system administrator."
6 changes: 6 additions & 0 deletions config/locales/ru.yml
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: "Пожалуйста, свяжитесь с системным администратором."