mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
Fix misleading notification message strings
- The mentioned title is from the top-level post, not the liked post
This commit is contained in:
parent
36e85b01c6
commit
07d4cdbdde
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow
|
|||
case Activity::LIKE:
|
||||
switch ($Notification->type) {
|
||||
case Post\UserNotification::TYPE_DIRECT_COMMENT:
|
||||
$msg = $this->l10n->t('%1$s liked your comment %2$s');
|
||||
$msg = $this->l10n->t('%1$s liked your comment on %2$s');
|
||||
break;
|
||||
case Post\UserNotification::TYPE_DIRECT_THREAD_COMMENT:
|
||||
$msg = $this->l10n->t('%1$s liked your post %2$s');
|
||||
|
@ -185,7 +185,7 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow
|
|||
case Activity::DISLIKE:
|
||||
switch ($Notification->type) {
|
||||
case Post\UserNotification::TYPE_DIRECT_COMMENT:
|
||||
$msg = $this->l10n->t('%1$s disliked your comment %2$s');
|
||||
$msg = $this->l10n->t('%1$s disliked your comment on %2$s');
|
||||
break;
|
||||
case Post\UserNotification::TYPE_DIRECT_THREAD_COMMENT:
|
||||
$msg = $this->l10n->t('%1$s disliked your post %2$s');
|
||||
|
|
Loading…
Reference in a new issue