* Added locale folder and English locale. Ready for more translations :)

* Minor change to models.py to allow i18n.
This commit is contained in:
Ross Poulton 2008-08-13 23:44:59 +00:00
parent 4d6859ba42
commit 4583d1c7c8
3 changed files with 1162 additions and 1 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -254,7 +254,7 @@ class TicketChange(models.Model):
elif not old_value:
str += _('set to %s' % new_value)
else:
str += _('changed from "%s" to "%s"' % (old_value, new_value))
str += _('changed from "%(old_value)s" to "%(new_value)s"' % {'old_value': old_value, 'new_value': new_value})
return str