Fix WordPress.WP.I18n.MissingTranslatorsComment errors

[MAILPOET-4524]
This commit is contained in:
David Remer
2022-08-04 12:22:42 +03:00
committed by Veljko V
parent b05e6d414c
commit 218de96024
51 changed files with 108 additions and 11 deletions

View File

@@ -176,6 +176,7 @@ class DynamicSegments extends APIEndpoint {
Error::BAD_REQUEST => str_replace(
'%1$s',
"'" . join("', '", $activelyUsedNewslettersSubjects[$segment->getId()] ) . "'",
// translators: %1$s is a comma-seperated list of emails for which the segment is used.
_x('Segment cannot be deleted because its used for %1$s email', 'Alert shown when trying to delete segment, which is assigned to any automatic emails.', 'mailpoet')
),
]);