Skip to content

Commit

Permalink
Fix a grammar error in the can't get enough to eat blurb
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBenz committed Jul 6, 2019
1 parent af3ddbc commit a853f90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/ProgressiveColonizationSystem/CrewBlurbs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ string Replacer(Match match)
return GetGroupDescription(crewDescriptors, false);
case "[victims_hashave]":
return crewDescriptors.hashave();
case "[victims_isare]":
return crewDescriptors.isare();
case "[victims_hishertheir]":
return crewDescriptors.hishertheir();
case "[crew]":
Expand Down Expand Up @@ -228,6 +230,8 @@ public static class CrewBlurbExtensions
{
public static string hashave(this List<CrewDescriptor> crewDescriptors)
=> crewDescriptors.Count > 1 ? "have" : "has";
public static string isare(this List<CrewDescriptor> crewDescriptors)
=> crewDescriptors.Count > 1 ? "are" : "is";
public static string hishertheir(this List<CrewDescriptor> crewDescriptors)
=> crewDescriptors.Count == 1 ? crewDescriptors[0].hisher : "their";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
#LOC_KPBS_NOT_RESEARCHED = You cannot choose this tier because you haven't deployed and used a\npart of lower tier yet. Start small, build up.
#LOC_KPBS_CHOOSE_A_BODY_FIRST = You need to choose which body before you can select a tier.

#LOC_KPBS_KERBAL_INCAPACITATED = [victims] [victims_hashave] gone too long without a snack and are no longer able to function!
#LOC_KPBS_KERBAL_INCAPACITATED = [victims] [victims_hashave] gone too long without a snack and [victims_isare] no longer able to function!
#LOC_KPBS_KERBAL_HUNGRY_NO_PRODUCTION = [victims] can't find enough snacks to eat and will no longer operate production equipment!
#LOC_KPBS_KERBAL_HUNGRY = [victims] can't find enough to snacks to eat! Fix this quick before [victims_hishertheir] families begin litigation!

Expand Down

0 comments on commit a853f90

Please sign in to comment.