X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Futil%2FNotary.java;h=ed1ce238c93d144cd04da9ca42230df36600a25b;hb=bead06ac89a5fbe282dab187c5d1babbb7dcdf66;hp=280bce39d4b45b50a9fea16a1f66405cf60ce349;hpb=0dfe195d39328924a19f9301278eaba97f57c1b8;p=gigi.git diff --git a/src/org/cacert/gigi/util/Notary.java b/src/org/cacert/gigi/util/Notary.java index 280bce39..ed1ce238 100644 --- a/src/org/cacert/gigi/util/Notary.java +++ b/src/org/cacert/gigi/util/Notary.java @@ -87,7 +87,7 @@ public class Notary { throw gae; } if (date == null || date.equals("")) { - gae.mergeInto(new GigiApiException("You must enter the date when you met the assuree.")); + gae.mergeInto(new GigiApiException("You must enter the date when you met the applicant.")); } else { try { Date d = DateSelector.getDateFormat().parse(date); @@ -128,7 +128,7 @@ public class Notary { } if ( !assuree.getDoB().equals(dob)) { - gae.mergeInto(new GigiApiException("The person you are assuring changed his personal details.")); + gae.mergeInto(new GigiApiException("The person you are verifying changed his personal details.")); } if (awarded < 0) { @@ -156,7 +156,7 @@ public class Notary { } else if (type == AssuranceType.TTP_ASSISTED) { assureTTP(assurer, assuree, assureeName, awarded, location, date); } else { - throw new GigiApiException(SprintfCommand.createSimple("Unknown Assurance type: {0}", type.toString())); + throw new GigiApiException(SprintfCommand.createSimple("Unknown Verification type: {0}", type.toString())); } assurer.invalidateMadeAssurances(); assuree.invalidateReceivedAssurances();