]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - tools/make-functions
Sprachfix und FTP-Upload-Fix
[people/pmueller/ipfire-2.x.git] / tools / make-functions
index 8ce5bc2c61acca2f7f9e04e926247ff6842c8d20..fde6ef15bd1b859fdfa0090ab1ed219f80c865c5 100644 (file)
@@ -476,16 +476,16 @@ batch_script() {
        $0 build
        evaluate 1 mail_me ERROR
 
-       echo "### UPLOADING ISO"
-       $0 upload iso
-       evaluate 1 mail_me ISO
+#      echo "### UPLOADING ISO"
+#      $0 upload iso
+#      evaluate 1 mail_me ISO
        
-       echo -ne "### UPLOADING PAKS"
-       $0 upload paks
-       evaluate 1 mail_me PAKS
+#      echo -ne "### UPLOADING PAKS"
+#      $0 upload paks
+#      evaluate 1 mail_me PAKS
 
        echo -ne "${BOLD}***SUCCESS!${NORMAL}"
-       evaluate 0 mail_me SUCCESS
+       mail_me success
        exit 0
 }
 
@@ -503,7 +503,7 @@ mail_me() {
                        SUBJECT="SUCCESS: IPFIRE-BUILD R$SVN_REVISION on `hostname`"
                        cat <<END > /tmp/ipfire_mail_body
 Building IPFire on `hostname` in Revision $SVN_REVISION was successfull!
-You can find the ISO on your ftp server.
+You can find the ISO on your ftp server if you told the script where it is.
 
 Statistics:
 -----------
@@ -692,3 +692,14 @@ reload_tftpd() {
        fi
        return 1
 }
+
+update_langs() {
+               echo -ne "Checking the translations for missing or obsolete strings..."
+               chmod 755 $BASEDIR/tools/{check_strings.pl,sort_strings.pl,check_langs.sh}
+               $BASEDIR/tools/sort_strings.pl en
+               $BASEDIR/tools/sort_strings.pl de
+               $BASEDIR/tools/check_strings.pl en > $BASEDIR/doc/language_issues.en
+               $BASEDIR/tools/check_strings.pl de > $BASEDIR/doc/language_issues.de
+               $BASEDIR/tools/check_langs.sh > $BASEDIR/doc/language_missings
+               beautify message DONE
+}