t
This commit is contained in:
parent
93509257d8
commit
acc041ef1c
2 changed files with 3 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ async function getTranslation(node: Node): Promise<string | null> {
|
|||
// load the namespace
|
||||
const base = __dirname.endsWith("scripts") ? join(__dirname, "..") : __dirname;
|
||||
const bundle = JSON.parse(
|
||||
await readFile(join(base, `i18n/en/${namespace}.json`), "utf-8")
|
||||
await readFile(`${base}/i18n/en/${namespace}.json`, "utf-8")
|
||||
);
|
||||
|
||||
const dotProp = (key: string, object: any) =>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import { WebpackRequire } from "@vencord/discord-types/webpack";
|
|||
const settings = definePluginSettings({
|
||||
disableAnalytics: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: t("noTrack.settings.disableAnalytics"),
|
||||
description: t("vencord.noTrack.settings.disableAnalytics"),
|
||||
default: true,
|
||||
restartNeeded: true
|
||||
}
|
||||
|
|
@ -34,7 +34,7 @@ const settings = definePluginSettings({
|
|||
|
||||
export default definePlugin({
|
||||
name: "NoTrack",
|
||||
description: t("noTrack.description"),
|
||||
description: t("vencord.noTrack.description"),
|
||||
authors: [Devs.Cyn, Devs.Ven, Devs.Nuckyz, Devs.Arrow],
|
||||
required: true,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue