X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=tools%2Fmake-functions;h=fde6ef15bd1b859fdfa0090ab1ed219f80c865c5;hp=8a0f50ffd1519e85f2c8f08fe4582da98e049faa;hb=1065bfea84cb9bb8301aeedc900ea8c32673b6f1;hpb=bcbb829a353a43019b46451450d4d14535c8b464 diff --git a/tools/make-functions b/tools/make-functions index 8a0f50ffd1..fde6ef15bd 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -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 +}