Better title

This commit is contained in:
Michal Čihař 2012-03-02 15:31:52 +01:00
parent da7e13bfe1
commit b08e487b6f

View File

@ -225,7 +225,7 @@ class Translation(models.Model):
}) })
def __unicode__(self): def __unicode__(self):
return '%s %s' % (self.language.name, self.subproject.__unicode__()) return '%s - %s' % (self.subproject.__unicode__(), _(self.language.name))
def get_filename(self): def get_filename(self):
return os.path.join(self.subproject.get_path(), self.filename) return os.path.join(self.subproject.get_path(), self.filename)