use crate::number_text::main::thousands::thousands;
pub fn marked_note(soft: bool, (keys, marked): (u64, u64)) -> String {
let rows = match marked {
1 => "1 row".to_owned(),
_ => format!("{} rows", thousands(marked)),
};
let action = match soft {
true => "soft-deleted",
false => "deleted",
};
format!("(key scan of {} keys: {rows} {action})", thousands(keys))
}