Skip to content

Commit

Permalink
Remove untranslated locales from page generation and the locale choos…
Browse files Browse the repository at this point in the history
…er (#4224)
  • Loading branch information
zackkrida authored Apr 30, 2024
1 parent 1d875c8 commit 0ebbd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/locales/scripts/get-validated-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ try {
getValidatedLocales().then((locales) => {
console.log(`Found ${locales.translated.length} locales with translations.`)
const fileName = "valid-locales.json"
const valid = [...locales.translated, ...locales.untranslated]
const valid = locales.translated
fs.writeFileSync(
process.cwd() + `/src/locales/scripts/` + fileName,
JSON.stringify(valid, null, 2) + "\n"
Expand Down

0 comments on commit 0ebbd18

Please sign in to comment.