Browse Source
Translate position of emoji as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4216/head
Joas Schilling
5 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
7 additions and
3 deletions
-
lib/Chat/Changelog/Manager.php
|
|
|
@ -84,9 +84,13 @@ class Manager { |
|
|
|
} |
|
|
|
|
|
|
|
public function getChangelogs(): array { |
|
|
|
$emojis = ''; |
|
|
|
$emojis = $this->l->t('- Spice up your messages with emojis from the emoji picker'); |
|
|
|
if ($this->connection->supports4ByteText()) { |
|
|
|
$emojis = ' 😍'; |
|
|
|
$emojis = str_replace( |
|
|
|
'{emoji}', |
|
|
|
'😍', |
|
|
|
$this->l->t('- Spice up your messages with emojis from the emoji picker {emoji}') |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
return [ |
|
|
|
@ -114,7 +118,7 @@ class Manager { |
|
|
|
$this->l->t('- Shared files are now opened directly inside the chat view with the viewer apps'), |
|
|
|
$this->l->t('New in Talk 10'), |
|
|
|
$this->l->t('- You can now search for chats and messages in the unified search in the top bar'), |
|
|
|
$this->l->t('- Spice up your messages with emojis from the emoji picker') . $emojis, |
|
|
|
$emojis, |
|
|
|
$this->l->t('- You can now change your camera and microphone while being in a call'), |
|
|
|
]; |
|
|
|
} |
|
|
|
|