You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/08/10 20:03:15 UTC
(superset) 01/01: fix(reports): translate execute-now success message
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch fix/followup-41336-follow-up-from-41336-feat-reports-trigge
in repository https://gitbox.apache.org/repos/asf/superset.git
commit b568e9aa981f7734d2ed8a9b991aaf6995435807
Author: rusackas <ev...@rusackas.com>
AuthorDate: Mon Aug 10 13:02:37 2026 -0700
fix(reports): translate execute-now success message
Follow-up to #41336. Wraps the "Report schedule execution started
successfully" response message in gettext() so it participates in
i18n like the rest of the reports API, per review feedback left
unaddressed at merge.
Co-Authored-By: Claude Sonnet 5 <no...@anthropic.com>
---
superset/reports/api.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/superset/reports/api.py b/superset/reports/api.py
index 61178e87aae..05337f9c065 100644
--- a/superset/reports/api.py
+++ b/superset/reports/api.py
@@ -27,7 +27,7 @@ from flask_appbuilder.api import (
)
from flask_appbuilder.hooks import before_request
from flask_appbuilder.models.sqla.interface import SQLAInterface
-from flask_babel import ngettext
+from flask_babel import gettext, ngettext
from marshmallow import ValidationError
from superset import is_feature_enabled
@@ -773,7 +773,9 @@ class ReportScheduleRestApi(BaseSupersetModelRestApi):
**response_schema.dump(
{
"execution_id": execution_id,
- "message": "Report schedule execution started successfully",
+ "message": gettext(
+ "Report schedule execution started successfully"
+ ),
}
),
)