Trusted browser message when set to 1 day is "1 days" plural

Created on 16 January 2023, almost 2 years ago
Updated 27 February 2023, over 1 year ago

Problem/Motivation

Plural on number of days the browser is trusted is incorrect.
Says "1 days" instead of "1 day".

Steps to reproduce

Configure trusted browser to 1 day and the message to the user is "1 days", so a single day is not being catered for in the code.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom dunx

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024