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

A more useful hg link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 13:39:32 2013 +0100 (2013-01-24)
parents 29b02bc29d68
children 4d5e2d8fe3e6
line diff
     1.1 --- a/lib/i18n-info.sh	Fri Jul 27 13:59:05 2012 +0000
     1.2 +++ b/lib/i18n-info.sh	Thu Jan 24 13:39:32 2013 +0100
     1.3 @@ -81,8 +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 [ "x$NAME_DOC2" == "x" ]; then
     1.8 -			NAME_DOC2=$NAME_DOC1
     1.9 +		if [ "$NAME_DOC1" == "$NAME_DOC2" ]; then
    1.10  			NAME_DOC1="doc"
    1.11  		fi
    1.12  		# not print 'linked' common documents, only localized ones
    1.13 @@ -210,7 +209,7 @@
    1.14  
    1.15  echof "	</tbody>
    1.16  </table>
    1.17 -<p>Updated: $(date '+%x %X')</p>"
    1.18 +<p>Updated: $(date '+%B %d, %Y @ %H:%M')</p>"
    1.19  
    1.20  mv "${INFO_FILE}.new" "$INFO_FILE"
    1.21  # the end