From 98f0bb283e9e7d9d3c6f084995432888aed0c3c7 Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Fri, 21 Mar 2025 13:45:07 +0200 Subject: [PATCH] fix path to localize issue --- app/models/epp/domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/epp/domain.rb b/app/models/epp/domain.rb index 70146430b..3190b261c 100644 --- a/app/models/epp/domain.rb +++ b/app/models/epp/domain.rb @@ -38,7 +38,7 @@ class Epp::Domain < Domain ([Contact.find(registrant.id)] + active_admins + active_techs).each do |x| unless x.valid? if x.class.name == 'AdminDomainContact' && x.contact.underage? - add_epp_error('2304', nil, nil, I18n.t('activerecord.errors.models.domain.contact_too_young')) + add_epp_error('2304', nil, nil, I18n.t('activerecord.errors.models.admin_domain_contact.contact_too_young')) else add_epp_error('2304', nil, nil, I18n.t(:contact_is_not_valid, value: x.try(:code))) end