diff -Naur rekonq/CMakeLists.txt rekonq-fix/CMakeLists.txt
--- rekonq/CMakeLists.txt 2012-07-17 13:21:50.898587038 +0700
+++ rekonq-fix/CMakeLists.txt 2012-07-17 13:34:32.365301802 +0700
@@ -186,6 +186,7 @@
ADD_SUBDIRECTORY( icons )
ADD_SUBDIRECTORY( kwebapp )
ADD_SUBDIRECTORY( doc )
+ ADD_SUBDIRECTORY( i18n )
ENDIF(REKONQ_CAN_BE_COMPILED)
diff -Naur rekonq/scripts/download_i18n.sh rekonq-fix/scripts/download_i18n.sh
--- rekonq/scripts/download_i18n.sh 2012-07-17 13:21:50.948587042 +0700
+++ rekonq-fix/scripts/download_i18n.sh 2012-07-17 13:36:51.598643930 +0700
@@ -17,7 +17,7 @@
# 2. run this script. It will create an i18n dir in rekonq sources ($RK_SRCS variable, set it to your source path)
# dir with all the listed translations (eg: italian translation = rekonq_it.po file)
# plus the CMakeLists.txt file needed to compile them.
-RK_SRCS=/DATI/KDE/SRC/rekonq
+#RK_SRCS=/DATI/KDE/SRC/rekonq
# 3. Uncomment the "ADD_SUBDIRECTORY( i18n )" line in main CMakeLists.txt file.
@@ -57,6 +57,10 @@
FUZZ=${FUZZ:-0}
UNTR=$(echo $STATS | awk '{print $7}')
UNTR=${UNTR:-0}
+
+ if ! [[ "$UNTR" =~ ^[0-9]+$ ]] ; then
+ UNTR=0
+ fi
# check if perc is more than 80%
TOT=$[$TRANS+$FUZZ+$UNTR]