]> WPIA git - gigi.git/commitdiff
chg: adjust wording to have a consequent wording over all pages
authorINOPIAE <m.maengel@inopiae.de>
Sat, 9 Dec 2017 06:35:29 +0000 (07:35 +0100)
committerINOPIAE <m.maengel@inopiae.de>
Sat, 9 Dec 2017 12:01:46 +0000 (13:01 +0100)
displayed to the user

Change-Id: Ie38a6b517a266790f0dc0fc80c5fa0561fe6925c

src/club/wpia/gigi/pages/LoginPage.templ
src/club/wpia/gigi/pages/PasswordResetForm.templ
src/club/wpia/gigi/pages/account/ChangePasswordForm.templ
src/club/wpia/gigi/pages/account/certs/CertificateIssueForm.templ
src/club/wpia/gigi/pages/account/mail/MailAddForm.templ
src/club/wpia/gigi/pages/main/Signup.java
src/club/wpia/gigi/pages/main/Signup.templ
src/club/wpia/gigi/util/PasswordStrengthChecker.java

index f34ffb13077ecec53400161af521fe4acfc33d21..ad3060c555e07e2d797f8335990ecd022ddfe4b6 100644 (file)
@@ -2,7 +2,7 @@
 <h1><?=_Login?></h1>
 <p class='smalltext'><?=_Warning! This site requires cookies to be enabled to ensure your privacy and security. This site uses session cookies to store temporary values to prevent people from copying and pasting the session ID to someone else exposing their account, personal details and identity theft as a result.?></p>
 <label for="username"><?=_Email Address?>:</label><input class="form-control" type='text' name="username" required/><br />
-<label for="password"><?=_Pass Phrase?>:</label><input class="form-control" type='password' name='password' required/><br />
+<label for="password"><?=_Password?>:</label><input class="form-control" type='password' name='password' required/><br />
 <button type='submit' name="process" value="Login" class="btn btn-primary"><?=_Login?></button><br /><br />
 <p class='smalltext'><?=_If you are having trouble with your username or password, please visit our !(/wiki/lostPassword)wiki page!'</a>' for more information?></p>
 </div>
index a0e46a4f347ed372854542ffc6178ff3779ce6bc..9663547bb4b07ae04aff9ff1c6811fa0f4c94673 100644 (file)
@@ -1,7 +1,7 @@
 <table class="table">
   <thead>
   <tr>
-    <th colspan="2" class="title"><?=_Change Pass Phrase?></th>
+    <th colspan="2" class="title"><?=_Change Password?></th>
   </tr>
   </thead>
   <tbody>
     <td><input type="password" name="private_token" required></td>
   </tr>
   <tr>
-    <td><?=_New Pass Phrase?><span class="formMandatory">*</span>: </td>
+    <td><?=_New Password?><span class="formMandatory">*</span>: </td>
     <td><input type="password" name="pword1" required></td>
   </tr>
   <tr>
-    <td><?=_Pass Phrase Again?><span class="formMandatory">*</span>: </td>
+    <td><?=_Password Again?><span class="formMandatory">*</span>: </td>
     <td><input type="password" name="pword2" required></td>
   </tr>
   <tr>
     <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?></td>
   </tr>
   <tr>
-    <td colspan="2"><input type="submit" name="process" value="<?=_Update Pass Phrase?>"></td>
+    <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
   </tr>
   </tbody>
 </table>
index 0fd8f76a88069bcd91aeb136b051cdedc7bd8d6d..1e9136eaa7506127dd99af5c856f8add15c783d5 100644 (file)
@@ -1,27 +1,27 @@
 <table class="table">
   <thead>
   <tr>
-    <th colspan="2" class="title"><?=_Change Pass Phrase?></th>
+    <th colspan="2" class="title"><?=_Change Password?></th>
   </tr>
   </thead>
   <tbody>
   <tr>
-    <td><?=_Old Pass Phrase?>: </td>
+    <td><?=_Old Password?>: </td>
     <td><input class="form-control" type="password" name="oldpassword" required></td>
   </tr>
   <tr>
-    <td><?=_New Pass Phrase?><span class="formMandatory">*</span>: </td>
+    <td><?=_New Password?><span class="formMandatory">*</span>: </td>
     <td><input class="form-control" type="password" name="pword1" required></td>
   </tr>
   <tr>
-    <td><?=_Pass Phrase Again?><span class="formMandatory">*</span>: </td>
+    <td><?=_Password Again?><span class="formMandatory">*</span>: </td>
     <td><input class="form-control" type="password" name="pword2" required></td>
   </tr>
   <tr>
     <td colspan="2"><span class="formMandatory">*</span><?=_Your password is one of many factors to protect your account from unauthorised access. A good password is hard to guess, long, and contains a diverse set of characters. For the current requirements and to learn more, visit our !(/wiki/goodPassword)FAQ!'</a>'.?></td>
   </tr>
   <tr>
-    <td colspan="2"><input type="submit" name="process" value="<?=_Update Pass Phrase?>"></td>
+    <td colspan="2"><input type="submit" name="process" value="<?=_Update Password?>"></td>
   </tr>
   </tbody>
 </table>
index 7b9c535376685e66ef7fdc606090dad6bb67387c..494a7ff504bb7a5c8dda91db599f7990495bd6df 100644 (file)
@@ -48,8 +48,8 @@
       <label for='SANs'>SANs</label>
     </td>
     <td align="left">
-      <textarea class="form-control" rows='5' name='SANs' placeholder="dns:my.domain.example.com, dns:*.example.com, email:my.email@example.com (or newline separated)"><?=$emails?></textarea><br />
-      <?=_Syntax for SAN?>: dns:my.domain.example.com, dns:*.example.com, email:my.email@example.com <?=_(or newline separated)?><br />
+      <textarea class="form-control" rows='5' name='SANs' placeholder="dns:my.domain.example.org, dns:*.example.org, email:my.email@example.org (or newline separated)"><?=$emails?></textarea><br />
+      <?=_Syntax for SAN?>: dns:my.domain.example.org, dns:*.example.org, email:my.email@example.org <?=_(or newline separated)?><br />
       <?=_Recommendation for inexperienced users: only use one email address for client certificates.?>
       </td>
   </tr>
index c709391a9407b0bae20050e650c56322bb7da412..a8fbcb8d9916826fe0fc42fa52a3c21240611cf3 100644 (file)
@@ -1,6 +1,6 @@
 <table class="table">
   <tr>
-    <td><?=_Email Addresses?> </td>
+    <td><?=_Email Address?> </td>
     <td><input class="form-control" type="text" name="newemail" value="" required></td>
   </tr>
   <tr>
index 07d7f9126cf93606e0e88668b3327f93b6ee2f07..c5dcadf75c48585cf2912b5b6a00296befc8e690 100644 (file)
@@ -133,13 +133,13 @@ public class Signup extends Form {
         String pw1 = req.getParameter("pword1");
         String pw2 = req.getParameter("pword2");
         if (pw1 == null || pw1.equals("")) {
-            ga.mergeInto(new GigiApiException("Pass Phrases were blank"));
+            ga.mergeInto(new GigiApiException("Passwords were blank"));
         } else if ( !pw1.equals(pw2)) {
-            ga.mergeInto(new GigiApiException("Pass Phrases don't match"));
+            ga.mergeInto(new GigiApiException("Passwords don't match"));
         }
         int pwpoints = PasswordStrengthChecker.checkpw(pw1, ni.getNamePartsPlain(), email);
         if (pwpoints < 3) {
-            ga.mergeInto(new GigiApiException(new SprintfCommand("The Pass Phrase you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
+            ga.mergeInto(new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
         }
         if ( !ga.isEmpty()) {
             throw ga;
index 466eaaa31339c765d72545d5bfa884599c2501f4..d241a8634b02110bcd4e7770605a10a394d43cdf 100644 (file)
   </tr>
 
   <tr>
-    <td><?=_Pass Phrase?><font color="red">*</font>: </td>
+    <td><?=_Password?><font color="red">*</font>: </td>
     <td><input class="form-control" type="password" name="pword1" size="30" autocomplete="off"></td>
     <td rowspan="2">&nbsp;</td>
   </tr>
 
   <tr>
-    <td><?=_Pass Phrase Again?><font color="red">*</font>: </td>
+    <td><?=_Password Again?><font color="red">*</font>: </td>
     <td><input class="form-control" type="password" name="pword2" size="30" autocomplete="off"></td>
   </tr>
 
index 0df62480ef3d28d5e47b65e16b323f6db73a20cc..112f71283441e568045f3e57708dfb2b3b126302 100644 (file)
@@ -80,7 +80,7 @@ public class PasswordStrengthChecker {
             }
         }
         if (checkpw(pw, parts.toArray(new String[parts.size()]), email) < 3) {
-            throw (new GigiApiException(new SprintfCommand("The Pass Phrase you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
+            throw (new GigiApiException(new SprintfCommand("The Password you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. For the current requirements and to learn more, visit our {0}FAQ{1}.", Arrays.asList("!(/wiki/goodPassword", "!'</a>'"))));
         }
     }