Skip to content

Commit

Permalink
change translations
Browse files Browse the repository at this point in the history
  • Loading branch information
liz4chernyshova committed Apr 12, 2024
1 parent 2e9f8ff commit 013e9e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/devise/confirmations/new.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
h2
= t('.resend_confirmation_instructions')
= t('.resend_activation_instructions')
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
= f.error_notification message: t('devise.correct_errors')
= f.full_error :confirmation_token
Expand Down
5 changes: 5 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,8 @@ en:
Description: %{description}
unsubscribe: You have received this email because you have registered for Hexlet Cv. If you want, you can
settings: settings
devise:
confirmations:
new:
resend_activation_instructions: Resend confirmation instructions
resend_confirmation_instructions: Resend confirmation email
6 changes: 5 additions & 1 deletion config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,8 @@ ru:
Описание: %{description}
unsubscribe: Вы получили это письмо, потому что зарегистрировались на Хекслет Cv. Если хотите, можно
settings: отписаться

devise:
confirmations:
new:
resend_activation_instructions: Выслать повторно письмо с активацией
resend_confirmation_instructions: Выслать письмо повторно

0 comments on commit 013e9e1

Please sign in to comment.