Change wording for hidden text on job page

To use the singular for the total message box.
This commit is contained in:
Katie Smith
2021-02-26 14:55:14 +00:00
parent 7b67fc5f32
commit d563cc8432

View File

@@ -351,7 +351,7 @@ def _get_job_counts(job):
) for label, query_param, count in [
[
f'''total<span class="govuk-visually-hidden">
{message_count_noun(job.notification_count, job_type)}</span>''',
{"text message" if job_type == "sms" else job_type}s</span>''',
'',
job.notification_count
],