Improve tense of okSummary

This commit is contained in:
2023-04-26 10:18:55 -05:00
parent 04a8fa94f9
commit f7f001d430

View File

@ -211,14 +211,11 @@ public class BulkEditTransformStep extends AbstractTransformStep
@Override @Override
public ArrayList<ProcessSummaryLineInterface> getProcessSummary(RunBackendStepOutput runBackendStepOutput, boolean isForResultScreen) public ArrayList<ProcessSummaryLineInterface> getProcessSummary(RunBackendStepOutput runBackendStepOutput, boolean isForResultScreen)
{ {
if(isForResultScreen) okSummary.setSingularFutureMessage(tableLabel + " record will be edited.");
{ okSummary.setPluralFutureMessage(tableLabel + " records will be edited.");
okSummary.setMessage(tableLabel + " records were edited."); okSummary.setSingularPastMessage(tableLabel + " record was edited.");
} okSummary.setPluralPastMessage(tableLabel + " records were edited.");
else okSummary.pickMessage(isForResultScreen);
{
okSummary.setMessage(tableLabel + " records will be edited.");
}
ArrayList<ProcessSummaryLineInterface> rs = new ArrayList<>(); ArrayList<ProcessSummaryLineInterface> rs = new ArrayList<>();
rs.add(okSummary); rs.add(okSummary);