Re: Template tag i18n failing

2008-09-01 Thread Luis Rodrigues

Thanks for the info.

2008/8/31 Ramiro Morales <[EMAIL PROTECTED]>:
>
> On Sun, Aug 31, 2008 at 2:09 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>>
>> This is a bug and has been reported as ticket |1] #7027, you can track
>> the advance of the issue there.
>>
>
> This is fixed as of revision 8769.
>
> cheers,
>
> --
>  Ramiro Morales
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Template tag i18n failing

2008-08-31 Thread Ramiro Morales

On Sun, Aug 31, 2008 at 2:09 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>
> This is a bug and has been reported as ticket |1] #7027, you can track
> the advance of the issue there.
>

This is fixed as of revision 8769.

cheers,

-- 
 Ramiro Morales

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Template tag i18n failing

2008-08-31 Thread Ramiro Morales

On Sun, Aug 31, 2008 at 1:58 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to use
> {% printformfooter _("Submit Message") "Cancel" %}
>
> as it is documented here:
> http://www.djangoproject.com/documentation/i18n/#in-template-code
>
> but I get the error:
> "
> TemplateSyntaxError at /project/1/message/create/
>
> printformfooter takes 3 arguments
> "
>
> printformfooter is working fine if I don't put _().
>
> Could someone please tell me what I'm doing wrong.
>

This is a bug and has been reported as ticket |1] #7027, you can track
the advance of the issue there.

Also, you can help by applying the latest patch attached to it and posting you
experience there as a comment if you find some problem with it.

Regards,

1. http://code.djangoproject.com/ticket/7027

-- 
 Ramiro Morales

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Template tag i18n failing

2008-08-31 Thread [EMAIL PROTECTED]

Hi,

I would like to use
{% printformfooter _("Submit Message") "Cancel" %}

as it is documented here:
http://www.djangoproject.com/documentation/i18n/#in-template-code

but I get the error:
"
TemplateSyntaxError at /project/1/message/create/

printformfooter takes 3 arguments
"

printformfooter is working fine if I don't put _().

Could someone please tell me what I'm doing wrong.

Regards
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---