Merge #1441: gui(installer): fix word plurality when adding keys

d1bcb71ea4d4bdafe4b81fcfbfe78558b7fd8366 gui(installer): fix word plurality when adding keys (Michael Mallan)

Pull request description:

  This is to fix #1440.

ACKs for top commit:
  edouardparis:
    utACK d1bcb71ea4d4bdafe4b81fcfbfe78558b7fd8366

Tree-SHA512: 590b19ec0d717fc3c82f9323a9fc41e79cc52e7b60df9b1319e24b851f1c99d75e12b4bf74d4e6381671895298388b942d494c395d2bbd8c6138b941b01f218b
This commit is contained in:
edouardparis 2024-11-06 10:31:31 +01:00
commit 7fadb9a60c
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

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)