From b73d0ca92acda404f3faf3afe1e0b661662972a6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 12 Nov 2019 12:37:47 +0000 Subject: [PATCH] delint and run i18n --- src/components/structures/ContextualMenu.js | 1 - src/components/views/context_menus/RoomTileContextMenu.js | 2 -- src/components/views/context_menus/TopLeftMenu.js | 1 - src/i18n/strings/en_EN.json | 2 +- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/structures/ContextualMenu.js b/src/components/structures/ContextualMenu.js index c172daf991..dcf670f01d 100644 --- a/src/components/structures/ContextualMenu.js +++ b/src/components/structures/ContextualMenu.js @@ -22,7 +22,6 @@ import PropTypes from 'prop-types'; import classNames from 'classnames'; import {focusCapturedRef} from "../../utils/Accessibility"; import {Key, KeyCode} from "../../Keyboard"; -import {_t} from "../../languageHandler"; import sdk from "../../index"; // Shamelessly ripped off Modal.js. There's probably a better way diff --git a/src/components/views/context_menus/RoomTileContextMenu.js b/src/components/views/context_menus/RoomTileContextMenu.js index 6b1149cca1..e00e3dcdbb 100644 --- a/src/components/views/context_menus/RoomTileContextMenu.js +++ b/src/components/views/context_menus/RoomTileContextMenu.js @@ -318,8 +318,6 @@ module.exports = createReactClass({ return null; } - const AccessibleButton = sdk.getComponent('elements.AccessibleButton'); - let leaveClickHandler = null; let leaveText = null; diff --git a/src/components/views/context_menus/TopLeftMenu.js b/src/components/views/context_menus/TopLeftMenu.js index d5b6817b00..2232090698 100644 --- a/src/components/views/context_menus/TopLeftMenu.js +++ b/src/components/views/context_menus/TopLeftMenu.js @@ -24,7 +24,6 @@ import Modal from "../../../Modal"; import SdkConfig from '../../../SdkConfig'; import { getHostingLink } from '../../../utils/HostingLink'; import MatrixClientPeg from '../../../MatrixClientPeg'; -import sdk from "../../../index"; import {MenuItem} from "../../structures/ContextualMenu"; export class TopLeftMenu extends React.Component { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 75be4205df..4f73f4d2d4 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1054,11 +1054,11 @@ "Yesterday": "Yesterday", "View Source": "View Source", "Error decrypting audio": "Error decrypting audio", + "Options": "Options", "React": "React", "Reply": "Reply", "Edit": "Edit", "Message Actions": "Message Actions", - "Options": "Options", "Attachment": "Attachment", "Error decrypting attachment": "Error decrypting attachment", "Decrypt %(text)s": "Decrypt %(text)s",