mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-01-24 06:48:36 +01:00
* Added locale folder and English locale. Ready for more translations :)
* Minor change to models.py to allow i18n.
This commit is contained in:
parent
4d6859ba42
commit
4583d1c7c8
BIN
locale/en/LC_MESSAGES/django.mo
Normal file
BIN
locale/en/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
1161
locale/en/LC_MESSAGES/django.po
Normal file
1161
locale/en/LC_MESSAGES/django.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user