On 5/26/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
> Why on earth does it have:
>
> raise validators.ValidationError, ngettext("Ensure your text is less
> than %s character.",
> "Ensure your text is less than %s characters.", self.maxlength) % 
> self.maxlength
>
> Given how the single form would be "1 character", can it ever trigger
> to say: "Ensure your text is less than 1 character."?
>
> At the moment I'd consider this flawed and it is another line in the
> individual .po files that translators need to translate.

Nice catch. What's the proper plural-only way to handle this with gettext?

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to