update plurify version

This commit is contained in:
yggverse 2025-01-28 17:51:51 +02:00
parent f3e7ed60ee
commit 2d13f3ff8a
3 changed files with 6 additions and 3 deletions

View file

@ -29,8 +29,9 @@ impl Result {
// Actions
pub fn update(&self, current: Option<usize>, total: usize) {
use plurify::*;
if total > 0 {
let matches = plurify::ns(total, &["match", "matches", "matches"]);
let matches = total.plurify(&["match", "matches", "matches"]);
match current {
Some(position) => self
.label