Commit a0469e6e1b3d18dbee3d0c116977202874957cdf
1 parent
c3468c1b
Exists in
master
and in
5 other branches
Internacionalization in verbose name for mymrtype models #132
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
core/models.py
| ... | ... | @@ -9,8 +9,8 @@ class MymeType(models.Model): |
| 9 | 9 | icon = models.CharField(_('Icon'), max_length=50, unique=True) |
| 10 | 10 | |
| 11 | 11 | class Meta: |
| 12 | - verbose_name= 'Amadeus Myme Type' | |
| 13 | - verbose_name_plural = 'Amadeus Myme Types' | |
| 12 | + verbose_name= _('Amadeus Myme Type') | |
| 13 | + verbose_name_plural = _('Amadeus Myme Types') | |
| 14 | 14 | |
| 15 | 15 | def get_icon(self, type): |
| 16 | 16 | pass | ... | ... |