Added Confusion in the Ranks.

This commit is contained in:
emerald000 2016-04-15 14:53:19 -04:00
parent 5776452760
commit 8d28883f7c
3 changed files with 136 additions and 0 deletions

View file

@ -142,6 +142,9 @@ public abstract class TargetImpl implements Target {
if (targetName.startsWith("another") || targetName.startsWith("a ") || targetName.startsWith("an ")) {
return "Select " + targetName + suffix;
}
else if (targetName.startsWith("a") || targetName.startsWith("e") || targetName.startsWith("i") || targetName.startsWith("o") || targetName.startsWith("u")) {
return "Select an " + targetName + suffix;
}
return "Select a " + targetName + suffix;
}