Finish Purge For Merge

This commit is contained in:
thororen1234 2025-02-26 19:45:30 -05:00
parent 83c3497951
commit 286a77b20b
No known key found for this signature in database
2 changed files with 0 additions and 14 deletions

View file

@ -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;

View file

@ -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;