* Make the option for Influence.status translatable.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 1 Feb 2008 10:51:20 +0000 (11:51 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 1 Feb 2008 10:51:20 +0000 (11:51 +0100)
influences/models.py

index df1ba7900474289a0621444ac421964a02a999ed..aefa83c802b882bda63d09b0234c771450bbc35c 100644 (file)
@@ -21,10 +21,10 @@ class Character(models.Model):
 
 class Influence(models.Model):
     STATUS_CHOICES = (
-        ('N', 'New'),
-        ('U', 'Under discussion'),
-        ('P', 'Processing'),
-        ('D', 'Done'),
+        ('N', _('New')),
+        ('U', _('Under discussion')),
+        ('P', _('Processing')),
+        ('D', _('Done')),
     )
     created     = models.DateField(auto_now_add=1, verbose_name = _("Creation time"))
     modified    = models.DateField(auto_now=1, verbose_name = _("Modification time"))