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

List:       kde-edu
Subject:    Re: [kde-edu]: i18n issues with step
From:       Burkhard =?iso-8859-15?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2008-12-03 17:22:38
Message-ID: 200812031822.38754.lueck () hube-lueck ! de
[Download RAW message or body]

Am Dienstag 02 Dezember 2008 23:32:16 schrieb Albert Astals Cid:
>
> Well, actually it's not what KDE does but what translators can do
> (Transcript), because transcript can not work on tr() so you should know
> when translating a .po what you can and you can't do.
>
Yes, that indeed makes sense.

So attached a fix to split the catalogs for step, one called "step.pot" with 
the kde i18n messages and another called "step_qt.pot" with all qt messages.

Please check.

Before committing the translators have to be warned and need an explanation 
about the messages catalogs "foo_qt". 

Oh, and step also needs a patch to include the new catalog.

Marble and kalzium in kdeedu have the same problem as step, all messages 
either i18n() or tr() are extracted into one catalog.

Their catalogs should be splitted too.

-- 
Burkhard Lück

["step-Messages.sh-diff" (text/x-diff)]

Index: kdeedu/step/Messages.sh
===================================================================
--- kdeedu/step/Messages.sh	(Revision 892079)
+++ kdeedu/step/Messages.sh	(Arbeitskopie)
@@ -1,5 +1,4 @@
 #! /bin/sh
 $EXTRACTRC `find . -name '*.rc'` >> rc.cpp || exit 11
 $EXTRACTRC `find . -name '*.ui'` >> rc.cpp || exit 12
-$XGETTEXT -ktr:1,1t -ktr:1,2c,2t -kQT_TRANSLATE_NOOP:1c,2,2t -kQT_TR_NOOP:1,1t \
-ktranslate:1c,2,2t -ktranslate:2,3c,3t rc.cpp `find . -name '*.cc'` -o \
                $podir/step.pot
-rm -f rc.cpp
+$XGETTEXT `find step -name '*.cc'` rc.cpp -o $podir/step.pot
Index: kdeedu/step/stepcore/Messages.sh
===================================================================
--- kdeedu/step/stepcore/Messages.sh	(Revision 0)
+++ kdeedu/step/stepcore/Messages.sh	(Revision 0)
@@ -0,0 +1,2 @@
+#! /bin/sh
+$XGETTEXT -ktr:1,1t -ktr:1,2c,2t -kQT_TRANSLATE_NOOP:1c,2,2t -kQT_TR_NOOP:1,1t \
-ktranslate:1c,2,2t -ktranslate:2,3c,3t rc.cpp `find . -name '*.cc'` -o \
$podir/step_qt.pot

Eigenschaftsänderungen: kdeedu/step/stepcore/Messages.sh
___________________________________________________________________
Hinzugefügt: svn:executable
   + *



_______________________________________________
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