fix(channel): added string to new message bar

This commit is contained in:
trashtemp 2021-12-24 19:01:55 +01:00
parent c53f74abbf
commit 73b6da4e1e
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
2 changed files with 4 additions and 2 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit c5d2538d70e3df1b099caf9084e41b015a52387d
Subproject commit 455c61db08463159ede88380ef8ef998fd9d9d33

View file

@ -4,6 +4,7 @@ import { useHistory } from "react-router-dom";
import { Channel } from "revolt.js/dist/maps/Channels";
import { decodeTime } from "ulid";
import { Text } from "preact-i18n";
import { useEffect, useState } from "preact/hooks";
import { internalSubscribe } from "../../../../lib/eventEmitter";
@ -52,7 +53,8 @@ export default observer(
{dayjs(decodeTime(last_id)).fromNow()}
</div>
<div>
Click to jump to start. <UpArrowAlt size={20} />
<Text id="app.main.channel.misc.jump_beginning" />
<UpArrowAlt size={20} />
</div>
</div>
</Bar>