diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-02 15:55:24 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-11 20:15:48 +0300 |
commit | 65238d1b8f487596dc79b19fe6a6be3a4fb417be (patch) | |
tree | df44da5a069d248766065a21f66e76725c98b1eb /lib/Chat/Parser/SystemMessage.php | |
parent | 353206e1e695d531f2a51003ac93cfc3cd669bce (diff) |
Adjustments for listable rooms after review
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/Chat/Parser/SystemMessage.php')
-rw-r--r-- | lib/Chat/Parser/SystemMessage.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php index 48e9fa1f6..02e1f6b26 100644 --- a/lib/Chat/Parser/SystemMessage.php +++ b/lib/Chat/Parser/SystemMessage.php @@ -165,12 +165,12 @@ class SystemMessage { } elseif ($cliIsActor) { $parsedMessage = $this->l->t('An administrator locked the conversation'); } - } elseif ($message === 'listable_participants') { - $parsedMessage = $this->l->t('{actor} made the conversation listable for participants only'); + } elseif ($message === 'listable_none') { + $parsedMessage = $this->l->t('{actor} made the conversation not listable'); if ($currentUserIsActor) { - $parsedMessage = $this->l->t('You made the conversation listable for participants only'); + $parsedMessage = $this->l->t('You made the conversation not listable'); } elseif ($cliIsActor) { - $parsedMessage = $this->l->t('An administrator made the conversation listable for participants only'); + $parsedMessage = $this->l->t('An administrator made the conversation not listable'); } } elseif ($message === 'listable_users') { $parsedMessage = $this->l->t('{actor} made the conversation listable for users only'); |