Use "automation" instead of "workflow" in user-facing strings

[MAILPOET-4758]
This commit is contained in:
Jan Jakes
2022-11-02 21:29:35 +01:00
committed by David Remer
parent ccb5369c57
commit dc5e5b4f8b
39 changed files with 88 additions and 88 deletions

View File

@ -48,7 +48,7 @@ class DuplicateWorkflowController {
}
private function getName(string $name): string {
// translators: %s is the original workflow name.
// translators: %s is the original automation name.
$newName = sprintf(__('Copy of %s', 'mailpoet'), $name);
$maxLength = $this->workflowStorage->getNameColumnLength();
if (strlen($newName) > $maxLength) {