Skip to content

Commit

Permalink
Merge pull request #4818 from IllianiCBT/education_rejectionCorrection
Browse files Browse the repository at this point in the history
Fixed Formatting Issues in EducationController
  • Loading branch information
IllianiCBT authored Sep 13, 2024
2 parents d912f0a + d60bba8 commit a9f6cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MekHQ/resources/mekhq/resources/Education.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ facultySkill.text=Faculty Skill:

#### Application
secondApplication.text=%s has previously failed the entry exam for the %s and so their application was automatically %s<b>rejected</b>%s.
applicationFailure.text=%s has %s<b>failed</b%s the entry exam for the %s.
applicationFailure.text=%s has %s<b>failed</b>%s the entry exam for the %s.

#### Payment
insufficientFunds.text=Not enough funds to cover %s's tuition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ public static boolean makeEnrollmentCheck(Campaign campaign, Person person, Stri
// has the character already failed to apply to this academy?
if (person.getEduFailedApplications().contains(academy)) {
campaign.addReport(String.format(resources.getString("secondApplication.text"),
person.getHyperlinkedFullTitle()),
person.getHyperlinkedFullTitle(),
academyNameInSet,
ReportingUtilities.spanOpeningWithCustomColor(MekHQ.getMHQOptions().getFontColorNegativeHexColor()),
ReportingUtilities.CLOSING_SPAN_TAG);
ReportingUtilities.CLOSING_SPAN_TAG));
return false;
}

Expand Down

0 comments on commit a9f6cf5

Please sign in to comment.