[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] i18n bugs in kaddressbook
From:       Burkhard =?utf-8?q?L=C3=BCck?= <lueck () hube-lueck ! de>
Date:       2008-09-21 12:38:08
Message-ID: 200809211438.08803.lueck () hube-lueck ! de
[Download RAW message or body]

Am Sonntag 21 September 2008 14:06:44 schrieb Kevin Krammer:
>
> > With this patch I get all missing messages:
> > kdestable@rebutia:~/svn/kdepimlibs/kabc$ svn diff .
> > Index: Messages.sh
> > ===================================================================
> > --- Messages.sh (Revision 863014)
> > +++ Messages.sh (Arbeitskopie)
> > @@ -1,2 +1,3 @@
> >  #! /usr/bin/env bash
> > +#cd scripts && perl ./makeaddressee
> >  $XGETTEXT *.cpp -o $podir/kabc.pot
>
> Are you sure the # in front of the "cd scripts" is correct?
>
No, sorry my fault.

But I just noticed a strange behaviour with this line in Messages.sh.

When I run ../../l10n-kde4/scripts/extract-messages.sh in kdepimlibs/kabc with 
the line "cd scripts && perl ./makeaddressee", I get only 10 messages in 
kabc.pot and the two files addressee.h + addressee.cpp are generated.

On a second run of extract-messages.sh with # in front of the "cd scripts" I 
get 150 messages in kabc.pot.

So my patch does not really work, but I have no idea what's wrong with it.

> > But with this patch I also have two new generated files:
> > kdestable@rebutia:~/svn/kdepimlibs/kabc$ svn st addressee.h addressee.cpp
> > I      addressee.h
> > I      addressee.cpp
> >
> > Should they be removed at the end of Messages.sh?
>
> Hmm, assuming that in-source-tree builds are still supported somebody might
> do that and need these two files for the normal build.
>
I just found these files in my build dir, so they are generated building 
kdepimlibs.

Are in-source-tree builds really supported?

Do you have any idea, why in kaddresbook the messages from 
editors/imeditorbase.ui are properly extracted and 
translated, but the translations are *not* displayed at runtime?


-- 
Burkhard Lück
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic