From fc46e2cfa347a2ffbb4b7781e308987e3f87e7aa Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:22:38 -0400 Subject: [PATCH] fixes --- crowdin.yml | 3 --- scripts/utils.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml deleted file mode 100644 index d0e747bd0..000000000 --- a/crowdin.yml +++ /dev/null @@ -1,3 +0,0 @@ -files: - - source: /i18n/en-US/*.json - translation: /i18n/%locale%/%original_file_name% diff --git a/scripts/utils.ts b/scripts/utils.ts index 607edbfc2..b408e6b3c 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -153,7 +153,7 @@ async function getTranslation(node: Node): Promise { // load the namespace const bundle = JSON.parse( - await readFile(`./i18n/en/${namespace}.json`, "utf-8") + await readFile(join(__dirname, "../i18n/en/${namespace}.json"), "utf-8") ); const dotProp = (key: string, object: any) =>