Merge pull request #45032 from nextcloud/Jerome-Herbinet-date-and-time-wording-in-email-notifcation

Replaces "Time:" with "Date and time:" in calendar e-mail notification
This commit is contained in:
Christoph Wurst 2024-05-23 16:34:50 +02:00 committed by GitHub
commit b72e4e89bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -539,7 +539,7 @@ class IMipService {
$data['meeting_title_html'] ?? $data['meeting_title'], $this->l10n->t('Title:'),
$this->getAbsoluteImagePath('caldav/title.png'), $data['meeting_title'], '', IMipPlugin::IMIP_INDENT);
if ($data['meeting_when'] !== '') {
$template->addBodyListItem($data['meeting_when_html'] ?? $data['meeting_when'], $this->l10n->t('Time:'),
$template->addBodyListItem($data['meeting_when_html'] ?? $data['meeting_when'], $this->l10n->t('Date and time:'),
$this->getAbsoluteImagePath('caldav/time.png'), $data['meeting_when'], '', IMipPlugin::IMIP_INDENT);
}
if ($data['meeting_location'] !== '') {