Re: Problem msgid_plurar un msgstr[0]



On Sun, Feb 27, 2011 at 2:58 PM, pecisk gmail com <pecisk gmail com> wrote:
> Hi people!
>
> This is problably said before, but as I couldn't google for proper
> answer, I will ask (propably again) here:
>
> I have banshee except from my language's po which looks something like this:
> msgid "Transferring {0} file at {1} KB/s"
> msgid_plural "Transferring {0} of {2} files at {1} KB/s"
> msgstr[0] "Pārsūta {0} failu ar ātrumu {1} KB/s"
> msgstr[1] "Pārsūta {0} no {2} failiem ar ātrumu {1} KB/s"
> msgstr[2] "Pārsūta {0} no {2} failiem ar ātrumu {1} KB/s"
>
> Now, msgfmt -c banshee.lv.po issues fatal error for this:
> banshee.master.lv.po:6131: number of format specifications in
> 'msgid_plural' and 'msgstr[0]' does not match
>
> Question is - how I can properly translate singular (aka msgid)?
> msgstr[0] is compared to msgid_plurar, which is wrong.
>
> Thanks in advance,
> Peter.

Very strange.  Are you sure the plural definition (in the program
header) is written correctly?  It's not uncommon to have a different
number of format specifications in the singular/plural English
strings, so I think it should work in general.

Regards
Ask


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]