mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-30 22:30:14 +02:00
* Added locale folder and English locale. Ready for more translations :)
* Minor change to models.py to allow i18n.
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user