remove style overrides, update script
This commit is contained in:
1 parent
5254dc1984
commit
1e064fb771
2 files changed
+4
-79
No files matched your search
@@ -76,8 +76,7 @@ async function downloadTranslations() {
|
||||
|
||||
// Determine the output filename based on language
|
||||
const normalizedLanguage = normalizeLanguageCode(language);
|
||||
const filename =
|
||||
normalizedLanguage === "en" ? "gb.json" : `${normalizedLanguage}.json`;
|
||||
const filename = `${normalizedLanguage}.json`;
|
||||
const outputPath = path.join(process.cwd(), "temp", filename);
|
||||
await fs.writeJson(outputPath, formattedTranslations, { spaces: 2 });
|
||||
|
||||
|
||||
Reference in new issue
Block a user