On Friday 13 Jan 2006 16:22, Stefan Asserhall wrote:
> The reason the plural forms are not extracted correctly is that you
> need the specific gettext patched for kde to do that. You can find
> the patch in "kdesdk/scripts/gettext.patch". The patch is valid for
> gettext-0.10.35.

Wow.  So the API includes something that can't possibly work with tools 
that are actually distributed by anyone.  You'd have thought the kdesdk 
would at least include the modified gettext with a new name, rather 
than just a patch -- that way at least Debian etc would have it.

What output would be expected to be produced by this hack?  For example, 
in the case 

i18n("1 pixel", "%n pixels", sizes[i])

where we currently just get

#: ../gui/notationview.cpp:2121
#, fuzzy
msgid "1 pixel"
msgstr "%1 пиксел"

what would we expect to get instead?  (I'm really wondering whether it 
wouldn't be easier to produce the same result, for the particular cases 
we have, by writing a bit of Perl and sticking it in our scripts 
directory -- given that we have a requirement for more than one user to 
be able to regenerate the .po files and we certainly can't assume 
they'll all have built their own version of gettext.)


Chris


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to