mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-26 09:00:57 -05:00
Used global language file for text
This commit is contained in:
parent
3e3c490a22
commit
a6c788f469
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@ import { Link, useHistory, useLocation, useParams } from "react-router-dom";
|
||||||
import { RelationshipStatus } from "revolt-api/types/Users";
|
import { RelationshipStatus } from "revolt-api/types/Users";
|
||||||
import styled, { css } from "styled-components";
|
import styled, { css } from "styled-components";
|
||||||
|
|
||||||
|
import { Text } from "preact-i18n";
|
||||||
|
|
||||||
import { attachContextMenu } from "preact-context-menu";
|
import { attachContextMenu } from "preact-context-menu";
|
||||||
|
|
||||||
import ConditionalLink from "../../../lib/ConditionalLink";
|
import ConditionalLink from "../../../lib/ConditionalLink";
|
||||||
|
@ -321,7 +323,7 @@ export const ServerListSidebar = observer(({ unreads, lastOpened }: Props) => {
|
||||||
<SettingsButton>
|
<SettingsButton>
|
||||||
<Link to="/settings">
|
<Link to="/settings">
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content="Settings"
|
content={<Text id="app.settings.title" />}
|
||||||
placement="right">
|
placement="right">
|
||||||
<IconButton>
|
<IconButton>
|
||||||
<Cog size={32} strokeWidth="0.5" />
|
<Cog size={32} strokeWidth="0.5" />
|
||||||
|
|
Loading…
Reference in a new issue