- Fixed some text issues related to Bug 6675. Not closed because it keep growing...

This commit is contained in:
jeffwadsworth 2020-06-25 16:45:38 -05:00
parent 1f98cc1f4a
commit a20bc6c414
4 changed files with 14 additions and 10 deletions

View file

@ -112,7 +112,10 @@ public abstract class TargetImpl implements Target {
sb.append(suffix);
return sb.toString();
}
if (targetName.startsWith("another") || targetName.startsWith("a ") || targetName.startsWith("an ")) {
if (targetName.startsWith("another")
|| targetName.startsWith("a ")
|| targetName.startsWith("an ")
|| targetName.startsWith("any ")) {
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;