Does not support plurals

Bug #246948 reported by Gediminas Paulauskas
4
Affects Status Importance Assigned to Milestone
potest
Confirmed
Undecided
Unassigned

Bug Description

Crashes on plurals with

Traceback (most recent call last):
  File "/home/menesis/src/launchpad/potest/potest.py", line 334, in <module>
    main()
  File "/home/menesis/src/launchpad/potest/potest.py", line 326, in main
    createLanguageTests(po2dict(pofile), language)
  File "/home/menesis/src/launchpad/potest/potest.py", line 97, in po2dict
    l = eval(l)
  File "<string>", line 1
    _plural "{0} songs"
                     ^
SyntaxError: invalid syntax

Revision history for this message
Frank Niessink (frank-niessink) wrote :

Hi,

potest doesn't support plural forms, at least at this time. I've been looking through the gettext documentation, but I can't find any mentionning of the format (_plural "{0} songs") you use below. Where is that documented?

Thanks, Frank

Changed in potest:
status: New → Confirmed
Revision history for this message
Gediminas Paulauskas (menesis) wrote : Re: [Bug 246948] Re: Does not support plurals

On Thu, Jul 31, 2008 at 6:20 PM, Frank Niessink <email address hidden> wrote:
> Hi,
>
> potest doesn't support plural forms, at least at this time. I've been
> looking through the gettext documentation, but I can't find any
> mentionning of the format (_plural "{0} songs") you use below. Where is
> that documented?

http://www.gnu.org/software/gettext/manual/gettext.html#index-msgid_005fplural-109

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.