internetarchive / internetarchive/openlibrary
messages.pot header not being updated
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Problem
The `POT-Creation-Date` in the `messages.pot` file hasn't been updated in the last two years, even though a number of changes have been made to it. This makes it difficult to tell how out of date a given language's `messages.po` file is and how urgently it should be updated.
https://github.com/internetarchive/openlibrary/blob/4f4def6691ac3fda9b747f1775613812f5b1d53b/openlibrary/i18n/messages.pot#L12
~The `Generated-By` line is also wrong since I believe it is now generated by some homebrew script rather than a standard tool like Babel.~ As pointed out by Copilot, although a homebrew script is used as the driver, the extraction & `.pot` writing is done by the PyBabel library routines.
https://github.com/internetarchive/openlibrary/blob/4f4def6691ac3fda9b747f1775613812f5b1d53b/openlibrary/i18n/messages.pot#L19
https://github.com/internetarchive/openlibrary/blame/4f4def6691ac3fda9b747f1775613812f5b1d53b/openlibrary/i18n/messages.pot
### Reproducing the bug
1. Go to ...
2. Do ...
* Expected behavior:
* Actual behavior:
### Context
- Browser (Chrome, Safari, Firefox, etc):
- OS (Windows, Mac, etc):
- Logged in (Y/N):
- Environment (prod, dev, local): prod
### Breakdown
Implementation Details (for maintainers)
#### Requirements Checklist
* [ ]
#### Related files
*
#### Stakeholders
*
#### Instructions for Contributors
- Please [run these commands](https://docs.openlibrary.org/developers/tools/git.html#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://docs.openlibrary.org/developers/tools/git.html#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
Contributor guide
Assessment
This issue has not been assessed yet.