This commit is contained in:
thororen1234 2026-04-09 18:37:30 -04:00
parent 7e7f12a659
commit 5610f13dcc
No known key found for this signature in database

View file

@ -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(`${base}/i18n/en/${namespace}.json`, "utf-8")
await readFile(`${base}/i18n/en-US/${namespace}.json`, "utf-8")
);
const dotProp = (key: string, object: any) =>