From 7e7f12a659afffc62b069352a5a0f510e301acd3 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:35:45 -0400 Subject: [PATCH] move translation --- i18n/en-US/translation.json | 10 ---------- i18n/en-US/vencord.json | 16 ++++++++++++++++ src/plugins/_core/translation.ts | 8 ++++---- 3 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 i18n/en-US/translation.json diff --git a/i18n/en-US/translation.json b/i18n/en-US/translation.json deleted file mode 100644 index f9cdbfd6f..000000000 --- a/i18n/en-US/translation.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "description": "Assists with translating Equicord", - "settings": { - "forceLocale": { - "description": "Force a different locale for Equicord to use", - "followDiscord": "Default (follow Discord)" - }, - "showMissingKeys": "If the current locale is missing translations, show the keys instead of falling back to English" - } -} \ No newline at end of file diff --git a/i18n/en-US/vencord.json b/i18n/en-US/vencord.json index 60154bacc..5656c6f8a 100644 --- a/i18n/en-US/vencord.json +++ b/i18n/en-US/vencord.json @@ -2211,5 +2211,21 @@ "description": "Helps us provide support to you", "debug": "Send Equicord debug info", "plugins": "Send Equicord plugin list" + }, + "noTrack": { + "description": "Disable Discord's tracking (analytics/'science'), metrics and Sentry crash reporting", + "settings": { + "disableAnalytics": "Disable Discord's tracking (analytics/'science')" + } + }, + "translation": { + "description": "Assists with translating Equicord", + "settings": { + "forceLocale": { + "description": "Force a different locale for Equicord to use", + "followDiscord": "Default (follow Discord)" + }, + "showMissingKeys": "If the current locale is missing translations, show the keys instead of falling back to English" + } } } \ No newline at end of file diff --git a/src/plugins/_core/translation.ts b/src/plugins/_core/translation.ts index a49adba0b..8f3efe5cb 100644 --- a/src/plugins/_core/translation.ts +++ b/src/plugins/_core/translation.ts @@ -13,10 +13,10 @@ import { i18n } from "@webpack/common"; const settings = definePluginSettings({ forceLocale: { type: OptionType.SELECT, - description: t("translation.settings.forceLocale.description"), + description: t("vencord.translation.settings.forceLocale.description"), options: [ { - label: t("translation.settings.forceLocale.followDiscord"), + label: t("vencord.translation.settings.forceLocale.followDiscord"), value: "", default: true, }, @@ -31,7 +31,7 @@ const settings = definePluginSettings({ }, showMissingKeys: { type: OptionType.BOOLEAN, - description: t("translation.settings.showMissingKeys"), + description: t("vencord.translation.settings.showMissingKeys"), default: false } }); @@ -39,7 +39,7 @@ const settings = definePluginSettings({ export default definePlugin({ name: "Translation", required: true, - description: t("translation.description"), + description: t("vencord.translation.description"), authors: [Devs.lewisakura], settings,