From ec5ce49d815c113f7e0e7ea9b9f60108ea543403 Mon Sep 17 00:00:00 2001 From: Ben Konrath Date: Mon, 4 Aug 2014 15:05:13 +0200 Subject: [PATCH] Use consistent labels in admin. --- polymorphic/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymorphic/admin.py b/polymorphic/admin.py index 79f27b7..4dc0b4e 100644 --- a/polymorphic/admin.py +++ b/polymorphic/admin.py @@ -54,7 +54,7 @@ class PolymorphicModelChoiceForm(forms.Form): The default form for the ``add_type_form``. Can be overwritten and replaced. """ #: Define the label for the radiofield - type_label = _("Type") + type_label = _('Type') ct_id = forms.ChoiceField(label=type_label, widget=AdminRadioSelect(attrs={'class': 'radiolist'})) @@ -69,7 +69,7 @@ class PolymorphicChildModelFilter(admin.SimpleListFilter): An admin list filter for the PolymorphicParentModelAdmin which enables filtering by its child models. """ - title = _('Content type') + title = _('Type') parameter_name = 'polymorphic_ctype' def lookups(self, request, model_admin):