]> git.sesse.net Git - kdenlive/blobdiff - Messages.sh
Required changes to make Kdenlive work with some locales that have a comma (,) as...
[kdenlive] / Messages.sh
index d63c76e54ebe9ec6b6df68b42270b65930c22f1b..7b56076dfd3b359b71e0d0ee62b1651051773d78 100755 (executable)
@@ -6,6 +6,13 @@ podir=`pwd`/po
 kdenlive_subdirs="src src/widgets renderer plugins"
 
 
+if [ $(expr length "${EXTRACTRC}") -eq 0 ]
+then
+    echo "extractrc not found. Please install it (it is maybe in the kdesdk-scripts package)."
+    exit 1
+fi
+
+
 kde_inc=${includedir:-${KDEDIR:-@CMAKE_INSTALL_PREFIX@}/include/kde}/kde.pot
 
 if [ -f ${kde_inc} ]; then
@@ -14,7 +21,7 @@ else
    kde_inc=""
 fi
 
-$EXTRACTRC --tag=name --tag=description --tag=label effects/*.xml data/*.rc >> rc.cpp || exit 11
+$EXTRACTRC --tag=name --tag=description --tag=label --tag=comment --tag=paramlistdisplay effects/*.xml data/*.rc >> rc.cpp || exit 11
 
 $EXTRACTRC `find $kdenlive_subdirs -name \*.ui` >> rc.cpp || exit 11
 $EXTRACTRC `find $kdenlive_subdirs -name \*.rc` >> rc.cpp || exit 11