mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: Translations related to the date range filter (#26074)
This commit is contained in:
@@ -59,8 +59,10 @@ class DeleteDatabaseCommand(BaseCommand):
|
||||
if reports := ReportScheduleDAO.find_by_database_id(self._model_id):
|
||||
report_names = [report.name for report in reports]
|
||||
raise DatabaseDeleteFailedReportsExistError(
|
||||
_("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 if there are datasets for this database
|
||||
if self._model.tables:
|
||||
|
||||
Reference in New Issue
Block a user