@ -24,10 +24,11 @@ class BulkUploadLettingsResumeController < ApplicationController
end
def pluralize_logs_and_errors_warning(log_count, error_count)
is_or_are = log_count == 1 ? 'is' : 'are'
need_or_needs = error_count == 1 ? 'needs' : 'needs'
is_or_are = log_count == 1 ? "is" : "are"
need_or_needs = error_count == 1 ? "needs" : "need"
"There #{is_or_are} #{view_context.pluralize(log_count, 'log')} in this bulk upload with #{view_context.pluralize(error_count, 'error')} that still #{need_or_needs} to be fixed after upload."
private
def form