Update utils.ts

This commit is contained in:
thororen1234 2026-04-09 18:28:28 -04:00
parent fc46e2cfa3
commit 77b0d69262
No known key found for this signature in database

View file

@ -153,7 +153,7 @@ async function getTranslation(node: Node): Promise<string | null> {
// load the namespace
const bundle = JSON.parse(
await readFile(join(__dirname, "../i18n/en/${namespace}.json"), "utf-8")
await readFile(join(__dirname, `./i18n/en/${namespace}.json`), "utf-8")
);
const dotProp = (key: string, object: any) =>