From 87d3213738ade61246562b67c5535a28fa3d57b7 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Fri, 20 Mar 2020 17:12:22 +0000 Subject: [PATCH] Mark translatable strings --- wagtail/admin/filters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wagtail/admin/filters.py b/wagtail/admin/filters.py index b6fecbf501..fc15285823 100644 --- a/wagtail/admin/filters.py +++ b/wagtail/admin/filters.py @@ -98,7 +98,7 @@ class LockedPagesReportFilterSet(WagtailFilterSet): class WorkflowReportFilterSet(WagtailFilterSet): - created_at = django_filters.DateFromToRangeFilter(label='Started at', widget=DateRangePickerWidget) + created_at = django_filters.DateFromToRangeFilter(label=_("Started at"), widget=DateRangePickerWidget) class Meta: model = WorkflowState @@ -106,8 +106,8 @@ class WorkflowReportFilterSet(WagtailFilterSet): class WorkflowTasksReportFilterSet(WagtailFilterSet): - created_at = django_filters.DateFromToRangeFilter(label='Started at', widget=DateRangePickerWidget) - finished_at = django_filters.DateFromToRangeFilter(label='Completed at', widget=DateRangePickerWidget) + created_at = django_filters.DateFromToRangeFilter(label=_("Started at"), widget=DateRangePickerWidget) + finished_at = django_filters.DateFromToRangeFilter(label=_("Completed at"), widget=DateRangePickerWidget) class Meta: model = TaskState