diff options
author | Mario <mario@mariovavti.com> | 2023-06-27 14:53:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-27 14:53:23 +0000 |
commit | 750641ef196d9e113b0e80da9734f70400b55652 (patch) | |
tree | ebfa9136bde34242294a4ae896e4b3ab7089286d /Zotlabs/Lib | |
parent | fb48dfc08246d8f1eca2fa13b7c976bd29058693 (diff) | |
download | volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.gz volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.bz2 volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.zip |
implement inline moderation of reactions
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Enotify.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index 1eb05da08..c3f96e103 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -145,7 +145,7 @@ class Enotify { $itemlink = $params['link']; - $action = (($moderated) ? t('requests to comment on') : t('commented on')); + $action = (($moderated) ? t('requested to comment on') : t('commented on')); if(array_key_exists('item',$params)) { @@ -158,10 +158,10 @@ class Enotify { } if(activity_match($params['verb'], ACTIVITY_LIKE)) - $action = (($moderated) ? t('requests to like') : t('liked')); + $action = (($moderated) ? t('requested to like') : t('liked')); if(activity_match($params['verb'], ACTIVITY_DISLIKE)) - $action = (($moderated) ? t('requests to dislike') : t('disliked')); + $action = (($moderated) ? t('requested to dislike') : t('disliked')); } @@ -311,10 +311,10 @@ class Enotify { $moderated = (($params['item']['item_blocked'] == ITEM_MODERATED) ? true : false); if(activity_match($params['item']['verb'], ACTIVITY_LIKE)) - $verb = (($moderated) ? t('requests to like') : t('liked')); + $verb = (($moderated) ? t('requested to like') : t('liked')); if(activity_match($params['item']['verb'], ACTIVITY_DISLIKE)) - $verb = (($moderated) ? t('requests to dislike') : t('disliked')); + $verb = (($moderated) ? t('requested to dislike') : t('disliked')); // "your post" if($p[0]['owner']['xchan_name'] === $p[0]['author']['xchan_name'] && intval($p[0]['item_wall'])) |