skill calculator: Fix grammar 0-action selections (#13995)

This commit is contained in:
neatclient12345
2021-09-28 19:43:31 -07:00
committed by GitHub
parent ac8f778307
commit 546cd6daf8

View File

@@ -365,7 +365,7 @@ class SkillCalculator extends JPanel
private static String formatXPActionString(double xp, int actionCount, String expExpression)
{
return XP_FORMAT.format(xp) + expExpression + NumberFormat.getIntegerInstance().format(actionCount) + (actionCount > 1 ? " actions" : " action");
return XP_FORMAT.format(xp) + expExpression + NumberFormat.getIntegerInstance().format(actionCount) + (actionCount == 1 ? " action" : " actions");
}
private void updateInputFields()