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

List:       kde-edu-devel
Subject:    Re: [kde-edu]: i18n ussues in kdeedu
From:       Burkhard =?utf-8?q?L=C3=BCck?= <lueck () hube-lueck ! de>
Date:       2007-10-15 8:15:38
Message-ID: 200710151015.38650.lueck () hube-lueck ! de
[Download RAW message or body]

Hi Carsten,

On Saturday 13 October 2007 12:05:52 you wrote:
> Am Freitag, 12. Oktober 2007 23:26:25 schrieb Burkhard Lück:
> > Hi,
> >
> > I am checking the main kde modules for i18n error.
> >
> > kalzium/compoundviewer/*.cpp
> > kalzium/compoundviewer/*.cpp
> > kalzium/src/tools/*.cpp
> > -> error in Messages.sh?
>
> What is the issue here? No clue why kalzium/compoundviewer/ is listed
> twice, it is only once in the Messages.sh file. In those 2 directories
> there are cpp-files, so I guess this is all correct...
>
There are i18n() calls in these files, but the messages are not extracted to 
kalzium.pot:

kalzium/compoundviewer/kalziumglpart.cpp 
['KalziumGLPart', 'A cool thing', '(c) 2006, Carsten Niehaus.']

kalzium/compoundviewer/openbabel2wrapper.cpp 
['Problem while opening the file', 'Cannot open the specified file.']

kalzium/libavogadro-kalzium/src/glwidget.cpp 
['Please load a molecule.', 'Click the \\"Help\\" button', 'for usage 
instructions']

kalzium/src/tools/moleculeview.cpp 
['Molecular Viewer', 'Load molecule', 'Loading a molecule', 'Molecular Viewer 
Help', 'Common molecule formats', 'All files', 'Choose a file to open', '%1 
u']

kalzium/src/tools/obconverter.cpp 
['OpenBabel Frontend', 'Convert', 'Convert selected files', 'KOpenBabel', 'You 
must select some files first.', 'Overwrite File? -- KOpenBabel', 'The file %1 
already exists. Do you want to overwrite if possible?', 'OK to run these 
commands? -- KOpenBabel']

With the patched Messages.sh (see attachment) I get all missing strings.

Burkhard Lück


["kalzium.diff" (text/x-diff)]

Index: Messages.sh
===================================================================
--- Messages.sh	(Revision 725351)
+++ Messages.sh	(Arbeitskopie)
@@ -1,5 +1,5 @@
 #! /bin/sh
-$EXTRACTRC src/*.ui compoundviewer/*.cpp libavogadro-kalzium/src/*.cpp \
libavogadro-kalzium/src/engines/*.cpp libavogadro-kalzium/src/tools/*.cpp \
src/*.rc src/*.kcfg >> rc.cpp || exit 11 +$EXTRACTRC src/*.ui  src/*.rc \
src/*.kcfg >> rc.cpp || exit 11  $EXTRACTRC --tag-group=none --tag=name \
--tag=desc --tag=refitem data/knowledge.xml >> rc.cpp || exit 14  \
$EXTRACTRC --tag-group=none --tag=name --tag=desc data/tools.xml >> rc.cpp \
                || exit 15
-$XGETTEXT rc.cpp src/*.cpp -o $podir/kalzium.pot
+$XGETTEXT rc.cpp src/*.cpp compoundviewer/*.cpp \
libavogadro-kalzium/src/*.cpp src/tools/*.cpp -o $podir/kalzium.pot



_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


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

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