Skip to content

Commit

Permalink
fix: Be able to extract translations again.
Browse files Browse the repository at this point in the history
* The `conf/locale/en/LC_MESSAGES` folder does not get automatically
  created by other tooling so message extraction to that folder fails.

* The `gettext_fallback.js` file should not be getting picked up for
  translation since it's there only to be used when the the language
  gettext catalog is not available
  • Loading branch information
feanil committed Apr 25, 2024
1 parent 5967dde commit d63e295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/locale/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ ignore_dirs:
- src/pystache-custom
- src/rate-xblock
- src/xblock-google-drive
# Ignore the file we use translations are not setup.
- common/static/js/src/gettext_fallback.js


# Third-party installed apps that we also extract strings from. When adding a
Expand Down
3 changes: 3 additions & 0 deletions conf/locale/en/LC_MESSAGES/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# We want to ignore files in this directory which we do in the
# top-level .gitignore file but we still want this directory to
# be automatically created.

0 comments on commit d63e295

Please sign in to comment.