website diff lib/i18n-info.sh @ rev 1344

Resize balinor logo to 120px
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 22 23:02:15 2021 +0100 (2021-01-22)
parents e1d9fe4a2b36
children
line diff
     1.1 --- a/lib/i18n-info.sh	Sat Sep 17 15:04:46 2016 +0300
     1.2 +++ b/lib/i18n-info.sh	Fri Jan 22 23:02:15 2021 +0100
     1.3 @@ -81,7 +81,7 @@
     1.4  		# second part of filename, faq.en -> en
     1.5  		NAME_DOC2=$(echo $NAME_DOC | cut -d"." -f2)
     1.6  		# if filename have only [lang] then rename it to doc.[lang]
     1.7 -		if [ "$NAME_DOC1" == "$NAME_DOC2" ]; then
     1.8 +		if [ "$NAME_DOC1" = "$NAME_DOC2" ]; then
     1.9  			NAME_DOC1="doc"
    1.10  		fi
    1.11  		# not print 'linked' common documents, only localized ones
    1.12 @@ -101,7 +101,7 @@
    1.13  	PAGE=$(wget $APP_DIR -q -O -)
    1.14  	LINKS=$(echo "$PAGE" | grep -A 1 "filename" | grep "href" | wc -l)
    1.15  	# plural form
    1.16 -	if [ "$LINKS" == "1" ]; then
    1.17 +	if [ "$LINKS" = "1" ]; then
    1.18  		APP_TEXT="1<br/>item"
    1.19  	else
    1.20  		APP_TEXT="$LINKS<br/>items"