fix: add template to new msg bar translation

This commit is contained in:
Paul Makles
2021-12-30 15:12:38 +00:00
parent 5417632f87
commit 7496f484e1
3 changed files with 7 additions and 36 deletions

View File

@@ -49,8 +49,12 @@ export default observer(
}
}}>
<div>
<Text id="app.main.channel.misc.new_messages" />{" "}
{dayjs(decodeTime(last_id)).fromNow()}
<Text
id="app.main.channel.misc.new_messages"
fields={{
time_ago: dayjs(decodeTime(last_id)).fromNow(),
}}
/>
</div>
<div>
<Text id="app.main.channel.misc.jump_beginning" />