summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-10-16 23:12:11 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-10-16 23:14:18 +0200
commit65b7339454855b804a36fbca71ab21101ddc01d7 (patch)
tree350eb35ffbe9e68a17e9310e9ab96f3c11505c05 /scripts
parentForgot INSTALL file update... (diff)
downloadrekonq-65b7339454855b804a36fbca71ab21101ddc01d7.tar.xz
Fix download_i18n.sh script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/download_i18n.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/download_i18n.sh b/scripts/download_i18n.sh
index 2a2685a1..c26b35ab 100644
--- a/scripts/download_i18n.sh
+++ b/scripts/download_i18n.sh
@@ -4,7 +4,15 @@
#
# 1. Update the lists of the ready (about 80%) translations
# check the situation here: http://l10n.kde.org/stats/gui/trunk-kde4/po/rekonq.po/
-LIST="af ar as ast be be@latin bg bn bn_IN br ca ca@valencia crh cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl gu ha he hi hne hr hsb hu hy ia id is it ja ka kk km kn ko ku lb lt lv mai mk ml mr ms mt nb nds ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw se si sk sl sq sr sr@ijekavian sr@ijekavianlatin sr@latin sv ta te tg th tr uk uz uz@cyrillic vi wa xh zh_CN zh_HK zh_TW"
+LIST="af ar as ast az be be@latin bg bn bn_IN bo br bs ca ca@valencia crh cs csb
+cy da de el en_GB eo es et eu fa fi fo fr fy ga gl gu ha he hi hne hr hsb hu hy
+ia id is it ja ka kk km kn ko ku lb lo lt lv mai mi mk ml mn mr ms mt nb nds ne
+nl nn nso oc or pa pl ps pt pt_BR ro ru rw se si sk sl sq sr sr@ijekavian
+sr@ijekavianlatin sr@latin ss sv ta te tg th tr tt ug uk uz uz@cyrillic ven vi
+wa xh zh_CN zh_HK zh_TW zu"
+
+# translation percentual
+TRxCENT=80
# 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)
@@ -57,7 +65,7 @@ do
else
PERC=$(echo $TRANS/$TOT | bc -l)
- RESULT=$(echo $PERC '>' .80 | bc -l)
+ RESULT=$(echo $PERC '>' .$TRxCENT | bc -l)
if [ $RESULT -eq 0 ]; then
echo removing $lang...
rm rekonq_$lang.po