From 3ccf3946b89f2b55be9c10218e974b2db12ec6f0 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 16 Jul 2014 10:29:37 +0200 Subject: [PATCH] models: translate default value for AttributeRelease.attribute_name --- authentic2_idp_oauth2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentic2_idp_oauth2/models.py b/authentic2_idp_oauth2/models.py index 0f52c65..cee66d4 100644 --- a/authentic2_idp_oauth2/models.py +++ b/authentic2_idp_oauth2/models.py @@ -19,7 +19,7 @@ class AttributeRelease(models.Model): name = models.CharField(verbose_name=_('name'), max_length=64) attribute_name = models.CharField(max_length=64, verbose_name=_('attribute name'), - choices=(('', 'None'),)) + choices=(('', _('None')),)) class Meta: verbose_name = _('OAuth2 attribute release')