mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Used global language file for text
This commit is contained in:
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user