Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Chat
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-24 11:58:38 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-24 11:58:38 +0300
commitddefa75ef29bed4e19dd73ad3f5b23f30c841f65 (patch)
treedf1b6d9de3ee5e8448610afdb0cf3faa68a4f15a /lib/Chat
parentd8e81d4c7979fb2431849dab067c4b97e7121fbe (diff)
Translate position of emoji as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Chat')
-rw-r--r--lib/Chat/Changelog/Manager.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Chat/Changelog/Manager.php b/lib/Chat/Changelog/Manager.php
index 90a9ff6f7..0afbcc3c9 100644
--- a/lib/Chat/Changelog/Manager.php
+++ b/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'),
];
}