J0s3-H3nr1qu3 opened a new pull request, #42137:
URL: https://github.com/apache/superset/pull/42137
### SUMMARY
The pt_PT catalog (originally contributed in 2018) had drifted ~90% out of
date with the current English source strings, and a full pybabel compile
also surfaced pre-existing placeholder mismatches (e.g. %s/%(name)s
inconsistencies) inherited from stale fuzzy-matches. This PR reviews and
retranslates the full catalog by hand (AI-assisted, human-reviewed entry by
entry against the live application), fixing:
- All ~4350 fuzzy (stale/unreviewed) entries
- ~180 entries that were NOT fuzzy-flagged but still carried wrong 2018-era
translations (the source string hadn't changed, so Babel's fuzzy matcher
never flagged them — caught via manual review + duplicate-msgstr auditing)
- All placeholder mismatches (%s/%(name)s), including several where the
translation had an extra placeholder the source never had
- PT-PT terminology consistency (e.g. "palavra-passe" not "senha", "ecrã"
not "tela", "dashboard" left untranslated per app convention)
Synced against current master, so it also includes proper review of the
entries #42099 backfilled for previously-empty strings.
Builds on the original 2018 contribution by Nuno Heli Beires — thank you
for starting this catalog.
### TESTING INSTRUCTIONS
1. `pybabel compile -d superset/translations` — compiles cleanly, 0 errors
2. Set language to Portuguese in Superset and spot-check key flows
(dashboards, charts, SQL Lab, alerts/reports)
### ADDITIONAL INFORMATION
- [ ] Has associated issue: (none — happy to open one if preferred)
- [ ] Required feature flags: none
- [ ] API changes: none
- [ ] DB migration required: no
### CHECKLIST
- [x] CI checks pass (pybabel compile clean, 0 placeholder errors)
- [x] PR title follows conventions
--
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]