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

List:       kde-commits
Subject:    l10n-kde4/scripts
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2009-05-29 17:28:09
Message-ID: 1243618089.830799.30398.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 974715 by aacid:

pass extractrc path to messagesQt.sh


 M  +2 -1      MessagesQt.sh  
 M  +1 -1      update_translations  


--- trunk/l10n-kde4/scripts/MessagesQt.sh #974714:974715
@@ -1,5 +1,6 @@
 #! /usr/bin/env bash
 ### TODO: transform Qt's translation template for KDE's Qt template
+EXTRACTRC=${EXTRACTRC:-extractrc}
 origdir=`pwd`
 if test -d "$qtcopydir" -a -d "$podir"; then
 	: # Noop
@@ -17,7 +18,7 @@
         exit 1
 fi
 cd $qtcopydir/src || exit 2
-extractrc `find gui -name "qp*.ui"` > rc.cpp
+$EXTRACTRC `find gui -name "qp*.ui"` > rc.cpp
 xgettext --from-code=UTF-8 -C --kde -ci18n -ki18n:1 rc.cpp -o $podir/kdeqt.pot
 rm rc.cpp
 find . -name "*.cpp" | fgrep -v moc_ > list
--- trunk/l10n-kde4/scripts/update_translations #974714:974715
@@ -187,7 +187,7 @@
   test -z "$VERBOSE1" || echo "extracting qt-copy"
   # As qt-copy is updated rarely (compared to other modules) and to simplify the \
code, we let the "late" code below do most of the work.  ### TODO: check if in \
                long-term this minimalistic approach is really the best
-  podir=$BASEDIR/$transmod/templates/messages/qt qtcopydir=$BASEDIR/`get_path \
qt-copy` \ +  podir=$BASEDIR/$transmod/templates/messages/qt EXTRACTRC="perl \
$extractrc --ignore-no-input" qtcopydir=$BASEDIR/`get_path qt-copy` \  bash \
$BASEDIR/$transmod/scripts/MessagesQt.sh  
   test -z "$VERBOSE1" || echo "updating files in $transmod"


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

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