Sorry, I made a (hopefully obvious) mistake in my example, see below:

On Sun, 2007-11-18 at 04:33 +0100, Mark Green wrote:
> ---
> 
> Template:
> 
> -
> {% blocktrans with value|filter as number %}
> This will have [[<a href="{% url %}">]]one item[[</a>]] inside
> {% plural %}
> This will have [[<a href="{% url %}">]]%{number} items[[</a>]] inside
> {% endblocktrans %}
> -
> 
> Translation strings:
> 
> * This will have one item inside
> * This will have %{number} items inside
> 
> Translated strings (english=>english for the sake of this example):
> 
> * This will have one item inside
> * This will have %{0}%{number} items%{1} inside

This is wrong, the first translated string should read:

* This will have %{0}one item%{1} inside


Ofcourse the original string would still have worked
but there would be no hyperlink.

-mark


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to