Used global language file for text
parent
2befb9e74e
commit
69b4cebc2d
|
|
@ -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 New Issue