[Kde-pim] i18n bugs in kaddressbook
Burkhard Lück
lueck at hube-lueck.de
Sun Sep 21 13:38:08 BST 2008
Am Sonntag 21 September 2008 14:06:44 schrieb Kevin Krammer:
>
> > With this patch I get all missing messages:
> > kdestable at 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 at 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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list