diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 18efe618483..5407fa9420a 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -517,13 +517,13 @@ class IMipPlugin extends SabreIMipPlugin { private function addSubjectAndHeading(IEMailTemplate $template, IL10N $l10n, $method, $summary) { if ($method === self::METHOD_CANCEL) { - $template->setSubject('Canceled: ' . $summary); + $template->setSubject($l10n->t('Cancelled: %1$s', [$summary])); $template->addHeading($l10n->t('Invitation canceled')); } elseif ($method === self::METHOD_REPLY) { - $template->setSubject('Re: ' . $summary); + $template->setSubject($l10n->t('Re: %1$s', [$summary])); $template->addHeading($l10n->t('Invitation updated')); } else { - $template->setSubject('Invitation: ' . $summary); + $template->setSubject($l10n->t('Invitation: %1$s', [$summary])); $template->addHeading($l10n->t('Invitation')); } }