google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

a little patch for translating swap #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A patch below for pinax/apps/external_apps/swaps/models.py was necessary to
successfully run django-admin.py makemessages -l <lang> to create django.po
under locale/<lang>/LC_MESSAGES.

172,175c172,175
<         return _('Proposing offer: %s, Responding offer %s') % (
<             self.proposing_offer.short_description,
<             self.responding_offer.short_description
<         )

---
>         return _('Proposing offer: %(pro)s, Responding offer %(res)s') % {
>             'pro': self.proposing_offer.short_description,
>             'res': self.responding_offer.short_description
>         }

Original issue reported on code.google.com by Homm...@gmail.com on 26 Nov 2008 at 7:50

GoogleCodeExporter commented 9 years ago
You should report this to django-social-economics found at 
http://code.google.com/p/django-social-
economics/. This change should be made there and it is certainly a valid fix :)

Original comment by bros...@gmail.com on 1 Dec 2008 at 5:24