aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2021-06-25 17:27:45 +0200
committerThomas Citharel <tcit@tcit.fr>2021-06-25 17:27:45 +0200
commitfc49b2600b4a0fc83b154d6e8478e9c4a57d3675 (patch)
tree43d02ab8c602bc6d99b7ae340715e5d45816cb06 /apps/dav
parentf33eea69cea2d6b09d4c2e5b70d581f5f3aa050e (diff)
downloadnextcloud-server-fc49b2600b4a0fc83b154d6e8478e9c4a57d3675.tar.gz
nextcloud-server-fc49b2600b4a0fc83b154d6e8478e9c4a57d3675.zip
Add indications for the translators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CalDAV/Schedule/IMipPlugin.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
index 5407fa9420a..555b38e0efb 100644
--- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
+++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
@@ -517,12 +517,15 @@ class IMipPlugin extends SabreIMipPlugin {
private function addSubjectAndHeading(IEMailTemplate $template, IL10N $l10n,
$method, $summary) {
if ($method === self::METHOD_CANCEL) {
+ // TRANSLATORS Subject for email, when an invitation is cancelled. Ex: "Cancelled: {{Event Name}}"
$template->setSubject($l10n->t('Cancelled: %1$s', [$summary]));
$template->addHeading($l10n->t('Invitation canceled'));
} elseif ($method === self::METHOD_REPLY) {
+ // TRANSLATORS Subject for email, when an invitation is updated. Ex: "Re: {{Event Name}}"
$template->setSubject($l10n->t('Re: %1$s', [$summary]));
$template->addHeading($l10n->t('Invitation updated'));
} else {
+ // TRANSLATORS Subject for email, when an invitation is sent. Ex: "Invitation: {{Event Name}}"
$template->setSubject($l10n->t('Invitation: %1$s', [$summary]));
$template->addHeading($l10n->t('Invitation'));
}