From a0469e6e1b3d18dbee3d0c116977202874957cdf Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Thu, 13 Oct 2016 09:30:50 -0300 Subject: [PATCH] Internacionalization in verbose name for mymrtype models #132 --- core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models.py b/core/models.py index be62b25..e3aac6a 100644 --- a/core/models.py +++ b/core/models.py @@ -9,8 +9,8 @@ class MymeType(models.Model): icon = models.CharField(_('Icon'), max_length=50, unique=True) class Meta: - verbose_name= 'Amadeus Myme Type' - verbose_name_plural = 'Amadeus Myme Types' + verbose_name= _('Amadeus Myme Type') + verbose_name_plural = _('Amadeus Myme Types') def get_icon(self, type): pass -- libgit2 0.21.2