improvement(plugins-page): Use i18n Text

Note that, since the translation PR has not been made yet, this patch
was used to test the changes: https://public.alyxia.dev/revolt/lang.diff
This commit is contained in:
Alyxia Sother
2022-03-29 13:32:59 +02:00
committed by Paul Makles
parent 07439bd5f6
commit 0d6720e3b1
3 changed files with 16 additions and 4 deletions

View File

@@ -166,8 +166,7 @@ export default observer(() => {
{
id: "plugins",
icon: <Plug size={20} />,
// TODO(lexisother): Replace this with the actual i18n <Text />
title: <p>Plugins</p>,
title: <Text id="app.settings.pages.plugins.title" />,
hidden: !experiments.isEnabled("plugins"),
},
{