Skip to content

Commit

Permalink
Merge pull request #12163 from ethereum/crowdin-import-update
Browse files Browse the repository at this point in the history
fix: env var name in crowdin-import after Next.js migration
  • Loading branch information
corwintines authored Feb 13, 2024
2 parents 3f928eb + c3bc995 commit f5ec0a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/crowdin-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const argv = require("minimist")(process.argv.slice(2))
*
* 4. Execute script:
* 1. Execute script by running `yarn crowdin-import`
* 2. If successful, copy `GATSBY_BUILD_LANGS={langs}` output and paste in
* 2. If successful, copy `BUILD_LOCALES={langs}` output and paste in
* your `.env`, then build site to test results.
*
* *Remember: Revert any working changes to this file before committing Crowdin import
Expand Down Expand Up @@ -412,7 +412,7 @@ const langsSummary: string = summary.reduce(
log("Empty buckets:", trackers.emptyBuckets)
if (summary.length) {
console.table(summary)
console.log("Langs to test:", `\nGATSBY_BUILD_LANGS=en${langsSummary}`)
console.log("Langs to test:", `\nBUILD_LOCALES=en${langsSummary}`)
console.log("🎉 Crowdin import complete.")
} else {
console.warn("Nothing imported, see instruction at top of crowdin-imports.ts")
Expand Down

0 comments on commit f5ec0a4

Please sign in to comment.