mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
chore(translations): updating pot -> po -> json files (babel 2.9.1) (#26773)
This commit is contained in:
@@ -105,7 +105,9 @@ class Api(BaseSupersetView):
|
||||
}
|
||||
return self.json_response({"result": result})
|
||||
except (ValueError, TimeRangeParseFailError, TimeRangeAmbiguousError) as error:
|
||||
error_msg = {"message": _(f"Unexpected time range: {error}")}
|
||||
error_msg = {
|
||||
"message": _("Unexpected time range: %(error)s") % {"error": error}
|
||||
}
|
||||
return self.json_response(error_msg, 400)
|
||||
|
||||
def get_query_context_factory(self) -> QueryContextFactory:
|
||||
|
||||
Reference in New Issue
Block a user