Skip to content

Commit

Permalink
Merge #1443: backport for v8: #1441: gui(installer): fix word plurali…
Browse files Browse the repository at this point in the history
…ty when adding keys

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

Pull request description:

  Backport of #1441.

ACKs for top commit:
  edouardparis:
    utACK c956fe7

Tree-SHA512: 27ba838cb1ae42b8f15958f392a3f846fee0a4dd04263e82c581164d7e92be4071513aa53f9d6551039e62518b88403e61825e6977337e9d4636f8909dfe7ff0
  • Loading branch information
edouardparis committed Nov 6, 2024
2 parents 0fcf828 + c956fe7 commit 0165e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/installer/view/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
)
Expand All @@ -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)
Expand Down

0 comments on commit 0165e3f

Please sign in to comment.