On 19-Nov-07, at 11:52 AM, Malcolm Tredinnick wrote:
>> I am running python2.5 and django version 6700. I am getting the >> error from makemessages.py that 'unnamed arguments cannot be properly >> localised'. The string complained off is: >> >> return u"%s %s" %(self.username,self.email) > > I bet that isn't the string it's complaining about, since there's no > *gettext() call wrapped around it. Plus it would be kind of a silly > string to mark for translation, since there's nothing to translate in > the string itself. the original string was: _(u"Username: %s Email: %s") % (self.username,self.email) which I simplified to _(u"%s %s") %(self.username,self.email) to try and detect the error. Anyway, I have now followed your suggestion on named arguments and everything is working fine. Thanks for your patience -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---