* New translations equicord.json (Afrikaans) * New translations equicord.json (Arabic) * New translations equicord.json (Portuguese, Brazilian) * New translations vencord.json (Portuguese, Brazilian) * New translations api.json (Czech) * New translations api.json (Danish) * New translations translation.json (Danish) * New translations equicord.json (Czech) * New translations equicord.json (Portuguese, Brazilian) * New translations api.json (Arabic) * New translations translation.json (Czech) * New translations equicord.json (Spanish) * New translations equicord.json (Arabic) * New translations equicord.json (Czech) * New translations equicord.json (Portuguese, Brazilian) * fix(i18n): add missing en-US translations --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com> Co-authored-by: Mishal <91066601+mishalhossin@users.noreply.github.com>
26 lines
718 B
TypeScript
26 lines
718 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { Devs } from "@utils/constants";
|
|
import definePlugin from "@utils/types";
|
|
import { t } from "@utils/translation";
|
|
|
|
export default definePlugin({
|
|
name: "ImageLink",
|
|
description: t("imageLink.description"),
|
|
authors: [Devs.Kyuuhachi, Devs.Sqaaakoi],
|
|
|
|
patches: [
|
|
{
|
|
find: "unknownUserMentionPlaceholder:",
|
|
replacement: {
|
|
// SimpleEmbedTypes.has(embed.type) && isEmbedInline(embed)
|
|
match: /\i\.has\(\i\.type\)&&\(0,\i\.\i\)\(\i\)/,
|
|
replace: "false",
|
|
}
|
|
}
|
|
]
|
|
});
|