Presence Applate not Translatable

Frederik Schwarzer schwarzer at kde.org
Mon Nov 7 10:25:41 UTC 2011


[Burkhard Lück - Monday, 7. November 2011 08:21:26] 
> Am Montag, 7. November 2011, 05:01:35 schrieb Frederik Schwarzer:
> > Hi,
> > 
> > the Telepathy presence applet is not translatable.
> >     kde:telepathy-presence-applet
> > There is a Messages.sh which looks OK, but the POT file is not created.
> > 
> >     #! /usr/bin/env bash
> >     $EXTRACTQML `find . -name "*.qml"` >> rc.cpp
> >     $XGETTEXT *.cpp -o $podir/org.kde.telepathy-presence.pot
> >     rm -f rc.cpp
> > 
> > Does anyone know how to fix this? 
> 
> $ git diff Messages.sh
> diff --git a/Messages.sh b/Messages.sh
> index 5c46867..74c065a 100644
> --- a/Messages.sh
> +++ b/Messages.sh
> @@ -1,5 +1,2 @@
>  #! /usr/bin/env bash
> -#$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11
> -$EXTRACTQML `find . -name "*.qml"` >> rc.cpp
> -$XGETTEXT *.cpp -o $podir/org.kde.telepathy-presence.pot
> -rm -f rc.cpp
> +$XGETTEXT `find . -name "*.qml"` -L Java -o $podir/org.kde.telepathy-
> presence.pot
> 
> telepathy-presence-applet does not have any ui file. Apparently extractqml does 
> not work.
> 
> > Could the file name cause it?
> > 
> Not the extraction, but afaik building a language with > one file named 
> org.kde.* in a subdir is broken.
> 
> But I am unsure, of the catalog name org.kde.telepathy-presence.pot is 
> correct.

Can you elaborate on that, please? (the KDE Telepathy list is in CC)

Regards


More information about the KDE-Telepathy mailing list