Harshit-Tiwary opened a new pull request, #38489:
URL: https://github.com/apache/superset/pull/38489

   ### SUMMARY
   
   Wrap the SQLLab table access error message with gettext `_()` so that
   it becomes translatable via Superset's internationalization (i18n) system.
   
   Previously the message was returned as a raw string and therefore could
   not be translated.
   
   This change ensures the error message can be localized properly.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Not applicable.
   
   ### TESTING INSTRUCTIONS
   
   1. Trigger a table access permission error in SQLLab.
   2. Verify that the error message is wrapped with `_()` and can be translated.
   
   ### ADDITIONAL INFORMATION
   
   This improves i18n support for SQLLab error messages.


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

Reply via email to