From b2dc5542b34ab529f16c6d5549e3e34aa6326608 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 9 Oct 2020 09:00:38 +0100 Subject: [PATCH] delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/right_panel/WidgetCard.tsx | 3 --- src/i18n/strings/en_EN.json | 12 +++--------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/views/right_panel/WidgetCard.tsx b/src/components/views/right_panel/WidgetCard.tsx index ec30d6c53b..5e53877aca 100644 --- a/src/components/views/right_panel/WidgetCard.tsx +++ b/src/components/views/right_panel/WidgetCard.tsx @@ -20,7 +20,6 @@ import {Room} from "matrix-js-sdk/src/models/room"; import MatrixClientContext from "../../../contexts/MatrixClientContext"; import BaseCard from "./BaseCard"; import WidgetUtils from "../../../utils/WidgetUtils"; -import AccessibleButton from "../elements/AccessibleButton"; import AppTile from "../elements/AppTile"; import {_t} from "../../../languageHandler"; import {useWidgets} from "./RoomSummaryCard"; @@ -30,8 +29,6 @@ import {SetRightPanelPhasePayload} from "../../../dispatcher/payloads/SetRightPa import {Action} from "../../../dispatcher/actions"; import WidgetStore from "../../../stores/WidgetStore"; import {ChevronFace, ContextMenuButton, useContextMenu} from "../../structures/ContextMenu"; -import AccessibleTooltipButton from "../elements/AccessibleTooltipButton"; -import classNames from "classnames"; import RoomWidgetContextMenu from "../context_menus/RoomWidgetContextMenu"; interface IProps { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b01edad821..137e0f0e0f 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1022,7 +1022,6 @@ "Remove %(phone)s?": "Remove %(phone)s?", "A text message has been sent to +%(msisdn)s. Please enter the verification code it contains.": "A text message has been sent to +%(msisdn)s. Please enter the verification code it contains.", "Phone Number": "Phone Number", - "Add a widget": "Add a widget", "Drop File Here": "Drop File Here", "Drop file here to upload": "Drop file here to upload", "This user has not verified all of their sessions.": "This user has not verified all of their sessions.", @@ -1471,13 +1470,7 @@ "Widgets do not use message encryption.": "Widgets do not use message encryption.", "Widget added by": "Widget added by", "This widget may use cookies.": "This widget may use cookies.", - "Delete Widget": "Delete Widget", - "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?": "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?", - "Delete widget": "Delete widget", - "Failed to remove widget": "Failed to remove widget", - "An error ocurred whilst trying to remove the widget from the room": "An error ocurred whilst trying to remove the widget from the room", "Popout widget": "Popout widget", - "More options": "More options", "Use the Desktop app to see all encrypted files": "Use the Desktop app to see all encrypted files", "Use the Desktop app to search encrypted messages": "Use the Desktop app to search encrypted messages", "This version of %(brand)s does not support viewing some encrypted files": "This version of %(brand)s does not support viewing some encrypted files", @@ -1906,6 +1899,9 @@ "Collapse Reply Thread": "Collapse Reply Thread", "Report Content": "Report Content", "Take a picture": "Take a picture", + "Delete Widget": "Delete Widget", + "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?": "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?", + "Delete widget": "Delete widget", "Remove for everyone": "Remove for everyone", "Remove for me": "Remove for me", "Clear status": "Clear status", @@ -1913,8 +1909,6 @@ "Set status": "Set status", "Set a new status...": "Set a new status...", "View Community": "View Community", - "Reload": "Reload", - "Take picture": "Take picture", "This room is public": "This room is public", "Away": "Away", "User Status": "User Status",