[rkward-cvs] SF.net SVN: rkward: [2294] trunk/rkward/po/Messages.sh
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Jan 3 16:20:57 UTC 2008
Revision: 2294
http://rkward.svn.sourceforge.net/rkward/?rev=2294&view=rev
Author: tfry
Date: 2008-01-03 08:20:57 -0800 (Thu, 03 Jan 2008)
Log Message:
-----------
Supposedly, the name 'rc.cpp' is important for some reason
Modified Paths:
--------------
trunk/rkward/po/Messages.sh
Modified: trunk/rkward/po/Messages.sh
===================================================================
--- trunk/rkward/po/Messages.sh 2008-01-03 16:20:08 UTC (rev 2293)
+++ trunk/rkward/po/Messages.sh 2008-01-03 16:20:57 UTC (rev 2294)
@@ -9,10 +9,10 @@
cd ${BASEDIR}
# we use simple sorting to make sure the lines don't jump around too much from system to system
find . -name '*.rc' -o -name '*.ui' -o -name '*.kcfg' | sort > ${WDIR}/rcfiles.list
-xargs --arg-file=${WDIR}/rcfiles.list extractrc > ${WDIR}/extractedrc.cpp
+xargs --arg-file=${WDIR}/rcfiles.list extractrc > ${WDIR}/rc.cpp
# additional string for KAboutData
-echo 'i18nc("NAME OF TRANSLATORS","Your names");' >> ${WDIR}/extractedrc.cpp
-echo 'i18nc("EMAIL OF TRANSLATORS","Your emails");' >> ${WDIR}/extractedrc.cpp
+echo 'i18nc("NAME OF TRANSLATORS","Your names");' >> ${WDIR}/rc.cpp
+echo 'i18nc("EMAIL OF TRANSLATORS","Your emails");' >> ${WDIR}/rc.cpp
cd ${WDIR}
echo "Done preparing rc files"
@@ -21,7 +21,7 @@
cd ${BASEDIR}
# see above on sorting
find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${WDIR}/infiles.list
-echo "extractedrc.cpp" >> ${WDIR}/infiles.list
+echo "rc.cpp" >> ${WDIR}/infiles.list
cd ${WDIR}
xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
-kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
@@ -44,5 +44,5 @@
cd ${WDIR}
rm rcfiles.list
rm infiles.list
-rm extractedrc.cpp
+rm rc.cpp
echo "Done"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list