Fix Notification subject

This commit is contained in:
nupplaPhil 2020-02-09 22:42:51 +01:00
parent 16acf1db95
commit f69e3a2dc6
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

View File

@ -202,7 +202,7 @@ function notification($params)
$preamble = $l10n->t('%1$s tagged you at %2$s', $params['source_name'], $sitename);
} else {
$subject = $l10n->t('%s Comment to conversation #%1$d by %2$s', $subjectPrefix, $parent_id, $params['source_name']);
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $parent_id, $params['source_name']);
$preamble = $l10n->t('%s commented on an item/conversation you have been following.', $params['source_name']);
}
@ -246,7 +246,7 @@ function notification($params)
}
if ($params['type'] == Notify\Type::POKE) {
$subject = $l10n->t('%s %1$s poked you', $subjectPrefix, $params['source_name']);
$subject = $l10n->t('%1$s %2$s poked you', $subjectPrefix, $params['source_name']);
$preamble = $l10n->t('%1$s poked you at %2$s', $params['source_name'], $sitename);
$epreamble = $l10n->t('%1$s [url=%2$s]poked you[/url].',