mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-26 01:58:52 -05:00
* 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
35 lines
871 B
TypeScript
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
|
|
}
|
|
});
|