Fix WordPress.WP.I18n.MissingTranslatorsComment errors
[MAILPOET-4524]
This commit is contained in:
@@ -24,6 +24,7 @@ class FormSaveController {
|
||||
|
||||
public function duplicate(FormEntity $formEntity): FormEntity {
|
||||
$duplicate = clone $formEntity;
|
||||
// translators: %s is name of the form which has been duplicated.
|
||||
$duplicate->setName(sprintf(__('Copy of %s', 'mailpoet'), $formEntity->getName()));
|
||||
|
||||
// reset timestamps
|
||||
|
Reference in New Issue
Block a user