On Friday 13 Jan 2006 02:37, Alexandre Prokoudine wrote:
> On 1/12/06, Chris Cannam <[EMAIL PROTECTED]> wrote:
> > On Thursday 12 Jan 2006 12:52, Alexandre Prokoudine wrote:
> > > I have updated ru.po ~1month ago, but some messages are still not
> > > ngettextized.
> >
> > Can you remind me which?
>
> Sure

You know, I don't think this KDE 3-argument i18n() call is working.

Most of the strings you list had already been converted.  Some had been 
converted wrongly (according to the KDE header documentation) and some had 
not been converted at all, but even when I fix them and regenerate the .po 
files, the results don't look right.

For example, at notationview.cpp:2121 we now have

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

The documentation in klocale.h seems to imply that this should create multiple 
translation strings, depending on the plural structure of the target 
language.  (Does that sound right?  Is that the recommended way to handle 
this context?)

However, when I regenerate the po file, there is only one translation string 
from this area of the file, and it is:

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

(It's fuzzy because this is one of the strings I had to fix, so the version in 
the C++ file has changed since you last looked at it.)  But the plural forms 
don't appear in the .po file at all.

What am I missing here?  I've never been very clear on how all this actually 
works behind the scenes.

I notice messages.sh has an alarming comment at the top:

# To update the translations, you will need a specific gettext 
# patched for kde and a lot of patience, tenacity, luck, time ..

I'm not aware that I have a specific gettext patched for kde -- I wonder what 
that actually means?

Anyway, I'll commit the code fixes and the new .po files, let me know if you 
have any ideas.


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