summarylogtreecommitdiffstats
path: root/patch
blob: c4c66b3cccb36d36f996cb6bee813b0c1c728734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -Naur rekonq/CMakeLists.txt rekonq_new/CMakeLists.txt
--- rekonq/CMakeLists.txt	2012-07-28 11:04:10.356645617 -0500
+++ rekonq_new/CMakeLists.txt	2012-07-28 11:13:25.106617699 -0500
@@ -202,6 +202,7 @@

     ADD_SUBDIRECTORY( src )
     ADD_SUBDIRECTORY( icons )
+    ADD_SUBDIRECTORY( i18n )
 
 ENDIF(REKONQ_CAN_BE_COMPILED)
 
diff -Naur rekonq/scripts/download_i18n.sh rekonq_new/scripts/download_i18n.sh
--- rekonq/scripts/download_i18n.sh	2012-07-28 11:04:10.369978950 -0500
+++ rekonq_new/scripts/download_i18n.sh	2012-07-28 11:14:16.553281778 -0500
@@ -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]