X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fenotify.php;h=8b244230bd3dacbb97a17c8a326222a614269f78;hb=637e38e535c0075e0db2cc2d5cf08d938b0e858f;hp=0777a72f4f0d3feb0a4b31bc015aac163936246f;hpb=63475789782182300dd4805217b4a15d2f7c5134;p=friendica.git diff --git a/include/enotify.php b/include/enotify.php index 0777a72f4f..8b244230bd 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -1,6 +1,22 @@ . + * */ use Friendica\Content\Text\BBCode; @@ -109,7 +125,7 @@ function notification($params) $itemlink = $siteurl.'/message/'.$params['item']['id']; $params["link"] = $itemlink; - $subject = $l10n->t( '%s New mail received at %s', $subjectPrefix, $sitename); + $subject = $l10n->t('%s New mail received at %s', $subjectPrefix, $sitename); $preamble = $l10n->t('%1$s sent you a new private message at %2$s.', $params['source_name'], $sitename); $epreamble = $l10n->t('%1$s sent you %2$s.', '[url='.$params['source_link'].']'.$params['source_name'].'[/url]', '[url=' . $itemlink . ']' . $l10n->t('a private message').'[/url]'); @@ -202,7 +218,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 +262,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].',