fix some translations
This commit is contained in:
parent
e23549f3df
commit
2da4e289e1
3 changed files with 1820 additions and 1816 deletions
|
|
@ -113,17 +113,6 @@
|
||||||
"alwaysExpandProfiles": {
|
"alwaysExpandProfiles": {
|
||||||
"description": "Always expands profile popouts to the full modal"
|
"description": "Always expands profile popouts to the full modal"
|
||||||
},
|
},
|
||||||
"anammox": {
|
|
||||||
"description": "Hides various features related to nitro and the store",
|
|
||||||
"settings": {
|
|
||||||
"dms": "Remove shops above DMs list",
|
|
||||||
"quests": "Remove quests above DMs list",
|
|
||||||
"serverBoost": "Remove server boost info above channel list",
|
|
||||||
"billing": "Remove billing settings",
|
|
||||||
"gift": "Remove gift button",
|
|
||||||
"emojiList": "Remove unavailable categories from the emoji picker"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"animalese": {
|
"animalese": {
|
||||||
"description": "Plays animal crossing animalese for every message sent (they yap a lot)",
|
"description": "Plays animal crossing animalese for every message sent (they yap a lot)",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
|
@ -189,17 +178,6 @@
|
||||||
"betterPlusReacts": {
|
"betterPlusReacts": {
|
||||||
"description": "The amount of plus before :emoji: is the message to add it to"
|
"description": "The amount of plus before :emoji: is the message to add it to"
|
||||||
},
|
},
|
||||||
"betterUserArea": {
|
|
||||||
"description": "Customize and make the user area more clean.",
|
|
||||||
"settings": {
|
|
||||||
"removeNameplate": "Remove nameplate styling.",
|
|
||||||
"removeAudioMenus": "Remove menus next to mute and deafen buttons.",
|
|
||||||
"alwaysShowUsername": "Always show username instead of status.",
|
|
||||||
"removeButtonTooltips": "Remove button tooltips.",
|
|
||||||
"removeAvatarDecoration": "Remove avatar decoration.",
|
|
||||||
"removeUsernameStyles": "Remove username colors and effects."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"blockKeywords": {
|
"blockKeywords": {
|
||||||
"description": "Blocks messages containing specific user-defined keywords, as if the user sending them was blocked.",
|
"description": "Blocks messages containing specific user-defined keywords, as if the user sending them was blocked.",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
|
@ -449,6 +427,30 @@
|
||||||
"setColor": "Set Color"
|
"setColor": "Set Color"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"declutter": {
|
||||||
|
"description": "Declutter discord ui by removing unwanted elements such as profile customizations, shops, quests and more.",
|
||||||
|
"settings": {
|
||||||
|
"removeNameplate": "Remove nameplate styling.",
|
||||||
|
"removeAudioMenus": "Remove menus next to mute and deafen buttons.",
|
||||||
|
"alwaysShowUsername": "Always show username instead of status.",
|
||||||
|
"removeButtonTooltips": "Remove button tooltips.",
|
||||||
|
"removeAvatarDecoration": "Remove avatar decoration.",
|
||||||
|
"removeUsernameStyles": "Remove username colors and effects.",
|
||||||
|
"removeShopAboveDM": "Remove shops above DMs list.",
|
||||||
|
"removeQuestsAboveDM": "Remove quests above DMs list.",
|
||||||
|
"removeServerBoostInfo": "Remove server boost info above channel list.",
|
||||||
|
"removeBillingSettings": "Remove billing settings.",
|
||||||
|
"removeGiftButton": "Remove gift button.",
|
||||||
|
"removeUnavailableEmojiPicker": "Remove unavailable categories from the emoji picker.",
|
||||||
|
"removeProfileEffect": "Remove profile animation effects on open.",
|
||||||
|
"removeClanTag": "Remove clan tags."
|
||||||
|
},
|
||||||
|
"headers": {
|
||||||
|
"userProfile": "User Profile",
|
||||||
|
"friendsList": "Above Friends/DMs List",
|
||||||
|
"misc": "Misc"
|
||||||
|
}
|
||||||
|
},
|
||||||
"disableCameras": {
|
"disableCameras": {
|
||||||
"description": "Disables cameras in a call by default"
|
"description": "Disables cameras in a call by default"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -7,6 +7,7 @@
|
||||||
import { definePluginSettings, migratePluginSetting, migratePluginSettings } from "@api/Settings";
|
import { definePluginSettings, migratePluginSetting, migratePluginSettings } from "@api/Settings";
|
||||||
import { HeadingSecondary } from "@components/Heading";
|
import { HeadingSecondary } from "@components/Heading";
|
||||||
import { Devs, EquicordDevs } from "@utils/index";
|
import { Devs, EquicordDevs } from "@utils/index";
|
||||||
|
import { t } from "@utils/translation";
|
||||||
import definePlugin, { OptionType } from "@utils/types";
|
import definePlugin, { OptionType } from "@utils/types";
|
||||||
|
|
||||||
migratePluginSettings("Declutter", "BetterUserArea", "Anammox");
|
migratePluginSettings("Declutter", "BetterUserArea", "Anammox");
|
||||||
|
|
@ -27,97 +28,97 @@ for (const [oldKey, newKey] of migrationsAnammox) {
|
||||||
export const settings = definePluginSettings({
|
export const settings = definePluginSettings({
|
||||||
userProfileHeader: {
|
userProfileHeader: {
|
||||||
type: OptionType.COMPONENT,
|
type: OptionType.COMPONENT,
|
||||||
component: () => SectionSeparator("User Profile"),
|
component: () => SectionSeparator(t("declutter.headers.userProfile")),
|
||||||
},
|
},
|
||||||
removeAvatarDecoration: {
|
removeAvatarDecoration: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove avatar decorations.",
|
description: t("declutter.settings.removeAvatarDecoration"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeNameplate: {
|
removeNameplate: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove nameplates.",
|
description: t("declutter.settings.removeNameplate"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeProfileEffect: {
|
removeProfileEffect: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove profile animation effects on open.",
|
description: t("declutter.settings.removeProfileEffect"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeClanTag: {
|
removeClanTag: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove clan tags.",
|
description: t("declutter.settings.removeClanTag"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
alwaysShowUsername: {
|
alwaysShowUsername: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Always show username instead of status.",
|
description: t("declutter.settings.alwaysShowUsername"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true
|
restartNeeded: true
|
||||||
},
|
},
|
||||||
removeUsernameStyles: {
|
removeUsernameStyles: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove username colors and effects.",
|
description: t("declutter.settings.removeUsernameStyles"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true
|
restartNeeded: true
|
||||||
},
|
},
|
||||||
friendsListHeader: {
|
friendsListHeader: {
|
||||||
type: OptionType.COMPONENT,
|
type: OptionType.COMPONENT,
|
||||||
component: () => SectionSeparator("Above Friends/DMs List"),
|
component: () => SectionSeparator(t("declutter.headers.friendsList")),
|
||||||
},
|
},
|
||||||
removeShopAboveDM: {
|
removeShopAboveDM: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove shops above DMs list.",
|
description: t("declutter.settings.removeShopAboveDM"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeQuestsAboveDM: {
|
removeQuestsAboveDM: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove quests above DMs list.",
|
description: t("declutter.settings.removeQuestsAboveDM"),
|
||||||
default: false,
|
default: false,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
miscHeader: {
|
miscHeader: {
|
||||||
type: OptionType.COMPONENT,
|
type: OptionType.COMPONENT,
|
||||||
component: () => SectionSeparator("Misc"),
|
component: () => SectionSeparator(t("declutter.headers.misc")),
|
||||||
},
|
},
|
||||||
removeServerBoostInfo: {
|
removeServerBoostInfo: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove server boost info above channel list.",
|
description: t("declutter.settings.removeServerBoostInfo"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeBillingSettings: {
|
removeBillingSettings: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove billing settings.",
|
description: t("declutter.settings.removeBillingSettings"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeGiftButton: {
|
removeGiftButton: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove gift button.",
|
description: t("declutter.settings.removeGiftButton"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeUnavailableEmojiPicker: {
|
removeUnavailableEmojiPicker: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove unavailable categories from the emoji picker.",
|
description: t("declutter.settings.removeUnavailableEmojiPicker"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true,
|
restartNeeded: true,
|
||||||
},
|
},
|
||||||
removeAudioMenus: {
|
removeAudioMenus: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove menus next to mute and deafen buttons.",
|
description: t("declutter.settings.removeAudioMenus"),
|
||||||
default: true,
|
default: true,
|
||||||
restartNeeded: true
|
restartNeeded: true
|
||||||
},
|
},
|
||||||
removeButtonTooltips: {
|
removeButtonTooltips: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
description: "Remove button tooltips.",
|
description: t("declutter.settings.removeButtonTooltips"),
|
||||||
default: false,
|
default: false,
|
||||||
restartNeeded: true
|
restartNeeded: true
|
||||||
},
|
},
|
||||||
|
|
@ -135,7 +136,7 @@ function SectionSeparator(title: string) {
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "Declutter",
|
name: "Declutter",
|
||||||
description: "Declutter discord ui by removing unwanted elements such as profile customizations, shops, quests and more.",
|
description: t("declutter.description"),
|
||||||
authors: [EquicordDevs.Leon135, Devs.prism, Devs.Kyuuhachi],
|
authors: [EquicordDevs.Leon135, Devs.prism, Devs.Kyuuhachi],
|
||||||
settings,
|
settings,
|
||||||
patches: [
|
patches: [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue