Skip to content

Commit f5ec0a4

Browse files
authored
Merge pull request #12163 from ethereum/crowdin-import-update
fix: env var name in crowdin-import after Next.js migration
2 parents 3f928eb + c3bc995 commit f5ec0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/crowdin-import.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const argv = require("minimist")(process.argv.slice(2))
5454
*
5555
* 4. Execute script:
5656
* 1. Execute script by running `yarn crowdin-import`
57-
* 2. If successful, copy `GATSBY_BUILD_LANGS={langs}` output and paste in
57+
* 2. If successful, copy `BUILD_LOCALES={langs}` output and paste in
5858
* your `.env`, then build site to test results.
5959
*
6060
* *Remember: Revert any working changes to this file before committing Crowdin import
@@ -412,7 +412,7 @@ const langsSummary: string = summary.reduce(
412412
log("Empty buckets:", trackers.emptyBuckets)
413413
if (summary.length) {
414414
console.table(summary)
415-
console.log("Langs to test:", `\nGATSBY_BUILD_LANGS=en${langsSummary}`)
415+
console.log("Langs to test:", `\nBUILD_LOCALES=en${langsSummary}`)
416416
console.log("🎉 Crowdin import complete.")
417417
} else {
418418
console.warn("Nothing imported, see instruction at top of crowdin-imports.ts")

0 commit comments

Comments
 (0)