Add link to KB
[MAILPOET-2101]
This commit is contained in:
@@ -161,6 +161,10 @@ jQuery(document).ready(() => {
|
||||
? MailPoet.I18n.t('importNoticeRoleBased')
|
||||
.replace('%1$s', `<strong>${subscribers.role.length.toLocaleString()}</strong>`)
|
||||
.replace('%2$s', subscribers.role.join(', '))
|
||||
.replace(
|
||||
/\[link](.+)\[\/link]/,
|
||||
'<a href="https://kb.mailpoet.com/article/270-role-based-email-addresses-are-not-allowed" target="_blank" rel="noopener noreferrer">$1</a>'
|
||||
)
|
||||
: null,
|
||||
};
|
||||
jQuery('#subscribers_data_parse_results').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'),
|
||||
|
Reference in New Issue
Block a user