Skip to content

fix(i18n): regenerate messages.pot to match source - #44547

Closed
rusackas wants to merge 1 commit into
masterfrom
fix/regenerate-messages-pot-0922
Closed

rusackas wants to merge 1 commit into
masterfrom
fix/regenerate-messages-pot-0922

Conversation

@rusackas

Copy link
Copy Markdown
Member

SUMMARY

messages.pot drifted from source again: superset/commands/database/update.py's connection-move error message picked up mentions of the SSH tunnel and OAuth2 endpoint URIs (landed via #44003) without a babel_update.sh regeneration, so the committed template no longer matches source. That fails check_pot_drift_test.py (babel-extract, unit-tests, unit-tests-required) on master itself, and on every open PR whose branch includes that failure — currently blocking #44546's required checks with no relation to that PR's own diff.

Ran ./scripts/translations/babel_update.sh and committed the mechanical output. Pure regeneration: verified with check_pot_drift.py ("matches a fresh extraction") and by diff — only .pot/.po files touched, no app code.

TESTING INSTRUCTIONS

python scripts/translations/check_pot_drift.py
# -> superset/translations/messages.pot matches a fresh extraction.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • 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

🤖 Generated with Claude Code

@bito-code-review

bito-code-review Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #4cda76

Actionable Suggestions - 0
Additional Suggestions - 6
  • superset/translations/zh_TW/LC_MESSAGES/messages.po - 1
    • Missing zh_TW translation · Line 18529-18532
      The msgid was updated to add OAuth2 endpoint URIs and client secret, but the corresponding `msgstr` (line 18533) is empty, so zh_TW users will see the untranslated English text. Per BITO rule [12743], empty msgstr fields must be filled. Add a zh_TW translation for this updated message.
  • superset/translations/de/LC_MESSAGES/messages.po - 1
    • Missing German translation · Line 16833-16836
      The msgid was updated to add OAuth2 endpoint URIs / OAuth2 client secret (matching `exceptions.py`), but the German `msgstr` at line 16837 is empty, so German users will see untranslated English for this error message. Per BITO.md rules 12743/13343, fill the msgstr with a German translation before merging.
  • superset/translations/fi/LC_MESSAGES/messages.po - 1
    • Missing Finnish translation · Line 28240-28243
      The msgid was updated to add OAuth2 endpoint URIs and OAuth2 client secret, but the msgstr at line 28244 is still empty, so Finnish users will see untranslated English text for this connection-move confirmation. Per BITO.md rule 12743, empty msgstr fields should be filled with translations.
  • superset/translations/th/LC_MESSAGES/messages.po - 1
    • Missing Thai translation · Line 27892-27895
      The msgid was updated to match the new source string in `exceptions.py` (now mentions OAuth2 endpoint URIs), but `msgstr` at line 27896 is empty. With an empty msgstr, gettext falls back to the English source, so Thai users see untranslated text for this connection-move warning. Add the Thai translation.
  • superset/translations/ru/LC_MESSAGES/messages.po - 1
    • Missing Russian translation · Line 16548-16551
      The updated msgid (OAuth2 endpoint URIs / client secret) is a user-facing error message, but its `msgstr` at line 16552 is empty, so Russian users will see untranslated English. Per BITO.md rule 13343, user-facing error messages must have complete translations. Add the Russian translation for the new text.
  • superset/translations/ja/LC_MESSAGES/messages.po - 1
    • Missing Japanese translation · Line 15505-15508
      The updated msgid (lines 15505-15508) is a user-facing error string from `DatabaseConnectionMoveError` in `superset/commands/database/exceptions.py`, but its `msgstr` (line 15509) is empty, so Japanese users will see untranslated English. Per BITO.md rules 12743/13343, fill the empty msgstr before merging.
Review Details
  • Files reviewed - 31 · Commit Range: 7572197..7572197
    • superset/translations/ar/LC_MESSAGES/messages.po
    • superset/translations/ca/LC_MESSAGES/messages.po
    • superset/translations/cs/LC_MESSAGES/messages.po
    • superset/translations/de/LC_MESSAGES/messages.po
    • superset/translations/en/LC_MESSAGES/messages.po
    • superset/translations/es/LC_MESSAGES/messages.po
    • superset/translations/fa/LC_MESSAGES/messages.po
    • superset/translations/fi/LC_MESSAGES/messages.po
    • superset/translations/fr/LC_MESSAGES/messages.po
    • superset/translations/it/LC_MESSAGES/messages.po
    • superset/translations/ja/LC_MESSAGES/messages.po
    • superset/translations/ko/LC_MESSAGES/messages.po
    • superset/translations/lv/LC_MESSAGES/messages.po
    • superset/translations/messages.pot
    • superset/translations/mi/LC_MESSAGES/messages.po
    • superset/translations/nl/LC_MESSAGES/messages.po
    • superset/translations/pl/LC_MESSAGES/messages.po
    • superset/translations/pt/LC_MESSAGES/messages.po
    • superset/translations/pt_BR/LC_MESSAGES/messages.po
    • superset/translations/ro/LC_MESSAGES/messages.po
    • superset/translations/ru/LC_MESSAGES/messages.po
    • superset/translations/sk/LC_MESSAGES/messages.po
    • superset/translations/sl/LC_MESSAGES/messages.po
    • superset/translations/sr/LC_MESSAGES/messages.po
    • superset/translations/sr_Latn/LC_MESSAGES/messages.po
    • superset/translations/ta/LC_MESSAGES/messages.po
    • superset/translations/th/LC_MESSAGES/messages.po
    • superset/translations/tr/LC_MESSAGES/messages.po
    • superset/translations/uk/LC_MESSAGES/messages.po
    • superset/translations/zh/LC_MESSAGES/messages.po
    • superset/translations/zh_TW/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@github-actions github-actions Bot added i18n Namespace | Anything related to localization i18n:spanish Translation related to Spanish language i18n:italian Translation related to Italian language i18n:french Translation related to French language i18n:chinese Translation related to Chinese language i18n:japanese Translation related to Japanese language i18n:russian Translation related to Russian language i18n:korean Translation related to Korean language i18n:dutch i18n:slovak i18n:ukrainian i18n:portuguese i18n:brazilian i18n:traditional-chinese i18n:persian i18n:czech i18n:latvian preset-io labels Sep 22, 2026
@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.93%. Comparing base (269b9f9) to head (3906053).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #44547       +/-   ##
===========================================
+ Coverage   66.21%   80.93%   +14.71%     
===========================================
  Files        2948     2949        +1     
  Lines      177277   177372       +95     
  Branches    41081    41100       +19     
===========================================
+ Hits       117377   143549    +26172     
+ Misses      57397    31119    -26278     
- Partials     2503     2704      +201     
Flag Coverage Δ
hive 36.92% <ø> (-0.01%) ⬇️
mysql 56.15% <ø> (-0.03%) ⬇️
postgres 56.15% <ø> (-0.03%) ⬇️
presto 38.86% <ø> (-0.01%) ⬇️
python 85.23% <ø> (+28.73%) ⬆️
sqlite 55.87% <ø> (-0.03%) ⬇️
unit 77.47% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

superset/commands/database/update.py's connection-move error message was
updated to mention the SSH tunnel and OAuth2 endpoint URIs without
regenerating the .pot/.po catalogs, leaving master's committed template out
of sync with source and failing the babel-extract/unit-tests-required CI
checks for every open PR.

Co-Authored-By: Evan Rusackas <evan@preset.io>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@rusackas
rusackas force-pushed the fix/regenerate-messages-pot-0922 branch from 7572197 to 3906053 Compare September 23, 2026 01:44
@netlify

netlify Bot commented Sep 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 3906053
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6ab32eefc8111b0008232bf6
😎 Deploy Preview https://deploy-preview-44547--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@bito-code-review

bito-code-review Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Agent Run #c724e4

Actionable Suggestions - 0
Additional Suggestions - 6
  • superset/translations/ca/LC_MESSAGES/messages.po - 1
    • Missing Catalan translation · Line 17854-17857
      The updated msgid now references OAuth2 endpoint URIs / client secret, but the Catalan `msgstr` at line 17858 is still empty, so Catalan users see untranslated English for this `DatabaseUpdateValidationError` message. Per BITO.md rules 12743/13343, fill the msgstr before merging.
  • superset/translations/zh_TW/LC_MESSAGES/messages.po - 1
    • Missing zh_TW translation · Line 18529-18532
      The msgid was updated to match the new source string in `exceptions.py` (added OAuth2 endpoint URIs / client secret), but the `msgstr` at line 18533 is still empty. zh_TW users will see the untranslated English error. Per BITO.md rule 12743, fill the translation for this user-facing message.
  • superset/translations/sl/LC_MESSAGES/messages.po - 1
    • Missing Slovenian translation · Line 17058-17061
      The updated msgid matches the source string in `commands/database/exceptions.py` (`DatabaseUpdateUnsafeRebindError`), but its `msgstr` is empty, so Slovenian users see untranslated English for this connection-rebind error. Per BITO.md rules 12743/13343, fill in the Slovenian translation before merge.
  • superset/translations/sk/LC_MESSAGES/messages.po - 1
    • Missing Slovak translation · Line 17208-17211
      The `msgid` was updated to add OAuth2 endpoint URIs and OAuth2 client secret, but the Slovak `msgstr` (line 17212) is still empty. Slovak users will see the untranslated English text. Per BITO.md rule 12743, empty msgstr fields should be filled with appropriate translations.
  • superset/translations/fr/LC_MESSAGES/messages.po - 1
    • Missing French translation · Line 17149-17152
      The msgid was updated to add OAuth2 endpoint URIs / OAuth2 client secret wording (matches `exceptions.py` lines 57-62), but the French `msgstr` at line 17153 is still empty. French users will see untranslated English text. Per BITO.md [12743]/[13343], fill in the French translation before merging.
  • superset/translations/ru/LC_MESSAGES/messages.po - 1
    • Empty Russian translation · Line 16548-16551
      The msgid was updated to mention OAuth2 endpoint URIs and client secret, but `msgstr` (line 16552) is still empty, so Russian users will see the untranslated English text for this database-update error. Fill in the Russian translation per BITO.md rules 12743/13343.
Filtered by Review Rules

Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.

  • superset/translations/ar/LC_MESSAGES/messages.po - 1
Review Details
  • Files reviewed - 31 · Commit Range: 3906053..3906053
    • superset/translations/ar/LC_MESSAGES/messages.po
    • superset/translations/ca/LC_MESSAGES/messages.po
    • superset/translations/cs/LC_MESSAGES/messages.po
    • superset/translations/de/LC_MESSAGES/messages.po
    • superset/translations/en/LC_MESSAGES/messages.po
    • superset/translations/es/LC_MESSAGES/messages.po
    • superset/translations/fa/LC_MESSAGES/messages.po
    • superset/translations/fi/LC_MESSAGES/messages.po
    • superset/translations/fr/LC_MESSAGES/messages.po
    • superset/translations/it/LC_MESSAGES/messages.po
    • superset/translations/ja/LC_MESSAGES/messages.po
    • superset/translations/ko/LC_MESSAGES/messages.po
    • superset/translations/lv/LC_MESSAGES/messages.po
    • superset/translations/messages.pot
    • superset/translations/mi/LC_MESSAGES/messages.po
    • superset/translations/nl/LC_MESSAGES/messages.po
    • superset/translations/pl/LC_MESSAGES/messages.po
    • superset/translations/pt/LC_MESSAGES/messages.po
    • superset/translations/pt_BR/LC_MESSAGES/messages.po
    • superset/translations/ro/LC_MESSAGES/messages.po
    • superset/translations/ru/LC_MESSAGES/messages.po
    • superset/translations/sk/LC_MESSAGES/messages.po
    • superset/translations/sl/LC_MESSAGES/messages.po
    • superset/translations/sr/LC_MESSAGES/messages.po
    • superset/translations/sr_Latn/LC_MESSAGES/messages.po
    • superset/translations/ta/LC_MESSAGES/messages.po
    • superset/translations/th/LC_MESSAGES/messages.po
    • superset/translations/tr/LC_MESSAGES/messages.po
    • superset/translations/uk/LC_MESSAGES/messages.po
    • superset/translations/zh/LC_MESSAGES/messages.po
    • superset/translations/zh_TW/LC_MESSAGES/messages.po
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers an incremental AI Review.

  • /review full - Manually triggers a full AI Review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@rusackas

Copy link
Copy Markdown
Member Author

#44574 already landed the same regeneration and it's on master now, so this one's redundant. Closing.

@rusackas rusackas closed this Sep 23, 2026
@rusackas
rusackas requested a review from hainenber September 23, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n:brazilian i18n:chinese Translation related to Chinese language i18n:czech i18n:dutch i18n:french Translation related to French language i18n:italian Translation related to Italian language i18n:japanese Translation related to Japanese language i18n:korean Translation related to Korean language i18n:latvian i18n:persian i18n:portuguese i18n:russian Translation related to Russian language i18n:slovak i18n:spanish Translation related to Spanish language i18n:traditional-chinese i18n:ukrainian i18n Namespace | Anything related to localization preset-io size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant