tazbug diff web/bugs.cgi @ rev 17

Tiny edits
author Paul Issott <paul@slitaz.org>
date Tue Apr 03 22:50:25 2012 +0100 (2012-04-03)
parents 95129e40c9df
children a39c2f6e7317
line diff
     1.1 --- a/web/bugs.cgi	Tue Apr 03 19:18:26 2012 +0200
     1.2 +++ b/web/bugs.cgi	Tue Apr 03 22:50:25 2012 +0100
     1.3 @@ -109,9 +109,9 @@
     1.4  <h2>$(gettext "Login")</h2>
     1.5  
     1.6  <div id="account-info">
     1.7 -$(gettext "Not yet and account ? Please signup using SliTaz Bugs formular
     1.8 -from your SliTaz system. <p>Tip: to attach big files or images, you can use
     1.9 -SliTaz Paste service:") <a href="http://paste.slitaz.org/">paste.slitaz.org</a>
    1.10 +$(gettext "No account yet? Please signup using the SliTaz Bugs registration
    1.11 +on your SliTaz system. <p>Tip: to attach big files or images, you can use
    1.12 +SliTaz Paste services:") <a href="http://paste.slitaz.org/">paste.slitaz.org</a>
    1.13  </p>
    1.14  </div>
    1.15  
    1.16 @@ -183,8 +183,8 @@
    1.17  	done
    1.18  }
    1.19  
    1.20 -# Stripped down Wiki parser for bug desc and messages wich are simply
    1.21 -# displyed in <pre>
    1.22 +# Stripped down Wiki parser for bug desc and messages which are simply
    1.23 +# displayed in <pre>
    1.24  wiki_parser() {
    1.25  	sed \
    1.26  		-e s"#http://\([^']*\).png#<img src='\0' alt='[ Image ]' />#"g \
    1.27 @@ -496,7 +496,7 @@
    1.28  		if check_auth; then
    1.29  			new_bug_page
    1.30  		else
    1.31 -			echo "<p>$(gettext "You must be logged to post a new bug")</p>"
    1.32 +			echo "<p>$(gettext "You must be logged in to post a new bug")</p>"
    1.33  		fi
    1.34  		html_footer ;;
    1.35  	*\ addbug\ *)
    1.36 @@ -538,7 +538,7 @@
    1.37  		user="$(GET signup)"
    1.38  		echo "Requested user login : $user"
    1.39  		if fgrep -q "$user:" $AUTH_FILE; then
    1.40 -			echo "ERROR: User already exist" && exit 1
    1.41 +			echo "ERROR: User already exists" && exit 1
    1.42  		else
    1.43  			echo "Creating account for : $(GET name)"
    1.44  			new_user_config