From kde-pim Sun Sep 21 12:38:08 2008 From: Burkhard =?utf-8?q?L=C3=BCck?= Date: Sun, 21 Sep 2008 12:38:08 +0000 To: kde-pim Subject: Re: [Kde-pim] i18n bugs in kaddressbook Message-Id: <200809211438.08803.lueck () hube-lueck ! de> X-MARC-Message: https://marc.info/?l=kde-pim&m=122200072619832 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/