Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: env var name in crowdin-import after Next.js migration #12163

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading