Thanks for quick reply, Malcolm.
Now anything is ok.

On 3 мар, 21:12, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-03-03 at 10:04 -0800, Alexey Moskvin wrote:
> > Hi! I am trying to compile django.po file for Russian language from
> > HEAD django revision using bin/compile-messages.py, but there is such
> > error:
>
> > processing file django.po in locale\locale\ru\LC_MESSAGES
> > locale\locale\ru\LC_MESSAGES\django.po:1649: a format specification
> > for argu
> > ment 'counter' doesn't exist in 'msgstr[0]'
> > msgfmt: found 1 fatal error
> > processing file djangojs.po in locale\locale\ru\LC_MESSAGES
>
> > Version of msgfmt.exe is 0.14.5
>
> > How can I fix it, I am not familiar with such resource format?
>
> Look at line 1649 in the PO file and you'll find that the original msgid
> string contains something like "%(counter)d". Might not be exactly that,
> but it will be something matching %(...)X for some character 'X'.
>
> That is a placeholder for some text that will be substituted at runtime.
> You must include that placeholder in the translations string. Exactly as
> written, since it's interpreted by the Python code. If you forget to
> include it, compile-messages.py will display an error, such as you've
> seen.
>
> Regards,
> Malcolm
>
> --
> Telepath required. You know where to apply...http://www.pointy-stick.com/blog/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to