gui(installer): fix word plurality when adding keys

This commit is contained in:
Michael Mallan 2024-11-06 08:57:33 +00:00
parent 2fa8294f60
commit d1bcb71ea4
No known key found for this signature in database
GPG Key ID: 5177CDCEDB0EABEB

View File

@ -1438,7 +1438,7 @@ pub fn defined_threshold<'a>(
"{} out of {} key{}",
threshold.0,
threshold.1,
if threshold.0 > 1 { "s" } else { "" },
if threshold.1 > 1 { "s" } else { "" },
)))
.push(icon::pencil_icon()),
)
@ -1461,7 +1461,7 @@ pub fn defined_threshold<'a>(
"{} out of {} key{}",
threshold.0,
threshold.1,
if threshold.0 > 1 { "s" } else { "" },
if threshold.1 > 1 { "s" } else { "" },
))),
)
.padding(10)