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
|
@ -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 New Issue
Block a user