Skip to content

Commit

Permalink
gui(installer): fix word plurality when adding keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jp1ac4 committed Nov 6, 2024
1 parent 2fa8294 commit d1bcb71
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 d1bcb71

Please sign in to comment.