From 50d53a0b193e533b67672639c3baadf5bc77f863 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 1 Feb 2008 11:51:20 +0100 Subject: [PATCH] * Make the option for Influence.status translatable. --- influences/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/influences/models.py b/influences/models.py index df1ba79..aefa83c 100644 --- a/influences/models.py +++ b/influences/models.py @@ -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")) -- 2.30.2