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(build): limit locales to valid files when using the --all-lang option #4486

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

isner
Copy link
Contributor

@isner isner commented Jun 3, 2024

This change updates the code path that is invoked when the build is run using the --all-lang option. When assembling the list of locale files from the /locales directory, this change only includes files that satisfy both of the following criteria:

  • Does not start with _
  • Ends with .json

This effectively excludes _template.json and README.md, and may proactively filter out future utility files that do not follow the typical locale-file naming standard.

Closes: #4485

@isner isner requested a review from a team as a code owner June 3, 2024 21:13
@straker straker merged commit d3db593 into develop Jun 3, 2024
22 checks passed
@straker straker deleted the fix/4485 branch June 3, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using all-lang option for build doesn't work
2 participants