X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Fpages%2Fwot%2FAssuranceForm.java;h=e5521dab20b3ca251798811995d5c048502bad74;hb=e1c74b126019f5838c7d61396d50fc5fe8551892;hp=aca82b917b68fbf6c2433712af1186b930b6ef72;hpb=0dfe195d39328924a19f9301278eaba97f57c1b8;p=gigi.git diff --git a/src/org/cacert/gigi/pages/wot/AssuranceForm.java b/src/org/cacert/gigi/pages/wot/AssuranceForm.java index aca82b91..e5521dab 100644 --- a/src/org/cacert/gigi/pages/wot/AssuranceForm.java +++ b/src/org/cacert/gigi/pages/wot/AssuranceForm.java @@ -152,14 +152,14 @@ public class AssuranceForm extends Form { try { type = AssuranceType.valueOf(val); } catch (IllegalArgumentException e) { - gae.mergeInto(new GigiApiException("Assurance Type wrong.")); + gae.mergeInto(new GigiApiException("Verification Type wrong.")); } } int pointsI = 0; String points = req.getParameter("points"); if (points == null || "".equals(points)) { - gae.mergeInto(new GigiApiException("For an assurance, you need to enter points.")); + gae.mergeInto(new GigiApiException("For a verification, you need to enter points.")); } else { try { pointsI = Integer.parseInt(points); @@ -191,8 +191,8 @@ public class AssuranceForm extends Form { if (aword != null && !aword.equals("")) { Language langApplicant = Language.getInstance(assuree.getPreferredLocale()); - String method = langApplicant.getTranslation("A password reset was triggered. If you did a password reset by assurance, please enter your secret password using this form:"); - String subject = langApplicant.getTranslation("Password reset by assurance"); + String method = langApplicant.getTranslation("A password reset was triggered. If you did a password reset by verification, please enter your secret password using this form:"); + String subject = langApplicant.getTranslation("Password reset by verification"); PasswordResetPage.initPasswordResetProcess(out, assuree, req, aword, langApplicant, method, subject); } return true;