mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Update src/Navigation/Notifications/Repository/Notify.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
8393975cbc
commit
3061cee083
1 changed files with 3 additions and 3 deletions
|
@ -786,14 +786,14 @@ class Notify extends BaseRepository
|
|||
if ($params['verb'] = Activity::LIKE) {
|
||||
switch ($Notification->type) {
|
||||
case Model\Post\UserNotification::TYPE_DIRECT_COMMENT:
|
||||
$subject = $l10n->t('%1$s %2$s liked your post #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||
$subject = $l10n->t('%1$s %2$s liked your post #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||
break;
|
||||
case Model\Post\UserNotification::TYPE_DIRECT_THREAD_COMMENT:
|
||||
$subject = $l10n->t('%1$s %2$s liked your comment on #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||
$subject = $l10n->t('%1$s %2$s liked your comment on #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue