Browse Source
Use picture instead of avatar in user facing strings
Signed-off-by: Marco <marcoambrosini@icloud.com>
pull/9059/head
Marco
3 years ago
committed by
Joas Schilling
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
4 additions and
4 deletions
-
lib/Chat/Parser/SystemMessage.php
|
|
|
@ -516,14 +516,14 @@ class SystemMessage { |
|
|
|
$parsedMessage = $this->l->t('You cleared the history of the conversation'); |
|
|
|
} |
|
|
|
} elseif ($message === 'avatar_set') { |
|
|
|
$parsedMessage = $this->l->t('{actor} set the conversation avatar'); |
|
|
|
$parsedMessage = $this->l->t('{actor} set the conversation picture'); |
|
|
|
if ($currentUserIsActor) { |
|
|
|
$parsedMessage = $this->l->t('You set the conversation avatar'); |
|
|
|
$parsedMessage = $this->l->t('You set the conversation picture'); |
|
|
|
} |
|
|
|
} elseif ($message === 'avatar_removed') { |
|
|
|
$parsedMessage = $this->l->t('{actor} removed the conversation avatar'); |
|
|
|
$parsedMessage = $this->l->t('{actor} removed the conversation picture'); |
|
|
|
if ($currentUserIsActor) { |
|
|
|
$parsedMessage = $this->l->t('You removed the conversation avatar'); |
|
|
|
$parsedMessage = $this->l->t('You removed the conversation picture'); |
|
|
|
} |
|
|
|
} elseif ($message === 'poll_closed') { |
|
|
|
$parsedParameters['poll'] = $parameters['poll']; |
|
|
|
|