diff options
author | Joas Schilling <coding@schilljs.com> | 2024-04-15 14:35:08 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-04-24 06:39:15 +0000 |
commit | d7dd76a51cd8d5cb698c953dc8b24cf5364233c9 (patch) | |
tree | 93946b67c58388cf851ba8c5b4bb4df2abc12a0b | |
parent | 8fecee61a6d1d59a625954f2b4ecfb94b12d5f2a (diff) |
fix(chat): Rename circles to teams in system messagesbackport/12113/stable29
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Chat/Parser/SystemMessage.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Chat/Parser/SystemMessage.php b/lib/Chat/Parser/SystemMessage.php index e54e0a098..3bd060f23 100644 --- a/lib/Chat/Parser/SystemMessage.php +++ b/lib/Chat/Parser/SystemMessage.php @@ -416,19 +416,19 @@ class SystemMessage implements IEventListener { } } elseif ($message === 'circle_added') { $parsedParameters['circle'] = $this->getCircle($parameters['circle']); - $parsedMessage = $this->l->t('{actor} added circle {circle}'); + $parsedMessage = $this->l->t('{actor} added team {circle}'); if ($currentUserIsActor) { - $parsedMessage = $this->l->t('You added circle {circle}'); + $parsedMessage = $this->l->t('You added team {circle}'); } elseif ($cliIsActor) { - $parsedMessage = $this->l->t('An administrator added circle {circle}'); + $parsedMessage = $this->l->t('An administrator added team {circle}'); } } elseif ($message === 'circle_removed') { $parsedParameters['circle'] = $this->getCircle($parameters['circle']); - $parsedMessage = $this->l->t('{actor} removed circle {circle}'); + $parsedMessage = $this->l->t('{actor} removed team {circle}'); if ($currentUserIsActor) { - $parsedMessage = $this->l->t('You removed circle {circle}'); + $parsedMessage = $this->l->t('You removed team {circle}'); } elseif ($cliIsActor) { - $parsedMessage = $this->l->t('An administrator removed circle {circle}'); + $parsedMessage = $this->l->t('An administrator removed team {circle}'); } } elseif ($message === 'phone_added') { $parsedParameters['phone'] = $this->getPhone($room, $parameters['phone'], $parameters['name']); |