mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: Translations related to the date range filter (#26074)
This commit is contained in:
@@ -60,8 +60,10 @@ class DeleteChartCommand(BaseCommand):
|
||||
if reports := ReportScheduleDAO.find_by_chart_ids(self._model_ids):
|
||||
report_names = [report.name for report in reports]
|
||||
raise ChartDeleteFailedReportsExistError(
|
||||
_("There are associated alerts or reports: %(report_names)s")
|
||||
% {"report_names": ",".join(report_names)}
|
||||
_(
|
||||
"There are associated alerts or reports: %(report_names)s",
|
||||
report_names=",".join(report_names),
|
||||
)
|
||||
)
|
||||
# Check ownership
|
||||
for model in self._models:
|
||||
|
||||
Reference in New Issue
Block a user