Equicord/src/equicordplugins/translatePlus/settings.ts
Prince527 80a9307139
Update Translate+ (#13)
* Updated Translate+

I came up with a way to keep Shavian

* Updated Translate+

Removed a setting because its not needed, I made my API public :)

* Update languages.ts

* Update index.tsx

* Translator+ v2

* Added types

* Update languages.ts
2024-07-18 18:26:01 -04:00

35 lines
871 B
TypeScript

/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { definePluginSettings } from "@api/Settings";
import { OptionType } from "@utils/types";
export const settings = definePluginSettings({
target: {
type: OptionType.STRING,
description: "Target language",
default: "en",
restartNeeded: true
},
toki: {
type: OptionType.BOOLEAN,
description: "Enable Toki Pona",
default: true,
restartNeeded: true
},
sitelen: {
type: OptionType.BOOLEAN,
description: "Enable Sitelen Pona",
default: true,
restartNeeded: true
},
shavian: {
type: OptionType.BOOLEAN,
description: "Enable Shavian",
default: true,
restartNeeded: true
}
});