chiark / gitweb /
Registration now insists you type your password twice the same.
[disorder] / templates / options.labels
index f72ab8486e4364d5bc0ded06af6ad1f9ebfedffa..d2320f4198d443d9e749add742f69b79114b7471 100644 (file)
@@ -138,13 +138,32 @@ label     login.title             "DisOrder Login"
 # 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 digit; 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"
@@ -156,8 +175,18 @@ label      error.title             "DisOrder error"
 # 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           ""
@@ -203,9 +232,9 @@ label       heading.length          Length
 # (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              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               static/disorder.css
+label  links.css               /disorder/disorder.css