# Text for login fields
label login.username "Username"
label login.password "Password"
+label login.password1 "Password"
+label login.password2 "Password"
+label login.newpassword "New Password"
label login.email "Email address"
+label login.registerusernameextra "May only contain unaccented Roman letters and digits; case matters"
+label login.registeremailextra "Must be valid"
+label login.registerpassword1extra "Letter case matters"
+label login.registerpassword2extra "Type same password again to check"
+
+label login.edituseremailextra ""
+label login.edituserpassword1extra "Leave blank to keep existing password"
+label login.edituserpassword2extra "Type same password again to check"
+
# Text for login page buttons
label login.login "Login"
label login.register "Register"
label login.edituser "Change Details"
-label login.lougout "Logout"
+label login.logout "Logout"
+
+# Text for login page responses
+label login.loginok "You are now logged in."
+label login.logoutok "You are now logged out."
+label login.registered "Your new login has been registered. Please check your email."
+label login.confirmed "Your new login has been confirmed. You are now logged in."
+label login.edited "Your details have been changed."
# <TITLE> for account page
label account.title "DisOrder User Details"
# Text used when cannot connect to server
label error.connect "Cannot connect to server."
-# Text used when cannot become right user
-label error.become "Unauthorized user."
+# Error messages for login.html
+label error.loginfailed "Incorrect username and/or password."
+label error.cookiefailed "Cannot create login cookie."
+label error.nousername "No username specified."
+label error.nopassword "No password specified."
+label error.passwordmismatch "Passwords do not match."
+label error.noemail "No email address specified."
+label error.bademail "Invalid email address."
+label error.cannotregister "Unable to register user."
+label error.noconfirm "Missing confirmation string."
+label error.badconfirm "Invalid confirmation string."
+label error.badedit "Cannot edit user details."
# Text appended to all error pages
label error.generic ""
label heading.title Title
label heading.length Length
-# Images. These are (possibly relative) URLs. In the factory configuration
-# DisOrder assumes that you have arranged for 'static' relative to the base
-# URL (i.e. the URL of the CGI) to point somewhere useful, but it's not
-# the only way. The .deb for instance uses /disorder instead.
-label images.enabled static/tick.png
-label images.disabled static/cross.png
-label images.scratch static/cross.png
-label images.noscratch static/nocross.png
-label images.up static/up.png
-label images.noup static/noup.png
-label images.down static/down.png
-label images.nodown static/nodown.png
-label images.edit static/edit.png
-label images.upall static/upup.png
-label images.noupall static/noupup.png
-label images.downall static/downdown.png
-label images.nodownall static/nodowndown.png
-
-# Stylesheet. As above, a (possibly relative) URL.
-label links.css static/disorder.css
+# (Possibly relative) URL to images. This be a URL for the directory
+# containing the icons used by the web interface (which might be
+# /usr/local/share/disorder/static/).
+label url.static /disorder/
+
+# Stylesheet. As above, a (possibly relative) URL, but this time pointing
+# to the stylesheet to use in all DisOrder web pages.
+label links.css /disorder/disorder.css