fix: Be able to extract translations again.

* 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
This commit is contained in:
Feanil Patel
2024-04-25 14:47:11 -04:00
parent 5967ddea37
commit d63e295e0e
2 changed files with 5 additions and 0 deletions

View File

@@ -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

3
conf/locale/en/LC_MESSAGES/.gitignore vendored Normal file
View File

@@ -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.