Browse Source

added rus locallization for max attempts and their limit

master
Edger 12 years ago
parent
commit
414475e8e8
  1. 4
      app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb
  2. 2
      config/locales/en.yml
  3. 6
      config/locales/ru.yml

4
app/views/devise/two_factor_authentication/max_login_attempts_reached.html.erb

@ -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
config/locales/en.yml

@ -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
config/locales/ru.yml

@ -0,0 +1,6 @@
ru:
devise:
two_factor_authentication:
attempt_failed: "Неверный код."
max_login_attempts_reached: "Доступ заблокирован. Превышено число попыток авторизации"
contact_administrator: "Пожалуйста, свяжитесь с системным администратором."
Loading…
Cancel
Save