115693873-translation_string_change

This commit is contained in:
Stas Paaslane 2016-08-12 14:38:07 +03:00
parent 0b3a7cedb4
commit bdf011214c
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ class Registrant::DomainDeleteConfirmsController < RegistrantController
domain_name: @domain.name, domain_name: @domain.name,
verification_token: params[:token]) verification_token: params[:token])
initiator = current_user ? current_user.username : t(:user_not_authorized) initiator = current_user ? current_user.username : t(:user_not_authenticated)
if params[:rejected] if params[:rejected]
if @registrant_verification.domain_registrant_delete_reject!("email link #{initiator}") if @registrant_verification.domain_registrant_delete_reject!("email link #{initiator}")

View file

@ -21,7 +21,7 @@ class Registrant::DomainUpdateConfirmsController < RegistrantController
domain_name: @domain.name, domain_name: @domain.name,
verification_token: params[:token]) verification_token: params[:token])
initiator = current_user ? current_user.username : t(:user_not_authorized) initiator = current_user ? current_user.username : t(:user_not_authenticated)
if params[:rejected] if params[:rejected]
if @registrant_verification.domain_registrant_change_reject!("email link, #{initiator}") if @registrant_verification.domain_registrant_change_reject!("email link, #{initiator}")

View file

@ -940,4 +940,4 @@ en:
edit_pw: 'Edit Pw' edit_pw: 'Edit Pw'
optional: 'Optional' optional: 'Optional'
test_registrar: "Test registrar" test_registrar: "Test registrar"
user_not_authorized: "user not authorized" user_not_authenticated: "user not authenticated"