X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpostats.sh;h=7f1d9eda72fc9f2914c440337dd6a00fa1687597;hb=46ee486bdaf2a39538d9cabd2e7af722a4ede97d;hp=d5f956b80eb6299de16fb5fa52af3ba02034ac19;hpb=df8a77437ec3a903380a9fcba033bef9ebc473bd;p=lyx.git diff --git a/po/postats.sh b/po/postats.sh index d5f956b80e..7f1d9eda72 100755 --- a/po/postats.sh +++ b/po/postats.sh @@ -30,7 +30,7 @@ error () { # $1 is a string like # '588 translated messages, 1248 fuzzy translations, 2 untranslated messages.' # Any one of these substrings may not appear if the associated number is 0. -# +# # $2 is the word following the number to be extracted, # ie, 'translated', 'fuzzy', or 'untranslated'. # @@ -64,7 +64,7 @@ run_msgfmt () { output= test -f $1 || { - warning "File $1 does not exist" + warning "File $1 does not exist" return } @@ -73,7 +73,7 @@ run_msgfmt () { pofile=`basename $1` gmofile=`echo $pofile | sed 's/po$/gmo/'` test $pofile != '' -a $pofile != $gmofile || { - warning "File $1 is not a po file" + warning "File $1 is not a po file" unset origdir dir pofile gmofile return } @@ -282,7 +282,7 @@ EOF # The main body of the script msgfmt=`which msgfmt` -test $msgfmt != '' || error "Unable to find 'msgfmt'. Cannot proceed." +test $msgfmt != '' || error "Unable to find 'msgfmt'. Cannot proceed." dump_head