aminghadersohi opened a new pull request, #44539:
URL: https://github.com/apache/superset/pull/44539
### SUMMARY
Master's `superset/translations/messages.pot` is out of sync with source at
`ee4b8ddff`, causing the shared `babel-extract` failure on fresh PRs.
Regenerate the template and catalogs using
`./scripts/translations/babel_update.sh`; no hand edits.
Exact output of `python scripts/translations/check_pot_drift.py` before
regeneration:
```text
superset/translations/messages.pot is out of sync with source: 4 string(s)
in source are missing from the template, 0 string(s) in the template no longer
exist in source.
In source, not in the template (4):
+ 'Display format'
+ 'Reload the page and try again to continue.'
+ 'Security token error'
+ 'The CSRF token could not be validated.'
Run ./scripts/translations/babel_update.sh and commit the regenerated
messages.pot (and any changed .po catalogs).
```
This fixes the common upstream defect blocking #43770, #44148, #44152,
#44287, #44495, and #44504. Those PRs are unchanged.
The diff is limited to `messages.pot` (+13/-1) and 30 `messages.po` catalogs
(+840/-345), totaling +853/-346. Catalog regeneration also catches up existing
catalog drift (nine added and four obsolete msgids per catalog); translations,
flags, and extracted comments for retained entries are unchanged. No mass
reformatting or scratch files.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Not applicable: generated translation files only.
### TESTING INSTRUCTIONS
- Run `./scripts/translations/babel_update.sh` with Babel and GNU gettext
available.
- Run `python scripts/translations/check_pot_drift.py`. Passed locally after
regeneration:
`superset/translations/messages.pot matches a fresh extraction.`
- Run `pre-commit run` with the changed translation files staged. Passed.
- `git diff --check` passed; parsed all changed catalogs to verify existing
entries were preserved.
### ADDITIONAL INFORMATION
- [x] Has associated issue:
[SC-121633](https://app.shortcut.com/preset/story/121633)
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in
[SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
Draft for review. No dev environment was started.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]