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

List:       kde-pim
Subject:    Re: [Kde-pim] i18n bugs in kaddressbook
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-09-21 12:06:44
Message-ID: 200809211406.49200.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Burkhard,

On Sunday 21 September 2008, Burkhard Lück wrote:
> Am Freitag 19 September 2008 17:29:39 schrieb Burkhard Lück:
> > Hi,
> >
> > I have a lot of untranslated messages in kaddressbook.
>
> All (generated) entries in mFieldCombo in
> kdepim/kaddressbook/incsearchwidget.cpp are untranslatable:
>
> In kde3 I found all all these messages in kdelibs.po, they were generated
> with this line in Makefile.am.in:
> cd kabc/scripts && perl ./makeaddressee
>
> This line is no longer in the Messages.sh for kdelibs4.pot, because
> kabc/scripts has been moved to kdepimlibs.
> But in kdepimlibs this script is never executed in any Messages.sh, that's
> why the messages are untranslatable.

Ah, so basically a porting mistake caused by the module reorganisation. Thanks 
for tracking it down.

> My question is, which applications in kdepim uses these messages
> like "Business Address City" etc. and into which message catalog they have
> to be extracted?

These strings are meant to be uses as labels/hints for application displaying 
these fields or allowing their input, so they are most likely used by more 
than just KAddressBook.

> I sugest to extracr them to kabc.pot and include this message catalog into
> applications like kaddressbook, which need these translations.

Agreed.

> 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?

> 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.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

_______________________________________________
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