diff --git a/assets/js/src/subscribers/importExport/import.jsx b/assets/js/src/subscribers/importExport/import.jsx index 0821e7adc3..8f24727ab9 100644 --- a/assets/js/src/subscribers/importExport/import.jsx +++ b/assets/js/src/subscribers/importExport/import.jsx @@ -161,6 +161,10 @@ jQuery(document).ready(() => { ? MailPoet.I18n.t('importNoticeRoleBased') .replace('%1$s', `${subscribers.role.length.toLocaleString()}`) .replace('%2$s', subscribers.role.join(', ')) + .replace( + /\[link](.+)\[\/link]/, + '$1' + ) : null, }; jQuery('#subscribers_data_parse_results').html( diff --git a/views/subscribers/importExport/import.html b/views/subscribers/importExport/import.html index 277451ef98..72017944c7 100644 --- a/views/subscribers/importExport/import.html +++ b/views/subscribers/importExport/import.html @@ -44,7 +44,7 @@ 'noValidRecords': __('No valid records were found. This file needs to be formatted in a CSV style (comma-separated). Look at some [link]examples on our support site.[/link]'), 'importNoticeSkipped': __('%1$s records had issues and were skipped.'), 'importNoticeInvalid': __('%1$s emails are not valid: %2$s'), -'importNoticeRoleBased': _x('%1$s role-based addresses are not permitted: %2$s', 'Error message when importing addresses like postmaster@domain.com'), +'importNoticeRoleBased': _x('%1$s [link]role-based addresses[/link] are not permitted: %2$s', 'Error message when importing addresses like postmaster@domain.com'), 'importNoticeDuplicate': __('%1$s emails appear more than once in your file: %2$s'), 'hideDetails': __('Hide details'), 'showDetails': __('Show more details'),