diff --git a/src/plugins/translate/index.tsx b/src/plugins/translate/index.tsx index 975f67ba8..363897d1b 100644 --- a/src/plugins/translate/index.tsx +++ b/src/plugins/translate/index.tsx @@ -22,21 +22,12 @@ import { findGroupChildrenByChildId, NavContextMenuPatchCallback } from "@api/Co import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; import { ChannelStore, Menu } from "@webpack/common"; -import { Message } from "discord-types/general"; import { settings } from "./settings"; import { setShouldShowTranslateEnabledTooltip, TranslateChatBarIcon, TranslateIcon } from "./TranslateIcon"; import { handleTranslate, TranslationAccessory } from "./TranslationAccessory"; import { translate } from "./utils"; -interface IMessageCreate { - type: "MESSAGE_CREATE"; - optimistic: boolean; - isPushNotification: boolean; - channelId: string; - message: Message; -} - const messageCtxPatch: NavContextMenuPatchCallback = (children, { message }) => { if (!message.content) return; diff --git a/src/plugins/translate/settings.ts b/src/plugins/translate/settings.ts index 404ccfbfa..58042c5eb 100644 --- a/src/plugins/translate/settings.ts +++ b/src/plugins/translate/settings.ts @@ -77,11 +77,6 @@ export const settings = definePluginSettings({ type: OptionType.BOOLEAN, description: "Show a tooltip on the ChatBar button whenever a message is automatically translated", default: true - }, - disableOnSameLanguage: { - type: OptionType.BOOLEAN, - description: "Disable auto translate if the current language doesnt change", - default: true } }).withPrivateSettings<{ showAutoTranslateAlert: boolean;