aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-locales.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts
index b4bc2311..d73b4ef6 100644
--- a/scripts/generate-locales.ts
+++ b/scripts/generate-locales.ts
@@ -465,7 +465,7 @@ for (const locale of locales) {
localeIndexImports += `import { faker as ${localizedFaker} } from './${locale}';\n`;
localeIndexExportsIndividual += `export { faker as ${localizedFaker} } from './${locale}';\n`;
localeIndexExportsGrouped += ` ${locale}: ${localizedFaker},\n`;
- localesIndexImports += `import { default as ${locale} } from './${locale}';\n`;
+ localesIndexImports += `import ${locale} from './${locale}';\n`;
localesIndexExportsIndividual += `export { default as ${locale} } from './${locale}';\n`;
localesIndexExportsGrouped += ` ${locale},\n`;
localizationLocales += `| \`${locale}\` | ${localeTitle} | \`${localizedFaker}\` |\n`;